/*
 * Wake Up Right — Marketing Site
 * Design System: First Light
 * Philosophy: Disciplined Clarity
 */

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600&display=swap");

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Surfaces */
  --c-bg: #0b1326;
  --c-surface: #171f33;
  --c-surface-high: #222a3d;
  --c-surface-highest: #2d3449;
  --c-surface-low: #131b2e;
  --c-surface-lowest: #060e20;

  /* Text */
  --c-text: #dae2fd;
  --c-text-muted: rgba(218, 226, 253, 0.62);
  --c-text-dim: rgba(218, 226, 253, 0.35);

  /* Borders */
  --c-border: rgba(255, 255, 255, 0.06);
  --c-border-mid: rgba(255, 255, 255, 0.1);
  --c-border-strong: rgba(255, 255, 255, 0.18);

  /* Primary — Vivid Ember */
  --c-primary: #ffb599;
  --c-primary-bright: #ff7e47;
  --c-primary-glow: rgba(255, 126, 71, 0.3);
  --c-primary-dim: rgba(255, 181, 153, 0.12);
  --c-on-primary: #5a1c00;

  /* Secondary — Clarity Blue */
  --c-secondary: #c0c1ff;
  --c-secondary-container: #3131c0;
  --c-secondary-dim: rgba(192, 193, 255, 0.12);

  /* Tertiary — Twilight Purple */
  --c-tertiary: #ddb7ff;
  --c-tertiary-dim: rgba(221, 183, 255, 0.1);

  /* Typography */
  --f-display: "Montserrat", sans-serif;
  --f-body: "Inter", sans-serif;
  --f-mono: "JetBrains Mono", monospace;

  /* Radius */
  --r-xs: 4px;
  --r-sm: 6px;
  --r: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 12px;
  --sp-md: 24px;
  --sp-lg: 40px;
  --sp-xl: 64px;
  --sp-2xl: 96px;

  /* Layout */
  --max-w: 1160px;
  --nav-h: 90px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px var(--c-primary-glow);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
input,
textarea {
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.f-display {
  font-family: var(--f-display);
}
.f-mono {
  font-family: var(--f-mono);
}

.label-caps {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.stat-number {
  font-family: var(--f-mono);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.section {
  padding: var(--sp-2xl) 0;
}

.section-alt {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.section-label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: var(--c-primary);
  border-radius: var(--r-full);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--c-text);
  margin-bottom: var(--sp-md);
}

.section-subtitle {
  font-size: 17px;
  color: var(--c-text-muted);
  line-height: 1.65;
  max-width: 560px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(11, 19, 38, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(11, 19, 38, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

.nav-logo-mark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding-left: var(--sp-lg);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding-left: var(--sp-lg);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(11, 19, 38, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-md);
  flex-direction: column;
  gap: var(--sp-sm);
  z-index: 199;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: var(--c-text);
}
.nav-mobile .btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-sm);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--c-primary) 0%,
    var(--c-primary-bright) 100%
  );
  color: var(--c-on-primary);
  box-shadow: 0 3px 14px var(--c-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px var(--c-primary-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border-strong);
}

.btn-ghost:hover {
  background: var(--c-surface);
  border-color: var(--c-border-mid);
}

.btn-outline-primary {
  background: transparent;
  color: var(--c-primary);
  border: 1px solid rgba(255, 181, 153, 0.35);
}

.btn-outline-primary:hover {
  background: var(--c-primary-dim);
  border-color: rgba(255, 181, 153, 0.55);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 15px;
  border-radius: var(--r-md);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
  border-radius: var(--r-sm);
}

/* Play Store badge button */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--c-surface-highest);
  border: 1px solid var(--c-border-mid);
  border-radius: var(--r-md);
  color: var(--c-text);
  transition: all 0.2s ease;
}

.btn-store:hover {
  background: var(--c-surface-high);
  border-color: var(--c-border-strong);
  transform: translateY(-1px);
}

