.features-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 20px 90px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: #39ff14;
  filter: blur(140px);
  opacity: 0.12;
  z-index: -1;
}

.hero-glow-1 {
  top: -180px;
  left: -120px;
}

.hero-glow-2 {
  right: -120px;
  bottom: -180px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--primary));
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.features-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 900px;
  margin: auto;
}

.features-hero p {
  max-width: 760px;
  margin: 2rem auto 0;
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}

.automod-section {
  padding: 30px 20px 80px;
}

.automod-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.automod-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
  border: 1px solid hsl(var(--border));
}

.automod-content {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  padding: 2.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.automod-content h2 {
  margin: 1.2rem 0;
  font-size: 2.3rem;
}

.automod-content p {
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}

.automod-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.automod-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.automod-item svg {
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.automod-item h4 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.automod-item p {
  margin: 0;
  font-size: 0.95rem;
}

.features-grid-section {
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header span {
  display: inline-block;
  color: hsl(var(--primary));
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 700px;
  margin: auto;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}

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

.feature-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  padding: 2rem;
  transition: 0.25s ease;
}

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}

.features-cta {
  padding: 100px 20px;
}

.cta-box {
  position: relative;
  overflow: hidden;

  background: linear-gradient(135deg, hsl(var(--card)), hsl(var(--background)));

  border: 1px solid hsl(var(--border));
  border-radius: 24px;

  padding: 4rem;

  text-align: center;
}

.cta-box::before {
  content: "";
  position: absolute;

  inset: 0;

  background: radial-gradient(
    circle at top right,
    rgba(57, 255, 20, 0.12),
    transparent 45%
  );

  pointer-events: none;
}

.cta-box h2 {
  font-size: 2.7rem;
  margin-bottom: 1rem;
}

.cta-box p {
  max-width: 720px;
  margin: auto;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}

.cta-buttons {
  margin-top: 2.5rem;

  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 0.6rem;

  text-decoration: none;

  padding: 15px 28px;

  border-radius: 14px;

  transition: 0.25s;

  font-weight: 600;
}

.cta-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.cta-secondary {
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.feature-stats {
  padding: 80px 20px;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 1.5rem;
}

.stat-card {
  text-align: center;

  background: hsl(var(--card));

  border: 1px solid hsl(var(--border));

  border-radius: 20px;

  padding: 2rem;
}

.stat-card h3 {
  font-size: 3rem;

  margin: 0;

  color: hsl(var(--primary));
}

.stat-card span {
  display: block;

  margin-top: 0.8rem;

  color: hsl(var(--muted-foreground));
}

.feature-card,
.automod-content,
.stat-card,
.cta-box {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-icon svg,
.hero-badge svg {
  transition: transform 0.25s;
}

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

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

  .features-hero h1 {
    font-size: 2.6rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .automod-content {
    padding: 2rem;
  }

  .cta-box {
    padding: 2.5rem;
  }

  .cta-box h2 {
    font-size: 2rem;
  }
}

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

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

  .cta-primary,
  .cta-secondary {
    width: 100%;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .automod-content {
    padding: 1.5rem;
  }

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

  .features-hero h1 {
    font-size: 2.1rem;
  }

  .section-header h2 {
    font-size: 1.9rem;
  }
}
