:root {
  --bg: #07040d;
  --card: rgba(255,255,255,0.025);
  --card-solid: #0f0a18;
  --card-2: #140d20;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.12);
  --text: #f6f2fb;
  --muted: #a49cb3;
  --dim: #6c6480;
  --accent: #a855f7;
  --accent-soft: #c084fc;
  --grad: linear-gradient(135deg, #a855f7, #8b5cf6);
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* faint grid that fades out toward the bottom */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }

/* Breathing glows */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: -1; }
.glow-a { width: 720px; height: 420px; left: 50%; top: -120px; background: rgba(168,85,247,0.32); animation: breathe-c 8s ease-in-out infinite; }
.glow-b { width: 360px; height: 360px; left: 8%; top: 380px; background: rgba(139,92,246,0.18); animation: breathe 10s ease-in-out infinite; }
.glow-c { width: 320px; height: 320px; right: 6%; top: 240px; background: rgba(192,132,252,0.14); animation: breathe 12s ease-in-out infinite reverse; }
@keyframes breathe { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .9; transform: scale(1.12); } }
@keyframes breathe-c { 0%,100% { opacity: .5; transform: translateX(-50%) scale(1); } 50% { opacity: .9; transform: translateX(-50%) scale(1.12); } }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; position: sticky; top: 0; z-index: 20;
  background: rgba(7,4,13,0.74); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 17px; }
.logo-mark {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px;
  background: var(--grad); color: #fff; box-shadow: 0 6px 20px -6px rgba(168,85,247,.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.logo-mark svg { width: 16px; height: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:not(.btn) { transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font: 600 14px var(--sans);
  cursor: pointer; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .2s, border-color .2s;
}
.btn svg { width: 15px; height: 15px; }
.btn-light {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 30px -12px rgba(168,85,247,.6), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(168,85,247,.8), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-light svg { animation: nudge 3.2s ease-in-out infinite; }
@keyframes nudge { 0%,86%,100% { transform: translateY(0); } 92% { transform: translateY(-3px) scale(1.08); } }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Hero */
.hero { position: relative; text-align: center; padding: 96px 20px 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; font: 12px var(--mono); color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.pill b { color: var(--text); font-weight: 600; }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #34d399; flex-shrink: 0; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 70%,100% { transform: scale(2.4); opacity: 0; } }

.hero h1 { font-size: clamp(42px, 7vw, 80px); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; margin: 28px 0 24px; }
.shine {
  background: linear-gradient(100deg, #fff 0%, #f0d9ff 30%, #c084fc 56%, #fff 92%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
.hero p { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 560px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.checks { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; font: 11px var(--mono); color: var(--dim); }
.checks span { display: inline-flex; align-items: center; gap: 6px; }
.checks svg { width: 12px; height: 12px; color: var(--accent-soft); }

/* Hero mockup */
.mock {
  position: relative; max-width: 880px; margin: 64px auto 0; text-align: left;
  border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20,13,32,.9), rgba(10,6,18,.95));
  box-shadow: 0 40px 120px -40px rgba(168,85,247,.45);
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.mock-url { margin-left: 12px; flex: 1; max-width: 320px; padding: 5px 12px; border-radius: 8px; background: rgba(255,255,255,.04); font: 11px var(--mono); color: var(--dim); }
.mock-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; padding: 22px; }
.mock-field { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); margin-bottom: 10px; }
.mock-field small { display: block; font: 10px var(--mono); color: var(--dim); letter-spacing: .08em; margin-bottom: 4px; }
.mock-field b { font-size: 14px; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-toggle { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); padding: 8px 0; }
.switch { width: 30px; height: 17px; border-radius: 999px; background: rgba(255,255,255,.1); position: relative; }
.switch::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: .3s var(--ease); }
.switch.on { background: var(--accent); }
.switch.on::after { left: 15px; }
.deploy-card { border: 1px solid rgba(168,85,247,.35); border-radius: 14px; padding: 18px; background: rgba(168,85,247,.06); }
.deploy-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.token-ava { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 8px 24px -8px rgba(168,85,247,.8); }
.deploy-head small { font: 11px var(--mono); color: var(--dim); }
.progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin: 14px 0 8px; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; animation: load 4.5s var(--ease) infinite; }
@keyframes load { 0% { width: 0; } 70%,100% { width: 100%; } }
.steps-log { font: 11px var(--mono); color: var(--dim); line-height: 1.9; }
.steps-log .ok { color: #34d399; }

/* Marquee */
.marquee { margin: 72px 0 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; font: 12px var(--mono); color: var(--muted); white-space: nowrap; letter-spacing: .06em; }
.marquee-track span::after { content: "✦"; color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.stat b { display: block; font: 600 34px var(--mono); letter-spacing: -0.03em; margin-bottom: 6px; }
.stat b em { font-style: normal; color: var(--accent-soft); }
.stat small { color: var(--dim); font-size: 13px; }

/* Sections */
section.block { padding: 110px 0 0; }
.eyebrow { text-align: center; color: var(--accent-soft); font: 12px var(--mono); letter-spacing: .1em; }
.eyebrow::before { content: "// "; color: var(--dim); }
.section-title { text-align: center; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.035em; margin: 14px 0 48px; }
.section-sub { text-align: center; color: var(--muted); font-size: 15px; margin: -32px 0 36px; }

.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .4s var(--ease);
}
/* cursor spotlight */
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(168,85,247,.14), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.spot:hover { border-color: rgba(168,85,247,.35); transform: translateY(-3px); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature { padding: 28px; }
.icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; margin-bottom: 18px;
  border: 1px solid rgba(168,85,247,.3); background: rgba(168,85,247,.1); color: var(--accent-soft);
}
.icon svg { width: 18px; height: 18px; }
.feature h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 26px; }
.step .num { font: 600 12px var(--mono); color: var(--accent-soft); margin-bottom: 30px; display: flex; align-items: center; gap: 10px; }
.step .num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(168,85,247,.4), transparent); }
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.pricing { max-width: 420px; margin: 0 auto; padding: 26px; }
.row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); padding: 9px 0; }
.row .mono { font-size: 13px; color: var(--text); }
.row.total { color: var(--text); font-weight: 700; }
.row.total .mono { color: var(--accent-soft); font-size: 15px; }
.divider { height: 1px; background: var(--line); margin: 10px 0 16px; }

