/* ===== MODULES.CSS ===== */

/* Base Styles */
body {
  background: #f4f4f4;
}

/* ===== NEWSLETTER SECTION - CONSOLIDATED ===== */
.newsletter-container {
  max-width: 900px;
}

.newsletter-card {
  border: none;
  border-radius: 15px;
}

.newsletter-features {
  list-style: none;
  padding: 0;
}

.newsletter-features li {
  padding: 6px 0;
  font-size: 1rem;
}

.newsletter-img {
  border-radius: 12px;
  max-width: 100%;
}

/* ===== MAILPRO-STYLE NEWSLETTER HERO ===== */
.newsletter-hero {
  position: relative;
  padding: 160px 20px 120px;
  overflow: hidden;
  background: #ffffff;
}

.newsletter-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(102, 153, 255, 0.18), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255, 153, 204, 0.18), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(153, 255, 204, 0.18), transparent 45%);
  filter: blur(60px);
  z-index: 0;
}

.newsletter-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.newsletter-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  background: rgba(10, 66, 117, 0.08);
  color: #0a4275;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Consolidated newsletter title styles */
.newsletter-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #0a4275;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* Consolidated newsletter subtitle styles */
.newsletter-subtitle {
  font-size: 1.2rem;
  color: #4a4a4a;
  max-width: 700px;
  margin: 0 auto;
}

/* Newsletter box - moved up for better organization */
.newsletter-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 22px;
  margin-bottom: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.06);
}

.newsletter-box h3 {
  color: #0a4275;
  margin-bottom: 15px;
}

.newsletter-box ul {
  padding-left: 18px;
}

.newsletter-box li {
  margin-bottom: 8px;
}

/* ===== SHARED COMPONENTS - CONSOLIDATED ===== */

/* Unified sidebar and feature card styles */
.sidebar li,
.feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 500;
  color: #1f2937;
}

.sidebar li i,
.feature-card i,
.feature-item i {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  color: #2563eb;
}

.sidebar li.active {
  background: #eef2ff;
  color: #2563eb;
}

.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* Unified feature item style */
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9fafb;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 500;
}

/* ===== MODULE STYLES ===== */
.module-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.module-subheading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.module-text {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

.module-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 30px;
}

.module-cta {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;
  padding: 40px 20px;
  border-radius: 18px;
}

.module-cta p {
  opacity: 0.9;
}

.video-section iframe {
  border-radius: 14px;
}

/* ===== MODERN CTA STYLES - CONSOLIDATED ===== */
.module-cta-modern {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 24px;
  padding: 60px 40px;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10, 66, 117, 0.08);
  border: 1px solid rgba(10, 66, 117, 0.1);
}

.module-cta-modern::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(10, 66, 117, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* CTA Header */
.cta-header {
  text-align: center;
  margin-bottom: 50px;
}

.cta-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0a4275, #10b981);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 32px;
  box-shadow: 0 10px 30px rgba(10, 66, 117, 0.2);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #0a4275, #1e293b);
  -webkit-back-ground-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Business Categories */
.business-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.category-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: #0a4275;
}

.category-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(10, 66, 117, 0.1), rgba(16, 185, 129, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a4275;
  font-size: 20px;
  flex-shrink: 0;
}

.category-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 5px;
}

.category-content p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Trial Offer */
.trial-offer {
  background: linear-gradient(135deg, #0a4275, #1e40af);
  border-radius: 16px;
  padding: 30px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 25px;
  color: white;
  position: relative;
  overflow: hidden;
}

.trial-offer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.1;
  pointer-events: none;
}

.offer-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.offer-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.offer-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.offer-content strong {
  color: #fbbf24;
}

/* Action Buttons - Consolidated */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0 30px;
}

.cta-button-primary {
  background: linear-gradient(135deg, #0a4275, #10b981);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 10px 30px rgba(10, 66, 117, 0.3);
}

.cta-button-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(10, 66, 117, 0.4);
  color: white;
  text-decoration: none;
}

.cta-button-secondary {
  background: white;
  color: #0a4275;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  border: 2px solid #0a4275;
}

.cta-button-secondary:hover {
  background: #0a4275;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(10, 66, 117, 0.2);
  text-decoration: none;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 0.95rem;
}

.trust-item i {
  color: #10b981;
  font-size: 1.1rem;
}

/* ===== RESPONSIVE STYLES - CONSOLIDATED ===== */
@media (max-width: 768px) {
  /* Newsletter mobile */
  .newsletter-hero {
    padding: 120px 16px 80px;
  }
  
  .newsletter-subtitle {
    font-size: 1rem;
  }
  
  /* CTA mobile */
  .module-cta-modern {
    padding: 40px 25px;
    margin: 60px 0;
  }
  
  .cta-title {
    font-size: 2.2rem;
  }
  
  .business-categories {
    grid-template-columns: 1fr;
  }
  
  .trial-offer {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  
  .offer-badge {
    align-self: center;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-button-primary,
  .cta-button-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 30px;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .cta-title {
    font-size: 1.8rem;
  }
  
  .cta-subtitle {
    font-size: 1rem;
  }
  
  .category-card {
    padding: 20px;
  }
}

