/* ========================================
   SchoolScan.ai — Main Stylesheet
   ======================================== */

/* ---------- Design Tokens ---------- */
:root {
  --navy: #1B2A4A;
  --navy-dark: #0F1A2E;
  --navy-light: #243656;
  --teal: #00A5B5;
  --teal-dark: #008A98;
  --teal-light: #00C9DB;
  --teal-bg: #E6F9FB;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;
  --red: #EF4444;
  --green: #22C55E;
  --amber: #F59E0B;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.10);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--teal); margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 24px; height: 2px; background: var(--teal); border-radius: 2px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--navy);
  line-height: 1.15; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px; color: var(--gray-500); max-width: 640px; line-height: 1.7;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 600;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--teal); color: var(--white);
  box-shadow: 0 4px 16px rgba(0,165,181,.35);
}
.btn-primary:hover {
  background: var(--teal-dark); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,165,181,.45);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7);
}
.btn-outline-dark {
  background: transparent; color: var(--navy);
  border: 2px solid var(--gray-200);
}
.btn-outline-dark:hover {
  border-color: var(--teal); color: var(--teal);
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--transition), transform .6s var(--transition);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .35s; }
.fade-up.delay-5 { transition-delay: .4s; }

/* ========================================
   1. NAVIGATION
   ======================================== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  padding: 10px 0;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-img {
  height: clamp(40px, 5vw, 56px); width: auto;
  filter: brightness(10);
  transition: filter .3s;
}
.navbar.scrolled .nav-logo-img {
  filter: none;
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8);
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--teal-light);
  transition: width .3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--gray-500); }
.navbar.scrolled .nav-links a:hover { color: var(--navy); }
.navbar.scrolled .nav-links a::after { background: var(--teal); }

.nav-actions {
  display: flex; align-items: center; gap: 12px;
}
.nav-login {
  padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.4);
  transition: var(--transition);
}
.nav-login:hover {
  color: var(--white); border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
}
.navbar.scrolled .nav-login {
  color: var(--navy); border-color: var(--gray-200);
}
.navbar.scrolled .nav-login:hover {
  border-color: var(--teal); color: var(--teal); background: transparent;
}
.nav-cta {
  padding: 10px 24px; border-radius: 50px; font-size: 14px; font-weight: 600;
  background: var(--teal); color: var(--white);
  transition: var(--transition);
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: var(--transition); border-radius: 2px;
}
.navbar.scrolled .nav-hamburger span { background: var(--navy); }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
  background: var(--white); z-index: 999;
  padding: 80px 32px 32px; display: flex; flex-direction: column; gap: 8px;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 32px rgba(0,0,0,.12);
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  font-size: 16px; font-weight: 500; color: var(--gray-700);
  padding: 12px 0; border-bottom: 1px solid var(--gray-100);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .btn-primary { margin-top: 16px; justify-content: center; }
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 998;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ========================================
   2. HERO
   ======================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  overflow: hidden; padding: 120px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(0,165,181,.12) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(0,165,181,.08) 0%, transparent 70%);
  pointer-events: none;
}
/* Grid pattern overlay */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(0,165,181,.15); color: var(--teal-light);
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hero h1 {
  font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: var(--white);
  line-height: 1.1; margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--teal-light); }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,.6);
}
.hero-trust-item svg { flex-shrink: 0; }

/* Hero Shield Graphic */
.hero-graphic {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.shield-container {
  position: relative; width: 360px; height: 400px;
}
.shield-svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 20px 60px rgba(0,165,181,.2));
}
/* Scanning pulse rings */
.scan-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border: 2px solid rgba(0,201,219,.3); border-radius: 50%;
  animation: scanPulse 3s ease-out infinite;
}
.scan-ring:nth-child(2) { animation-delay: 1s; }
.scan-ring:nth-child(3) { animation-delay: 2s; }
@keyframes scanPulse {
  0% { width: 180px; height: 180px; opacity: .6; }
  100% { width: 500px; height: 500px; opacity: 0; }
}
/* Floating data particles */
.particle {
  position: absolute; width: 4px; height: 4px;
  background: var(--teal-light); border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
.particle:nth-child(5) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(6) { top: 60%; left: 85%; animation-delay: 1.5s; }
.particle:nth-child(7) { top: 80%; left: 30%; animation-delay: 3s; }
.particle:nth-child(8) { top: 30%; left: 75%; animation-delay: 4.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: .6; }
  50% { transform: translateY(-20px) scale(1.5); opacity: 1; }
}

