/* ============================================
   TEN — Landing Page Styles
   Theme System: Shadow Minimalism + Glass
   Default: Midnight
   ============================================ */

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

/* ========== THEME VARIABLES ========== */
:root, [data-theme="midnight"] {
  --bg: #0A0A0A;
  --bg2: #141414;
  --accent: #8B5CF6;
  --accent-rgb: 139, 92, 246;
  --text: #FFFFFF;
  --text-dim: #A1A1AA;
  --text-faint: #52525B;
  --glass: rgba(28, 28, 30, 0.5);
  --glass-hover: rgba(40, 40, 44, 0.65);
  --nav-bg: rgba(10, 10, 10, 0.65);
  --btn-text: #0A0A0A;
}

[data-theme="ocean"] {
  --bg: #0A1628;
  --bg2: #132035;
  --accent: #38BDF8;
  --accent-rgb: 56, 189, 248;
  --text: #FFFFFF;
  --text-dim: #94A3B8;
  --text-faint: #64748B;
  --glass: rgba(30, 58, 95, 0.5);
  --glass-hover: rgba(38, 72, 112, 0.65);
  --nav-bg: rgba(10, 22, 40, 0.65);
  --btn-text: #0A1628;
}

[data-theme="forest"] {
  --bg: #0A1410;
  --bg2: #132016;
  --accent: #4ADE80;
  --accent-rgb: 74, 222, 128;
  --text: #FFFFFF;
  --text-dim: #A1CAAB;
  --text-faint: #6B8B73;
  --glass: rgba(26, 48, 32, 0.5);
  --glass-hover: rgba(32, 60, 40, 0.65);
  --nav-bg: rgba(10, 20, 16, 0.65);
  --btn-text: #0A1410;
}

[data-theme="sunset"] {
  --bg: #1A0A0A;
  --bg2: #251414;
  --accent: #FB923C;
  --accent-rgb: 251, 146, 60;
  --text: #FFFFFF;
  --text-dim: #CAAB9A;
  --text-faint: #8B7165;
  --glass: rgba(53, 30, 30, 0.5);
  --glass-hover: rgba(65, 38, 38, 0.65);
  --nav-bg: rgba(26, 10, 10, 0.65);
  --btn-text: #1A0A0A;
}

[data-theme="aurora"] {
  --bg: #050814;
  --bg2: #0C1220;
  --accent: #5EEAD4;
  --accent-rgb: 94, 234, 212;
  --text: #FFFFFF;
  --text-dim: #99F6E4;
  --text-faint: rgba(94, 234, 212, 0.5);
  --glass: rgba(18, 25, 45, 0.5);
  --glass-hover: rgba(25, 33, 58, 0.65);
  --nav-bg: rgba(5, 8, 20, 0.65);
  --btn-text: #050814;
}

[data-theme="blossom"] {
  --bg: #0D0A0C;
  --bg2: #1A1318;
  --accent: #F472B6;
  --accent-rgb: 244, 114, 182;
  --text: #FFFFFF;
  --text-dim: #FBCFE8;
  --text-faint: rgba(244, 114, 182, 0.5);
  --glass: rgba(38, 28, 34, 0.5);
  --glass-hover: rgba(48, 36, 44, 0.65);
  --nav-bg: rgba(13, 10, 12, 0.65);
  --btn-text: #0D0A0C;
}

html[data-theme="ivory"] {
  --bg: #FAF9F6;
  --bg2: #FFFFFF;
  --accent: #6B7280;
  --accent-rgb: 107, 114, 128;
  --text: #1A1A1A;
  --text-dim: #4B5563;
  --text-faint: #9CA3AF;
  --glass: rgba(240, 237, 232, 0.7);
  --glass-hover: rgba(229, 226, 220, 0.8);
  --nav-bg: rgba(250, 249, 246, 0.7);
  --btn-text: #FFFFFF;
}

