/* ─── TOKENS ──────────────────────────────────────────── */
:root {
  --bg: #060812;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.45);
  --blue: #3B82F6;
  --purple: #8B5CF6;
  --green: #10B981;
  --amber: #F59E0B;
  --cyan: #06B6D4;
  --pink: #EC4899;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --font: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  max-width: 100%;
}

/* ─── LAYOUT ──────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 8, 18, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
}

.logo-icon {
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
}

.nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 0;
}

.nav-mobile.open {
  display: flex;
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s, transform .15s;
}

.btn-pill:hover {
  opacity: .88;
  transform: scale(.97);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  transition: opacity .2s, transform .15s;
}

.btn-primary:hover {
  opacity: .88;
  transform: scale(.97);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  font-size: 13px;
  transition: background .2s, transform .15s;
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: scale(.97);
}

.store-label {
  color: var(--muted);
  font-size: 11px;
}

.store-name {
  font-weight: 700;
  font-size: 15px;
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: float 8s ease-in-out infinite;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: #4338CA;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: #0EA5E9;
  top: -80px;
  right: -80px;
  animation-delay: 2.5s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: #8B5CF6;
  bottom: 0;
  left: 40%;
  animation-delay: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.04);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, .3);
  background: rgba(59, 130, 246, .1);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 32px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ─── SECTIONS SHARED ─────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 56px;
  max-width: 640px;
}

/* ─── FEATURES ────────────────────────────────────────── */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  transition: transform .25s, box-shadow .25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .4);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

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

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Tint borders */
.card-blue {
  border-color: rgba(59, 130, 246, .2);
}

.card-purple {
  border-color: rgba(139, 92, 246, .2);
}

.card-green {
  border-color: rgba(16, 185, 129, .2);
}

.card-amber {
  border-color: rgba(245, 158, 11, .2);
}

.card-cyan {
  border-color: rgba(6, 182, 212, .2);
}

.card-pink {
  border-color: rgba(236, 72, 153, .2);
}

/* ─── HOW ─────────────────────────────────────────────── */
.how {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .02), transparent);
}

.steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.step-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--blue);
  opacity: .5;
  margin-bottom: 16px;
}

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

.step p {
  font-size: 14px;
  color: var(--muted);
}

.step-connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--blue), var(--border));
  flex-shrink: 0;
}

/* ─── CTA ─────────────────────────────────────────────── */
.cta {
  padding: 100px 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 72px 48px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 130, 246, .3);
  background: rgba(59, 130, 246, .07);
  backdrop-filter: blur(16px);
  text-align: center;
}

.cta-blob-1,
.cta-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .3;
  pointer-events: none;
}

.cta-blob-1 {
  width: 300px;
  height: 300px;
  background: var(--blue);
  top: -100px;
  left: -100px;
}

.cta-blob-2 {
  width: 250px;
  height: 250px;
  background: var(--purple);
  bottom: -80px;
  right: -80px;
}

.cta-card h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FOOTER ──────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 240px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .30);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── AUTH PAGE ───────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  text-align: center;
}

.auth-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.auth-card h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.auth-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.auth-status {
  margin-top: 28px;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

.auth-status.success {
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(16, 185, 129, .25);
  color: #10B981;
}

.auth-status.error {
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .25);
  color: #EF4444;
}

.auth-status.loading {
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(59, 130, 246, .25);
  color: var(--blue);
}

.auth-app-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: opacity .2s;
}

.auth-app-btn:hover {
  opacity: .85;
}

/* ─── SIMPLE PAGE (Privacy / Terms) ──────────────────── */
.prose-page {
  max-width: 720px;
  margin: 100px auto;
  padding: 0 24px;
}

.prose-page h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.prose-page .date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
}

.prose-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}

.prose-page p,
.prose-page li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.prose-page ul {
  padding-left: 20px;
}

.prose-page a {
  color: var(--blue);
}

/* ─── SOCIAL LINKS ────────────────────────────────────── */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.45);
  transition: background .2s, color .2s, transform .15s;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  transform: scale(1.08);
}

/* ─── RESPONSIVE ──────────────────────────────────────── */

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

  .nav-menu-btn {
    display: block;
  }

  .step-connector {
    display: none;
  }

  .steps {
    gap: 12px;
  }

  .step {
    flex: 1 1 100%;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .footer-links {
    gap: 32px;
  }

  .footer-grid {
    flex-direction: column;
  }
}