:root {
  --bg: #07070b;
  --panel: #101018;
  --line: #ffffff14;
  --text: #f5f5f7;
  --dim: #f5f5f7a6;
  --ice: #bfe0ff;
  --blue: #4f8cff;
  --glow: #2f6bff;
  --amber: #ff9a3c;
  --teal: #2dd4bf;
  --green: #30d158;
  --brand: linear-gradient(90deg, #ffffff 0%, #bfe0ff 42%, #4f8cff 100%);
  --spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--ice); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
h1 { font-size: clamp(44px, 8vw, 96px); line-height: 1; letter-spacing: -0.045em; font-weight: 900; }
h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; }
h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.lede { color: var(--dim); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 16px 28px; border-radius: 999px;
  background: #fff; color: #000; font-weight: 700; font-size: 16px;
  transition: transform 0.25s var(--spring), box-shadow 0.25s;
  box-shadow: 0 0 0 0 #4f8cff00;
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 40px -8px #4f8cff99; }
.btn-ghost { background: #ffffff12; color: var(--text); border: 1px solid var(--line); }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn-wide { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: #07070bcc; backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  width: 38px; height: 20px; border-radius: 10px; background: #000; border: 1px solid #ffffff2a;
}
.brand-mark i { width: 5px; height: 9px; border-radius: 3px; background: #fff; animation: blink 5s infinite; }
.brand-mark.big { width: 132px; height: 44px; border-radius: 22px; gap: 18px; box-shadow: 0 0 80px #2f6bff66; margin-bottom: 28px; }
.brand-mark.big i { width: 14px; height: 22px; border-radius: 7px; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(0.1); } }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--dim); }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: clamp(56px, 9vw, 110px) 16px 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero .lede { margin: 0 auto; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.desk {
  position: relative; width: min(1000px, 100%); aspect-ratio: 16 / 9; margin-top: 30px;
  border-radius: 28px; overflow: hidden; border: 1px solid #ffffff1f;
  background:
    radial-gradient(60% 70% at 15% 70%, #2a3a9f88, transparent 70%),
    radial-gradient(50% 60% at 90% 80%, #0f5a7a88, transparent 70%),
    linear-gradient(160deg, #0e1230, #14122e 55%, #08121f);
  box-shadow: 0 40px 120px -20px #000, 0 0 0 1px #000;
}
.desk-glow {
  position: absolute; left: 50%; top: -30%; width: 80%; height: 70%; transform: translateX(-50%);
  background: radial-gradient(ellipse at 30% 50%, var(--amber), transparent 60%), radial-gradient(ellipse at 70% 50%, var(--teal), transparent 60%);
  filter: blur(50px); opacity: 0; transition: opacity 0.8s;
}
.desk[data-glow='1'] .desk-glow { opacity: 0.55; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.3; } }
.window {
  position: absolute; left: 12%; top: 26%; width: 76%; height: 52%;
  border-radius: 18px; background: #ffffff0d; border: 1px solid #ffffff14; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.window .dots { display: flex; gap: 7px; margin-bottom: 10px; }
.window .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window .dots i:nth-child(2) { background: #febc2e; }
.window .dots i:nth-child(3) { background: #28c840; }
.window > span { height: 12px; border-radius: 6px; background: #ffffff12; }
.window > span:nth-of-type(1) { width: 85%; } .window > span:nth-of-type(2) { width: 60%; }
.window > span:nth-of-type(3) { width: 72%; } .window > span:nth-of-type(4) { width: 45%; }
.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 9%;
  background: #0a0a14cc; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.taskbar i { width: 22px; height: 22px; border-radius: 6px; background: #ffffff2a; }
.taskbar i:first-child { background: #4cc2ff; } .taskbar i:nth-child(4) { background: #ffb547; }

/* The island */
.island {
  position: absolute; left: 50%; top: 0; z-index: 2;
  transform: translateX(-50%);
  width: 150px; height: 42px; border-radius: 0 0 21px 21px;
  background: #000; box-shadow: inset 0 0 0 1px #ffffff14;
  overflow: hidden;
  transition: width 0.6s var(--spring), height 0.55s var(--spring), border-radius 0.5s;
}
.island[data-state='music'] { width: 360px; height: 52px; border-radius: 0 0 26px 26px; }
.island[data-state='charge'] { width: 330px; height: 64px; border-radius: 0 0 30px 30px; }
.island[data-state='buds'],
.island[data-state='focus'],
.island[data-state='drop'] { width: 370px; height: 64px; border-radius: 0 0 30px 30px; }
.layer {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  opacity: 0; transform: scale(0.9); transition: opacity 0.25s, transform 0.4s var(--spring);
  pointer-events: none; white-space: nowrap;
}
.island[data-state='eyes'] .l-eyes,
.island[data-state='music'] .l-music,
.island[data-state='charge'] .l-charge,
.island[data-state='buds'] .l-buds,
.island[data-state='focus'] .l-focus,
.island[data-state='drop'] .l-drop { opacity: 1; transform: none; transition-delay: 0.15s; }
.l-eyes { justify-content: center; gap: 18px; }
.eye { width: 13px; height: 21px; border-radius: 7px; background: #fff; transition: transform 0.12s; }
.meta { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; text-align: left; }
.meta b { font-size: 14px; } .meta small { font-size: 12px; color: var(--dim); }
.art {
  flex: none; width: 34px; height: 34px; border-radius: 8px;
  background:
    radial-gradient(circle at 50% 46%, #ffe08a 0 30%, transparent 31%),
    linear-gradient(180deg, transparent 62%, #2dd4bf55 62% 64%, transparent 64%),
    linear-gradient(180deg, #0b1b3a, #12406b 60%, #061226);
}
.eq { display: flex; align-items: center; gap: 3px; height: 24px; }
.eq i { width: 4px; height: 40%; border-radius: 2px; background: var(--amber); animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.2s; } .eq i:nth-child(3) { animation-delay: -0.5s; }
.eq i:nth-child(4) { animation-delay: -0.35s; } .eq i:nth-child(5) { animation-delay: -0.7s; }
@keyframes eq { 50% { height: 100%; } }
.battery { flex: none; width: 40px; height: 20px; border: 2px solid #ffffff66; border-radius: 6px; padding: 2px; position: relative; }
.battery span { display: block; height: 100%; width: 82%; border-radius: 3px; background: var(--green); }
.l-charge b { flex: 1; text-align: left; font-size: 16px; }
.pct { color: var(--green); font-weight: 800; font-size: 18px; }
.buds { width: 30px; height: 30px; color: #f5f5f7; flex: none; }
.ring { flex: none; width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(var(--green) 0 90%, #ffffff22 0); -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%); mask: radial-gradient(circle, transparent 55%, #000 56%); }
.island[data-state='drop'] .ring-fill { animation: fill 2.2s ease-out forwards; }
@keyframes fill { from { background: conic-gradient(var(--green) 0 0%, #ffffff22 0); } }
.tomato { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 3px solid #ff6b57; border-right-color: #ff6b5733; }
.count { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.phone { flex: none; width: 18px; height: 30px; border-radius: 5px; border: 2px solid #f5f5f7; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chips button {
  padding: 9px 16px; border-radius: 999px; background: #ffffff0d; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--dim); transition: all 0.2s;
}
.chips button:hover { color: var(--text); }
.chips button.on { background: #fff; color: #000; border-color: #fff; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1000px; margin: 40px auto 0; padding: 0 16px; gap: 12px;
}
.stats div { padding: 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.stats b { font-size: 24px; letter-spacing: -0.03em; }
.stats span { color: var(--dim); font-size: 14px; }

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: clamp(80px, 11vw, 140px) clamp(16px, 4vw, 32px) 0; }
.section h2 { margin-bottom: 40px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.narrow { max-width: 760px; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  padding: 28px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line);
  transition: transform 0.3s var(--spring), border-color 0.3s;
}
.card:hover { transform: translateY(-3px); border-color: #4f8cff55; }
.card.wide { grid-column: span 2; }
.card p { color: var(--dim); line-height: 1.6; font-size: 15px; }
.card p b { color: var(--text); font-weight: 600; }
.ico {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; background: #4f8cff1f; color: var(--ice); font-size: 18px; margin-bottom: 18px;
}
kbd { padding: 2px 8px; border-radius: 6px; background: #ffffff1a; border: 1px solid #ffffff26; font-family: inherit; font-size: 13px; color: var(--text); }

/* Glass */
.glass-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { padding-left: 32px; position: relative; color: var(--dim); line-height: 1.5; font-size: 17px; text-align: left; }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: #4f8cff2a; color: var(--ice); font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.glass-stage {
  position: relative; height: 380px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, #0e1230, #14122e); border: 1px solid var(--line);
  display: flex; align-items: flex-start; justify-content: center;
}
.blob { position: absolute; border-radius: 50%; animation: drift 9s ease-in-out infinite alternate; }
.b1 { width: 180px; height: 180px; background: var(--amber); left: 6%; top: 10px; }
.b2 { width: 220px; height: 220px; background: var(--blue); left: 40%; top: 60px; animation-duration: 11s; animation-direction: alternate-reverse; }
.b3 { width: 150px; height: 150px; background: var(--teal); right: 4%; top: -20px; animation-duration: 7s; }
.b4 { width: 120px; height: 120px; background: #f43f5e; left: 22%; top: 170px; animation-duration: 13s; }
@keyframes drift { to { transform: translate(90px, 30px); } }
.glass-island {
  position: relative; z-index: 2; margin-top: 30px;
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; width: min(440px, 88%);
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff30, #ffffff08 55%), rgba(22, 22, 28, 0.35);
  backdrop-filter: blur(26px) saturate(1.8); -webkit-backdrop-filter: blur(26px) saturate(1.8);
  box-shadow: inset 0 0 0 1.5px #ffffff66, 0 20px 50px -10px #0008;
}
.glass-island .eq i { background: #64d2ff; }

/* Themes */
.theme-stage {
  width: min(760px, 100%); height: 200px; border-radius: 28px; margin-bottom: 24px;
  background: radial-gradient(60% 80% at 20% 80%, #2a3a9f88, transparent), linear-gradient(160deg, #0e1230, #14122e 55%, #08121f);
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.theme-stage::before { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--amber); left: 30%; top: -60px; opacity: 0.8; }
.theme-island {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; width: 380px;
  border-radius: 0 0 28px 28px; background: #000; color: #f5f5f7;
  transition: all 0.45s var(--spring);
}
.theme-island .meta small { color: inherit; opacity: 0.65; }
.theme-island[data-theme='capsule'] { top: 20px; border-radius: 28px; box-shadow: 0 20px 50px -10px #000c; }
.theme-island[data-theme='glass'] { top: 20px; border-radius: 28px; background: linear-gradient(180deg, #ffffff30, #ffffff08 55%), rgba(22, 22, 28, 0.35); backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8); box-shadow: inset 0 0 0 1.5px #ffffff66; }
.theme-island[data-theme='glass'] .eq i { background: #64d2ff; }
.theme-island[data-theme='neon'] { box-shadow: inset 0 0 0 2px #ff2d95, 0 0 40px #ff2d95aa; }
.theme-island[data-theme='neon'] .eq i { background: #ff2d95; }
.theme-island[data-theme='light'] { top: 20px; border-radius: 28px; background: #f5f5f7; color: #1c1c1e; box-shadow: 0 20px 50px -10px #000a; }
.theme-island[data-theme='light'] .eq i { background: #007aff; }
.theme-island[data-theme='aurora'] { top: 20px; border-radius: 28px; background: linear-gradient(90deg, #2b1055, #2a4fd8); }
.theme-island[data-theme='aurora'] .eq i { background: #9d7bff; }
.theme-island[data-theme='pastel'] { top: 20px; border-radius: 28px; background: linear-gradient(90deg, #fad4e6, #cde5ff); color: #3e3352; }
.theme-island[data-theme='pastel'] .eq i { background: #9b7be0; }
.theme-island[data-theme='coffee'] { top: 20px; border-radius: 28px; background: linear-gradient(90deg, #2e1f17, #6b4a35); color: #f4e7d4; }
.theme-island[data-theme='coffee'] .eq i { background: #d4a373; }
.theme-island[data-theme='midnight'] .eq i, .theme-island[data-theme='capsule'] .eq i { background: var(--green); }

/* Reel */
.reel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.reel .lede { margin: -16px 0 28px; }
.phone-frame { justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden; border: 8px solid #16161e; box-shadow: 0 40px 100px -20px #000, 0 0 80px -20px #2f6bff55; background: #000; }
.phone-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Pricing */
.price-card {
  width: min(460px, 100%); padding: 36px; border-radius: 30px; text-align: left;
  background: linear-gradient(180deg, #4f8cff14, transparent 40%), var(--panel);
  border: 1px solid #4f8cff44; box-shadow: 0 0 120px -40px #2f6bff;
  display: flex; flex-direction: column; gap: 26px;
}
.price { display: flex; align-items: baseline; gap: 10px; }
.price span { font-size: 72px; font-weight: 900; letter-spacing: -0.05em; }
.price small { color: var(--dim); font-size: 18px; }
.price-card .ticks li { font-size: 16px; }
.fine { color: var(--dim); font-size: 13px; text-align: center; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--ice); font-size: 22px; line-height: 1; transition: transform 0.25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--dim); line-height: 1.65; margin-top: 12px; }

.final { text-align: center; padding: clamp(100px, 14vw, 170px) 16px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.foot { display: flex; justify-content: space-between; padding: 28px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.foot a:hover { color: var(--text); }
.foot-links { display: flex; gap: 20px; }
.fine a { text-decoration: underline; }
.card p.note { margin-top: 12px; font-size: 13px; opacity: 0.7; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 32px) 80px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 18px; }
.legal h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--dim); line-height: 1.7; font-size: 16px; }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.legal b { color: var(--text); }
.legal a { color: var(--ice); text-decoration: underline; }
.legal code { font-size: 14px; background: #ffffff12; padding: 1px 6px; border-radius: 6px; color: var(--text); }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0;
  padding: 14px 22px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; font-size: 15px;
  transition: all 0.35s var(--spring); z-index: 99; pointer-events: none; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .glass-section, .reel { grid-template-columns: 1fr; }
  .desk { aspect-ratio: 4 / 3; }
  .island { transform: translateX(-50%) scale(0.78); transform-origin: top center; }
  .theme-island { width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
