/* ----- CSS RESET & NORMALIZE ----- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #101825;
  color: #F2F7FB;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ----- BRAND COLORS & FONTS ----- */
:root {
  --primary: #1B365D;
  --secondary: #468B97;
  --accent: #F2F7FB;
  --bg-dark: #101825;
  --bg-darker: #161e2e;
  --bg-card: #182a44;
  --text-main: #F2F7FB;
  --text-dark: #17233a;
  --neon-blue: #45E0FE;
  --neon-green: #19F9B4;
  --neon-violet: #B875E7;
  --shadow-dark: 0 4px 20px 0 rgba(30, 40, 90, 0.15);
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: var(--neon-blue);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4 { font-size: 1.1rem; }
p, li {
  font-size: 1rem;
  color: var(--text-main);
}
.subheadline {
  font-size: 1.18rem;
  color: var(--neon-blue);
  margin-bottom: 18px;
  opacity: 0.88;
  font-family: 'Roboto', sans-serif;
}
strong { color: var(--neon-green); font-weight: bold; }

/* ----- CONTAINER & SECTIONS ----- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-darker);
  border-radius: 24px;
  box-shadow: var(--shadow-dark);
}
main > section {
  margin-bottom: 60px;
}

/* ---- FLEXBOX UTILITY CLASSES (per requirements) ---- */
.card-container, .feature_grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: var(--text-dark);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(40, 200, 255, 0.05);
  margin-bottom: 24px;
  border: 1px solid #e8f1fd;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card {
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(40, 120, 210, 0.06);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(40, 220, 250, 0.13);
  transform: translateY(-4px) scale(1.015);
}
.feature_grid {
  gap: 24px;
}

/* ---- HEADER + NAVIGATION ---- */
header {
  background: var(--bg-dark);
  padding: 0;
  border-bottom: 2px solid var(--secondary);
  position: sticky;
  top: 0; z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 16px 20px;
}
header img {
  height: 54px;
  margin-right: 30px;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex: 1;
}
nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  color: var(--accent);
  font-weight: 500;
  position: relative;
  padding: 7px 5px;
  border-radius: 4px;
  transition: background 0.15s, color 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--neon-blue);
  background: rgba(86, 242, 255, 0.10);
}
.cta-btn {
  background: linear-gradient(90deg, var(--neon-blue) 0%, #19f9b4 100%);
  color: #112244;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  padding: 12px 28px;
  border-radius: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px 0 rgba(25, 249, 180, 0.13);
  transition: box-shadow 0.2s, transform 0.18s;
  border: none;
  outline: none;
  margin-left: auto;
  margin-right: 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--neon-blue) 98%);
  color: #09243d;
  box-shadow: 0 8px 40px 0 rgba(30, 250, 255, 0.22);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background-color: var(--secondary);
  color: var(--accent);
  font-size: 2.1rem;
  padding: 7px 16px;
  border-radius: 6px;
  margin-left: 10px;
  transition: background 0.15s;
  z-index: 1002;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--neon-blue);
  color: #173853;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18, 31, 62, 0.98);
  z-index: 1001;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.67, 0, 0.33, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  height: 100vh;
  width: 100vw;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 25px 7px 0;
  font-size: 2.6rem;
  background: none;
  color: var(--neon-violet);
  border: none;
  cursor: pointer;
  z-index: 1004;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--neon-green);
}
.mobile-nav {
  margin-top: 8vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.16rem;
  color: var(--neon-blue);
  font-weight: 600;
  background: rgba(70, 139, 151, 0.14);
  padding: 14px 36px;
  border-radius: 13px;
  width: 84vw;
  text-align: left;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #19F9B4;
  background: rgba(25, 249, 180, 0.12);
}

/* Hide desktop nav on mobile */
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 18px;
    margin-left: 0;
  }
  header .container {
    gap: 14px;
  }
}
@media (max-width: 512px) {
  header .container {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .mobile-menu-close {
    margin: 12px 7vw 0 0;
  }
}

/* ----- PAGE HEROES ----- */
.hero {
  min-height: 340px;
  background: linear-gradient(97deg, var(--primary) 55%, var(--secondary) 130%);
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 12px 32px 0 rgba(50,135,220,0.11);
}
.hero .container {
  display: flex;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 38px;
  min-height: 180px;
}
.hero .content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 1;
}
.hero h1 {
  font-size: 2.7rem;
  color: #F2F7FB;
}
.hero .subheadline {
  color: var(--neon-green);
}