.btn-store-icon {
  font-size: 22px;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-store-sub {
  font-size: 10px;
  color: var(--c-text-muted);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-store-name {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--f-display);
  letter-spacing: -0.01em;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.6;
}

.badge-pro {
  background: var(--c-tertiary-dim);
  border: 1px solid rgba(221, 183, 255, 0.22);
  color: var(--c-tertiary);
}

.badge-free {
  background: var(--c-secondary-dim);
  border: 1px solid rgba(192, 193, 255, 0.22);
  color: var(--c-secondary);
}

.badge-new {
  background: var(--c-primary-dim);
  border: 1px solid rgba(255, 181, 153, 0.22);
  color: var(--c-primary);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Atmospheric gradients */
.hero-glow-1 {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 65%;
  height: 90%;
  background: radial-gradient(
    ellipse at 70% 30%,
    rgba(221, 183, 255, 0.07) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 50%;
  height: 55%;
  background: radial-gradient(
    ellipse at 30% 80%,
    rgba(192, 193, 255, 0.05) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
  padding: var(--sp-2xl) 0;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-primary-dim);
  border: 1px solid rgba(255, 181, 153, 0.22);
  border-radius: var(--r-full);
  padding: 5px 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-md);
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.06;
  color: var(--c-text);
  margin-bottom: var(--sp-md);
}

.hero-title .accent {
  color: var(--c-primary);
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.68;
  color: var(--c-text-muted);
  max-width: 470px;
  margin-bottom: var(--sp-lg);
}

.hero-actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-bottom: var(--sp-lg);
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--c-text-dim);
  font-family: var(--f-mono);
}

.trust-sep {
  color: var(--c-border-strong);
  font-size: 12px;
}

/* ---- Phone Mockup ---- */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrap {
  position: relative;
}

.phone-frame {
  width: 270px;
  border-radius: 44px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: var(--c-surface-lowest);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    var(--shadow-glow);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: var(--c-surface-lowest);
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-body {
  background: linear-gradient(170deg, #0f1a2e 0%, #0b1326 100%);
  padding: 44px 18px 22px;
  display: flex;
  flex-direction: column;
  min-height: 540px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(218, 226, 253, 0.45);
  margin-bottom: auto;
}

.phone-alarm-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-md) 0 var(--sp-sm);
}

.phone-alarm-tag {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 6px;
}

.phone-clock {
  font-family: var(--f-display);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c-text);
}

.phone-date-line {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-top: 4px;
  margin-bottom: var(--sp-md);
}

.phone-challenge {
  width: 100%;
  background: var(--c-surface-high);
  border: 1px solid var(--c-border-mid);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  text-align: center;
}

.phone-challenge-tag {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 5px;
}

.phone-challenge-sum {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
}

.phone-btn-stop {
  width: 100%;
  padding: 13px;
  background: linear-gradient(
    135deg,
    var(--c-primary),
    var(--c-primary-bright)
  );
  border-radius: var(--r);
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-on-primary);
  text-align: center;
  margin-bottom: 8px;
  box-shadow: 0 4px 18px rgba(255, 126, 71, 0.4);
}

.phone-btn-snooze {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(218, 226, 253, 0.18);
  border-radius: var(--r);
  font-size: 12px;
  color: var(--c-text-muted);
  text-align: center;
}

.phone-snooze-note {
  font-family: var(--f-mono);
  font-size: 8px;
  color: var(--c-text-dim);
  text-align: center;
  margin-top: 4px;
  letter-spacing: 0.06em;
}

