/* ==================== SHARED SECTION STYLES ==================== */
.features,
.how-it-works,
.audience {
  padding: 100px 40px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(0, 255, 136, 0.05) 100%);
  position: relative;
}

/* Animated background pattern for sections (sits above the global
   page background, below the section content) */
.features::before,
.how-it-works::before,
.audience::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
  pointer-events: none;
  animation: backgroundShift 20s ease-in-out infinite;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -1px;
  background: linear-gradient(90deg, var(--accent), var(--green), var(--accent));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGradient 3s ease-in-out infinite;
}

.section-header.animate-in h2 {
  animation: titleGradient 3s ease-in-out infinite, slideInScale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ==================== FEATURES ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-item {
  padding: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }

.feature-item:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.feature-item h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
  background: rgba(17, 20, 40, 0.55);
}

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

.step {
  padding: 40px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

.step-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.step p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.step-indicator {
  position: absolute;
  width: 2px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), transparent);
  right: 40px;
  bottom: -40px;
  opacity: 0;
}

.step:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent);
  transform: translateY(-5px);
}

/* ==================== AUDIENCE ==================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.audience-card {
  padding: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.audience-card:nth-child(1) { animation-delay: 0.1s; }
.audience-card:nth-child(2) { animation-delay: 0.2s; }
.audience-card:nth-child(3) { animation-delay: 0.3s; }
.audience-card:nth-child(4) { animation-delay: 0.4s; }
.audience-card:nth-child(5) { animation-delay: 0.5s; }
.audience-card:nth-child(6) { animation-delay: 0.6s; }

.audience-card:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.audience-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.audience-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}