[data-theme="ember"] {
  --bg: #1A1816;
  --bg2: #262220;
  --accent: #FF6B2C;
  --accent-rgb: 255, 107, 44;
  --text: #F5F0EB;
  --text-dim: #B0A89E;
  --text-faint: #6E665D;
  --glass: rgba(51, 46, 43, 0.5);
  --glass-hover: rgba(62, 56, 52, 0.65);
  --nav-bg: rgba(26, 24, 22, 0.65);
  --btn-text: #1A1816;
}

[data-theme="noir"] {
  --bg: #000000;
  --bg2: #111111;
  --accent: #D4A847;
  --accent-rgb: 212, 168, 71;
  --text: #F5F1E8;
  --text-dim: #C2B59B;
  --text-faint: #736A58;
  --glass: rgba(26, 26, 26, 0.5);
  --glass-hover: rgba(38, 38, 38, 0.65);
  --nav-bg: rgba(0, 0, 0, 0.75);
  --btn-text: #000000;
}

[data-theme="cosmos"] {
  --bg: #08061A;
  --bg2: #110E28;
  --accent: #C4B5FD;
  --accent-rgb: 196, 181, 253;
  --text: #EDE9FE;
  --text-dim: #A5A0CB;
  --text-faint: #6D6893;
  --glass: rgba(26, 22, 56, 0.5);
  --glass-hover: rgba(34, 30, 68, 0.65);
  --nav-bg: rgba(8, 6, 26, 0.65);
  --btn-text: #08061A;
}

html[data-theme="shore"] {
  --bg: #F0E4D4;
  --bg2: #FAF3E8;
  --accent: #2A9D8F;
  --accent-rgb: 42, 157, 143;
  --text: #33261A;
  --text-dim: #7A6652;
  --text-faint: #B5A490;
  --glass: rgba(229, 215, 195, 0.7);
  --glass-hover: rgba(218, 202, 180, 0.8);
  --nav-bg: rgba(240, 228, 212, 0.7);
  --btn-text: #FFFFFF;
}

/* ========== SIZING CONSTANTS ========== */
:root {
  --max-width: 1200px;
  --section-padding: 120px 24px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --blur: 20px;

  /* Static feature-icon colors (don't change with theme) */
  --feat-orange: #f59e0b;
  --feat-purple: #a78bfa;
  --feat-cyan: #22d3ee;
  --feat-pink: #f472b6;
  --feat-blue: #60a5fa;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color 0.6s var(--ease), color 0.4s var(--ease);
}

a { color: inherit; text-decoration: none; }

/* ---------- UTILITIES ---------- */
.section-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--section-padding);
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: lowercase;
  color: var(--accent);
  margin-bottom: 16px;
  transition: color 0.4s var(--ease);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 200;
  letter-spacing: 1px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
  transition: color 0.4s var(--ease);
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.7;
  transition: color 0.4s var(--ease);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: lowercase;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--btn-text);
}
.btn-primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.05);
}

.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.08);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 200;
  letter-spacing: 8px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-links .nav-cta {
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  transition: all 0.3s ease;
}
.nav-links .nav-cta:hover {
  background: rgba(var(--accent-rgb), 0.22);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 100px 24px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  transition: background 0.8s var(--ease);
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: rgba(var(--accent-rgb), 0.06);
  top: -200px; left: -200px;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: rgba(var(--accent-rgb), 0.04);
  bottom: -150px; right: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 20px;
  transition: color 0.4s var(--ease);
}

.hero-title {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 200;
  letter-spacing: 20px;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--text);
  transition: color 0.4s var(--ease);
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 40px;
  letter-spacing: 0.3px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--text);
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-faint);
  text-transform: lowercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(var(--accent-rgb), 0.1);
}

