@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --gold: #f59e0b;
  --green: #10b981;
  --bg: #faf8ff;
  --bg-card: rgba(255, 255, 255, 0.72);
  --text: #1e1b4b;
  --text-muted: #64748b;
  --border: rgba(124, 58, 237, 0.12);
  --radius: 20px;
  --font: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Outfit", "DM Sans", sans-serif;
  --max-w: 1140px;
  --shadow: 0 24px 64px rgba(124, 58, 237, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-layer__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(124, 58, 237, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(37, 99, 235, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(6, 182, 212, 0.08), transparent 55%),
    var(--bg);
}
.bg-layer__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.bg-layer__orb--1 {
  width: 480px; height: 480px;
  background: rgba(167, 139, 250, 0.35);
  top: -120px; right: -80px;
}
.bg-layer__orb--2 {
  width: 360px; height: 360px;
  background: rgba(37, 99, 235, 0.25);
  bottom: 10%; left: -60px;
  animation-delay: -5s;
}
.bg-layer__orb--3 {
  width: 280px; height: 280px;
  background: rgba(6, 182, 212, 0.2);
  top: 45%; right: 15%;
  animation-delay: -9s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.05); }
}

.page { position: relative; z-index: 1; }
.container { width: min(var(--max-w), calc(100% - 40px)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(250, 248, 255, 0.82);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 42px; height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  overflow: hidden;
}
.brand__logo--image { background: #fff; padding: 4px; }
.brand__logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(124, 58, 237, 0.42); }
.btn--outline {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
  color: var(--purple);
}
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn.is-disabled { opacity: 0.5; pointer-events: none; }

.hero { padding: 64px 0 48px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  color: var(--purple);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.hero__title-highlight {
  background: linear-gradient(135deg, var(--purple), var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__desc { color: var(--text-muted); font-size: 17px; margin: 0 0 28px; max-width: 480px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.hero-card {
  position: relative;
  padding: 40px 36px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  text-align: center;
  overflow: hidden;
}
.hero-card__label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-card__amount { margin: 16px 0 8px; }
.hero-card__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 64px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-card__unit { font-size: 24px; font-weight: 700; color: var(--text-muted); margin-left: 6px; }
.hero-card__note { font-size: 14px; color: var(--green); font-weight: 600; }
.hero-card__rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-card__rings span {
  position: absolute;
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 50%;
  animation: ring-expand 4s ease-out infinite;
}
.hero-card__rings span:nth-child(1) { width: 120%; height: 120%; animation-delay: 0s; }
.hero-card__rings span:nth-child(2) { width: 140%; height: 140%; animation-delay: 1.3s; }
.hero-card__rings span:nth-child(3) { width: 160%; height: 160%; animation-delay: 2.6s; }
@keyframes ring-expand {
  0% { opacity: 0.6; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.1); }
}

.section { padding: 56px 0; }
.section-head { margin-bottom: 32px; }
.section-head--center { text-align: center; }
.section-head__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  margin: 0;
}
.section-head__desc { color: var(--text-muted); margin: 12px auto 0; max-width: 560px; }

.wallet-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.wallet-item {
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wallet-item--link { cursor: pointer; }
.wallet-item--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.wallet-item__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.wallet-item__icon img { width: 100%; height: 100%; object-fit: cover; }
.wallet-item__name { font-weight: 700; font-size: 15px; }
.wallet-item__note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.ios-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(37,99,235,0.06));
  border: 1px solid var(--border);
}
.ios-note svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--text); }
.ios-note strong { display: block; margin-bottom: 4px; }
.ios-note p { margin: 0; font-size: 14px; color: var(--text-muted); }

.section--disclosure { background: rgba(255,255,255,0.5); }
.disclosure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.disclosure-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.disclosure-card--loading { opacity: 0.7; }
.disclosure-card--invalid { border-color: rgba(239, 68, 68, 0.3); }
.disclosure-card__label { font-weight: 700; font-size: 14px; color: var(--purple); margin-bottom: 8px; }
.disclosure-card__address {
  font-family: monospace;
  font-size: 12px;
  color: var(--text-muted);
  word-break: break-all;
  margin-bottom: 16px;
}
.disclosure-card__usdt {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
}
.disclosure-card__usdt.is-up { color: #059669; }
.disclosure-card__usdt.is-down { color: #dc2626; }
.disclosure-card__trx { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.disclosure-card__delta { font-size: 12px; font-weight: 600; margin-left: 8px; }
.disclosure-card__delta.is-up { color: var(--green); }
.disclosure-card__delta.is-down { color: #dc2626; }
.disclosure-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.disclosure-card__link svg { width: 14px; height: 14px; }
.disclosure-foot { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 24px; }
.disclosure-live { color: var(--purple); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}
.step-card__num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}
.step-card h3 { margin: 0 0 8px; font-size: 16px; }
.step-card p { margin: 0; font-size: 13px; color: var(--text-muted); }

.cta-panel {
  text-align: center;
  padding: 56px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(37,99,235,0.08));
  border: 1px solid var(--border);
}
.cta-panel__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  margin: 0 0 12px;
}
.cta-panel__desc { color: var(--text-muted); margin: 0 0 28px; }

.footer {
  padding: 32px 0 100px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 248, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}
.mobile-bar .btn { width: 100%; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .wallet-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding-top: 32px; }
  .wallet-row { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .mobile-bar { display: block; }
  .footer { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
