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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0A0A0F;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 4rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

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

.wordmark {
  font-size: clamp(4.5rem, 12vw, 8rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #FF6B35, #E91E8C, #7B2FF7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #8B8B9E;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* App Store button */
.cta-group {
  display: flex;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  background: #FFFFFF;
  color: #0A0A0F;
  border-radius: 12px;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.apple-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.cta-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.cta-small {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

.cta-large {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Gradient glow behind hero */
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, rgba(123, 47, 247, 0.06) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Features ────────────────────────────────────────────── */
.features {
  padding: 4rem 1.5rem 6rem;
  max-width: 960px;
  margin: 0 auto;
}

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

.feature-card {
  background: #12121A;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #1A1A26;
  color: #FF6B35;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.feature-desc {
  font-size: 0.9rem;
  color: #8B8B9E;
  line-height: 1.65;
}

/* ── How It Works ────────────────────────────────────────── */
.how-it-works {
  padding: 4rem 1.5rem 6rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: #FFFFFF;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  max-width: 180px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #7B2FF7);
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.95rem;
  color: #8B8B9E;
  line-height: 1.5;
}

.step-divider {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  margin-bottom: 1.5rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 1.5rem;
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FF6B35, #7B2FF7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #8B8B9E;
  transition: color 0.2s ease;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: #4A4A5C;
}

/* ── Animations ──────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation on feature cards */
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.3s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    gap: 1rem;
  }

  .step-divider {
    width: 2px;
    height: 24px;
    margin-bottom: 0;
  }

  .hero {
    min-height: 90vh;
    padding: 3rem 1.25rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem;
  }
}