/* ========================================
   3. CHALLENGE / PROBLEM
   ======================================== */
.challenge { background: var(--gray-50); }
.challenge-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.challenge-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.challenge-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.challenge-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.challenge-icon.red { background: rgba(239,68,68,.1); color: var(--red); }
.challenge-icon.amber { background: rgba(245,158,11,.1); color: var(--amber); }
.challenge-icon.blue { background: rgba(0,165,181,.1); color: var(--teal); }
.challenge-number {
  font-size: 42px; font-weight: 800; color: var(--navy); margin-bottom: 4px;
  line-height: 1;
}
.challenge-label {
  font-size: 14px; color: var(--gray-500); line-height: 1.5;
}
.challenge-narrative {
  margin-top: 40px; max-width: 720px; margin-left: auto; margin-right: auto;
  text-align: center; font-size: 17px; color: var(--gray-500); line-height: 1.8;
}

/* ========================================
   4. HOW IT WORKS
   ======================================== */
.how-it-works { background: var(--white); }
.pipeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  margin-top: 56px; position: relative;
}
/* Connector line */
.pipeline::before {
  content: ''; position: absolute;
  top: 28px; left: calc(10% + 28px); right: calc(10% + 28px);
  height: 3px; background: var(--gray-200); border-radius: 3px;
}
.pipeline-line-fill {
  position: absolute;
  top: 28px; left: calc(10% + 28px);
  height: 3px; width: 0; background: var(--teal); border-radius: 3px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.pipeline.animated .pipeline-line-fill {
  width: calc(80% - 56px);
}
.pipeline-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; z-index: 2; padding: 0 16px;
}
.pipeline-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: var(--transition);
  color: var(--gray-500);
}
.pipeline.animated .pipeline-icon {
  border-color: var(--teal); color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,165,181,.1);
}
.pipeline-step-num {
  font-size: 11px; font-weight: 700; color: var(--teal);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px;
}
.pipeline-step-title {
  font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.pipeline-step-desc {
  font-size: 14px; color: var(--gray-500); line-height: 1.6;
}

/* ========================================
   5. FEATURES
   ======================================== */
.features { background: var(--gray-50); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.features-grid .feature-card:last-child:nth-child(3n+1) {
  grid-column: 2;
}
.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow); transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-bg); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px; color: var(--gray-500); line-height: 1.7;
}

/* ========================================
   6. SECURITY DOMAINS
   ======================================== */
.domains { background: var(--white); }
.domains-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
.domain-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); padding: 28px;
  cursor: pointer; transition: var(--transition);
  overflow: hidden;
}
.domain-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.domain-card.active { border-color: var(--teal); box-shadow: var(--shadow-lg); }
.domain-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 8px;
}
.domain-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.domain-icon.severity-critical { background: rgba(239,68,68,.1); color: var(--red); }
.domain-icon.severity-high { background: rgba(245,158,11,.1); color: var(--amber); }
.domain-icon.severity-medium { background: rgba(0,165,181,.1); color: var(--teal); }
.domain-name { font-size: 16px; font-weight: 700; color: var(--navy); }
.domain-summary { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.domain-details {
  max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.domain-card.active .domain-details { max-height: 200px; }
.domain-details-inner {
  padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--gray-200);
}
.domain-example {
  font-size: 13px; color: var(--gray-500); line-height: 1.6;
}
.domain-example strong { color: var(--navy); }
.domain-severity-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 50px; margin-top: 8px;
}
.badge-critical { background: rgba(239,68,68,.1); color: var(--red); }
.badge-high { background: rgba(245,158,11,.1); color: var(--amber); }
.badge-medium { background: rgba(0,165,181,.1); color: var(--teal); }

/* ========================================
   7. DASHBOARD PREVIEW
   ======================================== */
.dashboard-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.dashboard-section::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.dashboard-section .container { position: relative; z-index: 2; }
.dashboard-section .section-title { color: var(--white); }
.dashboard-section .section-subtitle { color: rgba(255,255,255,.6); }

