/* InjuredApp.com — Landing
   Brand: #0F8FEA primary, #6BDAFF cyan accent, #34C759 success
   Type: Cabin (display) + Lato (body)
*/

@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Roboto+Mono:wght@400;500;700&display=swap');

:root {
  --brand: #0F8FEA;
  --brand-bright: #2BA0F4;
  --brand-cyan: #6BDAFF;
  --brand-cyan-soft: #E6F6FF;
  --success: #34C759;

  /* ── Adopted from OrthoData design system ── */
  --font-mono: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  /* Signal traffic-light (recovery phases / status) */
  --signal-go: #54bf18;
  --signal-caution: #bdbf19;
  --signal-stop: #c0192f;
  /* Calibrated soft elevation — paper-on-canvas */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-panel: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-pop: 0 8px 28px rgba(0,0,0,0.12);
  --shadow-focus: 0 0 0 3px rgba(15,143,234,0.20);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ink-900: #0A131F;     /* phone background, hero */
  --ink-800: #101C29;
  --ink-700: #1A2735;
  --ink-500: #3C3C43;
  --ink-400: #56565E;
  --ink-300: #8E8E93;
  --ink-200: #C7C7CC;
  --ink-100: #E5E5EA;
  --ink-50: #F2F2F2;
  --bg: #ffffff;
  --font-display: 'Cabin', system-ui, sans-serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-ui: 'Helvetica Neue', 'Lato', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 72px; }

section[id] { scroll-margin-top: 72px; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: #fff;
  overflow-x: clip;
  font-weight: 400;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* Accessible focus ring (OrthoData) */
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: 6px; }

