/* ==========================
   Reset & Base (Mobile-first)
   ========================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Verdana, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #E6F4F9;
  background-color: #0A1520;
  line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; display: block; }
img[alt=""] { aria-hidden: true; }
a { color: #7BE0FF; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus { outline: 2px dashed #00E5FF; outline-offset: 2px; }
:focus-visible { outline: 3px solid #00E5FF; outline-offset: 2px; }

/* ==========================
   Design Tokens
   ========================== */
:root {
  --color-primary: #0B3A53; /* Brand Primary */
  --color-secondary: #2D7F5E; /* Brand Secondary */
  --color-accent: #F2F7FA; /* Brand Accent (light) */
  --color-bg: #0A1520;      /* Tech-futuristic base */
  --color-surface: #0E2230; /* Card surface */
  --color-surface-2: #122B3C; /* Alt surface */
  --color-text: #E6F4F9;    /* Primary text on dark */
  --color-text-muted: #B9D7E4;
  --color-dark: #061018;
  --color-light: #FFFFFF;
  --neon-cyan: #00E5FF;
  --neon-green: #00FFA3;
  --neon-blue: #2DD4FF;
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.22);
  --shadow-neon: 0 0 0px rgba(0,229,255,0), 0 0 0px rgba(0,255,163,0);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

/* ==========================
   Typography
   ========================== */
h1, h2, h3, h4 { font-family: "Trebuchet MS", Tahoma, Verdana, sans-serif; color: #FFFFFF; line-height: 1.25; margin: 0 0 16px; letter-spacing: 0.2px; }
h1 { font-size: 32px; }
h2 { font-size: 24px; color: #CFF7FF; }
h3 { font-size: 18px; color: #A6EFFF; }
p { margin: 0 0 16px; color: var(--color-text); }
strong { color: #FFFFFF; }
ul, ol { margin: 0 0 16px; padding-left: 18px; }
li { margin-bottom: 8px; }

/* ==========================
   Layout Primitives (Flex-only)
   ========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;           /* Flex-only layout */
  flex-direction: column;  /* Mobile-first */
  gap: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;               /* breathing room */
}
section, .section { /* Mandatory spacing pattern */
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: transparent;
}

/* Helpful flex utilities required by brief */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--color-surface); border: 1px solid rgba(125, 255, 247, 0.12); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-soft); }
.content-grid { display: flex; flex-wrap: wrap; 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; border-radius: var(--radius-md); margin-bottom: 20px; background: var(--color-accent); color: #102B3A; border: 1px solid #D9ECF4; box-shadow: 0 8px 20px rgba(10,21,32,0.08); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ==========================
   Header & Navigation
   ========================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 21, 32, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(125, 255, 247, 0.12);
}
header .container { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; }
.logo img { height: 36px; filter: drop-shadow(0 0 6px rgba(0,229,255,0.25)); }

