/* ============================================
   COLOR SCHEMES — bolder palettes
   ============================================ */
:root,
[data-theme="emerald"] {
  --accent: #00A86B;
  --accent-dark: #007449;
  --accent-hover: #008D5A;
  --accent-light: #D4F2E3;
  --accent-glow: rgba(0, 168, 107, 0.18);
  --accent-subtle: #B8E8D1;
  --hero-gradient-start: #FAFDFB;
  --hero-gradient-mid: #FDFEFD;
  --dark-bg: #04110B;
  --dark-card: rgba(0, 168, 107, 0.08);
  --dark-border: rgba(0, 168, 107, 0.2);
}

[data-theme="teal"] {
  --accent: #00B8CC;
  --accent-dark: #007A88;
  --accent-hover: #009AAD;
  --accent-light: #CFF1F5;
  --accent-glow: rgba(0, 184, 204, 0.2);
  --accent-subtle: #B2E7EE;
  --hero-gradient-start: #F9FCFD;
  --hero-gradient-mid: #FCFDFE;
  --dark-bg: #051014;
  --dark-card: rgba(0, 184, 204, 0.08);
  --dark-border: rgba(0, 184, 204, 0.22);
}

[data-theme="coral"] {
  --accent: #D14423;
  --accent-dark: #A03318;
  --accent-hover: #B83A1C;
  --accent-light: #FCE0D6;
  --accent-glow: rgba(209, 68, 35, 0.2);
  --accent-subtle: #F4C5B5;
  --hero-gradient-start: #FEFAF8;
  --hero-gradient-mid: #FFFDFC;
  --dark-bg: #130604;
  --dark-card: rgba(209, 68, 35, 0.08);
  --dark-border: rgba(209, 68, 35, 0.22);
}

[data-theme="violet"] {
  --accent: #6D28FF;
  --accent-dark: #4F1AD1;
  --accent-hover: #5E21E8;
  --accent-light: #ECE0FF;
  --accent-glow: rgba(109, 40, 255, 0.2);
  --accent-subtle: #D9C5FE;
  --hero-gradient-start: #FCFAFE;
  --hero-gradient-mid: #FEFDFF;
  --dark-bg: #0D0718;
  --dark-card: rgba(109, 40, 255, 0.08);
  --dark-border: rgba(109, 40, 255, 0.22);
}

[data-theme="amber"] {
  --accent: #F5A300;
  --accent-dark: #B47200;
  --accent-hover: #D88F00;
  --accent-light: #FFEBC2;
  --accent-glow: rgba(245, 163, 0, 0.22);
  --accent-subtle: #FFDB90;
  --hero-gradient-start: #FFFCF5;
  --hero-gradient-mid: #FFFEFB;
  --dark-bg: #120C02;
  --dark-card: rgba(245, 163, 0, 0.08);
  --dark-border: rgba(245, 163, 0, 0.22);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0B0E14;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}

h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', -apple-system, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}

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

/* ============================================
   THEME SWITCHER — floating demo pill
   ============================================ */