/* Floating stat cards */
.float-card {
  position: absolute;
  background: var(--c-surface-highest);
  border: 1px solid var(--c-border-mid);
  border-radius: var(--r-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.float-card-left {
  left: -32px;
  top: 26%;
  transform: translateX(-100%);
}

.float-card-right {
  right: -32px;
  bottom: 30%;
  transform: translateX(100%);
}

.float-card-label {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: 2px;
}

.float-card-value {
  font-family: var(--f-mono);
  font-size: 22px;
  font-weight: 500;
}

.float-card-sub {
  font-size: 11px;
  color: var(--c-text-muted);
  margin-top: 1px;
}

/* ============================================================
   FEATURE CARDS GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-md);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--c-primary) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--c-surface-high);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--sp-md);
  flex-shrink: 0;
}

.fi-orange {
  background: var(--c-primary-dim);
}
.fi-blue {
  background: var(--c-secondary-dim);
}
.fi-purple {
  background: var(--c-tertiary-dim);
}

.feature-card h3 {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.62;
}

.feature-card .badge {
  margin-top: 10px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-xl);
  position: relative;
}

.steps-row::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(33.33% - 20px);
  right: calc(33.33% - 20px);
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--c-primary) 0%,
    var(--c-secondary) 50%,
    var(--c-tertiary) 100%
  );
  opacity: 0.3;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--sp-md);
  position: relative;
  z-index: 1;
}

.step:nth-child(1) .step-num {
  background: var(--c-primary-dim);
  border: 2px solid rgba(255, 181, 153, 0.28);
  color: var(--c-primary);
}

.step:nth-child(2) .step-num {
  background: var(--c-secondary-dim);
  border: 2px solid rgba(192, 193, 255, 0.28);
  color: var(--c-secondary);
}

.step:nth-child(3) .step-num {
  background: var(--c-tertiary-dim);
  border: 2px solid rgba(221, 183, 255, 0.28);
  color: var(--c-tertiary);
}

.step h3 {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--c-text);
}

.step p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.62;
}

/* ============================================================
   SPOTLIGHT SECTIONS (2-col feature deep-dives)
   ============================================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.spotlight.reverse .spotlight-visual {
  order: -1;
}

.spotlight-content .section-label {
  margin-bottom: var(--sp-sm);
}
.spotlight-content .section-title {
  font-size: clamp(24px, 3vw, 38px);
}

.feature-list {
  margin-top: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.55;
}

.feature-list-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-secondary-dim);
  border: 1px solid rgba(192, 193, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--c-secondary);
  font-size: 9px;
  font-weight: 700;
}

/* Screen / card mockups in spotlight sections */
.screen-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-mid);
  border-radius: var(--r-xl);
  padding: var(--sp-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.screen-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--c-secondary) 0%,
    var(--c-tertiary) 100%
  );
  opacity: 0.6;
}

/* Smart Alarm mockup */
.smart-alarm-screen {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.sleep-stage-row {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 10px 12px;
  background: var(--c-surface-high);
  border-radius: var(--r);
  border: 1px solid var(--c-border);
}

.sleep-stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sleep-stage-label {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-text-muted);
  flex: 1;
}

.sleep-stage-time {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-text-dim);
}

.sleep-chart {
  height: 60px;
  background: var(--c-surface-high);
  border-radius: var(--r);
  border: 1px solid var(--c-border);
  overflow: hidden;
  position: relative;
  margin-top: var(--sp-xs);
}

.sleep-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
}

/* Challenge card mockups */
.challenges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  margin-top: var(--sp-xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.challenge-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-md) var(--sp-sm);
  text-align: center;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  cursor: default;
}

.challenge-card:hover {
  border-color: rgba(255, 181, 153, 0.28);
  box-shadow: 0 0 28px rgba(255, 126, 71, 0.09);
  transform: translateY(-2px);
}

.challenge-icon {
  font-size: 36px;
  margin-bottom: var(--sp-sm);
  line-height: 1;
}
.challenge-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1) opacity(0.35);
}

.challenge-card h3 {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--c-text);
}

.challenge-card p {
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.55;
}

/* Day plan mockup */
.day-plan-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--sp-xs);
}

.dp-title {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
}