.cta-box {
  margin: 110px auto 0; text-align: center; padding: 72px 20px; overflow: hidden;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(168,85,247,.22), transparent 70%), var(--card-solid);
  border-color: rgba(168,85,247,.3);
}
.cta-box h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 12px; }
.cta-box p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }

footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 1040px; margin: 0 auto; color: var(--dim); font-size: 12px; padding: 60px 20px 40px; border-top: 1px solid var(--line); margin-top: 110px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1s; }

/* Launch page */
.page { position: relative; max-width: 860px; margin: 0 auto; padding: 56px 20px 80px; }
.page h1, .dash h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; }
.page .lead, .dash .lead { color: var(--muted); font-size: 15px; margin: 6px 0 32px; }
.launch-grid { display: grid; grid-template-columns: 1fr 260px; gap: 26px; align-items: start; }
.field { margin-bottom: 20px; }
.field label, .label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.field label em { font-style: normal; color: var(--dim); font-weight: 400; }
.input, textarea.input {
  width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--text); font: 14px var(--sans); padding: 11px 13px; outline: none; transition: border .2s, box-shadow .2s;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(168,85,247,.15); }
.input::placeholder { color: var(--dim); }
.input.mono { font-family: var(--mono); font-size: 13px; }
.input.upper { text-transform: uppercase; }
textarea.input { min-height: 70px; resize: vertical; }
.hint { text-align: right; font: 11px var(--mono); color: var(--dim); margin-top: 4px; }
.input-wrap { position: relative; }
.input-wrap .suffix { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); font: 11px var(--mono); pointer-events: none; }
.input.invalid { border-color: #f87171; }
.error { color: #f87171; font-size: 12px; margin-top: 5px; display: none; }
.error.show { display: block; }

.file-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); cursor: pointer; }
.file-row input { display: none; }
.or { display: flex; align-items: center; gap: 10px; color: var(--dim); font: 10px var(--mono); margin: 12px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.option {
  display: flex; gap: 14px; padding: 16px; margin-bottom: 10px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.02); transition: .25s var(--ease);
}
.option:hover { border-color: rgba(168,85,247,.35); }
.option input { appearance: none; width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; border: 1px solid var(--line-2); border-radius: 5px; background: rgba(255,255,255,.04); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.option input:checked { background: var(--accent); border-color: var(--accent); }
.option input:checked::after { content: ""; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px,-1px); }
.option.on { border-color: var(--accent); background: rgba(168,85,247,.08); box-shadow: 0 0 0 4px rgba(168,85,247,.08); }
.option .body { flex: 1; }
.option .top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.option .top .mono { font-size: 11px; color: var(--accent-soft); font-weight: 500; }
.option p { color: var(--muted); font-size: 12px; line-height: 1.6; }

