:root {
  --pink: #ff007a;
  --pink-deep: #e0006c;
  --pink-soft: #ffe5f2;
  --lime: #fc72ff;
  --lime-ink: #111;
  --ink: #0d0b12;
  --muted: #6b6475;
  --line: #efe8f0;
  --panel: #f8f2f7;
  --white: #ffffff;
  --radius: 18px;
  --header-h: 56px;
  --dock-h: 72px;
  --max: 480px;
  --font: "Noto Sans SC", "Outfit", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --display: "Outfit", "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% 55% at 50% -8%, #ffd6ec 0%, transparent 58%),
    radial-gradient(80% 40% at 100% 20%, rgba(252, 114, 255, .12), transparent 50%),
    linear-gradient(180deg, #fff7fb 0%, #ffffff 30%, #ffffff 100%);
  line-height: 1.55;
  padding-top: 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.03em;
  line-height: 1.15;
  margin: 0;
}
p { margin: 0; }

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(13, 11, 18, .94);
  color: #fff;
  backdrop-filter: blur(12px);
}

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

.brand__mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

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

/* —— 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--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: var(--pink-deep); }
.btn--dark { background: #111; color: #fff; }
.btn--lime { background: #fc72ff; 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: var(--pink-soft);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #7a1948;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 0, 122, .18);
  animation: pulse 1.8s ease infinite;
}

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

.hero__title {
  margin-top: 18px;
  font-size: clamp(34px, 9vw, 44px);
  font-weight: 800;
  background: linear-gradient(120deg, #0d0b12 20%, #ff007a 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.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; }

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

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

.phone-stage {
  position: relative;
  height: 360px;
  border-radius: 28px;
  background:
    radial-gradient(70% 60% at 75% 18%, rgba(255, 0, 122, .45) 0%, transparent 55%),
    radial-gradient(50% 50% at 20% 80%, rgba(252, 114, 255, .25) 0%, transparent 50%),
    linear-gradient(160deg, #1a0f18 0%, #2a1224 55%, #120a12 100%);
  overflow: hidden;
  isolation: isolate;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 60%;
  background: radial-gradient(circle at 35% 40%, rgba(255, 0, 122, .35), transparent 60%);
  pointer-events: none;
  animation: glowDrift 8s ease-in-out infinite alternate;
}

@keyframes glowDrift {
  from { transform: translateX(-4%) scale(1); }
  to { transform: translateX(6%) scale(1.08); }
}

.phone {
  position: absolute;
  width: 168px;
  height: 300px;
  border-radius: 28px;
  background: #140f16;
  border: 2px solid #3a2a38;
  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, #1c141c, #120d14);
}

.phone__screen--live {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.swap-widget {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swap-row {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 10px 12px;
}

.swap-row__label {
  display: block;
  color: #a894a8;
  font-size: 10px;
  margin-bottom: 6px;
}

.swap-row__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.swap-row__main strong {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.token-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 4px 10px 4px 4px;
  font-size: 12px;
  font-weight: 700;
}

.token-pill__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.token-pill__dot--eth {
  background: linear-gradient(145deg, #8b9cff, #627eea);
}

.token-pill__dot--uni {
  background: linear-gradient(145deg, #ff5ca8, #ff007a);
}

.swap-arrow {
  align-self: center;
  width: 28px;
  height: 28px;
  margin: -4px 0;
  border-radius: 8px;
  background: #2a1e28;
  border: 1px solid #3d2d3a;
  color: #ff7ab8;
  display: grid;
  place-items: center;
  font-size: 14px;
  z-index: 1;
}

.swap-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #a894a8;
  font-size: 9px;
  padding: 0 2px;
}

.swap-meta__fee {
  color: #fc72ff;
  font-weight: 600;
}

.swap-cta {
  margin-top: 4px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff007a, #fc72ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  animation: ctaPulse 2.4s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

.mini-chart {
  height: 90px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, transparent 40%, rgba(255, 0, 122, .16)),
    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: 28px;
  letter-spacing: -0.04em;
  color: var(--pink);
}

.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;
  transition: border-color .2s ease, transform .2s ease;
}

.reward-item:active {
  transform: scale(.99);
  border-color: #f5b6d4;
}

.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--eth { background: linear-gradient(145deg, #627eea, #3b4fbf); }
.coin--uni { background: linear-gradient(145deg, #ff5ca8, #ff007a); font-size: 18px; }
.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: #fff7fb; }

.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: var(--pink-soft);
  color: var(--pink);
  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:
    radial-gradient(80% 60% at 100% 0%, rgba(255, 0, 122, .08), transparent 50%),
    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: var(--pink);
  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:
    radial-gradient(80% 80% at 100% 0%, rgba(252, 114, 255, .35), transparent 45%),
    linear-gradient(135deg, #ff007a 0%, #d10066 100%);
  color: #fff;
  border-radius: 28px;
  padding: 28px 22px 26px;
  text-align: left;
  box-shadow: 0 18px 40px rgba(255, 0, 122, .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, .9);
  font-size: 14.5px;
  max-width: 28em;
}

.disclaimer {
  margin: 18px 8px 0;
  color: #9a90a3;
  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(13, 11, 18, .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(45% 35% at 50% 0%, #ffd6ec 0%, transparent 60%),
      #faf5f8;
  }

  .site-header {
    left: 50%;
    right: auto;
    width: min(100%, var(--max));
    transform: translateX(-50%);
    border-radius: 0 0 16px 16px;
  }

  .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);
  }
}
