:root {
  --bg: #060818;
  --bg-card: rgba(255, 255, 255, 0.06);
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --pink: #f472b6;
  --lime: #a3e635;
  --coral: #fb7185;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glow: rgba(34, 211, 238, 0.35);
  --max: 72rem;
  --narrow: 42rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-bottom: 5rem; }
body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}
a, button { color: inherit; text-decoration: none; font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { font-family: "Syne", sans-serif; font-weight: 700; line-height: 1.1; }

/* Aurora background */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #1e1b4b 0%, var(--bg) 55%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}
.blob-1 { width: 55vw; height: 55vw; max-width: 520px; max-height: 520px; background: #4f46e5; top: -10%; left: -10%; }
.blob-2 { width: 45vw; height: 45vw; max-width: 420px; background: var(--cyan); top: 20%; right: -15%; animation-delay: -6s; }
.blob-3 { width: 40vw; height: 40vw; max-width: 380px; background: var(--pink); bottom: 10%; left: 15%; animation-delay: -12s; }
.blob-4 { width: 35vw; height: 35vw; max-width: 320px; background: var(--lime); bottom: -5%; right: 20%; animation-delay: -4s; opacity: 0.35; }
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, 6%) scale(1.05); }
  66% { transform: translate(-3%, 4%) scale(0.95); }
}

.note-top {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.45rem 1rem;
  background: rgba(6, 8, 24, 0.85);
  border-bottom: 1px solid var(--glass-border);
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  backdrop-filter: blur(16px);
  background: rgba(6, 8, 24, 0.6);
  border-bottom: 1px solid transparent;
}
.logo-mark { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em; }

.page { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 6rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-glow {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #060818;
  box-shadow: 0 0 32px var(--glow), 0 8px 24px rgba(0,0,0,0.3);
}
.btn-ghost {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-center { display: flex; max-width: 16rem; margin: 2rem auto 0; }

/* Hero */
.hero {
  display: grid;
  gap: 3rem;
  align-items: center;
  min-height: min(92vh, 800px);
  padding: 3rem 0 4rem;
}
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1.1fr; gap: 2rem; } }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
}
.hero h1 { font-size: clamp(2.8rem, 8vw, 4.2rem); margin-bottom: 1rem; }
.grad {
  display: block;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 28rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 1.75rem 0 1rem; }
.hero-text small { font-size: 0.75rem; color: var(--muted); }

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring-deco {
  position: absolute;
  width: min(100%, 340px);
  aspect-ratio: 1;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  animation: bob 5s ease-in-out infinite;
  z-index: 3;
}
.fc-1 { top: 5%; left: 0; animation-delay: 0s; }
.fc-2 { top: 15%; right: -2%; animation-delay: -1.5s; }
.fc-3 { bottom: 18%; left: 5%; animation-delay: -3s; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-g { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.dot-c { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot-p { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.glass-editor {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}
.ge-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}
.ge-bar span { width: 9px; height: 9px; border-radius: 50%; }
.ge-bar span:nth-child(1) { background: #f87171; }
.ge-bar span:nth-child(2) { background: #fbbf24; }
.ge-bar span:nth-child(3) { background: #34d399; }
.ge-bar em { margin-left: auto; font-style: normal; }
.ge-text { font-size: 1rem; line-height: 1.75; }
.ge-text mark { background: none; border-radius: 3px; padding: 0 2px; }
.hl-err { text-decoration: underline wavy var(--coral); text-underline-offset: 4px; }
.hl-warn { background: rgba(251, 191, 36, 0.2); border-bottom: 2px solid #fbbf24; }
.hl-ok { background: rgba(163, 230, 53, 0.15); border-bottom: 2px solid var(--lime); }
.ge-wave { width: 100%; height: 24px; margin-top: 0.75rem; opacity: 0.7; }

/* Sections */
.sec-head { text-align: center; max-width: var(--narrow); margin: 0 auto 2.5rem; }
.sec-head h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.sec-head p { color: var(--muted); font-size: 0.95rem; }
.sec-head.light h2 { color: var(--ink); }

/* Bento */
.bento-sec { padding: 4rem 0; }
.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.bento-card {
  padding: 1.35rem;
  border-radius: 20px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  animation: fadeUp 0.7s ease backwards;
  animation-delay: var(--d, 0s);
}
.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 16px 48px rgba(34, 211, 238, 0.12);
}
.bento-icon { font-size: 1.5rem; display: block; margin-bottom: 0.65rem; }
.bento-card h3 { font-size: 1rem; margin-bottom: 0.35rem; font-family: "Outfit", sans-serif; font-weight: 700; }
.bento-card p { font-size: 0.82rem; color: var(--muted); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Orbit */
.orbit-sec { padding: 4rem 0; }
.orbit-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  min-height: 420px;
}
.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--bg);
  box-shadow: 0 0 48px var(--glow);
  z-index: 2;
}
.orbit-node {
  position: absolute;
  width: 11rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  animation: bob 7s ease-in-out infinite;
}
.on-letter {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--bg);
  margin-bottom: 0.4rem;
}
.orbit-node h3 { font-size: 0.95rem; font-family: "Outfit", sans-serif; font-weight: 700; }
.orbit-node p { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; }
.on-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.on-2 { bottom: 10%; left: 0; animation-delay: -2s; }
.on-3 { bottom: 10%; right: 0; animation-delay: -4s; }

/* Tone */
.tone-sec {
  padding: 4rem 2rem;
  margin: 0 -1.25rem;
  background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.08), transparent);
  border-radius: 32px;
}
.tone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: var(--narrow);
  margin: 0 auto;
}
.tone-pill {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  transition: all 0.25s;
}
.tone-pill.active, .tone-pill:hover {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--bg);
  border-color: transparent;
  box-shadow: 0 0 24px var(--glow);
}
.tone-panel {
  text-align: center;
  max-width: 24rem;
  margin: 1.25rem auto 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 2.5rem;
}
.plans-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: var(--narrow);
  margin: 0 auto;
}
.plan-glass {
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  text-align: center;
}
.plan-glass h3 { font-size: 1rem; margin-bottom: 0.35rem; color: var(--cyan); font-family: "Outfit", sans-serif; }
.plan-glass p { font-size: 0.82rem; color: var(--muted); }

