/* ════════════════════════════════════════════
   CeeU — Main Stylesheet
   ════════════════════════════════════════════ */

@import url('theme.css');
@import url('animations.css');

/* Fonts */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

/* ── Reset ────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: 'Satoshi', 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0;
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Font families */
.font-display { font-family: 'Clash Display', 'Helvetica Neue', sans-serif; }
.font-body    { font-family: 'Satoshi', 'SF Pro Display', system-ui, sans-serif; }
.font-mono    { font-family: 'Space Mono', 'Courier New', monospace; }

/* ── Focus styles ─────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Container ────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}
@media (min-width: 1024px) {
  .container { padding: 0 60px; }
}

/* ── Glass utilities ──────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-top);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), inset 0 1px 0 var(--glass-top);
}

.glass-accent {
  background: rgba(255,107,53,0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-accent);
  border-top-color: rgba(255,140,66,0.30);
  box-shadow: 0 8px 32px var(--accent-glow), inset 0 1px 0 rgba(255,140,66,0.20);
}

/* ── Reveal animation ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Section label ────────────────────── */
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

/* ── Section title ────────────────────── */
.section-title {
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 5vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-1);
  overflow-wrap: break-word;
}

/* ── Gradient text utility ────────────── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
  background-size: 200% auto;
  background-position: left center;
}

/* ── Grain overlay ────────────────────── */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px;
  z-index: 1;
}

/* ════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.4s cubic-bezier(0.16,1,0.3,1),
              backdrop-filter 0.4s cubic-bezier(0.16,1,0.3,1),
              border-color 0.4s cubic-bezier(0.16,1,0.3,1);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 101;
}
.nav-logo svg { width: 24px; height: 24px; flex-shrink: 0; }
.nav-logo span {
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.05em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
}

/* Desktop links */
.nav-links {
  display: none;
  gap: 32px;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 15px;
  color: var(--text-2);
  position: relative;
  transition: color 0.3s ease;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 101;
}

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: transform 0.2s ease, background 0.3s ease;
}
.theme-toggle:hover { transform: scale(1.08); }

/* Download CTA (nav) */
.nav-cta {
  display: none;
  height: 40px;
  padding: 0 20px;
  border-radius: 100px;
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px var(--accent-glow);
}
@media (min-width: 768px) {
  .nav-cta { display: flex; }
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
  z-index: 101;
}
@media (min-width: 768px) {
  .hamburger { display: none; }
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  animation: ham-top 0.4s ease forwards;
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  animation: ham-bot 0.4s ease forwards;
}
.hamburger:not(.open) span:nth-child(1) {
  animation: ham-top-reverse 0.4s ease forwards;
}
.hamburger:not(.open) span:nth-child(3) {
  animation: ham-bot-reverse 0.4s ease forwards;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
[data-theme="light"] .mobile-menu {
  background: rgba(250,250,250,0.95);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu a {
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-1);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0ms, 0ms, 0s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 60ms, 60ms, 0s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 120ms, 120ms, 0s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 180ms, 180ms, 0s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 240ms, 240ms, 0s; }
.mobile-menu a:hover { color: var(--accent); }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--blob-1), transparent 70%);
  top: -200px; left: -150px;
  animation: float1 50s ease-in-out infinite alternate;
}
.hero-blob-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--blob-2), transparent 70%);
  bottom: -150px; right: -80px;
  animation: float2 65s ease-in-out infinite alternate;
}
.hero-blob-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--blob-3), transparent 70%);
  top: 40%; left: 55%;
  animation: float3 40s ease-in-out infinite alternate;
}
.hero-blob-4 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--blob-4), transparent 70%);
  top: 20%; right: 20%;
  animation: float4 55s ease-in-out infinite alternate;
}
.hero-blob-5 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--blob-5), transparent 70%);
  bottom: 30%; left: 15%;
  animation: float5 35s ease-in-out infinite alternate;
}

/* Vignette */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
[data-theme="light"] .hero::before {
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.06) 100%);
}

/* Grain on hero */
.hero.grain::after { z-index: 2; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  text-align: center;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 100px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 32px;
}

