/* ────────────────────────────────────────────────────────────────────────────
   LANDING PAGE STYLES
   ───────────────────────────────────────────────────────────────────────────── */

@import url('global.css');

/* ── Hero Section ──────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
  padding: 80px 20px;
}

.hero .container {
  max-width: 800px;
}

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

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-content > p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content > p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    gap: 20px;
  }
}

/* ── Intro Text Section ─────────────────────────────────────────────────────── */
.intro-text {
  padding: 64px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.intro-text .container {
  max-width: 760px;
}

.intro-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-text strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 768px) {
  .intro-text {
    padding: 48px 20px;
  }

  .intro-text h2 {
    font-size: 22px;
  }
}

/* ── Features Section ──────────────────────────────────────────────────────── */
.features {
  padding: 80px 20px;
  background: var(--bg);
}

.features h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features {
    padding: 60px 20px;
  }

  .features h2 {
    font-size: 32px;
  }

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

/* ── Benefits Section ──────────────────────────────────────────────────────── */
.benefits {
  padding: 80px 20px;
  background: var(--surface);
}

.benefits h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.benefit-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: 24px;
  flex-shrink: 0;
}

.benefit-item h3 {
  font-size: 20px;
  color: var(--text);
}

.benefit-item p {
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .benefits {
    padding: 60px 20px;
  }

  .benefits h2 {
    font-size: 32px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── FAQ Section ───────────────────────────────────────────────────────────── */
.faq {
  padding: 80px 20px;
  background: var(--bg);
}

.faq h2 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

details.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { display: none; }

details.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

details.faq-item[open] > summary::after {
  transform: rotate(45deg);
}

details.faq-item[open] > summary {
  border-bottom: 1px solid var(--border);
}

details.faq-item p {
  padding: 16px 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 15px;
}

@media (max-width: 768px) {
  .faq {
    padding: 60px 20px;
  }

  .faq h2 {
    font-size: 28px;
  }

  details.faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
  }

  details.faq-item p {
    padding: 12px 18px 16px;
  }
}



/* ── CTA Section ───────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta-content .btn {
  background: white;
  color: var(--primary) !important;
}

.cta-content .btn:hover {
  background: var(--bg);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 20px;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .cta-content p {
    font-size: 16px;
  }
}