/* Stats */
.stats-sec {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  padding: 3rem 0;
}
.stat-orb {
  flex: 1;
  min-width: 9rem;
  max-width: 14rem;
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,0.2), var(--glass));
  border: 1px solid var(--glass-border);
  animation: bob 8s ease-in-out infinite;
}
.stat-orb:nth-child(2) { animation-delay: -2.5s; }
.stat-orb b {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-orb span { font-size: 0.72rem; color: var(--muted); margin-top: 0.25rem; font-weight: 600; }

/* Reviews */
.reviews-sec {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  scroll-snap-type: x mandatory;
}
.review-card {
  flex: 0 0 min(85%, 300px);
  scroll-snap-align: start;
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--violet);
  animation: fadeUp 0.6s ease backwards;
  animation-delay: var(--d, 0s);
}

/* FAQ */
.faq-sec { max-width: var(--narrow); margin: 0 auto; padding: 2rem 0; }
.faq-sec h2 { font-size: 1.75rem; margin-bottom: 1.25rem; text-align: center; }
.faq-item {
  margin-bottom: 0.5rem;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}
.faq-item[open] { border-color: rgba(34, 211, 238, 0.35); }
.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 1.15rem 1rem; font-size: 0.85rem; color: var(--muted); }

/* CTA */
.cta-sec {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  margin: 2rem 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass);
}
.cta-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--violet);
  filter: blur(100px);
  opacity: 0.4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: drift 12s ease-in-out infinite;
}
.cta-sec h2 { position: relative; font-size: 2rem; margin-bottom: 0.5rem; }
.cta-sec p { position: relative; color: var(--muted); margin-bottom: 1.5rem; }
.cta-sec .btn { position: relative; }

.foot {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--glass-border);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0.75rem 0;
  font-weight: 600;
  color: var(--ink);
}
.foot-fine { font-size: 0.72rem; }

/* Dock */
.dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.55rem 0.5rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(6, 8, 24, 0.88);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.dock a { padding: 0.35rem 0.4rem; }
.dock a:hover { color: var(--cyan); }
.dock-dl {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--bg) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: -1.25rem;
  box-shadow: 0 0 24px var(--glow);
}

.cookie {
  display: none;
  position: fixed;
  bottom: 4.5rem;
  left: 1rem;
  right: 1rem;
  z-index: 110;
  max-width: 22rem;
  margin: 0 auto;
  padding: 1rem;
  background: rgba(15, 18, 40, 0.95);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  font-size: 0.78rem;
}
.cookie.show { display: block; }
.cookie-no {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: underline;
}

/* Legal */
.legal-body { background: var(--bg); min-height: 100vh; }
.legal-top {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
.legal-main {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 1rem 1.25rem 5rem;
}
.legal-content h2 { font-size: 0.95rem; color: var(--cyan); margin: 1.5rem 0 0.5rem; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 0.92rem; margin-top: 0.45rem; }
.legal-content ul { margin-left: 1.2rem; list-style: disc; }
.legal-content a { color: var(--violet); font-weight: 600; }
.legal-footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