/* Tabular mono for data/numerals (OrthoData) */
.mono-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ─────────────────────────  Nav  ───────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 19, 31, 0);
  transition: background 0.4s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 19, 31, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 40px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.01em;
}
.nav-brand .logo-mark {
  width: 26px; height: 26px;
  color: var(--brand);
  display: inline-block;
}
.nav-links { display: flex; gap: 36px; align-items: center; color: #fff; font-family: var(--font-ui); font-size: 14px; font-weight: 500;}
.nav-links a { opacity: 0.7; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  opacity: 1 !important;
  transition: transform 0.15s ease, background 0.2s;
}
.nav-cta:hover { background: var(--brand-bright); transform: translateY(-1px); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-mobile {
  position: fixed;
  top: 64px; left: 12px; right: 12px;
  background: rgba(12, 22, 35, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.nav-mobile.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-mobile a {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
}
.nav-mobile a:hover { background: rgba(255,255,255,0.06); }
.nav-mobile .nav-cta {
  background: var(--brand);
  text-align: center;
  font-weight: 700;
  margin-top: 6px;
}

@media (max-width: 720px) {
  .nav { padding: 14px 18px; }
  .nav.scrolled { padding: 10px 18px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 721px) {
  .nav-mobile { display: none; }
}

/* ─────────────────────────  Hero  ───────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #14304D 0%, #0A131F 55%, #06101B 100%);
  color: #fff;
  padding: 140px 40px 80px;
  overflow: hidden;
}
.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 143, 234, 0.12);
  color: var(--brand-cyan);
  border: 1px solid rgba(107, 218, 255, 0.2);
  margin-bottom: 32px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
  animation: dotGlow 2s ease-in-out infinite;
}
.hero-eyebrow .dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.6;
  animation: dotPulse 2s ease-out infinite;
}
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0.55); }
  50% { box-shadow: 0 0 0 4px rgba(52,199,89,0.15); }
}
@keyframes dotPulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero h1 .accent {
  color: var(--brand);
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.store-btns { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.store-btn-outline, .store-btn-dark {
  background: rgba(255,255,255,0.06);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.18);
}
.store-btn-outline:hover, .store-btn-dark:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: none;
}
.store-btn-outline .label-small, .store-btn-dark .label-small { opacity: 0.75; }
.hero-howlink {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  color: var(--brand-cyan);
  transition: opacity 0.2s;
}
.hero-howlink:hover { opacity: 0.7; }
.hero-disclaimer {
  margin-top: 28px;
  max-width: 460px;
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.4);
}
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: #fff;
  color: #0A131F;
  border-radius: 14px;
  font-family: var(--font-ui);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px rgba(15, 143, 234, 0.2);
}
.app-store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15, 143, 234, 0.32); }
.app-store-btn .apple { width: 26px; height: 26px; }
.app-store-btn .label-small { font-size: 10px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; }
.app-store-btn .label-big { font-size: 18px; font-weight: 600; line-height: 1.15; margin-top: 1px;}
.ghost-btn {
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.2s;
  cursor: pointer;
}
.ghost-btn:hover { background: rgba(255,255,255,0.06); }

.hero-stats {
  margin-top: 64px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat { font-family: var(--font-ui); }
.hero-stat .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 30px; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.hero-stat .num .small { color: var(--brand-cyan); }
.hero-stat .label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.1em; }

/* ── Hero phone stack ── */
.hero-phones {
  position: relative;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}
.hero-phone-front {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}
.hero-phone-back {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 1;
  opacity: 0.55;
  filter: blur(0.6px);
  pointer-events: none;
}
.hero-phone-left {
  transform-origin: right center;
  transform: translate(-58%, calc(-50% - 20px)) rotate(-10deg) scale(0.78);
}
.hero-phone-right {
  transform-origin: left center;
  transform: translate(58%, calc(-50% + 20px)) rotate(10deg) scale(0.78);
}

@media (max-width: 1100px) {
  .hero-phone-back { display: none; }
}

/* ─────────────────────────  Phone primitive  ───────────────────────── */
.phone {
  width: 320px;
  height: 660px;
  background: var(--ink-900);
  border-radius: 50px;
  padding: 14px;
  border: 1.5px solid #2a3441;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 60px 100px -30px rgba(0,0,0,0.55),
    0 20px 40px -10px rgba(15, 143, 234, 0.2);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: var(--ink-900);
  overflow: hidden;
  position: relative;
  color: #fff;
  font-family: var(--font-ui);
  display: flex;
  flex-direction: column;
}
/* ── Phone status bar (no Dynamic Island — clean status bar per Figma) ── */
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 6px;
  font-family: -apple-system, 'SF Pro', system-ui;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  z-index: 4;
}
.phone-status .time { min-width: 50px; }
.phone-status .icons { display: flex; gap: 5px; align-items: center; justify-content: flex-end; }
.phone-status .icons svg { color: currentColor; }
.phone-light .phone-status { color: #0A131F; }
.phone-light .phone-status .icons svg { color: #0A131F; }
.phone-light .phone-screen { background: #fff; color: #0A131F; }
.phone-light { border-color: #2a3441;}

/* tab bar */
.phone-tabbar {
  position: absolute;
  left: 12px; right: 12px;
  bottom: 14px;
  height: 60px;
  background: rgba(255,255,255,0.96);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  color: var(--ink-400);
  z-index: 4;
}
.phone-tabbar .tab { width: 22px; height: 22px; opacity: 0.55; }
.phone-tabbar .tab.active { color: var(--brand); opacity: 1; }
.phone-tabbar .tab-sparkles {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand);
  color: #fff;
  opacity: 1;
}
.phone-tabbar .tab-sparkles svg { width: 18px; height: 18px; }
.phone-tabbar .tab-center {
  width: 52px; height: 52px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  opacity: 1;
  margin-top: -22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.04);
}
.phone-tabbar .tab-center.active {
  background: var(--brand);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(15,143,234,0.45);
}
.phone-tabbar .tab-center.active img { filter: brightness(0) invert(1); }
.phone-tabbar .tab-center img { width: 24px; height: auto; }

/* ─────────────────────────  Section base  ───────────────────────── */
section { position: relative; }

.section-padded { padding: 140px 40px; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.section-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: var(--ink-400);
  max-width: 540px;
}

/* ─────────────────────────  OrthoAgent section  ───────────────────────── */
.section-orthoagent {
  background: var(--ink-900);
  color: #fff;
  overflow: hidden;
}
.section-orthoagent .eyebrow { color: var(--brand-cyan); }
.section-orthoagent .section-sub { color: rgba(255,255,255,0.65); }

.feature-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.feature-bullets { margin-top: 40px; display: flex; flex-direction: column; gap: 24px;}
.feature-bullet {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  font-family: var(--font-ui);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-bullet.in { opacity: 1; transform: translateY(0); }
.feature-bullet .check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(15,143,234,0.18);
  color: var(--brand-cyan);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-bullet .check svg { width: 14px; height: 14px; }
.feature-bullet h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 4px;}
.feature-bullet p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.5;}

/* ─────────────────────────  Pathway timeline  ───────────────────────── */
.section-pathway {
  background: #fff;
  color: var(--ink-900);
}
.pathway-shell {
  max-width: 1280px;
  margin: 0 auto;
}
.pathway-header { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.pathway-header .section-sub { margin: 0 auto; }

.pathway-flow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.pathway-steps { position: relative; padding-left: 30px; }
.pathway-steps::before {
  content: '';
  position: absolute;
  left: 21px; top: 28px; bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand) 0%, var(--brand) var(--progress, 0%), var(--ink-100) var(--progress, 0%), var(--ink-100) 100%);
  transition: --progress 0.4s ease;
}
.pathway-step {
  position: relative;
  padding: 16px 0 32px 30px;
  font-family: var(--font-ui);
}
.pathway-step:last-child { padding-bottom: 0; }
.pathway-step .node {
  position: absolute;
  left: -22px; top: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ink-100);
  border: 2px solid var(--ink-100);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: all 0.4s ease;
}
.pathway-step.complete .node {
  background: var(--signal-go);
  border-color: var(--signal-go);
  color: #fff;
}
.pathway-step.current .node {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15,143,234,0.15);
}
.pathway-step .node svg { width: 14px; height: 14px; opacity: 0; transition: opacity 0.3s; }
.pathway-step.complete .node svg { opacity: 1; }
.pathway-step h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 12px;
}
.pathway-step .time-pill {
  background: var(--ink-900);
  color: #fff;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.4s ease;
}
.pathway-step.complete .time-pill { background: var(--signal-go); }
.pathway-step.current .time-pill { background: var(--brand); }
.pathway-step p { font-size: 14px; color: var(--ink-400); line-height: 1.5; }
.pathway-step.complete p { color: var(--ink-300);}

/* Pathway phones — Roadmap front, Home dashboard tilted behind */
.pathway-phones {
  position: relative;
  width: 100%;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pathway-phone-front {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 50px rgba(15, 143, 234, 0.18));
}
.pathway-phone-back {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(20%, -45%) rotate(8deg) scale(0.82);
  z-index: 1;
  opacity: 0.85;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.15));
  pointer-events: none;
}
@media (max-width: 860px) {
  .pathway-phones { height: 600px; }
  .pathway-phone-back { display: none; }
}