/* ---------- HERO PHONE ---------- */
.hero-phone {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  animation: phoneFloat 6s var(--ease) infinite;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: var(--bg2);
  border-radius: 44px;
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.05),
    0 25px 60px -10px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(var(--accent-rgb), 0.06);
  position: relative;
  overflow: hidden;
  transition: background 0.6s var(--ease), border-color 0.4s var(--ease), box-shadow 0.6s var(--ease);
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 24px;
  background: var(--bg);
  border-radius: 12px;
  z-index: 10;
  transition: background 0.6s var(--ease);
}

.phone-screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.6s var(--ease);
}

.mock-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 8px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-dim);
}

.mock-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
}

.mock-title {
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 8px;
  color: var(--text);
  margin-bottom: 14px;
}

.mock-rating-card {
  width: 100%;
  background: var(--glass);
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  border-radius: 24px;
  padding: 20px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
  transition: background 0.5s var(--ease), border-color 0.4s var(--ease);
}

.mock-number {
  font-size: 4rem;
  font-weight: 200;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
  text-shadow: 0 0 60px rgba(var(--accent-rgb), 0.2);
}

.mock-day {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.mock-date {
  font-size: 0.65rem;
  font-weight: 300;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.mock-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.mock-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.15);
  transition: background 0.3s ease;
}
.mock-dots span.active {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
}

.mock-hint {
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 400;
  transition: color 0.4s var(--ease);
}

/* Mock friends row */
.mock-section-label {
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--text-dim);
  margin-top: 16px;
  margin-bottom: 10px;
  align-self: flex-start;
  padding-left: 4px;
}

.mock-friends-row {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 0 4px;
  margin-bottom: 14px;
}

.mock-friend-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(var(--accent-rgb), 0.12);
  border: 2px solid rgba(var(--accent-rgb), 0.25);
  transition: all 0.4s var(--ease);
}
.mock-friend-circle.orange {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.5);
  color: #f59e0b;
}
.mock-friend-circle.blue {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}
.mock-friend-circle.purple {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.35);
  color: #a78bfa;
}
.mock-friend-circle.teal {
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.35);
  color: #2dd4bf;
}

/* Mock vibe card */
.mock-vibe-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--glass);
  border: 1px solid rgba(var(--accent-rgb), 0.08);
  border-radius: 12px;
  transition: all 0.4s var(--ease);
}

.mock-vibe-icon {
  font-size: 0.9rem;
  color: var(--accent);
}

.mock-vibe-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1px;
  text-align: left;
}

.mock-vibe-name {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.3px;
}

.mock-vibe-time {
  font-size: 0.5rem;
  font-weight: 300;
  color: var(--text-faint);
  letter-spacing: 0.3px;
}

.mock-vibe-arrow {
  font-size: 1.1rem;
  color: var(--text-faint);
  font-weight: 200;
}

/* Mock insights card */
.mock-insights-card {
  width: 100%;
  padding: 10px 12px;
  background: var(--glass);
  border: 1px solid rgba(var(--accent-rgb), 0.08);
  border-radius: 12px;
  transition: all 0.4s var(--ease);
}

.mock-insights-top {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.mock-insights-chart {
  flex: 1;
}

.mock-insights-label {
  font-size: 0.45rem;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 6px;
}

.mock-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
}

.mock-bar {
  flex: 1;
  background: rgba(var(--accent-rgb), 0.18);
  border-radius: 2px 2px 0 0;
  transition: background 0.4s var(--ease);
}
.mock-bar.active {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.4);
}

.mock-chart-days {
  display: flex;
  gap: 3px;
  margin-top: 3px;
}
.mock-chart-days span {
  flex: 1;
  text-align: center;
  font-size: 0.35rem;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0;
}

.mock-insights-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.mock-stat-dim {
  font-size: 0.4rem;
  font-weight: 300;
  color: var(--text-faint);
  letter-spacing: 0.3px;
}

.mock-stat-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.mock-stat-arrow {
  font-size: 0.6rem;
  color: var(--accent);
}

