/* ═══ HEADER ═══ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-height);
  pointer-events: none;
}

.site-header > * { pointer-events: auto; }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  z-index: 2;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(160px, 42vw);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 900px) {
  .brand-logo {
    height: 52px;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 38px;
    max-width: 130px;
  }
}

.nav-pill {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.35rem 0.5rem 0.35rem 1.25rem;
  max-width: min(1080px, calc(100vw - 11rem));
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-pill a {
  padding: 0.45rem 0.7rem;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-pill a:hover { color: var(--color-text); }

.nav-pill a.is-active {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-pill-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  margin-inline: 0.25rem;
}

/* ═══ BUTTONS — liquid glass (espejo de NexusCrystalButtonStyle) ═══ */
.nexus-btn-glass,
.btn-hero,
.btn-cta,
.btn-app-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.nexus-btn-glass:hover,
.btn-hero:hover,
.btn-cta:hover,
.btn-app-store:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-app-store {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-app-store svg { width: 16px; height: 16px; }

.btn-hero {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-hero:hover { transform: translateY(-1px); }

.btn-hero svg { width: 20px; height: 20px; }

.btn-cta {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.nav-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  padding: calc(var(--nav-height) + 1rem) 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.97);
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu.is-open { display: flex; }

.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 900px) {
  .nav-pill { display: flex; }
  .nav-toggle { display: none; }
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.92) 100%),
    url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
  max-width: 52rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  display: block;
  background: var(--gradient-nexus-diagonal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: var(--space-lg);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.6;
}

.hero-actions {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-xl);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge--beta {
  border-color: rgba(165, 94, 234, 0.35);
  background: rgba(165, 94, 234, 0.1);
  color: var(--color-brand-purple);
}

.btn-hero--finance,
.btn-cta.btn-hero--finance {
  background: var(--gradient-nexus-diagonal);
  border-color: rgba(0, 229, 255, 0.35);
  color: #fff;
}

.btn-hero--finance:hover,
.btn-cta.btn-hero--finance:hover {
  background: linear-gradient(135deg, #00E5FF 0%, #114B5F 50%, #A55EEA 100%);
  border-color: rgba(0, 229, 255, 0.5);
}

.btn-hero--health,
.btn-cta.btn-hero--health {
  background: var(--gradient-health);
  border-color: rgba(165, 94, 234, 0.4);
  color: #fff;
}

.btn-hero--health:hover,
.btn-cta.btn-hero--health:hover {
  filter: brightness(1.08);
}

.btn-hero--health-outline {
  background: transparent;
  border: 1px solid rgba(165, 94, 234, 0.45);
  color: #fff;
}

/* ═══ SECTION INTRO ═══ */
.section-intro {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  padding-bottom: var(--space-3xl);
}

.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-md);
}

.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-intro p {
  margin-top: var(--space-md);
  font-size: 1.125rem;
  color: var(--color-text-secondary);
}

/* ═══ FEATURE SPLIT (Livity style) ═══ */
.feature-split {
  position: relative;
  display: grid;
  gap: var(--space-3xl);
  align-items: center;
  padding-block: var(--space-4xl);
}

.feature-split::before {
  content: "";
  position: absolute;
  width: 60%;
  height: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--glow-blue);
  pointer-events: none;
  z-index: 0;
}

.feature-split > * { position: relative; z-index: 1; }

.feature-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.feature-copy .desc {
  margin-top: var(--space-lg);
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 28rem;
  line-height: 1.65;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .feature-split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    padding-block: var(--space-5xl);
  }

  .feature-split--reverse .feature-copy { order: 2; }
  .feature-split--reverse .feature-visual { order: 1; }

  .feature-split--reverse::before {
    left: 65%;
  }

  .feature-split:not(.feature-split--reverse)::before {
    left: 35%;
  }
}

/* ═══ PHONE MOCKUP ═══ */
.phone {
  width: min(100%, 280px);
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(145deg, #2a2f3f 0%, #12151e 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-phone);
}

.phone-screen {
  height: 100%;
  border-radius: 36px;
  background: #0a0c10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 10px;
}

.phone-notch {
  height: 24px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.phone-notch span {
  width: 60px;
  height: 18px;
  border-radius: 20px;
  background: #000;
}

.phone-body {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
}

.phone-date {
  font-size: 9px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-align: center;
}

/* Sleep screen */
.sleep-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin: 0.5rem 0;
}

.sleep-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--color-recovery) 0deg 284deg, rgba(255,255,255,0.08) 284deg);
  display: grid;
  place-items: center;
  position: relative;
}