.dp-affirmation {
  font-size: 12px;
  color: var(--c-tertiary);
  font-style: italic;
  padding: 8px 10px;
  background: var(--c-tertiary-dim);
  border-left: 2px solid var(--c-tertiary);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 4px;
}

.dp-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--c-surface-high);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
}

.dp-task.done {
  color: var(--c-text-dim);
  text-decoration: line-through;
}

.dp-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(192, 193, 255, 0.35);
  flex-shrink: 0;
}

.dp-checkbox.checked {
  background: var(--c-secondary);
  border-color: var(--c-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-on-secondary, #1000a9);
  font-size: 9px;
  font-weight: 700;
}

.dp-task-icon {
  font-size: 14px;
}

/* Lockdown mockup */
.lockdown-screen {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.ld-header {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--c-border);
}

.ld-countdown {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-text);
  text-align: center;
  padding: var(--sp-sm) 0;
}

.ld-progress {
  height: 6px;
  background: var(--c-surface-high);
  border-radius: var(--r-full);
  overflow: hidden;
}

.ld-progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(
    90deg,
    var(--c-secondary) 0%,
    var(--c-tertiary) 100%
  );
  border-radius: var(--r-full);
}

.ld-message {
  font-size: 12px;
  color: var(--c-text-muted);
  text-align: center;
  font-style: italic;
  padding: 6px;
}

.ld-blocked {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: var(--sp-xs);
}

.ld-app {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--c-surface-high);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  padding: 3px 10px;
  font-size: 11px;
  color: var(--c-text-dim);
}

.ld-app-x {
  color: rgba(255, 126, 71, 0.6);
  font-size: 10px;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border-mid);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

.stat-tile {
  background: rgba(11, 19, 38, 0.6);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  backdrop-filter: blur(8px);
}

.stat-tile-label {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: var(--sp-sm);
}

.stat-tile-value {
  font-family: var(--f-mono);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 3px;
}

.stat-tile-sub {
  font-size: 11px;
  color: var(--c-text-muted);
}

/* Mini heatmap */
.heatmap {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  margin-top: var(--sp-sm);
}

.hm-cell {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--c-surface-highest);
}

.hm-cell.lv1 {
  background: rgba(49, 49, 192, 0.3);
}
.hm-cell.lv2 {
  background: rgba(49, 49, 192, 0.55);
}
.hm-cell.lv3 {
  background: var(--c-secondary);
  opacity: 0.7;
}
.hm-cell.lv4 {
  background: var(--c-secondary);
}

/* Mini bar chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin-top: var(--sp-sm);
}

.bar-chart .bar {
  flex: 1;
  background: var(--c-secondary-dim);
  border: 1px solid rgba(192, 193, 255, 0.2);
  border-radius: 2px 2px 0 0;
  min-height: 4px;
  transition: background 0.2s;
}

.bar-chart .bar.today {
  background: var(--c-secondary);
  border-color: rgba(192, 193, 255, 0.5);
}

/* ============================================================
   PRIVACY SECTION
   ============================================================ */
.privacy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
  align-items: center;
}

.privacy-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  text-align: center;
}

.feature-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) opacity(0.9);
}

.privacy-card .icon {
  font-size: 30px;
  margin-bottom: var(--sp-sm);
  line-height: 1;
}
.privacy-card .icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1) opacity(0.35);
}

.privacy-card h3 {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--c-text);
}

.privacy-card p {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  max-width: 700px;
  margin: var(--sp-xl) auto 0;
}

.pricing-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  position: relative;
}

.pricing-card-pro {
  border-color: rgba(255, 181, 153, 0.3);
  background: linear-gradient(
    160deg,
    rgba(255, 126, 71, 0.07) 0%,
    var(--c-surface) 60%
  );
  box-shadow: 0 0 48px rgba(255, 126, 71, 0.09);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    var(--c-primary),
    var(--c-primary-bright)
  );
  color: var(--c-on-primary);
  padding: 4px 14px;
  border-radius: var(--r-full);
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-sm);
}