.theme-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 100px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  font-size: 12px;
  font-weight: 600;
  color: #666;
}
.theme-switcher > span { white-space: nowrap; letter-spacing: 0.02em; text-transform: uppercase; font-size: 10px; color: #999; }
.theme-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}
.theme-dot:hover { transform: scale(1.15); }
.theme-dot.active { border-color: #0B0E14; }
.theme-dot[data-t="emerald"] { background: #00A86B; }
.theme-dot[data-t="teal"] { background: #00B8CC; }
.theme-dot[data-t="coral"] { background: #D14423; }
.theme-dot[data-t="violet"] { background: #6D28FF; }
.theme-dot[data-t="amber"] { background: #F5A300; }

/* ============================================
   MODERN NAV — floating elements, no container bg
   Logo (free) • Center pill w/ links • CTA pill
   ============================================ */
nav {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 22px;
  transition: top 0.3s;
}
.nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

/* When scrolled — softer backdrop on pills for readability over content */
nav.scrolled .nav-links,
nav.scrolled .nav-cta {
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 12px 32px rgba(0,0,0,0.08);
}

/* LEFT: logo (no background) */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0B0E14;
  justify-self: start;
}
.nav-logo-mark {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.nav-logo-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0B0E14;
  transition: color 0.25s ease;
}
nav.over-dark .nav-logo-text { color: #ffffff; }

/* CENTER: pill container with links */
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  justify-self: center;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 100px;
  padding: 5px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.02),
    0 4px 20px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
  position: relative;
}

/* Sliding pill indicator — animates between active items */
.nav-links-indicator {
  position: absolute;
  top: 5px;
  left: var(--indicator-left, 5px);
  width: var(--indicator-width, 0);
  height: calc(100% - 10px);
  background: var(--accent);
  border-radius: 100px;
  box-shadow: 0 2px 6px var(--accent-glow);
  pointer-events: none;
  z-index: 0;
  /* Spring bounce easing — subtle overshoot, snappy duration */
  transition:
    left 0.35s cubic-bezier(0.5, 0.05, 0.2, 1.15),
    width 0.35s cubic-bezier(0.5, 0.05, 0.2, 1.15),
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  opacity: 0;
}
.nav-links-indicator.ready {
  opacity: 1;
}

.nav-links a {
  text-decoration: none;
  color: #4A5056;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  transition: color 0.35s ease, font-weight 0.2s ease;
  position: relative;
  z-index: 1;
}
.nav-links a:hover {
  color: #0B0E14;
}
.nav-links a.active {
  color: white;
  font-weight: 600;
}
.nav-links a.active:hover {
  color: white;
}

/* RIGHT: CTA — standalone pill */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
.nav-cta {
  background: #0B0E14;
  color: white;
  padding: 11px 22px 11px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.08),
    0 4px 14px rgba(0,0,0,0.06);
}
.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.08),
    0 8px 20px var(--accent-glow);
}
.nav-cta svg {
  transition: transform 0.2s;
}
.nav-cta:hover svg {
  transform: translate(2px, -2px);
}

/* Mobile nav toggle */
.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 100px;
  cursor: pointer;
  padding: 0;
  color: #0B0E14;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02), 0 4px 20px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.15s;
}
.nav-mobile-toggle:hover { transform: translateY(-1px); }
.nav-mobile-toggle .icon-close { display: none; }
nav.menu-open .nav-mobile-toggle .icon-open { display: none; }
nav.menu-open .nav-mobile-toggle .icon-close { display: inline-block; }

/* Mobile nav panel */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 16px;
  right: 16px;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.04);
  z-index: 99;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.nav-mobile-menu a {
  text-decoration: none;
  color: #0B0E14;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  background: var(--accent-light);
  color: var(--accent-dark);
}
nav.menu-open .nav-mobile-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  max-height: calc(100svh + 90px);
  padding: 120px 22px 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, var(--hero-gradient-start) 0%, transparent 70%),
    linear-gradient(180deg, var(--hero-gradient-mid) 0%, #ffffff 72%);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  width: 95%;
  max-width: 1480px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, var(--accent-glow) 0%, transparent 70%),
    radial-gradient(ellipse 65% 50% at 10% 90%, var(--accent-glow) 0%, transparent 72%),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(255,255,255,0.3) 0%, transparent 80%);
  opacity: 0.15;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(11, 14, 20, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 14, 20, 0.03) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 0%, transparent 85%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 0%, transparent 85%);
}
@media (min-width: 1280px) { .hero-grid { background-size: 18px 18px; } }
@media (min-width: 1600px) { .hero-grid { background-size: 16px 16px; } }
.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.06);
  color: #333;
  padding: 7px 16px 7px 8px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.hero h1 {
  font-size: clamp(44px, 5.8vw, 76px);
  font-weight: 800;
  color: #0B0E14;
  margin: 0 auto 22px;
  max-width: 820px;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 .accent-text {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: #5C6168;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
  font-weight: 400;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0B0E14;
  color: white;
  padding: 15px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.08);
}
.btn-app-store:hover {
  background: #1F242D;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 12px 40px rgba(0,0,0,0.1);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  color: #0B0E14;
  padding: 15px 26px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(0,0,0,0.08);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: white;
  color: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translate(2px, -2px); }

