/* ===================================
   CUSTOM EMAIL GENERATOR STYLES
   =================================== */

/* ========== GENERAL STYLES ========== */
.seo-content-wrapper {
  margin-top: 0;
}

.hero-section,
.about-section,
.features-section,
.benefits-section,
.how-to-section,
.use-cases-section,
.faq-section,
.cta-section {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.hero-section {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.text-center.mb-5 {
  margin-bottom: 2rem !important;
}

.hero-section .mb-3 {
  margin-bottom: 1rem !important;
}

.hero-section .mb-4 {
  margin-bottom: 1.5rem !important;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.15), transparent 60%);
  pointer-events: none;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: 700;
}

.related-tools {
  list-style: none;
  padding-left: 0;
}

.related-tools li {
  padding: 0.4rem 0;
}

.related-tools a {
  color: #667eea;
  text-decoration: none;
}

.related-tools a:hover {
  text-decoration: underline;
}

.info-box {
  border-left: 4px solid #667eea;
}

/* ========== FEATURE CARDS ========== */
.feature-card {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
  border-color: #667eea;
}

.icon-wrapper {
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.1);
}

/* ========== BENEFIT ITEMS ========== */
.icon-circle {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-item {
  padding: 1rem;
  transition: background 0.3s ease;
}

.benefit-item:hover {
  background: #f8f9fa;
}

/* ========== STEP NUMBERS ========== */
.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========== USE CASE CARDS ========== */
.usecase-card {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.usecase-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: #667eea;
}

/* ========== FAQ STYLES ========== */
.faq-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  gap: 20px;
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  flex: 1;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question {
  color: #667eea;
}

.faq-toggle {
  font-size: 24px;
  font-weight: 300;
  color: #667eea;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f7f9fc;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: #667eea;
  color: #fff;
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  color: #64748b;
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}

.cta-section .btn-light {
  background: #fff;
  color: #667eea;
  border: none;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
  text-decoration: none;
}

.cta-section .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  background: #f8f9fa;
  color: #764ba2;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .hero-section h1,
  .hero-section h2 {
    font-size: 1.75rem;
  }

  .h2 {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 1.25rem !important;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section .btn-lg {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }

  .icon-circle {
    width: 45px;
    height: 45px;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
  }

  .benefit-item .icon-circle {
    margin: 0 auto 1rem;
  }

  /* FAQ Responsive */
  .faq-header {
    padding: 16px 18px;
    gap: 12px;
  }
  
  .faq-question {
    font-size: 0.95rem;
  }
  
  .faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  
  .faq-answer {
    padding: 0 18px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 18px 16px 18px;
  }
  
  .faq-answer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1,
  .hero-section h2 {
    font-size: 1.5rem;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .faq-header {
    padding: 14px 16px;
  }
  
  .faq-question {
    font-size: 0.9rem;
  }
}