/* ============================================
   WAPromosi — Homepage Specific Styles
   Long-Form Sales Letter Layout
   ============================================ */

/* --- Hero Section --- */
.hero {
  padding: 7rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 127, 55, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 100%;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: var(--font-size-hero);
  margin-bottom: 1.25rem;
  color: var(--color-heading);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: var(--font-size-body-lg);
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-problems {
  margin-bottom: 2rem;
  text-align: left;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-problems li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0;
  font-size: var(--font-size-body);
  color: var(--color-text);
}

.hero-problems li .icon-x {
  color: var(--color-danger);
  font-weight: 700;
  flex-shrink: 0;
}

.hero-result {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-note {
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

/* --- Social Proof / Stats Bar --- */
.social-proof {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

/* --- Screenshot Section --- */
.screenshot-section {
  text-align: center;
}

.screenshot-wrapper {
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-screenshot);
  border: 1px solid var(--color-border);
}

.screenshot-wrapper img {
  width: 100%;
  display: block;
}

/* --- Problem Section --- */
.problem-section .problem-box {
  background: #fff;
  border: 2px solid #fecaca;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.problem-section .problem-box h3 {
  color: var(--color-danger);
  margin-bottom: 1.25rem;
  font-size: var(--font-size-h3);
}

.problem-result {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #fecaca;
  color: var(--color-text);
  font-weight: 600;
  font-size: var(--font-size-body-lg);
}

/* --- Solution / Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card .feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.375rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: var(--font-size-small);
  line-height: 1.6;
}

/* --- Mid CTA Section --- */
.mid-cta {
  background: linear-gradient(135deg, #0d1117 0%, #1a3a2a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mid-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26, 127, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.mid-cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.mid-cta .container {
  position: relative;
  z-index: 1;
}

.mid-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.mid-cta p {
  color: var(--color-text-on-dark-muted);
  font-size: var(--font-size-body-lg);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Why Choose Section --- */
.why-list {
  margin: 2rem 0 0;
}

.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.why-item:last-child {
  border-bottom: none;
}

.why-item .why-number {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--font-size-small);
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.why-item p {
  color: var(--color-text-light);
  font-size: var(--font-size-small);
}

/* --- Detailed Feature List --- */
.feature-checklist {
  columns: 2;
  column-gap: 2rem;
}

.feature-checklist .check-item {
  break-inside: avoid;
  padding: 0.5rem 0;
}

@media (max-width: 600px) {
  .feature-checklist {
    columns: 1;
  }
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* --- Final CTA --- */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #fff 100%);
}

.final-cta h2 {
  margin-bottom: 1rem;
}

.final-cta p {
  color: var(--color-text-light);
  font-size: var(--font-size-body-lg);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .guarantee {
  margin-top: 1rem;
  font-size: var(--font-size-small);
  color: var(--color-text-muted);
}

/* --- Responsive Home --- */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero-cta-group {
    flex-direction: column;
  }

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

  .screenshot-wrapper {
    border-radius: var(--radius-md);
  }
}