.hero-headline {
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 9vw, 88px);
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: var(--text-1);
  margin-bottom: 28px;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (max-width: 767px) {
  .hero-headline br { display: none; }
  .hero-headline { line-height: 1.0; }
}
.hero-headline .blink-cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1.1s step-end infinite;
  font-weight: 400;
  margin-left: 2px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 100px;
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 0 32px rgba(255,107,53,0.35), 0 8px 16px rgba(255,107,53,0.20);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255,107,53,0.45), 0 12px 24px rgba(255,107,53,0.30);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  font-size: 15px;
  color: var(--text-2);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}
.btn-secondary::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-2);
  transition: width 0.3s ease;
}
.btn-secondary:hover { color: var(--text-1); }
.btn-secondary:hover::after { width: 100%; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--text-4);
  font-size: 20px;
  animation: bounce 2s ease-in-out infinite;
}

/* ── Vinyl (desktop) ──────────────────── */
.vinyl-wrap {
  display: none;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
@media (min-width: 1024px) {
  .vinyl-wrap { display: block; }
  .hero-content { text-align: left; margin: 0; margin-left: 60px; max-width: 640px; }
  .hero-ctas { justify-content: flex-start; }
  .hero-sub { margin-left: 0; margin-right: auto; }
}

.vinyl {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #1C1C1C;
  position: relative;
  animation: spin 5s linear infinite;
  box-shadow: 0 0 60px rgba(255,107,53,0.20), 0 24px 48px rgba(0,0,0,0.4);
}
[data-theme="light"] .vinyl { background: #E0E0E0; }

.vinyl::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 20px rgba(0,0,0,0.12),
    inset 0 0 0 40px transparent,
    inset 0 0 0 55px rgba(0,0,0,0.08),
    inset 0 0 0 70px transparent,
    inset 0 0 0 85px rgba(0,0,0,0.06),
    inset 0 0 0 100px transparent,
    inset 0 0 0 110px rgba(0,0,0,0.05);
}
[data-theme="light"] .vinyl::before {
  box-shadow:
    inset 0 0 0 20px rgba(0,0,0,0.06),
    inset 0 0 0 40px transparent,
    inset 0 0 0 55px rgba(0,0,0,0.04),
    inset 0 0 0 70px transparent,
    inset 0 0 0 85px rgba(0,0,0,0.03),
    inset 0 0 0 100px transparent,
    inset 0 0 0 110px rgba(0,0,0,0.02);
}

.vinyl-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Orbit bubbles */
.orbit-bubble {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.orbit-bubble:nth-child(1) { animation: orbit1 12s linear infinite; }
.orbit-bubble:nth-child(2) { animation: orbit2 18s linear infinite; }
.orbit-bubble:nth-child(3) { animation: orbit3 22s linear infinite; }

/* ════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════ */
.how-it-works {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(ellipse 120% 60% at 50% -10%, rgba(255,107,53,0.07) 0%, transparent 65%);
}
.how-it-works .section-title {
  text-align: center;
  margin-bottom: 64px;
}

.steps {
  display: grid;
  gap: 40px;
  position: relative;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* Desktop connector line */
.steps-line {
  display: none;
}
@media (min-width: 768px) {
  .steps-line {
    display: block;
    position: absolute;
    top: 48px;
    left: 16.66%;
    right: 16.66%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    z-index: 0;
  }
}

.step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-size: 140px;
  font-weight: 700;
  color: var(--text-1);
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: relative;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              var(--gradient-accent) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 24px var(--accent-glow);
}
.step:nth-child(1) .step-icon { animation: step-bounce 3s ease-in-out infinite; }
.step:nth-child(2) .step-icon { animation: step-pulse 2s ease-in-out infinite; }
.step:nth-child(3) .step-icon { animation: step-blink 4s ease-in-out infinite; }

.step-dot {
  display: none;
}
@media (min-width: 768px) {
  .step-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    margin: 0 auto 20px;
    animation: dot-pulse 2s ease-in-out infinite;
  }
}

.step-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-1);
  margin-bottom: 8px;
}
.step-body {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* Mobile vertical timeline */
@media (max-width: 767px) {
  .steps {
    padding-left: 32px;
    border-left: 2px solid transparent;
    background-image: linear-gradient(var(--bg), var(--bg)),
                      var(--gradient-accent);
    background-origin: padding-box, border-box;
    background-repeat: no-repeat;
  }
  .step { text-align: left; }
  .step::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-accent);
    animation: dot-pulse 2s ease-in-out infinite;
  }
  .step-icon { margin: 0 0 16px; }
  .step-number { left: 0; transform: none; }
  .step-body { margin: 0; }
}