.pricing-price {
  font-family: var(--f-display);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c-text);
  margin-bottom: 4px;
}

.pricing-price sup {
  font-size: 20px;
  font-weight: 600;
  vertical-align: bottom;
  margin-bottom: 6px;
  margin-right: 8px;
  display: inline-block;
  color: var(--c-text-muted);
}

.pricing-note {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-lg);
  min-height: 18px;
}

.pricing-divider {
  height: 1px;
  background: var(--c-border);
  margin-bottom: var(--sp-md);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: var(--sp-lg);
}

.pf-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--c-text-muted);
}

.pf-check {
  color: var(--c-secondary);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.pf-dash {
  color: var(--c-text-dim);
  font-size: 13px;
  flex-shrink: 0;
}
.pf-limited {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  flex-shrink: 0;
  letter-spacing: -1px;
}
.pf-limited-tick {
  color: var(--c-secondary);
  font-weight: 700;
  margin-right: 5px;
}
.pf-limited-circle {
  color: var(--c-text-muted);
  opacity: 0.6;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--sp-2xl) 0;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(255, 126, 71, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-section .section-title {
  margin-bottom: var(--sp-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .section-subtitle {
  margin: 0 auto var(--sp-lg);
  text-align: center;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: var(--sp-xl) 0 var(--sp-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.footer-brand p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-top: var(--sp-sm);
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-md);
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 13px;
  color: var(--c-text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--c-text);
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-md);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--c-text-dim);
}

.footer-legal {
  display: flex;
  gap: var(--sp-md);
}

.footer-legal a {
  font-size: 12px;
  color: var(--c-text-dim);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--c-text-muted);
}

/* ============================================================
   INNER PAGE — SHARED
   ============================================================ */
.page-header {
  padding: calc(var(--nav-h) + var(--sp-xl)) 0 var(--sp-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 280px;
  background: radial-gradient(
    ellipse at 50% 20%,
    rgba(221, 183, 255, 0.07) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.page-header .section-label {
  justify-content: center;
}

.page-header h1 {
  font-family: var(--f-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-md);
}

.page-header p {
  font-size: 17px;
  color: var(--c-text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Prose content */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: var(--sp-2xl);
}

.prose h2 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-md);
  color: var(--c-text);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--c-border);
}

.prose h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.prose h3 {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 700;
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-sm);
  color: var(--c-text);
}

.prose p {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-md);
}

.prose ul,
.prose ol {
  margin-bottom: var(--sp-md);
  padding-left: var(--sp-md);
}

.prose ul li,
.prose ol li {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 5px;
  list-style: disc;
}

.prose ol li {
  list-style: decimal;
}

.prose a {
  color: var(--c-primary);
  text-decoration: underline;
  text-decoration-color: rgba(255, 181, 153, 0.35);
  transition: text-decoration-color 0.2s;
}

.prose a:hover {
  text-decoration-color: rgba(255, 181, 153, 0.7);
}

.prose strong {
  color: var(--c-text);
  font-weight: 600;
}

.prose .callout {
  background: var(--c-surface);
  border: 1px solid var(--c-border-mid);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--r);
  padding: var(--sp-md);
  margin: var(--sp-lg) 0;
}

.prose .callout p {
  margin-bottom: 0;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-container {
  max-width: 720px;
  margin: var(--sp-xl) auto 0;
}

.faq-group {
  margin-bottom: var(--sp-xl);
}

.faq-group-title {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--c-border);
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--sp-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  transition: color 0.2s ease;
  background: none;
  border: none;
  font-family: inherit;
  line-height: 1.45;
}

.faq-question:hover {
  color: var(--c-primary);
}