.mock-stat-pct {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.3px;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ---------- FEATURES ---------- */
.features {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
  transition: background 0.6s var(--ease);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.feature-card {
  background: var(--glass);
  border: 1px solid rgba(var(--accent-rgb), 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition: all 0.5s var(--ease);
}
.feature-card:hover {
  background: var(--glass-hover);
  border-color: rgba(var(--accent-rgb), 0.18);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.3);
}

/* Feature icons keep their individual colors */
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.feature-icon.icon-green  { background: rgba(var(--accent-rgb), 0.12); color: var(--accent); }
.feature-icon.icon-purple { background: rgba(167, 139, 250, 0.12); color: var(--feat-purple); }
.feature-icon.icon-orange { background: rgba(245, 158, 11, 0.12);  color: var(--feat-orange); }
.feature-icon.icon-cyan   { background: rgba(34, 211, 238, 0.12);  color: var(--feat-cyan);   }
.feature-icon.icon-pink   { background: rgba(244, 114, 182, 0.12); color: var(--feat-pink);   }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works { position: relative; }

.steps {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.4s var(--ease);
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.step-content p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.65;
}

.step-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.02));
  margin-left: 26px;
}

/* ---------- SHOWCASE ---------- */
.showcase {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
  transition: background 0.6s var(--ease);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
  align-items: stretch;
}

.showcase-card {
  background: var(--glass);
  border: 1px solid rgba(var(--accent-rgb), 0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition: all 0.5s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.showcase-card:hover {
  background: var(--glass-hover);
  border-color: rgba(var(--accent-rgb), 0.18);
  transform: translateY(-4px);
}

.showcase-visual {
  margin-bottom: 24px;
  padding: 24px;
  background: rgba(var(--accent-rgb), 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--accent-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  flex: 1;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.showcase-card h4 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.showcase-card p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.65;
}

/* Mini badge grid */
.mini-badge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mini-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-badge.orange {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.mini-badge.purple {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.3);
}
.mini-badge.dim {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Mini chart */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.chart-bar {
  width: 20px;
  background: rgba(var(--accent-rgb), 0.15);
  border-radius: 4px 4px 0 0;
  transition: all 0.6s var(--ease);
}
.chart-bar.active {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.4);
}
.chart-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}
.chart-arrow { color: var(--accent); font-size: 1.2rem; }
.chart-percent { color: var(--accent); font-size: 1.4rem; font-weight: 300; }

/* Circles visual */
.circles-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 8px 0;
}

.circle-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1.5px solid rgba(var(--accent-rgb), 0.15);
  transition: all 0.4s var(--ease);
}
.circle-bubble span:first-child {
  font-size: 1.1rem;
  line-height: 1;
}
.bubble-icon {
  font-size: 1.3rem !important;
  color: var(--accent);
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  transition: color 0.4s var(--ease);
}
.circle-bubble .bubble-label {
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.4s var(--ease);
}

.circle-bubble.bubble-1 {
  width: 80px; height: 80px;
  background: rgba(var(--accent-rgb), 0.1);
  border-color: rgba(var(--accent-rgb), 0.2);
}
.circle-bubble.bubble-2 {
  width: 68px; height: 68px;
  background: rgba(var(--accent-rgb), 0.07);
  border-color: rgba(var(--accent-rgb), 0.14);
}
.circle-bubble.bubble-3 {
  width: 74px; height: 74px;
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.1);
}

/* ========== THEME PICKER ========== */
.theme-picker-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.theme-picker-card > p {
  margin-bottom: 0;
}

.theme-picker {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  justify-items: center;
}

/* Sliding ring indicator */
/* Ring is now handled via CSS on active swatch — hide JS ring element */
.theme-ring {
  display: none;
}

.theme-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 12px;
  transition: all 0.3s var(--ease);
  position: relative;
  z-index: 1;
}
.theme-option:hover {
  transform: translateY(-2px);
}

