:root {
  --bg: #03060f;
  --bg-alt: #0b1220;
  --surface: rgba(16, 24, 44, 0.82);
  --surface-solid: rgba(14, 23, 42, 0.95);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --text-muted: rgba(226, 232, 240, 0.72);
  --text-soft: rgba(226, 232, 240, 0.58);
  --accent: #5a7cff;
  --accent-strong: #7c5cff;
  --accent-soft: rgba(88, 120, 255, 0.2);
  --success: #22d3ee;
  --card-radius: 26px;
  --shadow-lg: 0 46px 90px -38px rgba(13, 23, 44, 0.88);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(130% 110% at 90% -10%, rgba(90, 124, 255, 0.26) 0%, rgba(4, 6, 13, 0.2) 40%, rgba(4, 7, 13, 0.95) 100%),
    radial-gradient(100% 140% at -10% -10%, rgba(124, 92, 255, 0.24) 0%, rgba(3, 6, 11, 0.3) 35%, rgba(3, 6, 11, 0.92) 100%),
    linear-gradient(180deg, #02040a 0%, #0a1222 100%);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 28px 0 10px;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(5, 9, 17, 0.92) 0%, rgba(5, 9, 17, 0) 100%);
  pointer-events: none;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.brand img {
  height: 44px;
  filter: drop-shadow(0 10px 24px rgba(20, 40, 80, 0.35));
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: all 0.2s ease;
  font-weight: 500;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  box-shadow: 0 26px 52px -28px var(--accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 36px 60px -32px var(--accent);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

main {
  display: block;
}

.hero {
  padding: 110px 0 150px;
}

.hero-grid {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  }
}

.hero-grid::after {
  content: '';
  position: absolute;
  right: -180px;
  top: -160px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 124, 255, 0.26) 0%, rgba(90, 124, 255, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.26rem);
  max-width: 580px;
  color: rgba(236, 239, 244, 0.78);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-footnote {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.popup-mock {
  background: linear-gradient(210deg, rgba(252, 254, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 80%);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.popup-mock::after {
  content: '';
  position: absolute;
  inset: -30% -20% auto;
  height: 330px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0) 68%);
  pointer-events: none;
}

.popup-mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.16);
  color: #0ea5b0;
  font-weight: 600;
  font-size: 0.82rem;
}

.popup-balance {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.popup-balance strong {
  font-size: 2.4rem;
}

.progress-card {
  background: rgba(12, 18, 36, 0.7);
  border-radius: 22px;
  padding: 20px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.section {
  padding: clamp(90px, 10vw, 130px) 0;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 52px;
}

.card-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: var(--surface);
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 36px);
  backdrop-filter: blur(18px);
}

.card h3 {
  font-size: 1.38rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.how-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .how-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step-card {
  background: rgba(15, 23, 42, 0.82);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(88, 120, 255, 0.24);
  display: grid;
  place-items: center;
  font-weight: 600;
  margin-bottom: 16px;
}

.dual-column {
  display: grid;
  gap: 30px;
}

@media (min-width: 900px) {
  .dual-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.money-flow {
  display: grid;
  gap: 20px;
}

.money-flow li {
  list-style: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-grid {
  display: grid;
  gap: 20px;
}

.faq-grid details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-grid p {
  margin-top: 12px;
  color: var(--text-muted);
}

.site-footer {
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .popup-mock {
    order: -1;
  }
}
