/* Landing page — deliberately minimal: one hero, one call-to-action card, a short guide. */
:root {
  --bg: #030b1f;
  --panel: rgba(10, 28, 66, 0.72);
  --border: #1d3a72;
  --text: #eaf1ff;
  --dim: #9db0d4;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --green: #22c55e;
  --green-hover: #1fae55;
  --purple: #7c6bfe;
  --pink: #ff5d7a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(175deg, #020817 0%, #051a44 38%, #0a2f73 72%, #0c3b8c 100%) fixed;
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Soft static blue glows — no animated blobs */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50% 40% at 15% 6%, rgba(59, 130, 246, 0.22), transparent 70%),
    radial-gradient(45% 38% at 90% 75%, rgba(34, 211, 238, 0.12), transparent 70%);
}

/* ---- Top bar ---- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 20px;
}
.top-brand { font-weight: 700; font-size: 14px; color: var(--dim); letter-spacing: 0.02em; }

/* ---- Buttons ---- */
.btn {
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  color: #04120a;
  background: linear-gradient(180deg, #4ade80, var(--green));
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { background: linear-gradient(180deg, #4ade80, var(--green-hover)); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 8px 18px; font-size: 13px; box-shadow: none; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.btn-buy {
  color: #04120a;
  background: linear-gradient(180deg, #86efac, #22c55e);
  box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.5), 0 6px 18px rgba(34, 197, 94, 0.4);
  animation: buyPulse 2.6s ease-in-out infinite;
}
@keyframes buyPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.5), 0 6px 18px rgba(34, 197, 94, 0.35); }
  50% { box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.35), 0 8px 26px rgba(34, 197, 94, 0.6); }
}
@media (prefers-reduced-motion: reduce) { .btn-buy { animation: none; } }
.btn-main { width: 100%; padding: 14px 20px; font-size: 16px; }

/* ---- Hero ---- */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 20px 24px;
  text-align: center;
}
.logo-mark {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  width: 54px;
  height: 54px;
  padding: 12px 11px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #22d3ee);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
  animation: logoFloat 4s ease-in-out infinite, logoGlow 2.4s ease-in-out infinite;
}
.logo-mark i {
  display: block;
  flex: 1;
  border-radius: 2px;
  background: #fff;
  height: 100%;
  transform-origin: bottom;
  animation: logoBar 1.1s ease-in-out infinite;
}
.logo-mark i:nth-child(1) { animation-delay: -0.2s; }
.logo-mark i:nth-child(2) { animation-delay: -0.75s; }
.logo-mark i:nth-child(3) { animation-delay: -0.4s; }
.logo-mark i:nth-child(4) { animation-delay: -0.95s; }
.logo-mark i:nth-child(5) { animation-delay: -0.1s; }
@keyframes logoBar { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes logoGlow {
  0%, 100% { box-shadow: 0 8px 26px rgba(37, 99, 235, 0.45); }
  50% { box-shadow: 0 10px 40px rgba(34, 211, 238, 0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-mark, .logo-mark i { animation: none; }
  .logo-mark i:nth-child(odd) { transform: scaleY(0.7); }
}

.eyebrow {
  margin: 18px 0 6px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
}
h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 .glow {
  background: linear-gradient(90deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.4));
}
.sub { margin: 14px auto 0; max-width: 520px; color: var(--dim); font-size: 16px; }

/* Decorative bar band (not audio-driven) */
.band { height: 160px; margin: 30px auto 6px; opacity: 0.9; }
.band canvas { width: 100%; height: 100%; display: block; }

/* ---- Call-to-action card ---- */
.cta-card {
  max-width: 560px;
  margin: 10px auto 0;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(2, 8, 23, 0.55);
  backdrop-filter: blur(6px);
  text-align: left;
}
.cta-card p { margin: 0 0 14px; font-size: 14px; color: #c9d7f2; }
.cta-card strong { color: #4ade80; }

.tech {
  max-width: 560px;
  margin: 14px auto 0;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--dim);
  text-align: left;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.14);
  border-radius: 12px;
}
.tech strong { display: block; color: var(--text); font-size: 13px; }
.tech b { color: var(--text); font-weight: 600; }

/* ---- Guide ---- */
.guide { max-width: 760px; margin: 0 auto; padding: 36px 20px 20px; }
.guide h2 { margin: 0; text-align: center; font-size: 22px; }
.guide-sub { margin: 6px 0 22px; text-align: center; color: var(--dim); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.step {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.num {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: #04120a;
  background: var(--green);
}
.step h3 { margin: 0 0 2px; font-size: 14.5px; }
.step p { margin: 0; font-size: 13px; color: var(--dim); }

.lyrics {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 16px;
}
.lyrics summary { cursor: pointer; padding: 10px 0; font-weight: 600; font-size: 14px; }
.lyrics ol { margin: 0 0 12px; padding-left: 20px; font-size: 13.5px; color: #c9d7f2; }
.lyrics li { margin: 6px 0; }

/* ---- Footer ---- */
.foot {
  max-width: 760px;
  margin: 26px auto 0;
  padding: 22px 20px 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--dim);
}
.foot a { color: var(--dim); text-decoration: none; margin-right: 16px; }
.foot a:hover { color: var(--text); }
.foot span { display: block; margin-top: 8px; }

/* ---- Toast (replaces alert() — see showToast() in landing.js) ---- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  max-width: min(90vw, 420px);
  background: #0b1f4a;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .band { height: 120px; }
  .top-brand { font-size: 13px; }
  .top-actions { gap: 8px; }
  .btn-small { padding: 8px 12px; }
  .hero { padding-top: 24px; }
}