.theme-swatch {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, outline-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  outline: 3px solid transparent;
  outline-offset: 2px;
}

.theme-option:hover .theme-swatch {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

/* Active swatch — accent ring via outline */
.theme-option.active .theme-swatch {
  outline-color: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-name {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: #FFFFFF;
  text-transform: lowercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.theme-option:hover .theme-name {
  color: #FFFFFF;
}
.theme-option.active .theme-name {
  color: var(--accent);
  font-weight: 500;
}

/* ---------- PREMIUM ---------- */
.premium {
  position: relative;
  text-align: center;
}

.premium-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: background 0.6s var(--ease);
}

.premium .section-tag,
.premium .section-title,
.premium .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.premium-card {
  max-width: 560px;
  margin: 48px auto 0;
  background: var(--glass);
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  border-radius: var(--radius);
  padding: 0;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.5), transparent);
}
.premium-card-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: background 0.6s var(--ease);
}

.premium-header {
  padding: 36px 36px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.premium-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--btn-text);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.4s var(--ease);
}

.premium-price {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.premium-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 12px;
  background: transparent;
  border-top: 1px solid rgba(var(--accent-rgb), 0.08);
}

.premium-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
}

.premium-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s var(--ease);
}
.premium-icon .material-symbols-rounded {
  font-size: 20px;
  color: var(--accent);
  transition: color 0.4s var(--ease);
}

.premium-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.premium-feature-title {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.3px;
  transition: color 0.4s var(--ease);
}

.premium-feature-desc {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-faint);
  letter-spacing: 0.3px;
  line-height: 1.4;
  transition: color 0.4s var(--ease);
}

.premium-feature svg {
  stroke: var(--accent);
  flex-shrink: 0;
  transition: stroke 0.4s var(--ease);
}

/* ---------- DOWNLOAD CTA ---------- */
.download { padding: 0 24px; }

.download-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--glass);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 32px;
  padding: 80px 48px;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.download-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.3), transparent);
}

.download-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.download-card h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 200;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.download-card p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dim);
  margin-bottom: 36px;
  line-height: 1.7;
}
.download-note {
  font-size: 0.75rem !important;
  color: var(--text-faint) !important;
  letter-spacing: 2px;
  margin-bottom: 0 !important;
  margin-top: 16px;
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.15);
  background: var(--glass);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.3);
}
.scroll-top .material-symbols-rounded {
  font-size: 22px;
  transition: color 0.3s var(--ease);
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid rgba(var(--accent-rgb), 0.06);
  margin-top: 80px;
  transition: border-color 0.4s var(--ease);
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 200;
  letter-spacing: 8px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 8px;
  font-weight: 300;
}

.footer-links { display: flex; gap: 60px; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-faint);
  margin-bottom: 16px;
  text-transform: lowercase;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid rgba(var(--accent-rgb), 0.06);
  padding-top: 24px;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: 300;
  letter-spacing: 1px;
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Theme change pulse */
@keyframes themePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.theme-transitioning .phone-frame {
  animation: themePulse 0.6s var(--ease);
}

/* ---------- IVORY-SPECIFIC OVERRIDES ---------- */