/* ----- FEATURE / CARD GRIDS ----- */
.feature_grid {
  margin-top: 20px;
  margin-bottom: 12px;
  gap: 24px;
  flex-wrap: wrap;
  display: flex;
}
.feature_grid li {
  background: var(--bg-card);
  padding: 23px 24px 17px 22px;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(22,201,230,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  font-size: 1rem;
  margin-bottom: 0;
  min-width: 260px;
  flex: 1 1 240px;
  max-width: 540px;
  position: relative;
  border-left: 4px solid var(--neon-blue);
  transition: box-shadow 0.2s, border-color 0.18s;
}
.feature_grid li:hover {
  border-left: 4px solid var(--neon-green);
  box-shadow: 0 8px 24px 0 rgba(22,255,190,0.10);
}
.feature_grid img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 6px rgba(29, 240, 250, 0.08));
  margin-top: 5px;
}

/* ----- CARDS (GENERAL) ----- */
.card {
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(40, 120, 210, 0.06);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.21s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(40, 220, 250, 0.13);
  transform: translateY(-3px) scale(1.019);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ----- TESTIMONIAL CARDS ----- */
.testimonial-card {
  background: #fff;
  color: #101825;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(40, 200, 255, 0.05);
  margin-bottom: 24px;
  padding: 20px 32px 20px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  border-left: 5px solid var(--neon-blue);
  min-width: 0;
  font-size: 1.09rem;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.testimonial-card p{color:#09243d;}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-left-color: var(--neon-green);
  box-shadow: 0 8px 36px 0 rgba(22,255,190,0.08);
}
.testimonial-card span {
  font-size: 1.01rem;
  color: var(--primary);
}
@media (max-width:600px){
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px 16px 16px;
  }
}

/* ----- TEXT SECTION / LISTS ----- */
.text-section {
  margin-top: 12px;
  margin-bottom: 24px;
}
.text-section ul,
.text-section ol {
  list-style: none;
  padding-left: 0;
}
.text-section ul li,
.text-section ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-main);
  font-size: 1.05rem;
}
.text-section ul li img {
  width: 28px;
  height: 28px;
  margin-right: 7px;
}

