/* =========================================================
   ParkCare landing — design tokens
   Brand palette mirrors the app (src/theme/colors.ts):
   primary teal #3BB290 · secondary coral #FF7058 · accent amber #FFC107
   ========================================================= */
:root {
  --primary-50:  #E8F5F1;
  --primary-100: #C5E8DD;
  --primary-200: #9ED9C7;
  --primary-300: #77CAB1;
  --primary-400: #59BEA0;
  --primary-500: #3BB290;
  --primary-600: #35A383;
  --primary-700: #2D9173;
  --primary-800: #267F64;
  --primary-900: #1A5F49;

  --coral-100: #FFD9D1;
  --coral-300: #FF8D79;
  --coral-500: #FF7058;
  --coral-600: #E84A30;

  --amber-300: #FFD54F;
  --amber-500: #FFC107;
  --amber-600: #FFB300;

  --neutral-0:   #FFFFFF;
  --neutral-50:  #FAF9F7;
  --neutral-100: #F3F1EE;
  --neutral-200: #E8E5E0;
  --neutral-300: #D4D0C9;
  --neutral-400: #B5B0A7;
  --neutral-500: #918C82;
  --neutral-600: #706B62;
  --neutral-700: #524E47;
  --neutral-800: #363330;
  --neutral-900: #1E1C1A;

  --bg:        var(--neutral-50);
  --surface:   #FFFFFF;
  --text:      var(--neutral-900);
  --text-soft: var(--neutral-600);
  --text-mute: var(--neutral-500);
  --border:    var(--neutral-200);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-2xl: 36px;

  --shadow-sm: 0 1px 2px rgba(30,28,26,.05), 0 1px 3px rgba(30,28,26,.04);
  --shadow:    0 4px 12px rgba(30,28,26,.06), 0 2px 4px rgba(30,28,26,.04);
  --shadow-lg: 0 24px 60px -12px rgba(30,28,26,.18), 0 8px 24px -8px rgba(30,28,26,.10);
  --shadow-xl: 0 40px 80px -20px rgba(30,28,26,.25), 0 16px 32px -12px rgba(30,28,26,.12);

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --container: 1180px;
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--primary-200); color: var(--primary-900); }

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
  position: relative;
}
.section-soft {
  background: linear-gradient(180deg, var(--neutral-50) 0%, #fff 100%);
  border-block: 1px solid var(--border);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 72px);
}
.section-head .kicker { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-soft); font-size: 19px; }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--neutral-900);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 0.92rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--neutral-700); }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-700);
  background: var(--primary-50);
  padding: 6px 12px;
  border-radius: 999px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-700);
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary-500);
  box-shadow: 0 0 0 4px var(--primary-100);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--primary-100); }
  50%      { box-shadow: 0 0 0 7px var(--primary-50); }
}

.grad {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 60%, var(--coral-500) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   Buttons & store badges
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: .94rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: #fff;
  box-shadow: 0 6px 18px -4px rgba(59,178,144,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(59,178,144,.6); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--neutral-900);
}
.btn-ghost:hover { border-color: var(--primary-400); color: var(--primary-700); }

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--neutral-900);
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease);
  box-shadow: 0 8px 20px -10px rgba(30,28,26,.4);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(30,28,26,.45); }