/* ════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════ */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  height: auto;
  padding: 16px 0;
}
.marquee-row {
  display: flex;
  width: max-content;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
}
.marquee-row-1 { animation: marquee 45s linear infinite; }
.marquee-row-2 { animation: marquee-reverse 55s linear infinite; margin-top: 10px; }

.marquee-item { padding: 0 12px; }
.marquee-sep { color: var(--accent); padding: 0 8px; }

/* ════════════════════════════════════════
   THE REVEAL
   ════════════════════════════════════════ */
.reveal-section {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(ellipse 80% 70% at 100% 50%, rgba(255,107,53,0.06) 0%, transparent 60%);
}
.reveal-grid {
  display: grid;
  gap: 60px;
  align-items: center;
}
@media (min-width: 768px) {
  .reveal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.reveal-left .section-title {
  margin-bottom: 20px;
}
.reveal-left p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feature-dash {
  width: 24px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-glow);
}
.feature-item span {
  font-size: 16px;
  color: var(--text-2);
}

/* Phone mockup */
.phone-mockup {
  width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  background: var(--phone-bg);
  border: 1px solid var(--border-2);
  box-shadow: 0 40px 80px rgba(0,0,0,0.3), 0 0 0 1px var(--border), inset 0 1px 0 var(--glass-top);
  transform: rotate(-3deg);
  overflow: hidden;
  padding: 20px 16px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .phone-mockup {
    transform: none;
    width: 260px;
  }
}

.phone-progress-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 6px;
}
.phone-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 16px;
}
.phone-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-accent);
  border-radius: 100px;
  transition: width 1.5s ease;
}
.phone-progress-fill.animate {
  width: 56%;
  animation: progress-glow 2s ease-in-out infinite 1.5s;
}

/* Chat bubbles */
.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
}
.chat-bubble.animate { animation: chat-in 0.4s ease forwards; }
.chat-left {
  align-self: flex-start;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 4px 18px 18px 18px;
  color: var(--text-1);
}
.chat-right {
  align-self: flex-end;
  background: var(--gradient-accent);
  border-radius: 18px 4px 18px 18px;
  color: #fff;
  font-weight: 500;
}
.chat-time {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: var(--text-4);
  margin-top: 2px;
}

/* Phone reveal area */
.phone-reveal-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.phone-reveal-circles {
  display: flex;
  gap: 12px;
}
.phone-reveal-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--surface-3), var(--border));
  filter: blur(4px);
  border: 1px solid var(--border-2);
}
.phone-reveal-text {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
}

/* Phone glow */
.phone-mockup::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 20%;
  width: 60%;
  height: 40px;
  background: var(--accent-glow);
  filter: blur(40px);
  border-radius: 50%;
  pointer-events: none;
}

/* ════════════════════════════════════════
   VIBE ROOMS
   ════════════════════════════════════════ */
.vibe-rooms {
  background: var(--surface);
  padding: 100px 0;
  position: relative;
  background-image: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(255,107,53,0.05) 0%, transparent 60%),
                    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(255,179,71,0.04) 0%, transparent 60%);
}
.vibe-rooms.grain::after { z-index: 1; }
.vibe-rooms .section-title {
  text-align: center;
  margin-bottom: 12px;
}
.vibe-rooms .section-sub {
  text-align: center;
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 48px;
}

.rooms-scroll-wrap {
  position: relative;
}
.rooms-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 24px 16px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rooms-scroll::-webkit-scrollbar { display: none; }
.rooms-scroll:active { cursor: grabbing; }

/* Scroll shadows */
.rooms-scroll-wrap::before,
.rooms-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rooms-scroll-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.rooms-scroll-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.rooms-scroll-wrap.shadow-left::before,
.rooms-scroll-wrap.shadow-right::after {
  opacity: 1;
}

