/* ========== CSS RESET & NORMALIZE ========== */
* { box-sizing: border-box; }
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%; vertical-align: baseline; }
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote::before, blockquote::after, q::before, q::after { content: ''; content: none; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { background: none; border: 0; font: inherit; cursor: pointer; }
:focus { outline: none; }

/* ========== THEME TOKENS (with fallbacks) ========== */
:root {
  --color-primary: #163B5B;
  --color-secondary: #2E7D6B;
  --color-accent: #F2F6FA;
  --color-bg: #0B1220; /* tech-futuristic deep navy */
  --color-surface: #0F1B2E;
  --color-text: #E6EEF7;
  --color-muted: #9DB5C9;
  --color-light: #FFFFFF;
  --color-dark: #0B1320;
  --neon: #00E5FF; /* neon cyan accent for interactions */
  --neon-green: #22FFC7;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-elevated: 0 12px 36px rgba(0, 0, 0, 0.35);
  --ring: 0 0 0 3px rgba(0, 229, 255, 0.35);
}

/* ========== GLOBAL BASE ========== */
html { scroll-behavior: smooth; }
body {
  background-color: var(--color-bg);
  background-image: linear-gradient(180deg, rgba(22, 59, 91, 0.2), rgba(46, 125, 107, 0.08));
  color: var(--color-text);
  font-family: Verdana, Geneva, Tahoma, sans-serif; /* brand body font */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; /* brand display font */ color: #EAF3FB; line-height: 1.2; }
h1 { font-size: 32px; margin-bottom: 16px; }
h2 { font-size: 24px; margin-bottom: 14px; }
h3 { font-size: 20px; margin-bottom: 12px; }
p { font-size: 16px; line-height: 1.7; color: var(--color-text); margin-bottom: 12px; }
small, .small { font-size: 14px; color: var(--color-muted); }
strong { color: #F7FBFF; font-weight: 700; }

/* Typographic scale adjustments for larger screens */
@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
}
@media (min-width: 1024px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
}

/* ========== LAYOUT HELPERS & REQUIRED PATTERNS ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex; /* flex layout container */
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Mandatory spacing patterns */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; border-radius: var(--radius-md); background: var(--color-surface); 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); background: #FFFFFF; color: #0B1320; box-shadow: 0 6px 16px rgba(11, 19, 32, 0.08); border-left: 4px solid var(--color-secondary); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Common section spacing for all section tags */
section { margin-bottom: 60px; padding: 40px 20px; }

/* ========== HEADER & NAVIGATION ========== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 18, 32, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}
header .container { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
header img { height: 36px; filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.15)); }

.main-nav { display: none; align-items: center; gap: 16px; flex-wrap: wrap; }
.main-nav a {
  color: var(--color-text);
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(0, 229, 255, 0.08);
  color: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.25) inset;
}

.cta-buttons { display: none; align-items: center; gap: 10px; flex-wrap: wrap; }

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  color: #FFFFFF;
  background: linear-gradient(180deg, var(--color-primary), #102B43);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2) inset, 0 6px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { transform: translateY(-1px); box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.35), 0 10px 18px rgba(0, 0, 0, 0.35); }

/* Desktop nav visibility */
@media (min-width: 992px) {
  .main-nav { display: flex; }
  .cta-buttons { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background: rgba(11, 18, 32, 0.6);
  backdrop-filter: blur(6px);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 1100;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu > .mobile-nav {
  margin-left: auto; /* slide-in panel from right */
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #0F1B2E;
  border-left: 1px solid rgba(0, 229, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 70px 20px 20px 20px;
  box-shadow: var(--shadow-elevated);
}
.mobile-menu-close {
  position: fixed;
  top: 14px; right: 14px;
  width: 42px; height: 42px;
  border-radius: 10px;
  color: #FFFFFF;
  background: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.35) inset;
}
.mobile-nav a {
  color: #EAF3FB;
  font-size: 16px;
  padding: 12px 10px;
  border-radius: 10px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.mobile-nav a:active { transform: translateX(2px); }
.mobile-nav a:hover, .mobile-nav a:focus { background: rgba(0, 229, 255, 0.08); }

/* ========== HERO SECTIONS ========== */
.hero {
  background-color: var(--color-primary);
  background-image: linear-gradient(135deg, rgba(22, 59, 91, 1) 0%, rgba(46, 125, 107, 0.85) 100%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}
.hero .content-wrapper { gap: 14px; }
.hero p { color: #EAF3FB; }

/* CTA group inside hero */
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Contact snippet with icon */
.contact-snippet { display: flex; align-items: center; gap: 10px; color: #EAF3FB; opacity: 0.95; }
.contact-snippet img { width: 18px; height: 18px; filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.25)); }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; font-weight: 700; letter-spacing: 0.2px; transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.btn:focus { box-shadow: var(--ring); }

.btn-primary {
  color: #0B1320;
  background: linear-gradient(180deg, #22FFC7, #00E5FF);
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
  box-shadow: 0 10px 24px rgba(0, 229, 255, 0.25), 0 0 0 1px rgba(0, 229, 255, 0.3) inset;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 229, 255, 0.35), 0 0 0 2px rgba(0, 229, 255, 0.35) inset; }

.btn-secondary {
  color: #FFFFFF;
  background: #163B5B;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.25) inset;
}
.btn-secondary:hover { background: #1C4A72; box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 0 0 2px rgba(0, 229, 255, 0.25) inset; }

/* ========== FEATURE, SERVICES, PROCESS, FAQ SECTIONS ========== */
.features, .services, .process, .faq, .pricing, .team, .about, .scheduler, .cta, .contact, .contact-details, .legal { background: transparent; }
.features .content-wrapper ul,
.services .content-wrapper ul,
.pricing .content-wrapper ul,
.faq .content-wrapper ul,
.legal .content-wrapper ul { display: flex; flex-direction: column; gap: 10px; }

.features li, .services li, .pricing li, .faq li, .legal li, .team li { position: relative; padding-left: 14px; color: #DDE9F4; }
.features li::before, .services li::before, .pricing li::before, .faq li::before, .legal li::before, .team li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
  position: absolute; left: 0; top: 10px;
}

.process ol, .legal ol { display: flex; flex-direction: column; gap: 10px; counter-reset: step; }
.process li, .legal li { display: flex; align-items: flex-start; gap: 10px; color: #DDE9F4; }
.process li::before, .legal li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px; border-radius: 8px;
  background: rgba(0, 229, 255, 0.15);
  color: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.25) inset;
}

/* ========== TESTIMONIALS (light for contrast) ========== */
.testimonials { background: var(--color-accent); color: #0B1320; border-top: 1px solid rgba(22, 59, 91, 0.15); border-bottom: 1px solid rgba(22, 59, 91, 0.15); }
.testimonials h2 { color: #0B1320; }
.testimonials blockquote { font-style: italic; color: #0B1320; }
.testimonial-card blockquote { line-height: 1.6; }
.testimonial-card:hover { box-shadow: 0 8px 22px rgba(11, 19, 32, 0.12); }

/* ========== CTA STRIP ========== */
.cta { background: linear-gradient(135deg, rgba(46, 125, 107, 0.25), rgba(22, 59, 91, 0.25)); border: 1px solid rgba(0, 229, 255, 0.12); border-radius: var(--radius-lg); }
.cta .content-wrapper { align-items: flex-start; gap: 12px; }

/* ========== FOOTER ========== */
footer { background: #0F1B2E; border-top: 1px solid rgba(0, 229, 255, 0.12); }
footer .content-wrapper { display: flex; flex-direction: column; gap: 16px; }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-nav a, .footer-legal a { color: #CFE0EE; font-size: 14px; padding: 8px 10px; border-radius: 8px; transition: background-color 0.2s ease; }
.footer-nav a:hover, .footer-legal a:hover { background: rgba(0, 229, 255, 0.08); }
.footer-brand, .footer-contact, .footer-disclaimer { color: #CFE0EE; font-size: 14px; }
.footer-contact img { width: 16px; height: 16px; display: inline-block; vertical-align: middle; margin: -2px 6px 0 6px; filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.25)); }

/* ========== LINKS & INTERACTIONS ========== */
a { color: #9BE7FF; }
a:hover { color: #C5F4FF; }
a:focus-visible { box-shadow: var(--ring); border-radius: 6px; }

/* ========== UTILITY CLASSES ========== */
.hr { height: 1px; background: rgba(0, 229, 255, 0.15); width: 100%; }

/* ========== RESPONSIVE LAYOUT RULES ========== */
/* Text-image sections stack on mobile */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; }
}

/* Section inner width and alignment on larger screens */
@media (min-width: 992px) {
  .content-wrapper { max-width: 900px; }
}

/* ========== ACCESSIBILITY: FORMS & INPUTS (future-proof) ========== */
input, select, textarea { background: #0F1B2E; color: #EAF3FB; border: 1px solid rgba(0, 229, 255, 0.18); border-radius: 10px; padding: 12px; width: 100%; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2); }
label { font-size: 14px; color: #CFE0EE; margin-bottom: 8px; display: inline-flex; }

/* ========== PAGE-SPECIFIC POLISH ========== */
/* Pricing list highlight bullets */
.pricing li strong { color: #FFFFFF; }

/* Scheduler details */
.scheduler .content-wrapper p strong { color: #FFFFFF; }

/* About/team spacing */
.team .content-wrapper ul, .about .content-wrapper ul { gap: 8px; }

/* Contact details icons line-up */
.contact-details .content-wrapper p, .contact .content-wrapper p { display: flex; align-items: center; gap: 10px; }
.contact-details img, .contact img { width: 18px; height: 18px; }

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  display: flex; flex-direction: column; gap: 12px;
  background: #0F1B2E;
  color: #EAF3FB;
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-elevated);
  z-index: 1200;
  transform: translateY(140%);
  opacity: 0; pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner .cookie-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 14px; border-radius: 10px; }
.cookie-banner .btn-accept { background: linear-gradient(180deg, #22FFC7, #00E5FF); color: #0B1320; }
.cookie-banner .btn-reject { background: #163B5B; color: #FFFFFF; box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.25) inset; }
.cookie-banner .btn-settings { background: rgba(0, 229, 255, 0.12); color: #EAF3FB; }

/* Cookie preferences modal */
.cookie-modal {
  position: fixed; inset: 0; z-index: 1300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11, 18, 32, 0.6); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-modal .cookie-modal-inner {
  width: 92%; max-width: 640px;
  background: #0F1B2E; color: #EAF3FB;
  border-radius: 16px; border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column; gap: 16px; padding: 20px;
}
.cookie-modal .cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 10px; background: rgba(22, 59, 91, 0.25); }
.cookie-modal .cookie-row .label { display: flex; flex-direction: column; gap: 4px; }
.cookie-modal .modal-actions { display: flex; align-items: center; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* Toggle switch */
.toggle {
  width: 46px; height: 28px; border-radius: 28px; background: #163B5B; position: relative; display: inline-flex; align-items: center; padding: 3px; transition: background-color 0.2s ease; box-shadow: 0 0 0 1px rgba(0,229,255,0.25) inset; }
.toggle::after { content: ''; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; transform: translateX(0); transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.toggle.on { background: linear-gradient(180deg, #22FFC7, #00E5FF); }
.toggle.on::after { transform: translateX(18px); box-shadow: 0 0 8px rgba(0, 229, 255, 0.6); }

/* ========== CARDS (generic) ========== */
.card.elevated { box-shadow: var(--shadow-elevated); }
.card.neon {
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.18) inset, 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* ========== ACCESSIBLE STATES ========== */
.btn:focus-visible, .main-nav a:focus-visible, .mobile-nav a:focus-visible { box-shadow: var(--ring); }

/* ========== SPACING CONSISTENCY ========== */
section + section { margin-top: 0; }
.container + .container { margin-top: 20px; }

/* ========== PREVENT OVERLAP & ENSURE GAPS ========== */
.features .content-wrapper, .services .content-wrapper, .process .content-wrapper, .faq .content-wrapper, .pricing .content-wrapper, .team .content-wrapper, .about .content-wrapper, .scheduler .content-wrapper, .contact .content-wrapper, .contact-details .content-wrapper, .legal .content-wrapper { gap: 16px; }

/* ========== PRINT SAFE (optional) ========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
}
