/* ══════════════════════════════════════════
   AKILI EDGE — Shared stylesheet
   ══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #0066CC;
  --blue-dark:  #004fa3;
  --blue-light: #EFF6FF;
  --gold:       #F4C542;
  --gold-dark:  #d4a520;
  --dark:       #1F2833;
  --teal:       #32B8C6;
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-full: 9999px;
  --shadow-sm: 0 1px 3px 0 rgba(15,23,42,.08), 0 1px 2px -1px rgba(15,23,42,.05);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,.08), 0 2px 4px -2px rgba(15,23,42,.05);
  --shadow-lg: 0 10px 15px -3px rgba(15,23,42,.10), 0 4px 6px -4px rgba(15,23,42,.06);
  --shadow-xl: 0 20px 40px -8px rgba(15,23,42,.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .2s;
}
nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--gray-600);
  text-decoration: none; padding: 6px 14px; border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-light); }
.nav-cta {
  background: var(--blue); color: #fff; font-size: 14px; font-weight: 600;
  padding: 8px 20px; border-radius: var(--r-md);
  text-decoration: none; transition: background .15s; flex-shrink: 0;
}
.nav-cta:hover { background: var(--blue-dark); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--blue); color: #fff; font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--r-md);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 16px rgba(0,102,204,.35);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.10); color: #fff; font-size: 15px; font-weight: 500;
  padding: 14px 28px; border-radius: var(--r-md);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.2); transition: background .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-white {
  background: #fff; color: var(--blue); font-size: 15px; font-weight: 700;
  padding: 14px 30px; border-radius: var(--r-md);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: background .15s, transform .15s;
}
.btn-white:hover { background: #f0f6ff; transform: translateY(-2px); }
.btn-blue {
  background: var(--blue); color: #fff; font-size: 15px; font-weight: 700;
  padding: 14px 30px; border-radius: var(--r-md);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,102,204,.35);
  transition: background .15s, transform .15s;
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ── HERO (main) ── */
.hero {
  background: var(--dark);
  background-image: url('assets/line-bg.png');
  background-size: 161%; background-position: center;
  padding: 140px 32px 80px;
  position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(31,40,51,.82); }
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,197,66,.15); border: 1px solid rgba(244,197,66,.35);
  color: var(--gold); font-size: 12px; font-weight: 600;
  letter-spacing: .04em; padding: 5px 14px; border-radius: var(--r-full);
  margin-bottom: 28px; font-family: var(--font-mono); text-transform: uppercase;
}
.hero-badge span { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero h1 {
  font-size: clamp(36px,5vw,56px); font-weight: 800; color: #fff;
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.72); line-height: 1.65; max-width: 480px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-screen-main {
  width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.08); display: block;
}
.hero-screen-float {
  position: absolute; bottom: -28px; left: -28px; width: 52%;
  border-radius: var(--r-lg); box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255,255,255,.12); background: #fff;
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: var(--dark);
  background-image: url('assets/line-bg.png');
  background-size: 161%; background-position: center;
  padding: 120px 32px 72px; position: relative; overflow: hidden;
  text-align: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(31,40,51,.85); }
.page-hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .hero-badge { margin: 0 auto 28px; }
.page-hero h1 { font-size: clamp(32px,5vw,52px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 18px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.65; }

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.trust-ticker-wrap { display: flex; width: max-content; animation: ticker 30s linear infinite; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.trust-item {
  display: flex; align-items: center; gap: 10px; padding: 16px 40px;
  font-size: 13px; font-weight: 600; color: var(--gray-600);
  white-space: nowrap; border-right: 1px solid var(--gray-200);
}
.trust-item svg { color: var(--blue); flex-shrink: 0; }
.trust-item .dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }

/* ── SECTIONS ── */
section { padding: 96px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); font-family: var(--font-mono); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px,4vw,44px); font-weight: 800; color: var(--dark);
  line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px;
}
.section-sub { font-size: 17px; color: var(--gray-500); line-height: 1.65; max-width: 580px; }
.section-head { margin-bottom: 64px; }

/* ── FEATURE SPOTLIGHTS ── */
.feature-spotlight {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 64px 0; border-top: 1px solid var(--gray-200);
}
.feature-spotlight:first-of-type { border-top: none; padding-top: 0; }
.feature-spotlight.reverse { direction: rtl; }
.feature-spotlight.reverse > * { direction: ltr; }
.spotlight-text { display: flex; flex-direction: column; gap: 18px; }
.spotlight-text h3 {
  font-size: clamp(22px,3vw,30px); font-weight: 800; color: var(--dark);
  line-height: 1.2; letter-spacing: -.02em;
}
.spotlight-text p { font-size: 16px; color: var(--gray-500); line-height: 1.7; }
.spotlight-screen {
  border-radius: var(--r-xl); box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200); width: 100%; display: block;
}

/* ── WHO IT'S FOR ── */
.who-bg { background: var(--dark); }
.who-bg .eyebrow { color: var(--gold); }
.who-bg .section-title { color: #fff; }
.who-bg .section-sub { color: rgba(255,255,255,.6); }
.rot-text { color: var(--gold); display: inline-block; transition: opacity .4s ease, transform .4s ease; }
.persona-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.persona-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 32px;
  transition: background .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 14px;
}
.persona-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.persona-role { display: flex; align-items: center; gap: 12px; }
.persona-icon {
  width: 40px; height: 40px; background: rgba(244,197,66,.15);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.persona-icon svg { color: var(--gold); }
.persona-role h3 { font-size: 16px; font-weight: 700; color: #fff; }
.persona-card p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ── HOW IT WORKS ── */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.steps-grid::before {
  content: ''; position: absolute;
  top: 28px; left: calc(12.5% + 28px); right: calc(12.5% + 28px);
  height: 2px; background: var(--gray-200); z-index: 0;
}
.step { display: flex; flex-direction: column; align-items: flex-start; padding: 0 24px; }
.step:first-child { padding-left: 0; } .step:last-child { padding-right: 0; }
.step-number {
  width: 56px; height: 56px; background: var(--blue); color: #fff;
  font-size: 18px; font-weight: 800; font-family: var(--font-mono);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--blue-light);
}
.step h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* ── CTA SECTION ── */
.cta-section { background: var(--blue); position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('assets/line-bg.png'); background-size: 120%; opacity: .08;
}
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-inner .eyebrow { color: rgba(255,255,255,.7); }
.cta-inner h2 {
  font-size: clamp(32px,5vw,52px); font-weight: 800; color: #fff;
  letter-spacing: -.02em; line-height: 1.1; margin-bottom: 18px;
}
.cta-inner p { font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.65; margin-bottom: 40px; }

/* ── FOOTER ── */
footer { background: var(--gray-900); padding: 56px 32px 32px; color: rgba(255,255,255,.6); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 28px; width: auto; max-width: 180px; object-fit: contain; align-self: flex-start; filter: brightness(0) invert(1); opacity: .9; }
.footer-desc { font-size: 14px; line-height: 1.65; max-width: 340px; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px;
  letter-spacing: .04em; text-transform: uppercase; font-family: var(--font-mono);
}
.footer-col a {
  display: block; font-size: 14px; color: rgba(255,255,255,.55);
  text-decoration: none; margin-bottom: 10px; transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; }
.footer-email { font-size: 13px; color: rgba(255,255,255,.55); text-decoration: none; font-family: var(--font-mono); transition: color .15s; }
.footer-email:hover { color: #fff; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; } .delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