/* ─────────────────────────  Pricing  ───────────────────────── */
.section-pricing {
  background: linear-gradient(180deg, #f6f9fc 0%, #ffffff 100%);
  color: var(--ink-900);
}
.pricing-shell { max-width: 1280px; margin: 0 auto; text-align: center; }
.pricing-header { margin-bottom: 80px; }
.pricing-header .section-sub { margin: 0 auto; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.price-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 28px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.price-card.popular {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
  box-shadow: 0 30px 60px -20px rgba(15,143,234,0.35);
}
.price-card.popular:hover { transform: translateY(-6px); }
.price-tag-pop {
  position: absolute;
  top: -14px; right: 28px;
  background: var(--brand);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-card .tier-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.price-card .tier-blurb { font-size: 14px; color: var(--ink-400); margin-top: -16px; }
.price-card.popular .tier-blurb { color: rgba(255,255,255,0.55); }
.price-card .tier-price {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-card .tier-price .per { font-size: 14px; font-weight: 400; color: var(--ink-400); font-family: var(--font-ui);}
.price-card.popular .tier-price .per { color: rgba(255,255,255,0.55);}
.price-card .tier-bill {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--ink-400);
  margin-top: -16px;
}
.price-card.popular .tier-bill { color: rgba(255,255,255,0.5);}
.price-card .tier-bill .badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  margin-left: 6px;
  font-size: 11px;
}
.price-card.popular .tier-bill .badge { background: var(--brand-cyan); color: var(--ink-900);}

.tier-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 4px;}
.tier-features li { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-ui); font-size: 14px; line-height: 1.45;}
.tier-features li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--brand); margin-top: 1px;}
.price-card.popular .tier-features li svg { color: var(--brand-cyan);}