/* Hero devices — bottom band */
.hero-devices {
    position: relative;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    perspective: 1600px;
}
.hero-devices::before {
  content: '';
    position: absolute;
    inset: -10% 0 0 0;
    background: radial-gradient(ellipse at 50% 80%, var(--accent-glow), transparent 65%);
    filter: blur(64px);
    z-index: 0;
    pointer-events: none;
}
.device-frame {
  position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.15), 0 40px 100px rgba(0, 0, 0, 0.22), 0 12px 32px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    background: #f5f5f7;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}
.device-iphone-frame {
    order: 0;
    width: 18%;
    max-width: 260px;
    min-width: 180px;
    border-radius: 38px;
    padding: 6px;
    margin-right: -80px;
    transform: translateY(8%);
    transform-origin: 50% 100%;
    z-index: 2;
}
.device-iphone-frame:hover { transform: translateY(calc(8% - 4px)); }
.device-iphone-frame img { border-radius: 32px; width: 100%; display: block; }
.device-ipad-frame {
  order: 1;
  width: 62%;
  max-width: 900px;
  border-radius: 22px;
  padding: 7px;
  transform: rotate(-2deg) translateY(4%);
  transform-origin: 28% 68%;
}
.device-ipad-frame:hover { transform: rotate(-2deg) translateY(calc(4% - 4px)); }
.device-ipad-frame img { border-radius: 15px; width: 100%; display: block; }

/* Floating feature cards */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-light);
  border: 1px solid var(--accent-subtle);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 16px 40px rgba(11,14,20,0.1), 0 2px 6px rgba(11,14,20,0.04);
  z-index: 4;
  font-family: 'Inter', sans-serif;
  transform: rotate(var(--tilt, 0deg));
  animation: float-gentle 5.5s ease-in-out infinite;
  transition: box-shadow 0.3s, top 0.5s ease, right 0.5s ease, bottom 0.5s ease, left 0.5s ease;
}
.hero-float:hover {
  box-shadow: 0 24px 50px rgba(11,14,20,0.14), 0 4px 10px rgba(11,14,20,0.06);
}
.hero-float .float-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.pulse-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle), 0 0 14px var(--accent-glow);
  animation: pulse-core 1.9s ease-in-out infinite;
}
.pulse-dot::before,
.pulse-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  transform: translate(-50%, -50%) scale(1);
  animation: pulse-ring 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.pulse-dot::after {
  border-width: 1px;
  animation-delay: 1.2s;
}
@keyframes pulse-core {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.65; }
  100% { transform: translate(-50%, -50%) scale(3.4); opacity: 0; }
}
.hero-float .float-label {
  font-size: 13px;
  font-weight: 600;
  color: #0B0E14;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.hero-float .float-value {
  font-size: 12px;
  color: #5C6168;
  margin-top: 3px;
  font-weight: 500;
}
.float-screentime {
  top: -18%;
  right: 12%;
  animation-delay: 0s;
}
.float-channels {
  top: 5%;
  left: 3%;
  animation-delay: 1.5s;
}
.float-parent {
  bottom: 44%;
  right: 8%;
  animation-delay: 3s;
}
@keyframes float-gentle {
  0%, 100% { transform: rotate(var(--tilt, 0deg)) translateY(0); }
  50% { transform: rotate(var(--tilt, 0deg)) translateY(-7px); }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: 32px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.trust-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #5C6168;
  background: rgba(0,0,0,0.03);
  padding: 8px 16px;
  border-radius: 100px;
}
.trust-pill svg { color: var(--accent); flex-shrink: 0; }

/* ============================================
   SECTIONS — shared styles
   ============================================ */