.faq-plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--c-border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 300;
  transition:
    transform 0.3s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  color: var(--c-text-muted);
  line-height: 1;
  padding-bottom: 3px;
  padding-left: 1px;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  border-color: rgba(255, 181, 153, 0.4);
  color: var(--c-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-body {
  padding-bottom: var(--sp-md);
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.72;
}

.faq-answer-body a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer-body a:hover {
  color: var(--c-primary-bright);
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

/* ============================================================
   PRESS PAGE
   ============================================================ */
.key-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.fact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  text-align: center;
}

.fact-card .fact-num {
  font-family: var(--f-mono);
  font-size: 34px;
  font-weight: 500;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 5px;
}

.fact-card .fact-label {
  font-size: 13px;
  color: var(--c-text-muted);
}

.press-assets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.press-asset {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.press-asset-thumb {
  height: 150px;
  background: var(--c-surface-high);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  border-bottom: 1px solid var(--c-border);
}

.press-asset-body {
  padding: var(--sp-md);
}

.press-asset-body h3 {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.press-asset-body p {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-sm);
}

.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-mid);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  text-align: center;
  max-width: 500px;
  margin: var(--sp-xl) auto 0;
}

.contact-card h2 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: var(--sp-sm);
}

.contact-card p {
  font-size: 15px;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
}

.contact-email {
  font-family: var(--f-mono);
  font-size: 16px;
  color: var(--c-primary);
  border: 1px solid rgba(255, 181, 153, 0.3);
  background: var(--c-primary-dim);
  border-radius: var(--r);
  padding: 10px 20px;
  display: inline-block;
}

/* ============================================================
   PIXEL PHONE FRAME
   ============================================================ */

/* Outer body */
.pixel-frame {
  position: relative;
  background: #0d0d0d;
  border-radius: 36px;
  padding: 13px 10px 15px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* Power button — right side */
.pixel-frame::before {
  content: "";
  position: absolute;
  right: -2px;
  top: 32%;
  width: 2px;
  height: 24px;
  background: #111;
  border-radius: 0 1.5px 1.5px 0;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.03);
}

/* Volume rocker — left side */
.pixel-frame::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 26%;
  width: 2px;
  height: 40px;
  background: #111;
  border-radius: 1.5px 0 0 1.5px;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.03);
}

/* Punch-hole camera row */
.pixel-camera {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 16px;
  margin-bottom: 5px;
}

.pixel-camera::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 3px rgba(255, 255, 255, 0.06);
}

/* Screen area */
.pixel-screen {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.pixel-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Size + shadow variants */
.phone-mockup-hero {
  width: 270px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.35),
    var(--shadow-glow);
}

/* Power button — right side */
.phone-mockup-hero.pixel-frame::before {
  right: -4px;
  width: 4px;
  height: 35px;
}

/* Volume rocker — left side */
.phone-mockup-hero.pixel-frame::after {
  left: -4px;
  width: 4px;
  height: 60px;
}

.phone-mockup-spotlight {
  width: 250px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

/* ============================================================
   SCREENSHOT GALLERY
   ============================================================ */

/*
 * Scroll wrapper — overflow lives here, NOT on the flex container.
 * This prevents the justify-content:center + overflow-x:auto bug
 * that clips the left side of overflowing content.
 */
.screenshot-gallery-wrap {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: var(--sp-xl);
  /* Bleed slightly past the container padding for edge breathing room */
  margin-left: calc(-1 * var(--sp-md));
  margin-right: calc(-1 * var(--sp-md));
}

.screenshot-gallery-wrap::-webkit-scrollbar {
  display: none;
}

/*
 * Flex container — width: max-content lets it grow as needed;
 * min-width: 100% ensures justify-content:center works when
 * all items fit without overflow.
 */
.screenshot-gallery {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  align-items: flex-end;
  width: max-content;
  min-width: 100%;
  padding: var(--sp-sm) var(--sp-md) var(--sp-xl);
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-top: var(--sp-md);
}

.screenshot-item .pixel-frame {
  width: 155px;
  padding: 10px 8px 11px;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.screenshot-item .pixel-frame .pixel-screen {
  border-radius: 14px;
}

.screenshot-item .pixel-frame .pixel-camera {
  height: 12px;
  margin-bottom: 4px;
}

.screenshot-item .pixel-frame .pixel-camera::after {
  width: 7px;
  height: 7px;
}

.screenshot-item:hover .pixel-frame {
  transform: translateY(-8px);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.6),
    0 0 28px rgba(255, 126, 71, 0.14);
}

.screenshot-caption {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
  }
  .float-card {
    display: none;
  }
  .screenshot-item .pixel-frame {
    width: 136px;
  }
}

