* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0B0F19;
  --bg-card: #141922;
  --bg-elevated: #1a1f2e;
  --text: #E8ECF4;
  --text-muted: #8B95A8;
  --accent: #FAC638;
  --accent-dim: rgba(250, 198, 56, 0.15);
  --primary: #3B82F6;
  --primary-dim: rgba(59, 130, 246, 0.15);
  --success: #10B981;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.logo-mark {
  display: block;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}

.logo-text {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.logo:hover {
  color: #ffd054;
}

.logo:hover .logo-mark {
  opacity: 0.92;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  padding: 100px 0 120px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .badge-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, #ffd054 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.badge svg {
  width: 22px;
  height: 22px;
}

.badge-ios {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text) !important;
  box-shadow: none;
}

.badge-ios:hover {
  background: var(--bg-card);
  border-color: rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Features */
.features {
  padding: 80px 0 100px;
}

.section-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.features h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dim);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
}

.how-it-works h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: -0.02em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA */
.cta {
  padding: 80px 0 100px;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 40px;
  max-width: 560px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer .logo {
  font-size: 1.2rem;
}

.footer .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer nav {
  display: flex;
  gap: 24px;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--text);
}

/* Legal pages */
.legal {
  padding: 64px 0 100px;
}

.legal .container {
  max-width: 720px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal .meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 28px 0 10px;
}

.legal p, .legal li {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.75;
}

.legal ul, .legal ol {
  margin-left: 24px;
  margin-bottom: 20px;
}

.legal a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.legal a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 640px) {
  .nav {
    gap: 20px;
  }
  
  .hero {
    padding: 60px 0 80px;
  }
  
  .features, .how-it-works, .cta {
    padding: 60px 0 80px;
  }
  
  .cta-box {
    padding: 40px 24px;
  }
  
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}