.store-badge svg { width: 28px; height: 28px; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-text small { font-size: 0.7rem; opacity: .85; font-weight: 500; }
.store-text strong { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }

/* Coming-soon variant for Android */
.store-badge.is-soon { opacity: .68; }
.store-badge.is-soon:hover { opacity: .85; transform: translateY(-2px); }
.store-badge.is-soon svg { filter: saturate(.6); }
.beta-pill {
  position: absolute;
  top: -10px;
  right: 14px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: var(--neutral-900);
  font-size: .68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px -2px rgba(255,160,0,.5);
}

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(250,249,247,.72);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.85);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(30,28,26,.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  object-fit: contain;
  box-shadow: 0 4px 12px -4px rgba(59,178,144,.4);
}
.brand-name { font-size: 1.18rem; letter-spacing: -.02em; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: .96rem;
  font-weight: 500;
  color: var(--neutral-700);
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--primary-700); }
.nav-links a::after {
  content: '';
  position: absolute;
  inset-inline: 0; bottom: -6px;
  height: 2px; border-radius: 2px;
  background: var(--primary-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  background: var(--neutral-100);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-opt {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--neutral-600);
  padding: 5px 12px;
  border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-opt:hover { color: var(--neutral-900); }
.lang-opt.active {
  background: #fff;
  color: var(--primary-700);
  box-shadow: 0 1px 3px rgba(30,28,26,.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--neutral-800);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 16px 24px 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a { font-weight: 600; color: var(--neutral-800); padding: 8px 0; }
.mobile-menu .btn-primary { color: #fff; }

/* =========================================================
   Ambient blobs
   ========================================================= */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob-a { width: 480px; height: 480px; background: var(--primary-200); top: -120px; left: -160px; }
.blob-b { width: 420px; height: 420px; background: var(--coral-100); top: 40%; right: -180px; animation-duration: 28s; }
.blob-c { width: 360px; height: 360px; background: #FFE9B0; bottom: -120px; left: 20%; animation-duration: 26s; }
@keyframes drift {
  0%   { transform: translate3d(0,0,0)     scale(1); }
  50%  { transform: translate3d(40px,30px,0) scale(1.05); }
  100% { transform: translate3d(-30px,20px,0) scale(.98); }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px) clamp(80px, 9vw, 120px);
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-title { margin-block: 20px 22px; }
.hero-title .grad { display: inline-block; }
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-actions.center { justify-content: center; margin-bottom: 0; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: .95rem;
  color: var(--text-soft);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: .72rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* =========================================================
   Phone mockup
   ========================================================= */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}
.phone {
  position: relative;
  width: 300px;
  height: 610px;
  background: linear-gradient(180deg, #1E1C1A, #363330);
  border-radius: 46px;
  padding: 11px;
  box-shadow:
    var(--shadow-xl),
    inset 0 0 0 2px rgba(255,255,255,.05),
    0 0 0 1.5px rgba(0,0,0,.4);
  transform: rotate(-3deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-12px); }
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  background: var(--neutral-50);
  overflow: hidden;
  padding: 50px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.status-bar {
  position: absolute;
  top: 18px; left: 24px; right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
  z-index: 1;
}
.status-icons { display: inline-flex; gap: 3px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(30,28,26,.3); display: inline-block; }
.dot.full { background: var(--neutral-900); }

/* Greeting */
.m-greet { padding: 4px 4px 0; }
.m-hello {
  font-family: 'Plus Jakarta Sans';
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--neutral-900);
  line-height: 1.15;
}
.m-date {
  font-size: 13px;
  color: var(--neutral-600);
  margin-top: 4px;
  text-transform: capitalize;
}

/* Today's medications summary card (primary tinted, mirrors real summaryCard) */
.m-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 18px;
  padding: 14px 16px;
}
.m-summary-text { flex: 1; min-width: 0; }
.m-summary-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -.01em;
}
.m-summary-sub {
  font-size: 16px;
  color: var(--primary-700);
  margin-top: 4px;
  font-weight: 600;
}
.m-summary-sub span { font-weight: 500; }
.m-progress {
  position: relative;
  width: 72px; height: 72px;
  flex-shrink: 0;
}
.m-progress svg { width: 100%; height: 100%; }
.m-progress-arc {
  animation: arc-fill 1.4s var(--ease-out) .4s both;
}
@keyframes arc-fill {
  from { stroke-dashoffset: 263.9; }
  to   { stroke-dashoffset: 131.95; }
}
.m-progress-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.m-progress-label strong {
  font-family: 'Plus Jakarta Sans';
  font-size: 15px;
  font-weight: 800;
  color: var(--neutral-900);
}
.m-progress-label span {
  font-size: 9px;
  color: var(--neutral-500);
  margin-top: 2px;
  font-weight: 600;
}

/* Section title inside the phone */
.m-section-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -.01em;
  padding: 4px 4px 0;
}

/* Medication card — mirrors real MedicationCard */
.m-med-card {
  display: flex;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(30,28,26,.06);
  border: 1px solid rgba(0,0,0,.04);
}
.m-color-bar { width: 5px; flex-shrink: 0; }
.m-med-content { flex: 1; padding: 12px 14px; min-width: 0; }
.m-med-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.m-med-details { flex: 1; min-width: 0; }
.m-med-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -.01em;
}
.m-med-dosage {
  font-size: 12px;
  color: var(--neutral-600);
  margin-top: 1px;
}
.m-med-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.m-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--neutral-500);
  font-weight: 500;
}
.m-meta-item svg { width: 12px; height: 12px; }
.m-status-badge {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,160,0,.15);
  color: var(--amber-700, #FFA000);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.m-status-badge svg { width: 16px; height: 16px; }

.m-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--neutral-100);
}
.m-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}
.m-action svg { width: 14px; height: 14px; }
.m-taken {
  background: #4CAF50;
  color: #fff;
}
.m-skipped {
  background: var(--neutral-100);
  color: var(--neutral-600);
}