.price-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  font-family: var(--font-ui);
  font-weight: 700;
  background: var(--ink-100);
  color: var(--ink-900);
  transition: background 0.2s, transform 0.15s;
}
.price-cta:hover { background: var(--ink-200); transform: translateY(-1px); }
.price-card.popular .price-cta { background: var(--brand); color: #fff;}
.price-card.popular .price-cta:hover { background: var(--brand-bright); }

/* ─────────────────────────  Footer / CTA  ───────────────────────── */
.section-cta {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, #14304D 0%, #0A131F 70%);
  color: #fff;
  text-align: center;
  padding: 140px 40px;
  position: relative;
  overflow: hidden;
}
.cta-phone {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
  position: relative;
}
.cta-phone .phone {
  transform: scale(0.78);
  transform-origin: center top;
  margin-bottom: -120px;
}
.section-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 16px;
}
.section-cta h2 .accent {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-cta p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

footer {
  background: #0A131F;
  color: rgba(255,255,255,0.5);
  padding: 40px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
footer .row { display: flex; justify-content: space-between; max-width: 1280px; margin: 0 auto; flex-wrap: wrap; gap: 16px;}
footer a:hover { color: #fff; }

/* ─────────────────────────  Scroll reveals  ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─────────────────────────  Responsive  ───────────────────────── */
@media (max-width: 860px) {
  .hero { padding: 110px 24px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-phones { height: 560px; }
  .section-padded { padding: 100px 24px; }
  .feature-grid { grid-template-columns: 1fr; gap: 60px; }
  .pathway-flow { grid-template-columns: 1fr; gap: 60px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.popular { order: -1; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 48px;}
  .section-title { font-size: 38px; }
  .hero-stats { gap: 28px; margin-top: 44px;}
  .hero-stat .num { font-size: 26px;}
}

/* ─────────────────────────  Trust strip  ───────────────────────── */
.section-trust {
  background: #0A131F;
  color: #fff;
  padding: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-shell {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-proof { display: flex; align-items: center; gap: 28px; }
.trust-rating { display: flex; align-items: center; gap: 12px; }
.stars { display: inline-flex; gap: 2px; color: #FFB300; }
.trust-rating-text {
  font-family: var(--font-ui);
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}
.trust-rating-text strong { color: #fff; font-weight: 700; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.trust-rating-text span { display: block; font-size: 12px; color: rgba(255,255,255,0.4); }
.trust-div { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }
.trust-logos { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trust-logos-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}
.trust-logos-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-logos-row image-slot {
  border: 1px dashed rgba(255,255,255,0.16);
  border-radius: 8px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .trust-shell { flex-direction: column; align-items: flex-start; gap: 28px; }
}

/* ─────────────────────────  Security row  ───────────────────────── */
.security-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(15,143,234,0.1);
  border: 1px solid rgba(107,218,255,0.18);
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
}
.security-row svg { color: var(--brand-cyan); flex-shrink: 0; }
.security-row strong { color: #fff; font-weight: 700; }

/* ─────────────────────────  Testimonials  ───────────────────────── */
.section-testimonials { background: #fff; color: var(--ink-900); }
.testimonials-shell { max-width: 1280px; margin: 0 auto; text-align: center; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
  margin-top: 8px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.testimonial-card:hover { box-shadow: var(--shadow-panel); transform: translateY(-3px); }
.testimonial-stars .stars { color: #FFB300; }
.testimonial-card blockquote {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-700, #1A2735);
  flex-grow: 1;
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--ink-100);
  padding-top: 18px;
}
.testimonial-card figcaption image-slot {
  border: 1px dashed var(--ink-200);
  color: var(--ink-300);
}
.testimonial-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.testimonial-role { font-family: var(--font-ui); font-size: 13px; color: var(--ink-400); }

@media (max-width: 860px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────  Billing toggle  ───────────────────────── */
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin: 28px auto 0;
  padding: 5px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: 999px;
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-400);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.billing-toggle button.active {
  background: #fff;
  color: var(--ink-900);
  box-shadow: 0 2px 8px rgba(10,19,31,0.1);
}
.billing-toggle .save-pill {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--success);
  background: rgba(52,199,89,0.12);
  padding: 2px 7px;
  border-radius: 999px;
}

/* ─────────────────────────  CTA secondary path  ───────────────────────── */
.cta-stores { display: flex; justify-content: center; }
.cta-or {
  margin: 22px 0 14px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.textme {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
}
.textme-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 0 16px;
  flex: 1;
  min-width: 220px;
}
.textme-field svg { color: rgba(255,255,255,0.5); flex-shrink: 0; }
.textme-field input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  padding: 14px 0;
  width: 100%;
}
.textme-field input::placeholder { color: rgba(255,255,255,0.45); }
.textme-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  padding: 0 22px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.textme-btn:hover { background: var(--brand-bright); transform: translateY(-1px); }
.textme-done {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: var(--success);
  background: rgba(52,199,89,0.1);
  border: 1px solid rgba(52,199,89,0.25);
  padding: 14px 24px;
  border-radius: 12px;
}

/* ─────────────────────────  Footer links  ───────────────────────── */
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }

/* ─────────────────────────  Reduced motion  ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .feature-bullet {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-eyebrow .dot, .hero-eyebrow .dot::after { animation: none !important; }
  * { scroll-behavior: auto !important; }
}


/* ─── Hero Video Section ─── */
.section-hero-video {
  background: var(--navy-900, #05111F);
  padding: 0 0 80px;
}
.hero-video-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  background: #000;
}

/* ─── Video Testimonials ─── */
.testimonials-video-grid {
  grid-template-columns: repeat(2, 1fr);
}
.testimonial-video-card {
  padding: 0;
  overflow: hidden;
  background: #000;
}
.testimonial-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
}
.testimonial-video-card figcaption {
  padding: 16px 20px;
  border-top: none;
  background: #fff;
}

@media (max-width: 860px) {
  .testimonials-video-grid {
    grid-template-columns: 1fr;
  }
  .hero-video-wrap {
    border-radius: 12px;
  }
}

/* ─── Hero video embed (replaces phone stack in hero) ─── */
.hero-video-embed {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}
.hero-phone-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9:16 portrait */
  max-height: 620px;
  background: #000;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

@media (max-width: 1024px) {
  .hero-video-embed {
    max-width: 280px;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-video-embed {
    max-width: 260px;
  }
}