.sleep-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #0a0c10;
}

.sleep-ring span {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-recovery);
}

.coach-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.coach-card-header {
  padding: 0.4rem 0.6rem;
  background: rgba(52, 211, 153, 0.2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-recovery);
}

.coach-card-body {
  padding: 0.6rem;
  font-size: 8px;
  color: var(--color-text-secondary);
  line-height: 1.45;
  background: rgba(255,255,255,0.03);
}

.phone-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 7px;
  color: var(--color-text-muted);
}

.phone-tabs .active { color: var(--color-accent-cyan); }

/* Gauge screens */
.gauge-screen {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.arc-gauge {
  width: 140px;
  height: 80px;
  position: relative;
  margin: 1rem auto;
}

.arc-gauge svg {
  width: 100%;
  height: 100%;
}

.arc-value {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: 800;
}

.arc-label {
  font-size: 9px;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.stat-pill {
  text-align: center;
}

.stat-pill strong {
  display: block;
  font-size: 11px;
  color: var(--color-recovery);
}

.stat-pill span {
  font-size: 7px;
  color: var(--color-text-muted);
}

/* Stress chart */
.stress-score {
  text-align: center;
  margin: 0.5rem 0;
}

.stress-score .num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.stress-score .label {
  font-size: 10px;
  color: var(--color-stress-low);
  font-weight: 600;
}

.stress-chart {
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(56,189,248,0.05));
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.stress-chart svg {
  width: 100%;
  height: 100%;
}

.stress-bars {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.stress-bar-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 7px;
}

.stress-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.stress-bar fill {
  height: 100%;
  border-radius: 3px;
}

.stress-bar .fill-green { width: 84%; background: var(--color-recovery); height: 100%; border-radius: 3px; }
.stress-bar .fill-yellow { width: 13%; background: var(--color-stress-mid); height: 100%; border-radius: 3px; }

/* Training load */
.load-status {
  padding: 0.5rem;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  text-align: center;
}

.load-status .tag {
  font-size: 8px;
  font-weight: 700;
  color: var(--color-recovery);
  letter-spacing: 0.06em;
}

.load-status .val {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

.mini-chart {
  height: 50px;
  margin-top: 0.5rem;
  background: rgba(56,189,248,0.05);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 0.4rem;
}

.mini-chart span {
  flex: 1;
  background: linear-gradient(to top, var(--color-accent-cyan), transparent);
  border-radius: 2px 2px 0 0;
  opacity: 0.7;
}

.mini-chart span:nth-child(1) { height: 40%; }
.mini-chart span:nth-child(2) { height: 65%; }
.mini-chart span:nth-child(3) { height: 55%; }
.mini-chart span:nth-child(4) { height: 80%; }
.mini-chart span:nth-child(5) { height: 70%; }
.mini-chart span:nth-child(6) { height: 90%; }

/* ═══ AI COACH ═══ */
.ai-section {
  padding-block: var(--space-5xl);
  position: relative;
}

.ai-grid {
  display: grid;
  gap: var(--space-3xl);
  align-items: center;
}

.ai-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent-cyan);
  margin-bottom: var(--space-md);
}

.ai-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 22rem;
}

.ai-grid .lead {
  margin-top: var(--space-lg);
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  max-width: 26rem;
  line-height: 1.65;
}

.ai-features {
  margin-top: var(--space-2xl);
  display: grid;
  gap: var(--space-xl);
}

.ai-feature {
  display: flex;
  gap: var(--space-md);
}

.ai-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.ai-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.ai-feature p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.phones-duo {
  position: relative;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phones-duo .phone {
  position: absolute;
  width: 240px;
}

.phones-duo .phone:first-child {
  transform: rotate(-8deg) translateX(-60px);
  z-index: 2;
}

.phones-duo .phone:last-child {
  transform: rotate(6deg) translateX(60px);
  z-index: 1;
  opacity: 0.92;
}

.chat-screen .chat-item {
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  font-size: 8px;
  color: var(--color-text-secondary);
  margin-bottom: 0.4rem;
}

.personality-screen {
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.persona-orb {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-recovery), #065f46);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.4);
}

.persona-label {
  font-size: 11px;
  font-weight: 700;
}

@media (min-width: 900px) {
  .ai-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 899px) {
  .phones-duo {
    height: 360px;
  }
  .phones-duo .phone { width: 200px; }
  .phones-duo .phone:first-child { transform: rotate(-6deg) translateX(-40px); }
  .phones-duo .phone:last-child { transform: rotate(5deg) translateX(40px); }
}

/* ═══ ECOSYSTEM — AI NEXUS GROUP ═══ */
.ecosystem-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 229, 255, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(165, 94, 234, 0.08), transparent 55%),
    var(--color-bg-main);
  border-block: 1px solid var(--color-border);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.ecosystem-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  overflow: hidden;
}