/* Nav */
[data-theme="ivory"] .navbar.scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Phone mockup stays dark always */
[data-theme="ivory"] .phone-frame {
  background: #1a1a2e;
  border-color: rgba(99, 102, 241, 0.15);
}
[data-theme="ivory"] .phone-frame::before {
  background: #0e0e1a;
}
[data-theme="ivory"] .phone-screen {
  background: #12121f;
}
[data-theme="ivory"] .mock-status-bar {
  color: rgba(232, 234, 240, 0.55);
}
[data-theme="ivory"] .mock-title {
  color: #e8eaf0;
}
[data-theme="ivory"] .mock-rating-card {
  background: rgba(30, 30, 60, 0.5);
  border-color: rgba(99, 102, 241, 0.15);
}
[data-theme="ivory"] .mock-number {
  color: #e8eaf0;
  text-shadow: 0 0 60px rgba(99, 102, 241, 0.2);
}
[data-theme="ivory"] .mock-hint {
  color: #818cf8;
}
[data-theme="ivory"] .mock-dots span {
  background: rgba(99, 102, 241, 0.2);
}
[data-theme="ivory"] .mock-dots span.active {
  background: #818cf8;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}
[data-theme="ivory"] .mock-section-label {
  color: rgba(232, 234, 240, 0.55);
}
[data-theme="ivory"] .mock-vibe-card {
  background: rgba(30, 30, 60, 0.4);
  border-color: rgba(99, 102, 241, 0.1);
}
[data-theme="ivory"] .mock-vibe-name {
  color: #e8eaf0;
}
[data-theme="ivory"] .mock-vibe-time {
  color: rgba(232, 234, 240, 0.4);
}
[data-theme="ivory"] .mock-vibe-icon {
  color: #818cf8;
}
[data-theme="ivory"] .mock-vibe-arrow {
  color: rgba(232, 234, 240, 0.35);
}
[data-theme="ivory"] .mock-insights-card {
  background: rgba(30, 30, 60, 0.4);
  border-color: rgba(99, 102, 241, 0.1);
}
[data-theme="ivory"] .mock-insights-label,
[data-theme="ivory"] .mock-stat-dim,
[data-theme="ivory"] .mock-chart-days span {
  color: rgba(232, 234, 240, 0.4);
}
[data-theme="ivory"] .mock-stat-arrow,
[data-theme="ivory"] .mock-stat-pct {
  color: #818cf8;
}
[data-theme="ivory"] .mock-bar {
  background: rgba(129, 140, 248, 0.18);
}
[data-theme="ivory"] .mock-bar.active {
  background: #818cf8;
}

/* Card surfaces */
[data-theme="ivory"] .showcase-visual {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}
[data-theme="ivory"] .mini-badge.dim {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.05);
}
[data-theme="ivory"] .mini-friend {
  background: rgba(0, 0, 0, 0.03);
  color: #1a1a2e;
}

/* Borders for glass cards on light */
[data-theme="ivory"] .feature-card,
[data-theme="ivory"] .showcase-card,
[data-theme="ivory"] .premium-card,
[data-theme="ivory"] .download-card {
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="ivory"] .feature-card:hover,
[data-theme="ivory"] .showcase-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.08);
}

/* Swatch shadows on light bg */
html[data-theme="ivory"] .theme-swatch {
  border: 1.5px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
html[data-theme="ivory"] .theme-option:hover .theme-swatch {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.26);
}
/* Ivory & shore swatches are near-white — boost their border so they don't vanish */
html[data-theme="ivory"] .theme-option[data-theme="ivory"] .theme-swatch,
html[data-theme="ivory"] .theme-option[data-theme="shore"] .theme-swatch {
  border: 2px solid rgba(0, 0, 0, 0.32);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(0,0,0,0.06);
}

/* Theme name labels on light bg */
html[data-theme="ivory"] .theme-name {
  color: #1A1A1A;
}
html[data-theme="ivory"] .theme-option:hover .theme-name {
  color: #1A1A1A;
}
html[data-theme="ivory"] .theme-option.active .theme-name {
  color: #6B7280;
}

/* Shore light theme — swatch & name overrides */
html[data-theme="shore"] .theme-swatch {
  border: 1.5px solid rgba(0, 0, 0, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
html[data-theme="shore"] .theme-option:hover .theme-swatch {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.26);
}
/* Ivory & shore swatches are near-white — boost their border so they don't vanish */
html[data-theme="shore"] .theme-option[data-theme="ivory"] .theme-swatch,
html[data-theme="shore"] .theme-option[data-theme="shore"] .theme-swatch {
  border: 2px solid rgba(0, 0, 0, 0.32);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(0,0,0,0.06);
}
html[data-theme="shore"] .theme-name {
  color: #33261A;
}
html[data-theme="shore"] .theme-option:hover .theme-name {
  color: #33261A;
}
html[data-theme="shore"] .theme-option.active .theme-name {
  color: #2A9D8F;
}

/* Circles bubbles */
[data-theme="ivory"] .circle-bubble {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.15);
}
[data-theme="ivory"] .bubble-label {
  color: rgba(26, 26, 46, 0.55);
}

