:root {
  --blue: #0055ff;
  --blue-deep: #0044d6;
  --lime: #c8ff00;
  --lime-ink: #111;
  --ink: #0a0a0a;
  --muted: #6b7280;
  --line: #e8eaef;
  --panel: #f3f5f8;
  --white: #ffffff;
  --radius: 18px;
  --header-h: 56px;
  --promo-h: 40px;
  --dock-h: 72px;
  --max: 480px;
  --font: "Noto Sans SC", "Sora", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --display: "Sora", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(120% 60% at 50% -10%, #e8f0ff 0%, transparent 55%),
    linear-gradient(180deg, #f7f8fb 0%, #ffffff 28%, #ffffff 100%);
  line-height: 1.55;
  padding-top: calc(var(--promo-h) + var(--header-h));
  padding-bottom: calc(var(--dock-h) + 28px + env(safe-area-inset-bottom));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
p { margin: 0; }

/* —— Promo + Header —— */
.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--promo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 14px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 13px;
  font-weight: 600;
}

.promo-bar__btn {
  flex: none;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
}

.site-header {
  position: fixed;
  top: var(--promo-h);
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #000;
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--lime);
  color: #111;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
}

.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(.97); }
.btn--sm { height: 34px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; height: 54px; font-size: 16px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); }
.btn--dark { background: #111; color: #fff; }
.btn--lime { background: var(--lime); color: #111; }

/* —— Layout —— */
.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px 20px 8px;
}

.section h2 {
  font-size: clamp(26px, 7vw, 32px);
  font-weight: 800;
}

.section__lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

/* —— Hero —— */
.hero { padding-top: 22px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef2f7;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .18);
  animation: pulse 1.8s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .08); }
}

.hero__title {
  margin-top: 18px;
  font-size: clamp(30px, 8.4vw, 38px);
  font-weight: 800;
}

.hero__lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  max-width: 34em;
}

.hero__actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}

.hero__actions .btn { flex: 1; }

.platform-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}

.platform-card:hover { border-color: #c9d2e3; transform: translateY(-1px); }

.platform-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f3f5f8;
  display: grid;
  place-items: center;
  color: #111;
}

.platform-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.platform-card strong {
  font-size: 15px;
  font-weight: 700;
}

.fineprint {
  margin-top: 14px;
  color: #9aa3b2;
  font-size: 12px;
  text-align: left;
}

/* —— Phone showcase —— */
.showcase { padding-top: 18px; }