.ecosystem-card--featured {
  border-color: rgba(0, 229, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(165, 94, 234, 0.08), var(--shadow-card);
}

.ecosystem-card--health {
  background: linear-gradient(160deg, rgba(22, 24, 28, 0.98) 0%, rgba(8, 9, 10, 1) 100%);
}

.ecosystem-card--finance {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, var(--color-bg-card) 100%);
}

.ecosystem-card__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background: var(--glow-purple);
  pointer-events: none;
}

.ecosystem-card__glow--cyan {
  background: var(--glow-cyan);
}

.ecosystem-card__icon-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: var(--space-sm);
}

.ecosystem-card__icon-wrap--light {
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.ecosystem-card__icon {
  width: clamp(96px, 22vw, 128px);
  height: auto;
  border-radius: 22%;
  object-fit: cover;
}

.ecosystem-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 1;
}

.ecosystem-card__tag {
  align-self: flex-start;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ecosystem-card__tag--health {
  color: var(--color-brand-purple);
  background: rgba(165, 94, 234, 0.12);
  border: 1px solid rgba(165, 94, 234, 0.25);
}

.ecosystem-card__tag--finance {
  color: var(--color-brand-cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.22);
}

.ecosystem-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ecosystem-card p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.ecosystem-card--finance p,
.ecosystem-card--finance .ecosystem-card__features {
  color: var(--color-text-secondary);
}

.ecosystem-card__features {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.ecosystem-card__features li {
  position: relative;
  padding-left: 1.1rem;
}

.ecosystem-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-nexus);
}

.ecosystem-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  margin-top: auto;
  padding-top: var(--space-sm);
}

.ecosystem-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand-cyan);
  transition: color 0.2s;
}

.ecosystem-card__link:hover {
  color: var(--color-brand-purple);
}

.ecosystem-soon {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.ecosystem-live {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 230, 118, 0.35);
  background: rgba(0, 230, 118, 0.1);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-success);
  letter-spacing: 0.02em;
}

.ecosystem-beta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(165, 94, 234, 0.35);
  background: rgba(165, 94, 234, 0.1);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-brand-purple);
  letter-spacing: 0.02em;
}

.ecosystem-card__link--cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.28);
  font-size: 0.875rem;
  font-weight: 700;
}

.ecosystem-card__link--cta:hover {
  background: rgba(0, 229, 255, 0.2);
  color: var(--color-brand-cyan);
}

.ecosystem-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-2xl);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

@media (min-width: 900px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .ecosystem-card {
    padding: var(--space-2xl);
  }
}

@media (min-width: 1100px) {
  .ecosystem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══ WATCH SECTION ═══ */
.watch-section {
  text-align: center;
  padding-block: var(--space-5xl);
}

.watch-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 28rem;
  margin-inline: auto;
}

.watch-section .lead {
  margin-top: var(--space-md);
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
  max-width: 32rem;
  margin-inline: auto;
}

.watches-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  flex-wrap: wrap;
}

.watch {
  width: 140px;
  aspect-ratio: 1;
  border-radius: 36px;
  padding: 8px;
  background: linear-gradient(145deg, #333, #111);
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-phone);
}

.watch--center {
  width: 170px;
  border-radius: 42px;
  padding: 10px;
}

.watch-face {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  overflow: hidden;
  font-size: 8px;
}

.watch--center .watch-face { border-radius: 34px; }

.watch-arc {
  width: 70%;
  height: 40%;
  border: 4px solid transparent;
  border-top-color: var(--color-sleep);
  border-right-color: var(--color-sleep);
  border-radius: 50% 50% 0 0;
  display: grid;
  place-items: end center;
  padding-bottom: 0.25rem;
}

.watch-arc.strain { border-top-color: var(--color-strain); border-right-color: var(--color-strain); }
.watch-arc.recovery { border-top-color: var(--color-recovery); border-right-color: var(--color-recovery); }

.watch-arc .num {
  font-size: 1.25rem;
  font-weight: 800;
}

