:root {
  --bg: #0e0e13;
  --bg-alt: #111117;
  --panel: #141419;
  --card: #17171d;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f7;
  --text-soft: rgba(244, 244, 247, 0.64);
  --text-faint: rgba(244, 244, 247, 0.38);
  --accent: #7c5cff;
  --accent-hover: #8d71ff;
  --green: #3ddc84;
  --yellow: #ffc23d;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
code {
  font-family: Consolas, "Cascadia Mono", monospace; font-size: .92em;
  padding: 2px 6px; border-radius: 6px; background: var(--surface);
}
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 42px; padding: 0 20px; border-radius: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  white-space: nowrap;
  transition: background .15s, transform .15s;
}
.btn-sm { height: 34px; padding: 0 14px; font-size: 11px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 13px; }
.btn-primary { background: var(--accent); box-shadow: 0 10px 30px rgba(124, 92, 255, .4); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary.is-done { background: #2c9e60; box-shadow: 0 10px 30px rgba(61, 220, 132, .25); }
.btn-ghost { background: var(--surface); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface-hover); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-soft);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.accent { color: var(--accent); }
.text-link { color: var(--accent); font-weight: 600; }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 10; height: 64px;
  background: rgba(14, 14, 19, .85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.brand-icon { width: 28px; }
.brand b { color: var(--accent); }
.nav-actions { display: flex; gap: 8px; }

/* Hero */
.hero {
  padding: 90px 0 100px;
  background:
    radial-gradient(50% 70% at 80% 30%, rgba(124, 92, 255, .2), transparent 70%),
    radial-gradient(30% 50% at 100% 100%, rgba(255, 84, 160, .1), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 5.5vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -1.5px;
  margin: 16px 0 18px;
}
.lead { font-size: 16px; color: var(--text-soft); max-width: 470px; }
.actions { margin-top: 32px; }

.meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.meta li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 15px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
}
.meta span { font-size: 11px; color: var(--text-faint); }
.meta b { font-size: 14px; font-weight: 600; }

.notice {
  margin-top: 28px; padding: 14px 18px; border-radius: 10px; font-size: 14px;
  background: rgba(255, 194, 61, .08); border: 1px solid rgba(255, 194, 61, .25); color: #ffd98a;
}

.hero-visual { display: flex; justify-content: center; }
.app-card {
  width: 280px; padding: 40px 28px 30px; text-align: center;
  background: linear-gradient(160deg, rgba(124, 92, 255, .14), rgba(255, 255, 255, .02)), var(--card);
  border: 1px solid var(--border-strong); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  animation: float 6s ease-in-out infinite;
}
.app-icon { width: 120px; margin: 0 auto 22px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .5)); }
.app-name { font-size: 18px; font-weight: 700; }
.app-sub { font-size: 12px; color: var(--text-faint); margin-top: 4px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: 32px; font-weight: 800; letter-spacing: -.5px; margin-top: 10px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step, .card {
  padding: 26px; background: var(--card); border: 1px solid var(--border); border-radius: 14px;
}
.step-num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.step h3 { font-size: 18px; font-weight: 700; margin: 12px 0 8px; }
.step p, .card p { font-size: 14px; color: var(--text-soft); }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.card-wide { grid-column: 1 / -1; }
.list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text-soft); }
.list li::before {
  content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.hash { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; }
.hash code { flex: 1; min-width: 0; padding: 10px 12px; overflow-x: auto; white-space: nowrap; font-size: 12.5px; }
.hint { font-size: 12.5px !important; color: var(--text-faint) !important; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--panel); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--text-faint); }

@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid, .info-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .btn-lg { width: 100%; }
  .hash { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) { .app-card { animation: none; } }
