/* ============================================================
   VouchCord — landing.css
   Landing / home page styles
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   1. Hero Section
   ──────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  overflow: hidden;
  padding: var(--space-3xl) 0;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.18) 0%,
    rgba(168, 85, 247, 0.08) 35%,
    transparent 70%
  );
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.7; transform: translateX(-50%) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  animation: heroFadeUp 0.8s ease both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  margin-bottom: var(--space-lg);
}

.hero-title-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 32px;
}

/* ────────────────────────────────────────────────────────────
   2. Shared Section Utilities
   ──────────────────────────────────────────────────────────── */

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 1.1rem;
}

/* ────────────────────────────────────────────────────────────
   3. Features Section
   ──────────────────────────────────────────────────────────── */

.features-section {
  position: relative;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow:
    var(--shadow-lg),
    0 0 30px rgba(124, 58, 237, 0.1);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  color: var(--accent-light);
  margin-bottom: var(--space-md);
}

.feature-icon--premium {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(168, 85, 247, 0.2));
}

.feature-card--premium {
  border-color: rgba(124, 58, 237, 0.15);
}

.feature-card--premium:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(124, 58, 237, 0.15);
}

.features-link {
  text-align: center;
  margin-top: var(--space-xl);
}

.features-link a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-light);
  transition: color var(--transition-fast);
}

.features-link a:hover {
  color: var(--text-bright);
}

.features-link a span {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.features-link a:hover span {
  transform: translateX(4px);
}

/* ────────────────────────────────────────────────────────────
   4. Stats Section
   ──────────────────────────────────────────────────────────── */

.stats-section {
  padding: var(--space-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xl) var(--space-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.stat-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.06);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ────────────────────────────────────────────────────────────
   5. CTA Section
   ──────────────────────────────────────────────────────────── */

.cta-section {
  position: relative;
  padding: var(--space-3xl) 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(124, 58, 237, 0.12) 0%, transparent 65%),
    var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-content {
  text-align: center;
  max-width: 560px;
}

.cta-content h2 {
  font-size: 2.25rem;
  margin-bottom: var(--space-sm);
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

.cta-btn {
  padding: 16px 36px;
}

/* ────────────────────────────────────────────────────────────
   6. Responsive
   ──────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: var(--space-3xl) 0 var(--space-2xl);
  }

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

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

  .hero-glow {
    width: 500px;
    height: 500px;
  }

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

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

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

  .cta-content h2 {
    font-size: 1.75rem;
  }
}

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

  .hero-actions {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-btn {
    width: 100%;
  }
}
