/* ============================================================
   VouchCord — Features Page
   ============================================================ */

/* ── Page Header ─────────────────────────────────────────── */

.features-header {
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.features-header::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.features-heading {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 30%, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.features-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Section Titles ──────────────────────────────────────── */

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: var(--space-xl);
}

.section-title--premium {
  background: linear-gradient(135deg, var(--accent-light), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Divider ─────────────────────────────────────── */

.section-divider hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-strong) 20%,
    var(--accent-dim) 50%,
    var(--border-strong) 80%,
    transparent
  );
}

/* ── Features Grid ───────────────────────────────────────── */

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

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

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-heading {
    font-size: 2.25rem;
  }
}

/* ── Feature Card ────────────────────────────────────────── */

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

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

.feature-card--premium:hover {
  box-shadow: var(--shadow-lg), 0 0 30px rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.2);
}

/* ── Badge (top-right) ───────────────────────────────────── */

.feature-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

/* ── Icon Circle ─────────────────────────────────────────── */

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

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon--green {
  background: var(--success-dim);
  color: var(--success);
}

.feature-icon--purple {
  background: var(--accent-dim);
  color: var(--accent-light);
}

/* ── Card Text ───────────────────────────────────────────── */

.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA Section ─────────────────────────────────────────── */

.features-cta {
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
}

.features-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.features-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

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