:root {
  --bg: #05060a;
  --panel: #0c0f1c;
  --panel-2: #121626;
  --line: rgba(120, 130, 180, .22);
  --text: #f1f3fb;
  --muted: #8b93b3;
  --green: #4ee3a0;
  --green-d: #1f7a57;
  --red: #ff5d7a;
  --amber: #f5c542;
  --orange: #f59a23;
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; }

/* ambience */
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(78, 227, 160, .08), transparent 70%),
    radial-gradient(70% 45% at 50% 105%, rgba(255, 90, 30, .28), transparent 70%);
}
.bg-mountains {
  position: fixed; left: 0; right: 0; bottom: 0; height: 55vh; z-index: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(180, 50, 20, .35), transparent 80%),
    conic-gradient(from 210deg at 22% 100%, transparent 0 20%, rgba(200, 70, 25, .22) 20% 30%, transparent 30%),
    conic-gradient(from 210deg at 70% 100%, transparent 0 18%, rgba(200, 70, 25, .18) 18% 32%, transparent 32%);
  opacity: .75;
  -webkit-mask-image: linear-gradient(to top, #000 45%, transparent);
  mask-image: linear-gradient(to top, #000 45%, transparent);
}
#embers { position: fixed; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; }

.topbar {
  position: relative; z-index: 5;
  max-width: 1100px; margin: 0 auto; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: .3px; }
.brand-flame { filter: drop-shadow(0 0 8px rgba(255, 120, 40, .8)); }

.page { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 10px 20px 60px; }

/* hero */
.hero { text-align: center; padding: 28px 0 40px; }
.hero h1 {
  font-size: clamp(38px, 7vw, 68px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.05;
  background: linear-gradient(180deg, #fff 30%, #c9d0e8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { margin: 22px auto 0; max-width: 560px; color: #c4c9de; font-size: clamp(16px, 2.4vw, 19px); line-height: 1.55; }

.compare { display: flex; justify-content: center; align-items: center; gap: 0; margin: 44px auto 0; max-width: 620px; }
.cmp { background: rgba(14, 18, 32, .85); border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; flex: 1; }
.cmp-label { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.cmp-val { font-size: 28px; font-weight: 800; color: #aeb5d2; }
.cmp-val.small { font-size: 22px; }
.cmp-val.struck { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; opacity: .75; }
.cmp-main {
  flex: 1.15; align-items: flex-start; padding: 24px 22px; z-index: 2;
  background: linear-gradient(160deg, rgba(14, 40, 34, .95), rgba(10, 24, 24, .95));
  border: 2.5px solid var(--green);
  box-shadow: 0 0 40px rgba(78, 227, 160, .35), inset 0 0 24px rgba(78, 227, 160, .08);
  animation: pulse 3.2s ease-in-out infinite;
}
.cmp-main .cmp-label { color: var(--green); }
.cmp-main .cmp-val { font-size: 52px; color: var(--green); line-height: 1; letter-spacing: -1px; }
.cmp-tag { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--green-d); filter: brightness(1.6); align-self: center; }
.cmp-side:first-child { margin-right: -10px; padding-right: 26px; }
.cmp-side:last-child { margin-left: -10px; padding-left: 26px; }
@keyframes pulse { 50% { box-shadow: 0 0 56px rgba(78, 227, 160, .5), inset 0 0 24px rgba(78, 227, 160, .1); } }

/* buttons */
.btn { border-radius: 14px; font-weight: 700; transition: transform .15s, box-shadow .2s, filter .2s; }
.btn-connect {
  background: linear-gradient(135deg, #7ff0bd, #4ee3a0 55%, #2fc98a);
  color: #04120d;
  box-shadow: 0 8px 28px rgba(78, 227, 160, .28);
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-connect:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 36px rgba(78, 227, 160, .42); }
.btn-connect:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: 18px; }
.cta-wrap { margin-top: 40px; }
.btn-buy { margin-left: 12px; text-decoration: none; }
.cta-note { margin-top: 12px; font-size: 12px; color: var(--muted); }

.mobile-note { display: none; margin-top: 48px; flex-direction: column; align-items: center; gap: 14px; }
.mobile-ico { color: var(--orange); }
.mobile-note h2 { font-size: 28px; line-height: 1.3; font-weight: 800; }
.mobile-note p { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 460px; }

/* cards */
.card {
  background: linear-gradient(180deg, rgba(14, 17, 30, .92), rgba(24, 14, 22, .88));
  border: 1px solid var(--line); border-radius: 26px; padding: 34px 32px; margin-top: 28px;
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.card-title { text-align: center; color: var(--green); font-size: 26px; font-weight: 800; margin-bottom: 28px; display: flex; justify-content: center; align-items: center; gap: 14px; }
.emo { font-size: 28px; }

.steps { list-style: none; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(78, 227, 160, .14); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 17px; border: 1px solid rgba(78, 227, 160, .25); }
.steps h3 { font-size: 20px; font-weight: 600; }
.steps p { margin-top: 4px; color: #7f86ad; font-size: 17px; line-height: 1.45; }

.tagline { text-align: center; font-size: 20px; font-weight: 700; margin-bottom: 26px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.help { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #9aa2c4; color: #9aa2c4; font-size: 14px; font-weight: 700; position: relative; flex: none; transition: .2s; }
.help:hover { color: var(--green); border-color: var(--green); }
.fee-box { background: rgba(18, 22, 38, .85); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 16px; }
.fee-box h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.fee-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 18px; color: #8b93b3; }
.fee-row strong { color: var(--text); font-weight: 700; text-align: right; }
.fee-row strong.green { color: var(--green); }
.hold { text-align: center; margin-top: 34px; font-weight: 700; font-size: 18px; }
.hold a { color: var(--orange); }

.notice { border-radius: 16px; padding: 28px 24px; text-align: center; margin-top: 18px; border: 1px solid; }
.notice h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.notice p { font-size: 19px; line-height: 1.45; }
.n-red { background: rgba(60, 12, 36, .7); border-color: rgba(255, 70, 110, .55); }
.n-red h3 { color: var(--red); }
.n-amber { background: rgba(70, 36, 14, .55); border-color: rgba(200, 120, 40, .55); }
.n-amber h3 { color: var(--amber); }
.n-slate { background: rgba(26, 30, 50, .8); border-color: var(--line); }
.n-slate p { color: #cfd4ea; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.pill { background: rgba(35, 42, 70, .9); border: 1px solid var(--line); border-radius: 12px; padding: 12px 26px; font-size: 18px; color: #cfd4ea; transition: .2s; }
.pill:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

.foot { text-align: center; margin-top: 40px; color: #5c6385; font-size: 13px; }

/* floating socials */
.float-socials { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 14px; }
.fs { width: 54px; height: 54px; border-radius: 50%; background: rgba(16, 20, 36, .92); border: 1.5px solid rgba(130, 140, 190, .4); display: grid; place-items: center; color: #fff; transition: .2s; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.fs:hover { transform: scale(1.1); border-color: var(--green); color: var(--green); }

/* modal */
.modal-back { position: fixed; inset: 0; z-index: 50; background: rgba(2, 3, 8, .78); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .2s; }
.modal-back[hidden] { display: none; }
.modal { position: relative; width: 100%; max-width: 440px; max-height: 86vh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); animation: pop .25s; }
.modal h2 { font-size: 24px; margin-bottom: 8px; }
.modal p { color: var(--muted); line-height: 1.6; font-size: 15px; }
.modal-x { position: absolute; top: 12px; right: 16px; font-size: 28px; color: var(--muted); }
.wallet-list { display: grid; gap: 10px; margin-top: 20px; }
.wallet { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; font-weight: 600; font-size: 16px; text-align: left; transition: .2s; width: 100%; }
.wallet:hover { border-color: var(--green); transform: translateX(3px); }
.wallet i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 17px; }
.demo-badge { display: inline-block; margin-top: 18px; font-size: 12px; color: var(--amber); background: rgba(245, 197, 66, .1); border: 1px solid rgba(245, 197, 66, .3); border-radius: 8px; padding: 6px 10px; }
.faq-item { border-top: 1px solid var(--line); padding: 14px 0; }
.faq-item:first-of-type { margin-top: 18px; }
.faq-q { width: 100%; display: flex; justify-content: space-between; text-align: left; font-weight: 600; font-size: 16px; }
.faq-q span { color: var(--green); transition: transform .2s; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; color: var(--muted); font-size: 14.5px; line-height: 1.6; transition: max-height .3s, margin .3s; }
.faq-item.open .faq-a { max-height: 200px; margin-top: 10px; }

.toast { position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 30px); background: #151a2e; border: 1px solid var(--line); border-radius: 12px; padding: 12px 20px; font-size: 14px; opacity: 0; pointer-events: none; transition: .3s; z-index: 80; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }

/* mobile = same layout as reference screenshots */
@media (max-width: 760px) {
  .topbar { padding: 14px 16px 0; }
  .topbar .btn-connect { display: none; }
  .brand { font-size: 16px; gap: 8px; opacity: .9; }
  .brand img { width: 26px; height: 26px; }
  .page { padding: 30px 14px 50px; }
  .hero { padding-top: 10px; }
  .hero h1 { font-size: 44px; }
  .compare { gap: 0; }
  .cmp { padding: 14px 10px; }
  .cmp-main .cmp-val { font-size: 40px; }
  .cmp-val { font-size: 22px; }
  .cmp-label { font-size: 9.5px; letter-spacing: 1.2px; }
  .cmp-side:first-child { padding-right: 18px; }
  .cmp-side:last-child { padding-left: 18px; }
  .cta-wrap { display: none; }
  .mobile-note { display: flex; }
  .card { padding: 28px 18px; border-radius: 24px; }
  .steps h3 { font-size: 18px; }
  .steps p { font-size: 15.5px; }
  .fee-row { font-size: 14.5px; white-space: nowrap; }
  .fee-box h3 { font-size: 20px; }
  .notice h3 { font-size: 20px; }
  .notice p { font-size: 17px; }
  .pill { font-size: 16px; padding: 10px 22px; }
  .float-socials { right: 8px; top: 30%; }
  .fs { width: 46px; height: 46px; }
}

/* brand */
.g { color: var(--green); -webkit-text-fill-color: var(--green); }
.brand img { filter: drop-shadow(0 0 10px rgba(78, 227, 160, .45)); }
.hero-logo { display: block; margin: 0 auto 18px; filter: drop-shadow(0 0 28px rgba(78, 227, 160, .45)) drop-shadow(0 10px 24px rgba(255, 90, 30, .25)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.hold a.tok { display: inline-flex; align-items: center; gap: 6px; vertical-align: -4px; }
.modal .token-logo { display: block; margin: 0 auto 16px; filter: drop-shadow(0 0 24px rgba(78, 227, 160, .45)); }
.modal .token-head { text-align: center; }