.main-nav { display: none; align-items: center; gap: 14px; flex-wrap: wrap; }
.main-nav a { color: #CFF7FF; padding: 8px 10px; border-radius: var(--radius-sm); transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.main-nav a:hover { color: #FFFFFF; background-color: rgba(0, 229, 255, 0.10); box-shadow: 0 0 0 2px rgba(0,229,255,0.18) inset; }

.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(0,229,255,0.35); background: linear-gradient(180deg, rgba(0,229,255,0.08), rgba(0,255,163,0.08)); color: #CFF7FF; font-size: 20px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.mobile-menu-toggle:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,229,255,0.18); }

/* Mobile Menu Panel (slide-in) */
.mobile-menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(6,16,24,0.86);
  backdrop-filter: blur(8px) saturate(140%);
  transform: translateX(100%);
  transition: transform .35s ease;
  z-index: 1400;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close { align-self: flex-end; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #FFFFFF; font-size: 18px; cursor: pointer; }
.mobile-nav { display: flex; flex-direction: column; gap: 14px; }
.mobile-nav a { display: flex; padding: 12px 14px; border-radius: 12px; color: #E6F4F9; background: rgba(255,255,255,0.04); border: 1px solid rgba(0,229,255,0.18); transition: background-color .2s ease, transform .2s ease; }
.mobile-nav a:hover { background: rgba(0,229,255,0.12); transform: translateX(3px); }

/* ==========================
   Hero Section (Tech Futuristic)
   ========================== */
.hero {
  background-color: var(--color-dark); /* Fallback solid */
  background-image: linear-gradient(135deg, #0B3A53 0%, #0A1520 60%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(0,229,255,0.15);
}
.hero .container { align-items: center; }
.hero .content-wrapper { padding-top: 16px; padding-bottom: 8px; }
.hero h1 { font-size: 34px; text-shadow: 0 2px 0 rgba(0,0,0,0.25); }
.hero p { color: #D9F7FF; max-width: 68ch; }

/* Trust badges as neon pills */
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 8px 0 0; }
.trust-badges li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius-pill); color: #07212C; background: #CFF7FF; border: 1px solid rgba(0,229,255,0.55); box-shadow: 0 0 0 2px rgba(0,229,255,0.20) inset, 0 8px 18px rgba(0,229,255,0.15); font-weight: 600; }

/* CTA group */
.cta-group { display: flex; flex-direction: column; gap: 12px; }

/* ==========================
   Buttons & Links
   ========================== */
.btn-primary, .btn-secondary, .btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: transform .15s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(180deg, #00E5FF, #00BFD6);
  color: #061018;
  border: 1px solid rgba(0,229,255,0.9);
  box-shadow: 0 10px 24px rgba(0,229,255,0.25), 0 0 0 2px rgba(0,229,255,0.35) inset;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(0,229,255,0.35), 0 0 0 2px rgba(0,229,255,0.55) inset; }

.btn-secondary {
  background: linear-gradient(180deg, #00FFA3, #00C67E);
  color: #061018;
  border: 1px solid rgba(0,255,163,0.8);
  box-shadow: 0 10px 24px rgba(0,255,163,0.22), 0 0 0 2px rgba(0,255,163,0.35) inset;
}
.btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(0,255,163,0.3), 0 0 0 2px rgba(0,255,163,0.55) inset; }

.btn-link { background: transparent; color: #7BE0FF; padding: 8px 0; border: none; }
.btn-link:hover { color: #FFFFFF; text-decoration: underline; }

/* ==========================
   Section Surfaces & Elements
   ========================== */
section:nth-of-type(even) { background-color: #0B1E2B; }
section:nth-of-type(odd) { background-color: transparent; }

.stats { color: #CFEAF5; font-weight: 600; background: rgba(0,229,255,0.06); border: 1px solid rgba(0,229,255,0.25); border-radius: var(--radius-md); padding: 12px 14px; box-shadow: var(--shadow-soft); }

.map-placeholder, .logo-strip-placeholder {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 220px; margin-top: 10px; border-radius: var(--radius-md);
  background-color: #0A1C27; /* Fallback */
  background-image: linear-gradient(180deg, #0A1C27, #071821);
  border: 1px dashed rgba(0,229,255,0.35);
  color: #9EDCF1;
}

.text-section { display: flex; flex-direction: column; gap: 10px; background: var(--color-surface-2); border: 1px solid rgba(0,229,255,0.18); border-radius: var(--radius-md); padding: 18px; }

/* ==========================
   Lists styled for clarity
   ========================== */
ul li::marker { color: #00E5FF; }
ol { counter-reset: step; }
ol li { position: relative; padding-left: 6px; }

/* ==========================
   Testimonials (light for readability)
   ========================== */
/* Already defined base in .testimonial-card (light bg + dark text) */
.testimonial-card p { color: #0B3A53; }
.testimonial-card strong { color: #0B3A53; }

/* ==========================
   Footer
   ========================== */
footer { background: #061018; border-top: 1px solid rgba(0,229,255,0.12); }
footer .container { padding-top: 28px; padding-bottom: 28px; }
footer .content-wrapper { display: flex; flex-direction: column; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
footer nav a { color: #B9D7E4; }
footer nav a:hover { color: #FFFFFF; }
footer .text-section { background: transparent; border: none; padding: 0; color: #B9D7E4; }
footer .text-section a { color: #7BE0FF; }

/* ==========================
   Cookie Consent Banner & Modal
   ========================== */
.cookie-banner {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  display: flex; flex-direction: column; gap: 14px;
  background: #F2F7FA; color: #0B3A53;
  border: 1px solid #CBE6F2; border-radius: 14px; padding: 16px;
  box-shadow: 0 12px 26px rgba(6,16,24,0.18);
  z-index: 1600;
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 12px; font-weight: 700; border: 1px solid transparent; cursor: pointer; }
.cookie-banner .accept { background: #00C67E; color: #061018; border-color: #00A76C; }
.cookie-banner .reject { background: #F0F3F5; color: #0B3A53; border-color: #C7D7DF; }
.cookie-banner .settings { background: #0B3A53; color: #FFFFFF; border-color: #0B3A53; }
.cookie-banner .accept:hover { filter: brightness(1.05); }
.cookie-banner .reject:hover { background: #E7EEF2; }
.cookie-banner .settings:hover { filter: brightness(1.08); }

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed; inset: 0; z-index: 1700;
  display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(6,16,24,0.65); backdrop-filter: blur(4px);
}
.cookie-modal.open { display: flex; }
.cookie-modal .modal {
  display: flex; flex-direction: column; gap: 14px;
  width: 100%; max-width: 680px;
  background: #FFFFFF; color: #0B3A53;
  border-radius: 16px; border: 1px solid #CBE6F2; padding: 20px;
  box-shadow: 0 18px 42px rgba(6,16,24,0.25);
}
.cookie-modal .row { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #E8F2F7; }
.cookie-modal .row:last-child { border-bottom: 0; }
.cookie-modal .badge { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: #E6F4F9; color: #0B3A53; font-weight: 700; font-size: 12px; }
.cookie-modal .switch { position: relative; width: 54px; height: 30px; border-radius: 999px; background: #D6E8F0; border: 1px solid #BFD9E4; display: inline-flex; align-items: center; padding: 2px; transition: background-color .2s ease; }
.cookie-modal .switch .knob { width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 6px rgba(0,0,0,0.15); transform: translateX(0); transition: transform .2s ease; }
.cookie-modal .switch.on { background: #00C67E; border-color: #00A76C; }
.cookie-modal .switch.on .knob { transform: translateX(24px); }
.cookie-modal .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-modal .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 12px; font-weight: 700; border: 1px solid transparent; cursor: pointer; }
.cookie-modal .btn.save { background: #0B3A53; color: #FFFFFF; border-color: #0B3A53; }
.cookie-modal .btn.cancel { background: #F0F3F5; color: #0B3A53; border-color: #C7D7DF; }

/* ==========================
   Responsive Media Queries
   ========================== */
@media (min-width: 600px) {
  h1 { font-size: 38px; }
  h2 { font-size: 26px; }
  .cta-group { flex-direction: row; }
}

@media (min-width: 768px) {
  h1 { font-size: 44px; }
  h2 { font-size: 28px; }
  .container { gap: 20px; }
  .content-wrapper { gap: 22px; }
  .text-image-section { flex-direction: row; } /* desktop layout */
  .main-nav { display: flex; }
  .mobile-menu-toggle { display: none; }
  header .container { padding-top: 14px; padding-bottom: 14px; }
}

@media (min-width: 1200px) {
  h1 { font-size: 48px; }
}

/* ==========================
   Page-specific Finishing Touches
   ========================== */
/* Accent separators on headings */
.content-wrapper h2::after {
  content: "";
  display: block;
  width: 64px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #00E5FF, #00FFA3);
  margin-top: 8px;
}

/* Lists inside feature sections */
.feature-item h3 { margin-bottom: 0; }

/* Link styles in light sections */
section a { transition: color .2s ease; }
section a:hover { color: #FFFFFF; }

/* Map & Logo placeholders hover pulse */
.map-placeholder:hover, .logo-strip-placeholder:hover { border-color: rgba(0,229,255,0.6); box-shadow: 0 0 0 2px rgba(0,229,255,0.15) inset; }

/* ==========================
   Cards (generic) with neon edge
   ========================== */
.card:hover { box-shadow: 0 14px 32px rgba(0,0,0,0.28), 0 0 0 2px rgba(0,229,255,0.18) inset; }

/* ==========================
   Accessibility & Contrast
   ========================== */
/* Ensure readable contrast for links on light testimonial */
.testimonial-card a { color: #0B3A53; text-decoration: underline; }

/* ==========================
   Misc Spacing & Prevent Overlaps
   ========================== */
main { display: flex; flex-direction: column; gap: 20px; }
header, footer, main, section, nav, .content-wrapper, .card, .testimonial-card { z-index: 1; }

/* ==========================
   Explicit mobile rule per brief
   ========================== */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: center; }
}

/* ==========================
   Brand Personality Subtle Glow
   ========================== */
/* Neon edge glow around interactive elements */
.btn-primary:focus-visible, .btn-secondary:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  box-shadow: 0 0 0 3px rgba(0,229,255,0.5), 0 0 22px rgba(0,229,255,0.35);
}

/* ==========================
   Header CTA button inside main-nav
   ========================== */
.main-nav .btn-primary { padding: 10px 14px; color: #061018; }
.main-nav .btn-primary:hover { color: #061018; }

/* ==========================
   Tables (not present, but safe defaults)
   ========================== */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(207,247,255,0.14); }

/* ==========================
   Ensure gaps between sections/cards
   ========================== */
section + section { margin-top: 0; }
.card + .card, .testimonial-card + .testimonial-card { margin-top: 10px; }

/* ==========================
   Ensure no absolute positioning for content blocks
   (Only decorative glows allowed - none used)
   ========================== */
/* Intentionally left without absolute positioning for cards/text blocks per brief */