section { padding: 110px 80px; }
.section-inner {
  max-width: 1480px;
  margin: 0 auto;
}
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
}
.section-heading {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  color: #0B0E14;
  margin-bottom: 18px;
  max-width: 600px;
  letter-spacing: -0.03em;
}
.section-desc {
  font-size: 18px;
  color: #5C6168;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 56px;
}

/* ============================================
   HOW IT WORKS — staggered cards
   ============================================ */
.how-it-works { background: #FAFAFA; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: white;
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  text-align: left;
}
.step-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}
.step-card:nth-child(2) { margin-top: 32px; }
.step-card:nth-child(3) { margin-top: 64px; }
.step-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.step-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  opacity: 0.55;
  font-family: 'Inter Tight', sans-serif;
}
.step-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0B0E14;
}
.step-card p {
  font-size: 15px;
  color: #6C7278;
  line-height: 1.6;
}

/* ============================================
   FEATURE PANELS (Families / Focus)
   ============================================ */
.feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-panel.reverse .feature-content { order: 2; }
.feature-panel.reverse .feature-screenshots { order: 1; }

.feature-content .section-heading { max-width: 480px; }
.feature-content .section-desc { margin-bottom: 36px; }

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-point-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-point h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0B0E14;
  letter-spacing: -0.01em;
}
.feature-point p {
  font-size: 14px;
  color: #6C7278;
  line-height: 1.6;
}

/* Screenshot showcase */
.feature-screenshots {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.screenshot-phone {
  width: 200px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.1);
  background: #f5f5f7;
  padding: 4px;
  transition: transform 0.4s ease;
}
.screenshot-phone:hover { transform: translateY(-6px) scale(1.02); }
.screenshot-phone img {
  border-radius: 20px;
  width: 100%;
}
.screenshot-phone.secondary {
  width: 175px;
  margin-top: 40px;
  opacity: 0.92;
}

/* Families section — phone + floating widget card */
.families-screenshots {
  position: relative;
  min-height: 520px;
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.families-screenshots .screenshot-phone {
  width: 260px;
  padding: 0;
  background: transparent;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.families-screenshots .screenshot-phone img {
  border-radius: 24px;
}
.screenshot-widget {
  position: absolute;
  bottom: 40px;
  left: 160px;
  width: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  transition: transform 0.4s ease;
}
.screenshot-widget:hover { transform: translateY(-6px) scale(1.02); }
.screenshot-widget img {
  width: 100%;
  display: block;
}

/* Focus section — two overlapping portrait phones */
.focus-screenshots {
  position: relative;
  display: block;
  width: 100%;
  max-width: 520px;
  min-height: 600px;
  margin: 0 auto;
}
.focus-screenshots .focus-phone-primary {
  width: 290px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.focus-screenshots .focus-phone-secondary {
  width: 260px;
  position: absolute;
  top: 80px;
  right: 0;
  z-index: 2;
  opacity: 1;
}

/* Feature points without leading icons */
.feature-points.no-icons .feature-point {
  gap: 0;
}

/* Theme color swatches */
.theme-swatches {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.theme-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12), inset 0 0 0 2px rgba(255,255,255,0.6);
  transition: transform 0.2s ease;
}
.theme-swatch:hover { transform: scale(1.15); }

/* ============================================
   FEATURE GRID
   ============================================ */
.features-grid-section {
  background: var(--dark-bg);
  color: white;
  position: relative;
  overflow: hidden;
}
.features-grid-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 18% 8%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(ellipse 95% 75% at 88% 100%, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.35;
  filter: blur(60px);
  pointer-events: none;
}
.features-grid-section .section-inner { position: relative; z-index: 1; }
.features-grid-section .section-eyebrow { color: var(--accent); }
.features-grid-section .section-eyebrow::before { background: var(--accent); }
.features-grid-section .section-heading { color: white; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 18px;
  padding: 28px 24px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  text-align: left;
}
.feat-card:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,0.04);
  transform: translateY(-3px);
}
.feat-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feat-card-icon svg { color: var(--accent); }
.feat-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.feat-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  text-align: center;
  padding: 130px 22px;
  background:
    radial-gradient(ellipse 55% 40% at 90% 100%, var(--accent-glow) 0%, transparent 40%),
    radial-gradient(ellipse 45% 35% at 5% 0%, var(--accent-glow) 0%, transparent 42%),
    linear-gradient(168deg, #FCFCFD 0%, #ffffff 55%, #FBFBFC 100%);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(11, 14, 20, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 14, 20, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, #000 40%, transparent 100%);
  opacity: 0.6;
}
.final-cta .section-inner { position: relative; z-index: 1; }
@media (min-width: 1280px) { .final-cta::before { background-size: 18px 18px; } }
@media (min-width: 1600px) { .final-cta::before { background-size: 16px 16px; } }
.final-cta h2 {
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 800;
  color: #0B0E14;
  margin-bottom: 16px;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.final-cta h2 .accent-text { color: var(--accent); }
.final-cta-sub {
  font-size: 18px;
  color: #6C7278;
  margin-bottom: 40px;
}
.accent-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}
.accent-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.final-platform {
  font-size: 13px;
  color: #9099A1;
  margin-top: 20px;
}