.room-card {
  min-width: 200px;
  padding: 24px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(135deg, rgba(255,107,53,0.05) 0%, rgba(255,179,71,0.03) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.room-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,107,53,0.0) 0%, rgba(255,140,66,0.0) 100%);
  transition: background 0.3s ease;
  pointer-events: none;
}
[data-theme="light"] .room-card {
  border-color: rgba(0,0,0,0.06);
  background: linear-gradient(135deg, rgba(255,107,53,0.04) 0%, rgba(255,179,71,0.02) 100%);
}
.room-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 16px 40px var(--accent-glow), 0 0 0 1px var(--border-accent);
}
.room-card:hover::before {
  background: linear-gradient(135deg, rgba(255,107,53,0.04) 0%, rgba(255,140,66,0.02) 100%);
}
.room-emoji {
  font-size: 44px;
  display: block;
  margin-bottom: 12px;
}
.room-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--text-1);
}
.room-tagline {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}
.room-live {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text-3);
}
.room-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: live-pulse 2s ease-in-out infinite;
}

.rooms-note {
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text-4);
  margin-top: 32px;
}

/* ════════════════════════════════════════
   SONAR+ PREMIUM
   ════════════════════════════════════════ */
.sonar-section {
  padding: 120px 0;
  position: relative;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(255,107,53,0.05) 0%, transparent 70%);
}
.sonar-section .section-title {
  font-size: 64px;
  text-align: center;
  margin-bottom: 12px;
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-weight: 700;
}
.sonar-subtitle {
  text-align: center;
  font-style: italic;
  font-size: 20px;
  color: var(--text-2);
  margin-bottom: 56px;
}

.plans-grid {
  display: grid;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .plans-grid { grid-template-columns: 1fr 1fr; }
}

.plan-card {
  padding: 40px;
  border-radius: 24px;
}
.plan-card-free {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}
.plan-card-plus {
  background: rgba(255,107,53,0.06);
  border: 1px solid var(--border-accent);
  border-top: 2px solid var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.plan-header {
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}
.plan-card-free .plan-header { color: var(--text-2); }
.plan-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}
.plan-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}
.plan-card-free .plan-item { color: var(--text-2); }
.plan-card-plus .plan-item { color: var(--text-1); }
.plan-icon-empty {
  color: var(--text-4);
  font-size: 14px;
  width: 20px;
  text-align: center;
}
.plan-icon-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  flex-shrink: 0;
}

.pricing-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pricing-pill {
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
}
.pricing-pill-default {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--text-2);
}
.pricing-pill-accent {
  background: rgba(255,107,53,0.1);
  border: 1px solid var(--border-accent);
  color: var(--text-1);
  position: relative;
}
.pricing-pill-badge {
  position: absolute;
  top: -10px;
  right: -8px;
  background: #FFB347;
  color: #000;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 700;
}

/* ════════════════════════════════════════
   DAILY PULSE QUIZ
   ════════════════════════════════════════ */
.pulse-section {
  background: var(--surface);
  padding: 100px 0;
  position: relative;
}
.pulse-section.grain::after { z-index: 1; }
.pulse-section .section-title {
  font-size: clamp(36px, 5vw, 56px);
  text-align: center;
  margin-bottom: 12px;
}
.pulse-sub {
  text-align: center;
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 48px;
}

.quiz-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 24px;
  position: relative;
  z-index: 2;
}
.quiz-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.quiz-question {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-1);
  margin-bottom: 20px;
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-option {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 0 18px;
  font-size: 15px;
  color: var(--text-2);
  text-align: left;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  cursor: default;
}
.quiz-option.selected {
  border-color: var(--accent);
  color: var(--text-1);
}
.quiz-option.correct {
  background: rgba(16,185,129,0.1);
  border-color: #10B981;
  color: var(--text-1);
}
.quiz-option.correct::after {
  content: '✓';
  margin-left: auto;
  color: #10B981;
  font-weight: 700;
  transform: scale(0);
  animation: reward-in 0.3s ease forwards;
}
.quiz-option.wrong {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.3);
}
.quiz-option.dimmed {
  opacity: 0.4;
}

