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

:root {
  --purple-start: #667eea;
  --purple-end: #764ba2;
  --accent: #FF6B6B;
  --accent-end: #EE5A24;
  --bg: #0f0a1a;
  --bg-section: #130e20;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-subtle: rgba(255, 255, 255, 0.4);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero ── */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-start) 0%, var(--purple-end) 100%);
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.circle-1 {
  width: 50vw;
  height: 50vw;
  top: -12vw;
  right: -10vw;
}

.circle-2 {
  width: 35vw;
  height: 35vw;
  bottom: -8vw;
  left: -8vw;
}

.circle-3 {
  width: 20vw;
  height: 20vw;
  bottom: 20%;
  right: 5%;
  background: rgba(255, 255, 255, 0.03);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.mini-cards {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.mini-card {
  width: 56px;
  height: 72px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.mini-card:hover {
  transform: translateY(-4px) rotate(0deg) !important;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -2px;
  margin-bottom: 8px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  line-height: 1.1;
}

.tagline {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 5px;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Store Buttons ── */

.store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
}

.store-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  text-align: left;
}

.store-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-align: left;
}

/* ── Features ── */

.features {
  padding: 100px 24px;
  background: var(--bg-section);
}

.features h2,
.how-it-works h2 {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.features-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 32px 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── How it Works ── */

.how-it-works {
  padding: 100px 24px;
  background: var(--bg);
}

.how-it-works h2 {
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-end));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(238, 90, 36, 0.3);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA ── */

.cta {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-start) 0%, var(--purple-end) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

/* ── Footer ── */

.footer {
  padding: 48px 24px;
  background: var(--bg);
  border-top: 1px solid var(--surface-border);
}

.footer-content {
  text-align: center;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* ── Legal Pages ── */

.legal-page {
  background: var(--bg);
  min-height: 100vh;
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-header {
  margin-bottom: 40px;
}

.legal-header a.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #A78BFA;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.legal-header a.back:hover {
  color: #C4B5FD;
}

.legal-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.legal-header .effective {
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.legal ul,
.legal ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.legal a {
  color: #A78BFA;
  text-decoration: none;
}

.legal a:hover {
  color: #C4B5FD;
  text-decoration: underline;
}

.legal strong {
  font-weight: 600;
  color: #ffffff;
}

.legal .contact {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
}

.legal .contact p {
  margin-bottom: 4px;
}

.legal .contact p:last-child {
  margin-bottom: 0;
}

.legal .legal-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--surface-border);
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .cta h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 20px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .mini-card {
    width: 46px;
    height: 60px;
    font-size: 22px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  .features,
  .how-it-works,
  .cta {
    padding: 64px 20px;
  }

  .legal-header h1 {
    font-size: 1.6rem;
  }
}
