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

:root {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-text: #1a1a2e;
  --color-text-secondary: #555;
  --color-accent: #6b4fa0;
  --color-accent-light: #f0ebf8;
  --color-border: #e8e8e8;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1080px;
  --section-pad: 96px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, var(--color-accent-light) 0%, var(--color-bg) 100%);
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-top: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-top: 8px;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.store-btn img {
  height: 48px;
  transition: opacity 0.2s;
}

.store-btn:hover img {
  opacity: 0.8;
}

/* === Feature Sections === */
.feature {
  padding: var(--section-pad) 0;
}

.feature:nth-child(even) {
  background: var(--color-surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature--reverse .feature-grid {
  direction: rtl;
}

.feature--reverse .feature-grid > * {
  direction: ltr;
}

.feature-screenshot {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.08);
  background: #000;
  padding: 8px;
}

.phone-frame img {
  border-radius: 24px;
  width: 100%;
}

.feature-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-detail {
  margin-top: 12px;
  font-size: 0.95rem !important;
}

/* === How It Works === */
.how-it-works {
  padding: var(--section-pad) 0;
  text-align: center;
  background: var(--color-accent-light);
}

.how-it-works h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 48px;
}

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

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

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

.step p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* === Differentiators === */
.differentiators {
  padding: var(--section-pad) 0;
}

.differentiators h2 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.diff-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
}

.diff-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* === Footer === */
.site-footer {
  padding: 64px 0 48px;
  background: var(--color-text);
  color: #ccc;
  text-align: center;
}

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

.footer-links a {
  color: #ddd;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.footer-badges img {
  height: 40px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-badges a:hover img {
  opacity: 1;
}

.footer-affiliate,
.footer-disclaimer {
  font-size: 0.8rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  color: #999;
}

.footer-affiliate {
  margin-bottom: 16px;
}

.footer-disclaimer {
  margin-bottom: 24px;
}

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

/* === Responsive === */
@media (max-width: 768px) {
  .hero {
    padding: 80px 24px 56px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .feature {
    padding: 64px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .feature--reverse .feature-grid {
    direction: ltr;
  }

  .phone-frame {
    width: 240px;
  }

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

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .feature-text h2 {
    font-size: 1.4rem;
  }

  .phone-frame {
    width: 220px;
  }

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

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