.quiz-reward {
  text-align: center;
  margin-top: 20px;
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-size: 24px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.quiz-reward.show {
  opacity: 1;
  transform: translateY(0);
}

.streak-text {
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 24px;
}

/* ════════════════════════════════════════
   DOWNLOAD CTA
   ════════════════════════════════════════ */
.download-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse 100% 80% at 50% 50%, rgba(255,107,53,0.10) 0%, rgba(255,179,71,0.04) 40%, transparent 70%);
}
.download-section .hero-blob { z-index: 0; }
.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
  pointer-events: none;
}
[data-theme="light"] .download-section::before {
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.04) 100%);
}
.download-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}
.download-title {
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-1);
  margin-bottom: 24px;
}
.download-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 440px;
  margin: 0 auto 40px;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 40px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.appstore-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.appstore-btn svg { width: 24px; height: 24px; fill: #000; }
.appstore-text-small {
  font-size: 11px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}
.appstore-text-big {
  font-size: 20px;
  color: #000;
  font-weight: 700;
  text-align: left;
}
.download-note {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text-4);
  margin-top: 24px;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  transition: background-color 0.3s ease;
}
.footer-main {
  display: grid;
  gap: 32px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr auto 1fr;
    text-align: left;
    align-items: start;
  }
}
.footer-brand span {
  display: block;
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-1);
  margin-bottom: 6px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--accent); }
.footer-links-sep {
  color: var(--text-4);
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
}
@media (min-width: 768px) {
  .footer-social { justify-content: flex-end; }
}
.footer-social a {
  color: var(--text-3);
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  color: var(--accent);
  transform: scale(1.1);
}
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--text-4);
}

/* ════════════════════════════════════════
   MOBILE IMPROVEMENTS
   ════════════════════════════════════════ */
@media (max-width: 767px) {
  .hero-content { padding: 0 20px; }
  .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .btn-primary { height: 52px; font-size: 16px; padding: 0 28px; }
  .how-it-works { padding: 72px 0; }
  .how-it-works .section-title { font-size: 32px; margin-bottom: 48px; }
  .reveal-section { padding: 72px 0; }
  .reveal-grid { gap: 48px; }
  .reveal-left .section-title { font-size: 28px; }
  .vibe-rooms { padding: 72px 0; }
  .download-section { padding: 80px 0; }
  .appstore-btn { height: 56px; padding: 0 28px; }
  .footer { padding: 48px 0 24px; }
  .section-title { font-size: clamp(26px, 7vw, 40px); }
  .steps { gap: 32px; }
  .step-body { font-size: 15px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(34px, 11vw, 52px); }
  .hero-sub { font-size: 15px; }
  .container { padding: 0 18px; }
  .nav-inner { padding: 0 18px; }
  .rooms-scroll { padding: 8px 18px 16px; }
  .room-card { min-width: 175px; padding: 20px 16px; }
  .room-emoji { font-size: 36px; }
  .download-content { padding: 0 18px; }
}

/* ════════════════════════════════════════
   END MOBILE
   ════════════════════════════════════════ */
.premium-note {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 24px;
}

/* ════════════════════════════════════════
   LEGAL PAGES
   ════════════════════════════════════════ */
.page-hero {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
}
.page-hero h1 {
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  color: var(--text-1);
}
.page-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 24px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.85;
}
.page-content h2 {
  font-family: 'Clash Display', 'Helvetica Neue', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-1);
  margin-top: 48px;
  margin-bottom: 16px;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}
.page-content h3 {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-1);
  margin-top: 32px;
  margin-bottom: 12px;
}
.page-content p { margin-bottom: 16px; }
.page-content a {
  color: var(--accent);
  text-decoration: none;
  transition: text-decoration 0.2s;
}
.page-content a:hover { text-decoration: underline; }
.page-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.page-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}
.page-content strong { color: var(--text-1); }

/* FAQ */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-1);
  cursor: pointer;
  text-align: left;
}
.faq-arrow {
  font-size: 14px;
  color: var(--text-3);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-question.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1);
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
}

/* Contact card on support */
.support-card {
  max-width: 480px;
  margin: 0 auto 48px;
  padding: 32px;
  border-radius: 20px;
  text-align: center;
}
.support-email {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.support-reply {
  font-size: 15px;
  color: var(--text-2);
}
