:root {
  --bg: #fafaf9;
  --fg: #1c1917;
  --accent: #dc2626;
  --muted: #78716c;
  --border: #e7e5e4;
  --success: #15803d;
  --surface: #ffffff;
  --surface-alt: #f5f5f4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== HERO ==================== */
.hero {
  padding: 60px 0 40px;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 12px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 4px;
}

h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 540px;
}

.scroll-cta {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid var(--fg);
  border-radius: 6px;
  transition: all 0.2s;
}

.scroll-cta:hover {
  background: var(--fg);
  color: white;
}

.hero-visual {
  text-align: center;
}

.book-cover {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin-bottom: 16px;
}

.bestseller-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
}

/* ==================== SOCIAL PROOF BAR ==================== */
.social-proof-bar {
  padding: 32px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

/* ==================== BENEFITS SECTION ==================== */
.benefits-section {
  padding: 72px 0;
  background: var(--bg);
}

.benefits-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.benefits {
  max-width: 640px;
  margin: 0 auto;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
}

.benefit-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  padding: 72px 0;
  background: var(--surface-alt);
}

.testimonials-section h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

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

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

.stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial .author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial .author strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.testimonial .author span {
  font-size: 12px;
  color: var(--muted);
}

/* ==================== FORM SECTION ==================== */
.form-section {
  padding: 80px 0;
  background: var(--bg);
}

.form-box {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 48px;
  background: var(--surface);
  border: 2px solid var(--fg);
  border-radius: 12px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

.form-box h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.form-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

input[type="email"] {
  padding: 16px;
  font-size: 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: white;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

input[type="email"]:focus {
  border-color: var(--fg);
}

input[type="email"]::placeholder {
  color: #a8a29e;
}

button {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: white;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

button:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Turnstile widget */
.cf-turnstile {
  margin: 8px auto;
}

.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
  flex-wrap: wrap;
}

.trust-bar .divider {
  color: var(--border);
}

.success-msg {
  display: none;
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  color: var(--success);
  font-weight: 500;
}

.success-msg.visible {
  display: block;
}

.error-msg {
  display: none;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 4px;
  color: #dc2626;
  font-size: 14px;
}

.error-msg:not(:empty) {
  display: block;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-text {
    text-align: center;
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .form-box {
    padding: 32px 24px;
  }

  .trust-bar {
    flex-direction: column;
    gap: 8px;
  }

  .trust-bar .divider {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  .stat strong {
    font-size: 24px;
  }

  .benefit {
    padding: 14px 16px;
  }

  .testimonial {
    padding: 20px;
  }
}
