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

:root {
  --bg: #0a0a0f;
  --surface: #13131a;
  --border: #1e1e2a;
  --accent: #6c63ff;
  --accent-light: #8b84ff;
  --green: #43e97b;
  --red: #ff6584;
  --yellow: #f7c844;
  --text: #f0f0f5;
  --text2: #9898b0;
  --text3: #4a4a60;
  --font: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; overflow-x: hidden; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(10,10,15,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 20px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff; padding: 10px 22px; border-radius: 100px; font-weight: 600; font-size: 14px; text-decoration: none; transition: opacity 0.2s, transform 0.2s; }
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(108,99,255,0.12); border: 1px solid rgba(108,99,255,0.3);
  border-radius: 100px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: var(--accent-light);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 80px); font-weight: 800; letter-spacing: -2px; line-height: 1.1;
  margin-bottom: 20px; max-width: 800px;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: clamp(16px, 2vw, 20px); color: var(--text2); max-width: 560px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-hero {
  padding: 15px 32px; border-radius: 100px; font-family: var(--font); font-size: 16px;
  font-weight: 700; cursor: pointer; text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary { background: var(--accent); color: #fff; box-shadow: 0 0 40px rgba(108,99,255,0.4); }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(108,99,255,0.5); }
.btn-hero-secondary { background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--border); }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.08); }

/* ---- MOCKUP ---- */
.mockup-wrap {
  margin-top: 64px; position: relative; max-width: 380px; width: 100%;
}
.mockup {
  background: var(--surface); border: 1px solid var(--border); border-radius: 32px;
  padding: 20px; box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
}
.mockup::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(108,99,255,0.2) 0%, transparent 70%);
}
.mockup-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mockup-logo { font-size: 14px; font-weight: 700; color: var(--accent); }
.mockup-balance { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.mockup-label { font-size: 11px; color: var(--text2); margin-bottom: 4px; }
.mockup-value { font-size: 28px; font-weight: 700; font-family: var(--mono); letter-spacing: -1px; }
.mockup-sub { display: flex; gap: 16px; margin-top: 10px; }
.mockup-sub-item { display: flex; align-items: center; gap: 5px; font-size: 11px; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.mockup-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.mockup-card-label { font-size: 10px; color: var(--text2); margin-bottom: 3px; }
.mockup-card-value { font-size: 16px; font-weight: 700; font-family: var(--mono); }
.mockup-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.mockup-item:last-child { border-bottom: none; }
.mockup-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.mockup-item-info { flex: 1; }
.mockup-item-name { font-size: 12px; font-weight: 500; }
.mockup-item-sub { font-size: 10px; color: var(--text2); }
.mockup-item-val { font-size: 13px; font-weight: 700; font-family: var(--mono); }

/* Floating badges */
.float-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px; font-size: 12px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4); white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.float-badge-1 { left: -60px; top: 30%; animation-delay: 0s; }
.float-badge-2 { right: -60px; top: 55%; animation-delay: 1.5s; }

/* ---- FEATURES ---- */
.section { padding: 96px 24px; max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--text2); max-width: 560px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 56px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(108,99,255,0.4); transform: translateY(-4px); }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ---- HOW IT WORKS ---- */
.how-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 56px; }
.how-step { text-align: center; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: rgba(108,99,255,0.12); border: 1px solid rgba(108,99,255,0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 20px; font-weight: 800; color: var(--accent); }
.how-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--text2); }

/* ---- CTA FINAL ---- */
.cta-section {
  text-align: center; padding: 96px 24px;
  background: radial-gradient(ellipse at center, rgba(108,99,255,0.1) 0%, transparent 70%);
}
.cta-section h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta-section p { font-size: 18px; color: var(--text2); margin-bottom: 40px; }

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border); padding: 32px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  max-width: 1100px; margin: 0 auto; font-size: 13px; color: var(--text3);
}

@media (max-width: 640px) {
  nav { padding: 14px 20px; }
  .float-badge-1, .float-badge-2 { display: none; }
  footer { flex-direction: column; gap: 8px; text-align: center; }
}