.side { position: sticky; top: 90px; display: grid; gap: 12px; }
.side .card { padding: 18px; }
.side-title { font: 10px var(--mono); color: var(--dim); letter-spacing: .12em; margin-bottom: 14px; }
.preview { display: flex; align-items: center; gap: 12px; }
.coin-img {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(168,85,247,.3); background: rgba(168,85,247,.1);
  display: grid; place-items: center; color: var(--accent-soft); overflow: hidden; flex-shrink: 0;
}
.coin-img img { width: 100%; height: 100%; object-fit: cover; }
.preview b { display: block; font-size: 15px; word-break: break-word; }
.preview small { font: 11px var(--mono); color: var(--dim); letter-spacing: .08em; }
.side .row { font-size: 12px; padding: 6px 0; }
.side .row .mono { font-size: 12px; }
.side .row.total .mono { font-size: 18px; }
.side .divider { margin: 8px 0; }
.side .btn { margin-top: 16px; }

/* Dashboard */
.dash { position: relative; max-width: 900px; margin: 0 auto; padding: 56px 20px 80px; }
.empty { text-align: center; padding: 80px 20px; }
.empty .coin-img { width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 16px; }
.empty b { display: block; font-size: 17px; margin-bottom: 6px; }
.empty p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.coins { display: grid; gap: 12px; }
.coin-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.coin-row .meta { flex: 1; min-width: 0; }
.coin-row .meta b { font-size: 16px; }
.coin-row .meta small { color: var(--accent-soft); font: 12px var(--mono); margin-left: 8px; }
.coin-row .addr { color: var(--dim); font: 11px var(--mono); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { font: 10px var(--mono); padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(168,85,247,.3); color: var(--accent-soft); background: rgba(168,85,247,.08); }
.status { font: 11px var(--mono); color: #34d399; display: flex; align-items: center; gap: 8px; white-space: nowrap; justify-content: flex-end; }
.coin-row .paid { font: 13px var(--mono); color: var(--muted); text-align: right; }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(7,4,13,.75); backdrop-filter: blur(6px); display: none; place-items: center; z-index: 50; padding: 20px; }
.modal-bg.show { display: grid; animation: fade .3s; }
.modal { max-width: 400px; width: 100%; padding: 32px; text-align: center; background: var(--card-solid); border-color: rgba(168,85,247,.3); animation: pop .5s var(--ease); }
.modal h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.modal p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.spinner { width: 40px; height: 40px; margin: 0 auto 20px; border-radius: 50%; border: 3px solid rgba(255,255,255,.08); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

@media (max-width: 760px) {
  .nav { padding: 12px 16px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 64px 18px 20px; }
  .mock-body, .stats, .steps, .features, .launch-grid { grid-template-columns: 1fr; }
  .side { position: static; order: -1; }
  footer { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Payment popup */
.modal { max-width: 440px; max-height: calc(100vh - 40px); overflow-y: auto; text-align: center; }
.pay-head { display: flex; justify-content: center; margin-bottom: 14px; }
.pay-head .logo-mark { width: 44px; height: 44px; border-radius: 13px; }
.pay-head .logo-mark svg { width: 24px; height: 24px; }
.modal .pay-sub { margin-bottom: 22px; }
.pay-label { font: 11px var(--mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.pay-amount { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; color: var(--accent-soft); margin-bottom: 20px; }
.pay-addr { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.03); margin-bottom: 14px; text-align: left; }
.pay-addr .mono { flex: 1; font-size: 12px; word-break: break-all; line-height: 1.5; }
.pay-addr .btn { padding: 8px 14px; font-size: 12px; flex-shrink: 0; }
.pay-warn { font-size: 12px; line-height: 1.6; color: #fcd34d; background: rgba(252,211,77,.07); border: 1px solid rgba(252,211,77,.22); border-radius: 12px; padding: 12px 14px; text-align: left; margin-bottom: 20px; }
.pay-coin { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); margin-bottom: 18px; text-align: left; }
.pay-coin b { display: block; font-size: 15px; word-break: break-word; }
.pay-coin small { font-size: 11px; color: var(--dim); letter-spacing: .08em; }
.status.pending { color: #fcd34d; }
.status.pending .dot { background: #fcd34d; }

/* Simpler layout */
.hero { padding: 150px 20px 30px; }
.hero p { margin-bottom: 32px; }
.section-title { margin-bottom: 32px; }
.pricing { margin-top: 0; }
footer { margin-top: 120px; }
.step .num::after { display: none; } .step .num { margin-bottom: 18px; }