/* Nav toggle bars */
[data-theme="ivory"] .nav-toggle span {
  background: rgba(26, 26, 46, 0.5);
}

/* Premium icons & features */
[data-theme="ivory"] .premium-feature svg {
  stroke: #6366f1;
}
[data-theme="ivory"] .premium-icon {
  background: rgba(99, 102, 241, 0.08);
}
[data-theme="ivory"] .premium-features {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="ivory"] .premium-feature-desc {
  color: rgba(26, 26, 46, 0.45);
}

/* Step line and dividers */
[data-theme="ivory"] .step-line {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.02));
}
[data-theme="ivory"] .stat-divider {
  background: rgba(0, 0, 0, 0.1);
}
[data-theme="ivory"] .footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}
[data-theme="ivory"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.06);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 48px;
    padding-top: 120px;
  }
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-subtitle { text-align: center; }
  .hero-actions { justify-content: center; width: 100%; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .section-subtitle { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  :root { --section-padding: 80px 16px; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px; height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-left: 1px solid rgba(var(--accent-rgb), 0.08);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero {
    min-height: auto;
    padding: 120px 16px 60px;
    text-align: center;
    align-items: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero-title { letter-spacing: 12px; }
  .hero-subtitle { text-align: center; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .hero-phone {
    flex-shrink: 0;
    width: 220px;
    height: 456px;
  }
  .phone-frame {
    width: 280px;
    height: 580px;
    transform: scale(0.786);
    transform-origin: top left;
  }
  .features-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }

  .section-subtitle { margin-left: auto; margin-right: auto; }

  .theme-picker { gap: 4px; }
  .theme-swatch { width: 34px; height: 34px; }
  .theme-ring { width: 40px; height: 40px; }

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
  .download-card { padding: 48px 24px; }
  .download { padding: 0 16px; }
  .steps { max-width: 100%; }
  .premium-card { max-width: 100%; }
  .premium-features { grid-template-columns: 1fr; }
  .premium-header { padding: 28px 24px 0; }

  /* Contain glows on mobile */
  .hero-glow-1 { width: 300px; height: 300px; left: -150px; top: -100px; }
  .hero-glow-2 { width: 250px; height: 250px; right: -80px; }
  .premium-glow { width: 300px; height: 300px; }
  .download-glow { width: 250px; }

  .scroll-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  :root { --section-padding: 60px 14px; }

  .hero { padding: 100px 14px 48px; }
  .hero-phone {
    width: 196px;
    height: 406px;
  }
  .phone-frame {
    transform: scale(0.7);
  }
  .hero-title { letter-spacing: 8px; font-size: clamp(3rem, 14vw, 5rem); }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }

  .section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }

  .feature-card { padding: 28px 20px; }
  .showcase-card { padding: 24px 20px; }

  .step { gap: 16px; }
  .step-number { width: 44px; height: 44px; font-size: 1rem; }
  .step-line { margin-left: 22px; }

  .premium-card { max-width: 100%; }
  .premium-header { padding: 24px 20px 0; }
  .premium-feature { padding: 16px; gap: 12px; }

  .download-card { padding: 40px 20px; }

  .theme-option { padding: 3px; gap: 4px; }
  .theme-swatch { width: 30px; height: 30px; }
  .theme-ring { width: 36px; height: 36px; }
  .theme-name { font-size: 0.5rem; }

  .footer-container { padding: 40px 14px 30px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}