/* Tab bar — pinned at the bottom */
.m-tab-bar {
  margin-top: auto;
  background: #fff;
  border-radius: 18px;
  padding: 8px 4px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 -2px 10px rgba(30,28,26,.05);
}
.m-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--neutral-400);
  padding: 4px 8px;
}
.m-tab svg { width: 18px; height: 18px; }
.m-tab small { font-size: 9px; font-weight: 600; }
.m-tab.active { color: var(--primary-600); }

/* Floating cards around the phone */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0,0,0,.05);
  animation: float-soft 5s ease-in-out infinite;
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.float-notif { top: 14%; left: -10px; max-width: 220px; animation-delay: -1s; }
.float-share { bottom: 12%; right: -16px; }
.float-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.float-title { font-size: 13px; font-weight: 700; color: var(--neutral-900); }
.float-sub { font-size: 12px; color: var(--neutral-600); }
.avatars { display: inline-flex; }
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid #fff;
  margin-left: -6px;
}
.avatar:first-child { margin-left: 0; }
.avatar.a1 { background: var(--primary-500); }
.avatar.a2 { background: var(--coral-500); }
.avatar.a3 { background: var(--amber-600); }

/* Trust strip */
.trust-strip {
  margin-top: clamp(56px, 8vw, 96px);
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.trust-strip > p { font-size: .9rem; color: var(--text-mute); font-weight: 600; letter-spacing: .04em; }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 24px;
}
.trust-stats > div {
  text-align: center;
  display: flex;
  flex-direction: column;
}
.trust-stats strong {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  font-family: 'Plus Jakarta Sans';
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.02em;
}
.trust-stats span { font-size: .85rem; color: var(--text-soft); margin-top: 2px; }

/* =========================================================
   Features grid
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature:hover::before { transform: scaleX(1); }
.feature h3 { margin: 18px 0 8px; }
.feature p { color: var(--text-soft); font-size: .98rem; }
.feat-icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
}
.feat-icon svg { width: 28px; height: 28px; }
.i-pill   { background: linear-gradient(135deg, var(--primary-500), var(--primary-700)); }
.i-diary  { background: linear-gradient(135deg, var(--coral-500), var(--coral-600)); }
.i-sos    { background: linear-gradient(135deg, #E53935, #B03320); }
.i-family { background: linear-gradient(135deg, var(--amber-600), #FF8F00); }
.i-cloud  { background: linear-gradient(135deg, #2196F3, #1565C0); }
.i-shield { background: linear-gradient(135deg, var(--neutral-700), var(--neutral-900)); }

/* =========================================================
   How it works
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: -22px; left: 28px;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  box-shadow: 0 8px 18px -6px rgba(59,178,144,.55);
}
.step h3 { margin: 18px 0 8px; }
.step p { color: var(--text-soft); }

/* =========================================================
   Family / caregivers
   ========================================================= */