@media (max-width: 768px) {
  :root {
    --sp-2xl: 64px;
  }
  .screenshot-gallery-wrap {
    margin-left: -20px;
    margin-right: -20px;
  }
  .screenshot-item .pixel-frame {
    width: 130px;
  }
  .phone-mockup-hero {
    width: 220px;
  }
  .phone-mockup-spotlight {
    width: 100%;
    max-width: 280px;
  }

  .nav-links {
    display: none;
  }
  .nav-actions .btn-ghost {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-lg);
    padding: var(--sp-lg) 0 var(--sp-xl);
  }

  .hero-visual {
    order: -1;
  }
  .section-label {
    justify-content: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .steps-row::before {
    display: none;
  }

  .spotlight,
  .spotlight.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .spotlight.reverse .spotlight-visual {
    order: 0;
  }

  .challenges-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-panel {
    grid-template-columns: 1fr;
  }
  .privacy-cards {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  .key-facts {
    grid-template-columns: 1fr;
  }
  .press-assets {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-sm);
  }
}

@media (max-width: 480px) {
  .challenges-row {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   EMAIL CAPTURE MODAL
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--sp-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay:not([hidden]) {
  opacity: 1;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-xl) var(--sp-lg);
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.modal-overlay:not([hidden]) .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  background: var(--c-surface-high);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--c-surface-highest);
  color: var(--c-text);
}

.modal-icon {
  font-size: 32px;
  margin-bottom: var(--sp-sm);
  line-height: 1;
}

.modal-title {
  font-family: var(--f-display);
  font-size: clamp(22px, 4vw, 26px);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-lg);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.modal-input {
  background: var(--c-surface-high);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.modal-input::placeholder {
  color: var(--c-text-dim);
}

.modal-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(255, 126, 71, 0.15);
}

.modal-input.error {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.modal-field-error {
  font-size: 12px;
  color: #f87171;
  min-height: 16px;
}

/* Beta opt-in checkbox */
.modal-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.modal-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.modal-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.5;
  user-select: none;
}

.modal-checkbox-custom {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--c-border);
  border-radius: 4px;
  background: var(--c-surface-high);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background 0.2s, border-color 0.2s;
}

.modal-checkbox:checked + .modal-checkbox-label .modal-checkbox-custom {
  background: var(--c-primary);
  border-color: var(--c-primary);
}

.modal-checkbox:checked + .modal-checkbox-label .modal-checkbox-custom::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  background: var(--c-primary-dim);
  color: var(--c-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

.modal-submit {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 13px;
}

.modal-privacy {
  font-size: 11px;
  color: var(--c-text-dim);
  text-align: center;
  line-height: 1.5;
}

.modal-privacy a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Success state */
.modal-success {
  text-align: center;
  padding: var(--sp-md) 0;
}

.modal-success[hidden] { display: none; }

.modal-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(78, 205, 196, 0.15);
  color: var(--c-secondary);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
}

.modal-success h3 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}

.modal-success p {
  font-size: 14px;
  color: var(--c-text-muted);
}

@media (max-width: 480px) {
  .modal-card {
    padding: var(--sp-lg) var(--sp-md);
  }
}