.phone-stage {
  position: relative;
  height: 360px;
  border-radius: 28px;
  background:
    radial-gradient(80% 70% at 70% 20%, #2a3b63 0%, transparent 55%),
    linear-gradient(160deg, #0b1220 0%, #151d2e 55%, #0a101b 100%);
  overflow: hidden;
  isolation: isolate;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 60%;
  background: radial-gradient(circle at 30% 40%, rgba(0, 85, 255, .35), transparent 60%);
  pointer-events: none;
}

.phone {
  position: absolute;
  width: 168px;
  height: 300px;
  border-radius: 28px;
  background: #0e1422;
  border: 2px solid #2a3348;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  overflow: hidden;
}

.phone--back {
  left: 18px;
  top: 54px;
  transform: rotate(-8deg) scale(.92);
  opacity: .75;
  z-index: 1;
}

.phone--front {
  right: 28px;
  top: 28px;
  z-index: 2;
  animation: floatPhone 4.5s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 10px;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}

.phone__screen {
  height: 100%;
  padding: 28px 12px 12px;
  background: linear-gradient(180deg, #121826, #0b101a);
}

.phone__screen--live {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
}

.app-top span { font-size: 11px; color: #9fb0d0; }
.app-top strong { font-size: 20px; font-family: var(--display); letter-spacing: -0.03em; }

.candle-chart {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
}

.candle-chart__line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: drawLine 1.6s ease forwards .3s;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.app-stats div {
  background: rgba(255, 255, 255, .04);
  border-radius: 10px;
  padding: 8px 6px;
  color: #fff;
}

.app-stats small {
  display: block;
  color: #8ea0c0;
  font-size: 9px;
}

.app-stats b {
  font-size: 11px;
  font-family: var(--display);
}

.mini-chart {
  height: 90px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, transparent 40%, rgba(34, 197, 94, .12)),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,255,255,.04) 10px 11px);
  margin-bottom: 12px;
}

.mini-list span {
  display: block;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  margin-bottom: 8px;
}

.float-card {
  position: absolute;
  left: 16px;
  bottom: 18px;
  z-index: 3;
  width: min(210px, 58%);
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  animation: riseIn .8s ease both .2s;
}

.float-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.float-card strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.float-card span {
  display: block;
  margin-top: 4px;
  color: #4b5563;
  font-size: 12px;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reward-row {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.reward-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.reward-item strong { display: block; font-size: 15px; }
.reward-item small { color: var(--muted); font-size: 12.5px; }

.coin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.coin--btc { background: linear-gradient(145deg, #f7931a, #d97706); }
.coin--eth { background: linear-gradient(145deg, #627eea, #3b4fbf); }
.coin--sol { background: linear-gradient(145deg, #14f195, #9945ff); }

/* —— Market ticker —— */
.ticker {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.ticker__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ticker__row:last-child { border-bottom: 0; }
.ticker__row:active { background: #f8fafc; }

.ticker__coin {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  font-family: var(--display);
}

.ticker__coin strong { display: block; font-size: 14px; }
.ticker__coin small { color: var(--muted); font-size: 12px; }

.ticker__chg {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  min-width: 64px;
  text-align: right;
}

.ticker__chg.up { color: #16a34a; }
.ticker__chg.down { color: #dc2626; }

.ticker__trade {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border: 0;
}

/* —— Features —— */
.feature-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  gap: 14px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.feature-list__num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e8efff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  font-family: var(--display);
}

.feature-list h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.feature-list p {
  color: var(--muted);
  font-size: 14px;
}

/* —— Steps —— */
.steps-panel {
  background: var(--panel);
  border-radius: 24px;
  padding: 24px 18px 22px;
}

.step-list {
  list-style: none;
  margin: 18px 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 14px;
  border: 1px solid rgba(0, 0, 0, .04);
}

.step-list__num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  font-family: var(--display);
}

.step-list strong {
  display: block;
  font-size: 15px;
}

.step-list span {
  color: var(--muted);
  font-size: 13px;
}

.steps .fineprint { text-align: center; }

/* —— Trust —— */
.trust-grid {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.trust-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
}

.trust-grid h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.trust-grid p {
  color: var(--muted);
  font-size: 14px;
}

/* —— FAQ —— */
.accordion {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 4px;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::before {
  content: "▶";
  font-size: 11px;
  color: #111;
  transition: transform .2s ease;
}

.accordion details[open] summary::before {
  transform: rotate(90deg);
}

.accordion details p {
  padding: 0 4px 16px 24px;
  color: var(--muted);
  font-size: 14px;
}

/* —— CTA band —— */
.cta-card {
  background: var(--blue);
  color: #fff;
  border-radius: 28px;
  padding: 28px 22px 26px;
  text-align: left;
  box-shadow: 0 18px 40px rgba(0, 85, 255, .28);
}

.cta-card h2 {
  font-size: clamp(24px, 6.5vw, 30px);
  max-width: 10em;
}

.cta-card p {
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, .88);
  font-size: 14.5px;
  max-width: 28em;
}

.disclaimer {
  margin: 18px 8px 0;
  color: #9aa3b2;
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
}

/* —— Dock —— */
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 12px 14px 12px 18px;
  background: rgba(10, 10, 10, .94);
  color: #fff;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  transform: translateY(120%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

.dock.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.dock__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dock__copy strong {
  font-size: 14.5px;
  font-weight: 700;
}

.dock__copy span {
  color: #a1a1aa;
  font-size: 12px;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Desktop comfort */
@media (min-width: 720px) {
  body {
    background:
      radial-gradient(50% 40% at 50% 0%, #e8f0ff 0%, transparent 60%),
      #f4f6fa;
  }

  .promo-bar,
  .site-header {
    left: 50%;
    right: auto;
    width: min(100%, var(--max));
    transform: translateX(-50%);
  }

  .site-header { border-radius: 0 0 16px 16px; }
  .promo-bar { border-radius: 0; }

  .dock {
    left: 50%;
    right: auto;
    width: min(calc(100% - 24px), calc(var(--max) - 24px));
    transform: translate(-50%, 120%);
  }

  .dock.is-visible {
    transform: translate(-50%, 0);
  }
}