.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.family-copy h2 { margin-block: 14px 18px; }
.family-copy > p {
  color: var(--text-soft);
  font-size: 1.08rem;
  margin-bottom: 24px;
}
.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px dashed var(--border);
  font-size: 1rem;
  color: var(--neutral-800);
}
.bullets li:last-child { border-bottom: none; }
.bullets .check { margin-top: 3px; }

.family-art {
  position: relative;
  background: linear-gradient(160deg, #F2FBF7, #FFF8EE);
  border-radius: var(--radius-2xl);
  padding: 40px;
  border: 1px solid var(--border);
  min-height: 480px;
  display: flex;
  align-items: center;
}
.convo {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
}
.bubble {
  background: #fff;
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  max-width: 80%;
  position: relative;
  font-size: .98rem;
}
.bubble .who {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary-700);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.bubble .time {
  display: block;
  font-size: .72rem;
  color: var(--text-mute);
  margin-top: 4px;
}
.bubble-them { align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble-me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble-me .time { color: rgba(255,255,255,.75); }

/* =========================================================
   Pricing
   ========================================================= */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 920px;
  margin-inline: auto;
}
.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan header { text-align: left; }
.plan h3 { font-size: 1.4rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.price strong {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--neutral-900);
}
.price span { color: var(--text-soft); font-size: .95rem; }
.trial { font-size: .9rem; color: var(--primary-700); font-weight: 600; margin-top: 6px; }
.plan ul li {
  padding-block: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--neutral-800);
  font-size: .98rem;
}
.plan .btn { width: 100%; }
.fineprint { font-size: .78rem; color: var(--text-mute); text-align: center; }

.plan-featured {
  position: relative;
  background: linear-gradient(160deg, #fff 0%, #F2FBF7 100%);
  border-color: var(--primary-300);
  box-shadow: 0 24px 60px -20px rgba(59,178,144,.35);
}
.ribbon {
  position: absolute;
  top: -14px; right: 24px;
  background: linear-gradient(135deg, var(--coral-500), var(--coral-600));
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px -6px rgba(255,112,88,.45);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; gap: 32px; }
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin-inline: auto;
  width: 100%;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item[open] { border-color: var(--primary-300); box-shadow: var(--shadow); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--neutral-900);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-soft);
}
.chev {
  width: 22px; height: 22px;
  position: relative;
  flex-shrink: 0;
}
.chev::before, .chev::after {
  content: '';
  position: absolute;
  background: var(--neutral-700);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.chev::before {
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  transform: translate(-50%, -50%);
  border-radius: 2px;
}
.chev::after {
  top: 50%; left: 50%;
  width: 2px; height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 2px;
}
.faq-item[open] .chev::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* =========================================================
   Final CTA
   ========================================================= */
.cta { padding-bottom: clamp(80px, 10vw, 140px); }
.cta-card {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,202,40,.4), transparent 70%);
  pointer-events: none;
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,112,88,.25), transparent 70%);
  pointer-events: none;
}
.cta-card h2 { color: #fff; margin-bottom: 14px; }
.cta-card > p { font-size: 1.1rem; opacity: .92; margin-bottom: 28px; }
.cta-card .hero-actions { position: relative; z-index: 1; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding-block: 64px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.foot-brand { max-width: 320px; }
.foot-brand .brand { color: #fff; }
.foot-brand .brand-name { color: #fff; }
.foot-brand p { margin-top: 14px; color: var(--neutral-400); font-size: .94rem; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: .82rem; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--neutral-300); font-size: .94rem; transition: color .2s; }
.site-footer a:hover { color: var(--primary-300); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  font-size: .85rem;
  color: var(--neutral-500);
}
.foot-bottom .disclaimer { max-width: 540px; text-align: right; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .float-card, .blob { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 560px; margin-top: 24px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .family-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
  .features { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .foot-bottom .disclaimer { text-align: left; }
  .float-notif { left: 0; }
  .float-share { right: 0; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone { width: 270px; height: 550px; }
  .phone-screen { padding: 50px 14px 14px; }
}