.dashboard-mockup {
  margin-top: 48px; border-radius: var(--radius-lg);
  background: #1a1d27; border: 1px solid #2e3347;
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.dash-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #14161f;
  border-bottom: 1px solid #2e3347;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.r { background: #ef4444; }
.dash-dot.y { background: #eab308; }
.dash-dot.g { background: #22c55e; }
.dash-content { padding: 24px; }
.dash-top-row {
  display: grid; grid-template-columns: 200px 1fr 1fr; gap: 20px;
  margin-bottom: 20px;
}
/* Grade donut */
.dash-grade {
  background: #242836; border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.grade-circle {
  width: 100px; height: 100px; border-radius: 50%;
  border: 8px solid #2e3347; position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.grade-circle::before {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; border: 8px solid transparent;
  border-top-color: var(--green); border-right-color: var(--green);
  transform: rotate(-45deg);
}
.grade-letter {
  font-size: 36px; font-weight: 800; color: var(--green);
}
.grade-label { font-size: 12px; color: #8b8fa3; }
/* Domain bars */
.dash-domains {
  background: #242836; border-radius: 12px; padding: 20px;
}
.dash-domains h4 { font-size: 12px; color: #8b8fa3; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.domain-bar { margin-bottom: 10px; }
.domain-bar-label {
  display: flex; justify-content: space-between;
  font-size: 12px; color: #e1e4ed; margin-bottom: 4px;
}
.domain-bar-track {
  height: 6px; background: #2e3347; border-radius: 6px; overflow: hidden;
}
.domain-bar-fill {
  height: 100%; border-radius: 6px; transition: width 1.5s cubic-bezier(.4,0,.2,1);
}
/* Stats */
.dash-stats {
  background: #242836; border-radius: 12px; padding: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.dash-stat { text-align: center; }
.dash-stat-value { font-size: 28px; font-weight: 800; color: #e1e4ed; }
.dash-stat-label { font-size: 11px; color: #8b8fa3; text-transform: uppercase; letter-spacing: 1px; }
/* Bottom row - findings table mock */
.dash-table {
  background: #242836; border-radius: 12px; padding: 20px; overflow: hidden;
}
.dash-table h4 { font-size: 12px; color: #8b8fa3; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.dash-table-row {
  display: grid; grid-template-columns: 1fr 140px 100px 100px;
  gap: 12px; padding: 10px 0; border-bottom: 1px solid #2e3347;
  font-size: 13px; color: #e1e4ed; align-items: center;
}
.dash-table-row:last-child { border-bottom: none; }
.dash-table-header { color: #8b8fa3; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.dash-tag {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 600;
}
.dash-tag.critical { background: rgba(239,68,68,.15); color: #ef4444; }
.dash-tag.high { background: rgba(245,158,11,.15); color: #eab308; }
.dash-tag.medium { background: rgba(59,130,246,.15); color: #3b82f6; }
.dash-tag.low { background: rgba(34,197,94,.15); color: #22c55e; }

.dashboard-cta {
  text-align: center; margin-top: 36px;
}
.dashboard-cta .btn-outline { border-color: rgba(255,255,255,.3); color: var(--white); }
.dashboard-cta .btn-outline:hover { background: rgba(255,255,255,.08); border-color: var(--teal-light); }

/* ========================================
   8. TRUST / SOCIAL PROOF
   ======================================== */
.trust { background: var(--gray-50); }
.trust-logos {
  display: flex; align-items: center; justify-content: center; gap: 48px;
  flex-wrap: wrap; margin-top: 48px; margin-bottom: 56px; opacity: .5;
}
.trust-logo-placeholder {
  font-size: 16px; font-weight: 700; color: var(--gray-500);
  padding: 12px 24px; border: 2px dashed var(--gray-300); border-radius: var(--radius-sm);
}
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 48px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.testimonial-stars { color: var(--amber); font-size: 16px; margin-bottom: 16px; }
.testimonial-text {
  font-size: 15px; color: var(--gray-700); line-height: 1.7; margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-bg); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}
.testimonial-info h4 { font-size: 14px; font-weight: 700; color: var(--navy); }
.testimonial-info p { font-size: 12px; color: var(--gray-500); }

.trust-badges {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.trust-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--gray-200);
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.trust-badge svg { color: var(--teal); }

/* ========================================
   9. PRICING / ROI
   ======================================== */
.pricing { background: var(--white); }
.pricing-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-top: 48px; align-items: start;
}
.pricing-comparison h3 {
  font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 24px;
}
.comparison-table {
  width: 100%; border-collapse: collapse;
}
.comparison-table th, .comparison-table td {
  padding: 14px 16px; text-align: left; font-size: 14px;
}
.comparison-table th {
  font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--gray-200);
}
.comparison-table td { border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.comparison-table .manual { color: var(--red); font-weight: 600; }
.comparison-table .automated { color: var(--green); font-weight: 600; }

.roi-calculator {
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid var(--gray-200);
}
.roi-calculator h3 {
  font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.roi-calculator .subtitle {
  font-size: 14px; color: var(--gray-500); margin-bottom: 28px;
}
.slider-group { margin-bottom: 24px; }
.slider-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--gray-700); margin-bottom: 8px;
}
.slider-value { font-weight: 700; color: var(--teal); }
input[type="range"] {
  -webkit-appearance: none; width: 100%; height: 6px;
  background: var(--gray-200); border-radius: 6px; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px;
  background: var(--teal); border-radius: 50%; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,165,181,.3);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--teal); border-radius: 50%; cursor: pointer; border: none;
}
.roi-results {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 24px;
}
.roi-result {
  background: var(--white); border-radius: var(--radius-sm);
  padding: 20px; text-align: center; border: 1px solid var(--gray-200);
}
.roi-result-value { font-size: 28px; font-weight: 800; color: var(--teal); margin-bottom: 4px; }
.roi-result-label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; }

/* ========================================
   10. FAQ
   ======================================== */
.faq { background: var(--gray-50); }
.faq-list {
  max-width: 760px; margin: 48px auto 0;
}
.faq-item {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); margin-bottom: 12px;
  overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-item.active { border-color: var(--teal); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; width: 100%;
  font-size: 16px; font-weight: 600; color: var(--navy);
  background: none; text-align: left;
}
.faq-question svg {
  flex-shrink: 0; color: var(--gray-500);
  transition: transform .3s;
}
.faq-item.active .faq-question svg { transform: rotate(180deg); color: var(--teal); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px; color: var(--gray-500); line-height: 1.7;
}

/* ========================================
   11. CTA BANNER
   ======================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 400px 300px at 20% 50%, rgba(255,255,255,.08) 0%, transparent 70%),
    radial-gradient(ellipse 300px 200px at 80% 50%, rgba(255,255,255,.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 32px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-white {
  background: var(--white); color: var(--teal-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ========================================
   12. FOOTER
   ======================================== */
.footer {
  background: var(--navy-dark); color: rgba(255,255,255,.6);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px; line-height: 1.7; margin-top: 16px;
  color: rgba(255,255,255,.5);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
}
.footer-logo-img {
  height: clamp(36px, 4.5vw, 48px); width: auto;
  filter: brightness(10);
}
.footer h4 {
  font-size: 13px; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 14px; color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer ul a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: var(--transition);
}
.footer-social a:hover { background: var(--teal); color: var(--white); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-graphic { margin-top: 48px; }
  .shield-container { width: 280px; height: 320px; }
  .pipeline { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .pipeline-step { padding: 0 8px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid .feature-card:last-child:nth-child(3n+1) { grid-column: auto; }
  .features-grid .feature-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-top-row { grid-template-columns: 1fr 1fr; }
  .dash-grade { grid-column: 1 / -1; }
  .pricing-layout { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-actions.desktop { display: none; }
  .nav-hamburger { display: flex; }
  .challenge-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; gap: 24px; }
  .pipeline::before, .pipeline-line-fill { display: none; }
  .pipeline-step { padding: 0 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .domains-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .dash-top-row { grid-template-columns: 1fr; }
  .dash-table-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dash-table-header { display: none; }
  .roi-results { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-logos { gap: 24px; }
  .comparison-table { font-size: 13px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 100px 0 60px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: center; gap: 12px; }
  .trust-badges { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ========================================
   Accessibility: keyboard focus states
   Uses :focus-visible so mouse clicks don't show focus rings
   but keyboard navigation always does.
   ======================================== */

:root {
  --focus-ring: 0 0 0 3px rgba(0, 201, 219, 0.45);
  --focus-ring-dark: 0 0 0 3px rgba(255, 255, 255, 0.65);
}

*:focus { outline: none; }

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 3px;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-white:focus-visible,
.btn-outline-white:focus-visible,
.nav-cta:focus-visible {
  box-shadow: var(--focus-ring-dark);
  outline: none;
}

.nav-links a:focus-visible,
.nav-login:focus-visible,
.mobile-menu a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 3px;
}

.faq-question:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}

.domain-card:focus-visible,
.feature-card:focus-visible,
.blog-card-link:focus-visible .blog-card {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.footer a:focus-visible {
  outline: 2px solid var(--teal-light, #00C9DB);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