/* ----- FOOTER ----- */
footer {
  background: var(--bg-darker);
  color: var(--accent);
  padding: 38px 0 22px 0;
  border-radius: 22px 22px 0 0;
  margin-top: 36px;
  font-size: 0.98rem;
  box-shadow: 0 -4px 26px 0 rgba(30, 60, 95, 0.09);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav {
  gap: 6px;
  flex: none;
  font-size: 1rem;
}
footer nav a {
  color: var(--neon-blue);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.16s;
}
footer nav a:hover{ color: var(--neon-green); }
footer p {
  color: #bddeee;
  margin-top: 4px;
  font-size: 0.95rem;
  text-align: center;
}

/* ----- RESPONSIVE DESIGN ----- */
@media (max-width: 1023px){
  .container {
    max-width: 97vw;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .feature_grid li, .card {
    min-width: 160px;
    flex-basis: 46vw;
  }
}
@media (max-width: 768px){
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
  .hero .container { padding-top: 35px; padding-bottom: 18px; }
  .feature_grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature_grid li, .card {
    max-width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 512px){
  .hero {
    min-height: 130px;
    border-radius: 0 0 12px 12px;
    margin-bottom: 24px;
  }
  .feature_grid li {
    padding: 16px 8px 12px 8px;
    font-size: 0.97rem;
  }
  .card {
    padding: 14px 7px;
    border-radius: 10px;
  }
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .section {
    border-radius: 8px;
    padding: 13px 3px;    
  }
}

/* ----- BUTTONS & INTERACTIVE ELEMENTS ----- */
button, .cta-btn {
  cursor: pointer;
  outline: none;
  border: none;
  transition: box-shadow 0.22s, background 0.21s, transform 0.18s, color 0.16s;
}
button:focus, .cta-btn:focus {
  box-shadow: 0 0 0 4px rgba(23,120,250,0.21);
}

/* ----- TABLES, IF ANY (minimal look) ----- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 24px 0;
}
th, td {
  padding: 12px 7px;
  text-align: left;
}
th {
  background: var(--primary);
  color: var(--accent);
}
td {
  background: var(--bg-card);
  color: var(--accent);
}

/* ----- FORMS (if present) ----- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 14px;
  border: 1.5px solid var(--secondary);
  border-radius: 7px;
  margin-bottom: 14px;
  background: var(--bg-darker);
  color: var(--neon-blue);
  transition: border-color 0.2s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--neon-blue);
  outline: none;
}
label {
  font-weight: bold;
  color: var(--neon-green);
  display: block;
  margin-bottom: 5px;
}

/* ----- COOKIE BANNER ----- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #161e2e;
  color: var(--accent);
  box-shadow: 0 -2px 32px 0 rgba(17,56,90,0.15);
  padding: 16px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  z-index: 2000;
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  transform: translateY(100%);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  flex: 1 1 240px;
  font-size: 1.01rem;
  color: var(--accent);
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-right: 9px;
  border: none;
  border-radius: 18px;
  padding: 9px 23px;
  min-width: 120px;
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 5px;
  box-shadow: 0 2px 10px 0 rgba(35,255,210,0.09);
  transition: box-shadow 0.15s, background 0.18s, color 0.2s;
}
.cookie-banner .cookie-btn.accept {
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
  color: #101825;
}
.cookie-banner .cookie-btn.reject {
  background: #FF4567;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: var(--neon-blue);
  border: 1.5px solid var(--neon-blue);
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: linear-gradient(105deg,var(--neon-blue),var(--neon-green));
  color: #0a1f31;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #db003e;
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: var(--neon-blue);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 10px; padding: 13px 3vw; }
  .cookie-banner .cookie-text { font-size: 0.98rem; }
  .cookie-banner .cookie-btn { width: 98%; min-width: 0; margin-right: 0; margin-left: 0; }
}

/* ----- COOKIE PREFERENCES MODAL ----- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(16,24,37,0.92);
  z-index: 2100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: var(--text-dark);
  border-radius: 15px;
  padding: 30px 28px 22px 30px;
  box-shadow: 0 8px 64px 0 rgba(66,175,255,0.13);
  max-width: 380px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  z-index: 2102;
  animation: modalIn 0.33s cubic-bezier(.5,1.8,.48,1) both;
}
@keyframes modalIn {
  0% { opacity: 0; transform: scale(0.94) translateY(80px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--neon-blue);
  font-family: 'Montserrat', sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  padding: 9px 0;
}
.cookie-category .cookie-toggle {
  width: 44px;
  height: 24px;
  background: #eaf3fa;
  border-radius: 12px;
  position: relative;
  border: 1.5px solid var(--secondary);
  transition: background 0.18s, box-shadow 0.21s;
  margin-left: 9px;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-category .cookie-toggle[data-enabled="true"] {
  background: var(--neon-green);
  border-color: var(--neon-green);
}
.cookie-category .cookie-toggle-slider {
  position: absolute;
  left: 3px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(60,80,110,0.08);
  transition: left 0.17s, background 0.18s;
}
.cookie-category .cookie-toggle[data-enabled="true"] .cookie-toggle-slider {
  left: 21px;
  background: #fff;
}
.cookie-modal .modal-buttons {
  margin-top: 18px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 1.8rem;
  color: var(--neon-violet);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
  transition: color 0.13s;
}
.cookie-modal .modal-close:hover{ color: var(--neon-green); }
.cookie-modal label {
  font-weight: bold;
  color: var(--neon-blue);
}

/* ----- ANIMATIONS & HOVER MICROINTERACTIONS ----- */
a, button, .cta-btn {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.19s;
}
.cta-btn:active { transform: scale(0.98); }
nav a:active, .mobile-nav a:active { color: var(--neon-green); }

/* ----- VISUAL TECH/NEON EFFECTS ----- */
h1, h2, h3, .cta-btn, nav a.active, .feature_grid li:hover strong,
.testimonial-card strong, .section h2 {
  text-shadow: 0 0 10px rgba(40,220,255,0.07), 0 0 1px #19F9B4;
}
.cta-btn {
  box-shadow: 0 0 0 3px rgba(25,249,180,0.11),0 3px 15px 0 rgba(40,220,255,0.08);
  border: 1.5px solid transparent;
}
.cta-btn:focus{
  border: 1.5px solid var(--neon-violet);
}

/* ----- UTILITIES: SPACING----- */
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-16 { margin-top: 16px !important; }
.pt-16 { padding-top: 16px !important; }
.pt-32 { padding-top: 32px !important; }

/* ----- HIDE ON DESKTOP ----- */
@media (min-width: 901px){
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----- PRINT STYLES ----- */
@media print {
  header, nav, .mobile-menu, .mobile-menu-toggle, .cta-btn, footer, .cookie-banner, .cookie-modal-overlay { display:none !important; }
  body { background: #fff; color: #000; }
}