/* ============================================
   LEGAL PAGE (privacy, terms)
   ============================================ */
.legal-page {
  padding: 140px 22px 100px;
  background: #ffffff;
}
.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal-header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.legal-header .section-eyebrow { margin-bottom: 16px; }
.legal-header h1 {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #0B0E14;
  margin: 0 0 20px;
}
.legal-updated {
  font-size: 14px;
  color: #6C7278;
  margin: 0;
}
.legal-updated strong { color: #0B0E14; font-weight: 600; }

.legal-content { color: #3C4148; }
.legal-content .legal-lede {
  font-size: 19px;
  line-height: 1.6;
  color: #0B0E14;
  margin: 0 0 48px;
}
.legal-content h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0B0E14;
  margin: 48px 0 16px;
}
.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.legal-content ul {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 20px;
  padding-left: 22px;
}
.legal-content li { margin-bottom: 8px; }
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.legal-content a:hover { opacity: 0.75; }

/* Contact email card (support page) */
.contact-email-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin: 0 0 40px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.contact-email-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.contact-email-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-email-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.contact-email-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6C7278;
}
.contact-email-value {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #0B0E14;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.contact-email-arrow {
  color: #6C7278;
  flex: none;
  transition: color 0.2s, transform 0.2s;
}
.contact-email-card:hover .contact-email-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* Contact form */
.contact-form {
  margin: 0 0 56px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #FAFBFC;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-label {
  font-size: 13px;
  font-weight: 600;
  color: #0B0E14;
  letter-spacing: -0.005em;
}
.contact-field input,
.contact-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #0B0E14;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #A0A6AD; }
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  padding: 13px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.contact-submit:active { transform: translateY(0); }
.contact-submit-note {
  font-size: 13px;
  color: #6C7278;
  margin: 0;
}
@media (max-width: 600px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 36px 22px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-inner {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.footer-brand:hover { opacity: 0.7; }
.footer-brand img { width: 40px; height: auto; }
.footer-brand-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0B0E14;
  letter-spacing: -0.01em;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 14px;
  color: #6C7278;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #0B0E14; }
.footer-copy {
  font-size: 13px;
  color: #9099A1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-badge { animation: fadeUp 0.6s 0.1s both; }
.hero h1 { animation: fadeUp 0.6s 0.2s both; }
.hero-sub { animation: fadeUp 0.6s 0.3s both; }
.hero-buttons { animation: fadeUp 0.6s 0.4s both; }
.hero-devices { animation: fadeUp 0.8s 0.55s both; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1300px) {
  .float-screentime {
    top: 14%;
    right: 1%;
  }
}

/* Pause costly animations/transitions during resize to keep it snappy */
body.resizing *,
body.resizing *::before,
body.resizing *::after {
  animation-play-state: paused !important;
  transition: none !important;
}

@media (max-width: 1024px) {
  .feature-panel {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-panel.reverse .feature-content { order: 1; }
  .feature-panel.reverse .feature-screenshots { order: 2; }
  .feature-screenshots { justify-content: center; }
  .families-screenshots { min-height: 480px; max-width: 440px; }
  .screenshot-widget { left: 140px; width: 300px; }
  .focus-screenshots { min-height: 540px; max-width: 480px; }
  .focus-screenshots .focus-phone-primary { width: 260px; }
  .focus-screenshots .focus-phone-secondary { width: 230px; top: 70px; }
  section { padding: 100px 60px; }
  .hero { padding: 120px 22px 0; }

  .float-channels {
  top: 35%;
  left: 3%;
  animation-delay: 1.5s;
}
}

@media (max-width: 860px) {
  nav { top: 12px; padding: 0 16px; }
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .nav-links { display: none; }
  .nav-right { justify-self: end; }
  .nav-mobile-toggle { display: inline-flex; }
  .nav-mobile-menu { display: flex; }
  .float-parent {
  bottom: 24%;
  right: 8%;
  animation-delay: 3s;
}
}

@media (max-width: 768px) {
  section { padding: 80px 48px; }
  .hero { padding: 120px 20px 70px; }
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .step-card:nth-child(2),
  .step-card:nth-child(3) { margin-top: 0; }
  .feat-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-copy { margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-devices {
    margin-top: -25px;
    gap: 0;
    min-height: 0;
  }
  .hero-grid,
  .final-cta::before { background-size: 18px 18px; }
  .device-ipad-frame {
    width: 72%;
    max-width: 620px;
    border-radius: 16px;
    padding: 5px;
  }
  .device-ipad-frame img { border-radius: 11px; }
  .device-iphone-frame {
    width: 30%;
    max-width: 220px;
    min-width: 120px;
    margin-right: -52px;
    border-radius: 26px;
    padding: 5px;
  }
  .device-iphone-frame img { border-radius: 21px; }
  .hero-float { display: none; }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  /* Center all section text on mobile */
  .feature-content,
  .feature-points { text-align: center; }
  .feature-content .section-heading,
  .feature-content .section-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .feature-point { display: block; }
  .theme-swatches { justify-content: center; }
  .step-card { text-align: center; }
  .step-card-top { justify-content: center; gap: 16px; }
  .feat-card { text-align: center; }
  .feat-card-icon { margin-left: auto; margin-right: auto; }
  .theme-switcher {
    bottom: 16px; right: 16px;
    padding: 6px 10px;
  }
  .theme-switcher > span { display: none; }
}

@media (max-width: 560px) {
  .nav-logo-text { display: none; }
}

@media (max-width: 480px) {
  section { padding: 70px 28px; }
  .hero { padding: 90px 20px 50px; }
  .screenshot-phone { width: 160px; }
  .screenshot-phone.secondary { width: 140px; margin-top: 24px; }
  .families-screenshots { min-height: 420px; }
  .families-screenshots .screenshot-phone { width: 210px; }
  .screenshot-widget { width: 240px; left: 110px; bottom: 20px; }
  .focus-screenshots { min-height: 460px; }
  .focus-screenshots .focus-phone-primary { width: 210px; }
  .focus-screenshots .focus-phone-secondary { width: 185px; top: 60px; }
  .trust-bar-inner { gap: 6px; }
  .trust-pill { font-size: 11px; padding: 6px 10px; }
  .hero-grid,
  .final-cta::before { background-size: 14px 14px; }
  .hero { padding: 90px 20px 50px; }
  .hero-inner { gap: 24px; }
  .device-ipad-frame {
    width: 100%;
    border-radius: 14px;
    padding: 4px;
  }
  .device-ipad-frame img { border-radius: 10px; }
  .device-iphone-frame {
    width: 34%;
    min-width: 110px;
    margin-right: -42px;
    border-radius: 24px;
    padding: 4px;
  }
  .device-iphone-frame img { border-radius: 20px; }
}