.watch-time {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.watch-rings-mini {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.watch-rings-mini span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid;
  font-size: 5px;
  display: grid;
  place-items: center;
}

.watch-features {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  max-width: 56rem;
  margin-inline: auto;
}

.watch-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .watch-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══ BENTO GRID ═══ */
.bento-section {
  padding-block: var(--space-5xl);
}

.bento-header {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
}

.bento-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bento-header p {
  margin-top: var(--space-md);
  color: var(--color-text-secondary);
  font-size: 1.0625rem;
}

.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.bento-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.bento-card .tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.bento-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.bento-visual {
  margin-top: auto;
  padding-top: var(--space-lg);
}

.bento-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.bento-bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--color-accent-cyan), rgba(56,189,248,0.3));
}

.bento-bars span:nth-child(1) { height: 45%; }
.bento-bars span:nth-child(2) { height: 70%; }
.bento-bars span:nth-child(3) { height: 55%; }
.bento-bars span:nth-child(4) { height: 85%; }
.bento-bars span:nth-child(5) { height: 60%; }
.bento-bars span:nth-child(6) { height: 95%; }

.bento-metric {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.bento-metric strong {
  color: var(--color-accent-cyan);
  font-size: 1rem;
}

.bento-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(var(--color-accent-cyan) 0deg 331deg, rgba(255,255,255,0.08) 331deg);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 0 30px rgba(56,189,248,0.2);
}

.bento-card--wide { min-height: 260px; }

.bento-card-inner {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-end;
  margin-top: auto;
}

.mini-phone {
  width: 100px;
  aspect-ratio: 9/19;
  border-radius: 16px;
  background: #0a0c10;
  border: 1px solid var(--color-border);
  padding: 4px;
  font-size: 5px;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .bento-card--tall {
    grid-row: span 2;
    min-height: 100%;
  }

  .bento-card--wide {
    grid-column: span 1;
  }
}

/* ═══ STATS ═══ */
.stats-section {
  padding-block: var(--space-4xl);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--color-accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-desc {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ═══ TESTIMONIALS ═══ */
.testimonials-section { padding-block: var(--space-5xl); }

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.testimonials-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.testimonials-grid {
  display: grid;
  gap: var(--space-lg);
}

.testimonial {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
}

.testimonial blockquote {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial .role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══ FAQ ═══ */
.faq-section { padding-block: var(--space-5xl); }

.faq-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.faq-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.faq-list {
  max-width: 48rem;
  margin-inline: auto;
  display: grid;
  gap: 0.5rem;
}

.faq-item {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 1.15rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: transparent;
  border: none;
  transition: color 0.2s;
}

.faq-question svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  transition: transform 0.25s;
}

.faq-item.is-open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.faq-item.is-open .faq-answer { display: block; }

/* ═══ CTA ═══ */
.cta-section {
  text-align: center;
  padding-block: var(--space-5xl);
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(56, 189, 248, 0.12), transparent 70%);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-section p {
  margin-top: var(--space-md);
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  max-width: 32rem;
  margin-inline: auto;
}

.cta-actions {
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* ═══ STORE BADGES — App Store + Google Play ═══ */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.store-badges--compact {
  gap: 0.5rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 9, 10, 0.72);
  color: var(--color-text);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.store-badge__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.store-badges--compact .store-badge {
  min-height: 40px;
  padding: 0.4rem 0.75rem 0.4rem 0.6rem;
  border-radius: 10px;
}

.store-badges--compact .store-badge__icon {
  width: 22px;
  height: 22px;
}

.store-badges--compact .store-badge__label strong {
  font-size: 0.8125rem;
}

.store-badges--compact .store-badge__label small {
  font-size: 0.5625rem;
}

.store-badge__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.store-badge__label small {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.88;
}

.store-badge__label strong {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.store-badge--google .store-badge__icon {
  width: 26px;
  height: 26px;
}

.devices-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  max-width: 36rem;
  margin-inline: auto;
}

.devices-strip__label {
  width: 100%;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.device-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}

.nav-pill .store-badges--compact {
  justify-content: flex-end;
}

.mobile-menu .store-badges {
  margin-top: 0.5rem;
  justify-content: flex-start;
}

.mobile-menu .devices-strip {
  justify-content: flex-start;
  margin-top: 1rem;
}

.hero-actions .store-badges {
  margin-bottom: 0.25rem;
}


/* ═══ FOOTER ═══ */
.site-footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
