/* ============================================
   LANDING PAGE STYLES
   Imported after: variables.css, components.css
   ============================================ */

/* --- General & Layout --- */

html {
  scroll-behavior: smooth;
}

.container,
.landing-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section {
  padding-block: 80px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary, #0F172A);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--text-secondary, #475569);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* --- Hero Section --- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero, linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #dfe6ed 100%));
  padding-block: 100px 80px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-content h1 span {
  background: var(--gradient-cta, linear-gradient(135deg, #2563EB, #7C3AED));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary, #475569);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
}

.hero-actions .btn-primary {
  background: var(--gradient-cta, linear-gradient(135deg, #2563EB, #7C3AED));
  color: var(--bg-primary, #FFFFFF);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
}

.hero-actions .btn-secondary {
  background: var(--bg-primary, #FFFFFF);
  color: var(--text-primary, #0F172A);
  border: 2px solid var(--border-color, #E2E8F0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.hero-actions .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary, #2563EB);
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--bg-primary, #FFFFFF);
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  color: var(--text-primary, #0F172A);
}

.hero-badge strong {
  font-weight: 700;
  color: var(--color-primary, #2563EB);
}

.hero-badge i {
  font-size: 1rem;
  color: var(--color-primary, #2563EB);
}

.hero-illustration {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 520px;
}

.hero-illustration img,
.hero-illustration svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Floating decorative shapes */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.12;
}

.hero::before {
  width: 500px;
  height: 500px;
  background: var(--color-primary, #2563EB);
  top: -120px;
  right: -100px;
}

.hero::after {
  width: 300px;
  height: 300px;
  background: var(--color-secondary, #0EA5E9);
  bottom: -60px;
  left: -80px;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.08;
}

.hero-shape--1 {
  width: 120px;
  height: 120px;
  background: var(--color-primary, #2563EB);
  top: 20%;
  right: 15%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape--2 {
  width: 80px;
  height: 80px;
  background: var(--color-secondary, #0EA5E9);
  bottom: 25%;
  right: 35%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-shape--3 {
  width: 60px;
  height: 60px;
  background: var(--color-primary, #2563EB);
  top: 60%;
  left: 10%;
  animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* --- Features Section --- */

.features-section {
  background: var(--bg-primary, #FFFFFF);
}

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

.feature-card {
  background: var(--bg-primary, #FFFFFF);
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cta, linear-gradient(90deg, #2563EB, #0EA5E9));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-cta, linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.15)));
  border-radius: 16px;
  color: var(--color-primary, #2563EB);
  font-size: 1.6rem;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-primary, #2563EB);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary, #0F172A);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary, #475569);
  line-height: 1.7;
}

/* --- How It Works / Timeline Section --- */

.how-section {
  background: var(--gradient-hero, linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%));
}

.timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-connector {
  width: 3px;
  height: 60px;
  background: var(--gradient-cta, linear-gradient(180deg, #2563EB, #0EA5E9));
  margin-inline: auto;
  border-radius: 2px;
  opacity: 0.4;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-cta, linear-gradient(135deg, #2563EB, #7C3AED));
  color: var(--bg-primary, #FFFFFF);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  position: relative;
  z-index: 2;
}

.step-image {
  flex-shrink: 0;
  width: 200px;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.step-image img,
.step-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary, #0F172A);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 1rem;
  color: var(--text-secondary, #475569);
  line-height: 1.7;
}

/* --- Statistics Section --- */

.stats-section {
  background: var(--gradient-cta, linear-gradient(135deg, #2563EB, #7C3AED));
  padding-block: 70px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -200px;
  right: -100px;
}

.stats-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  bottom: -150px;
  left: -50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--bg-primary, #FFFFFF);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* --- Download Section --- */

.download-section {
  background: var(--bg-secondary, #F8FAFC);
  text-align: center;
}

.download-section .section-title {
  margin-bottom: 0.75rem;
}

.download-section p {
  font-size: 1.1rem;
  color: var(--text-secondary, #475569);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
}

.download-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  background: var(--text-primary, #0F172A);
  color: var(--bg-primary, #FFFFFF);
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.badge-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.badge-link i {
  font-size: 1.5rem;
}

.badge-link span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.badge-link small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-link strong {
  font-size: 1.05rem;
  font-weight: 700;
}

/* --- FAQ Section --- */

.faq-section {
  background: var(--bg-primary, #FFFFFF);
}

.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-secondary, #F8FAFC);
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--color-primary, #2563EB);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.faq-item.active {
  border-color: var(--color-primary, #2563EB);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary, #0F172A);
  text-align: start;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-primary, #2563EB);
}

.faq-question i {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-secondary, #475569);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--color-primary, #2563EB);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary, #475569);
  line-height: 1.8;
}

/* --- Footer --- */

.footer {
  background: var(--text-primary, #0F172A);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 60px 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bg-primary, #FFFFFF);
  margin-bottom: 1.25rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease, padding-inline-start 0.2s ease;
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--bg-primary, #FFFFFF);
  padding-inline-start: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-primary, #2563EB);
  color: var(--bg-primary, #FFFFFF);
  transform: translateY(-2px);
}

/* --- Responsive --- */

@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-illustration {
    max-width: 380px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-step {
    gap: 2rem;
  }

  .step-image {
    width: 160px;
    height: 110px;
  }
}

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

  .section-title {
    font-size: 2rem;
  }

  .hero {
    min-height: auto;
    padding-block: 80px 60px;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
  }

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

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

  .timeline-step,
  .timeline-step:nth-child(even) {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .step-image {
    width: 100%;
    max-width: 280px;
    height: 160px;
  }

  .timeline-connector {
    height: 40px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .download-badges {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .hero-illustration {
    max-width: 260px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .badge-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
