/* blog-newsletter.css - Newsletter Page Styles */

/* ===== NEWSLETTER HERO SECTION ===== */
#newsletter-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 150px 40px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

#newsletter-hero .section-bg.contact-bg {
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(139, 92, 246, 0.15) 0%,
      transparent 50%
    );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#newsletter-hero .contact-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

#newsletter-hero .contact-hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 2;
}

/* Confirmation Message */
.newsletter-confirmation {
  margin-top: 30px;
  background: rgba(59, 130, 246, 0.1);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #3b82f6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease;
}

.newsletter-confirmation h3 {
  color: #f8fafc;
  margin-bottom: 20px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.success-icon {
  color: #22c55e;
  font-size: 22px;
}

.confirmation-details {
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
}

.confirmation-details p {
  color: #cbd5e1;
  margin-bottom: 12px;
}

.confirmation-details p:last-child {
  margin-bottom: 0;
}

.confirmation-details strong {
  color: #f8fafc;
}

.info-note {
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.info-icon {
  color: #3b82f6;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Newsletter Form Section */
.newsletter-form-section {
  max-width: 500px;
  margin: 40px auto 0;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
}

.newsletter-email {
  width: 100%;
  padding: 16px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #f8fafc;
  font-size: 16px;
  transition: all 0.3s ease;
}

.newsletter-email:focus {
  outline: none;
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.newsletter-email::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-loading,
.newsletter-success,
.newsletter-error {
  padding: 12px 20px;
  border-radius: 10px;
  margin-top: 15px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: fadeInUp 0.3s ease;
}

.newsletter-loading {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid #3b82f6;
}

.newsletter-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid #22c55e;
}

.newsletter-error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid #ef4444;
}

/* Action Buttons */
.action-buttons {
  margin-top: 50px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.action-buttons .cta-button {
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.action-buttons .cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.action-buttons .cta-button:hover::before {
  left: 100%;
}

.action-buttons .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Button Variants */
.primary-btn {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  color: white;
}

.secondary-btn {
  background: linear-gradient(90deg, #1e293b, #334155);
  border: 1px solid #475569;
  color: white;
}

.accent-btn {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
  color: white;
}

/* Tips Section */
.newsletter-tips {
  margin-top: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid #334155;
  animation: fadeInUp 0.8s ease;
}

.newsletter-tips h3 {
  color: #f8fafc;
  margin-bottom: 20px;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tips-icon {
  color: #eab308;
  font-size: 24px;
}

.tips-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.tips-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}

.tips-list li:last-child {
  margin-bottom: 0;
}

.tips-list li i {
  color: #22c55e;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ===== NEWSLETTER INFO SECTION ===== */
.newsletter-info-section.white-theme {
  background: white !important;
  padding: 80px 0;
  position: relative;
}

.newsletter-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
}

.newsletter-main-area {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
  position: relative;
}

.newsletter-content-column {
  flex: 0 0 68%;
  width: 68%;
  min-width: 0;
}

.newsletter-sidebar-column {
  flex: 0 0 30%;
  width: 30%;
  min-width: 0;
}

/* Expectation Grid */
.expectation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.expectation-item {
  text-align: center;
  padding: 30px 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.expectation-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.expectation-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 28px;
}

.update-icon {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.exclusive-icon {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.regular-icon {
  background: linear-gradient(135deg, #22c55e, #4ade80);
}

.expectation-item h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.expectation-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
}

.cta-section p {
  color: #666;
  margin-bottom: 25px;
  font-size: 16px;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .secondary-button {
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
}

.cta-buttons .secondary-button:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.blog-btn {
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

.services-btn {
  border: 1px solid #8b5cf6;
  color: #8b5cf6;
}

.about-btn {
  border: 1px solid #22c55e;
  color: #22c55e;
}

/* Help Section */
.help-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.help-options .cta-button,
.help-options .secondary-button {
  width: 100%;
  text-align: center;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.support-btn {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  color: white;
}

.help-btn {
  border: 1px solid #475569;
  color: #475569;
  background: transparent;
}

.help-btn:hover {
  background: rgba(30, 41, 59, 0.1);
}

.contact-info {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e9ecef;
}

.contact-info h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info h4 i {
  color: #3b82f6;
}

.contact-info p {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.support-email {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
}

.support-email:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Social Links */
.social-links-footer {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: white;
}

.linkedin-btn {
  background: #0a66c2;
}

.instagram-btn {
  background: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .newsletter-container {
    padding: 0 30px;
  }

  .newsletter-content-column {
    flex: 0 0 65%;
    width: 65%;
  }

  .newsletter-sidebar-column {
    flex: 0 0 33%;
    width: 33%;
  }
}

@media (max-width: 992px) {
  #newsletter-hero {
    padding: 130px 20px 60px;
  }

  .newsletter-info-section.white-theme {
    padding: 60px 0;
  }

  .newsletter-main-area {
    flex-direction: column;
  }

  .newsletter-content-column,
  .newsletter-sidebar-column {
    flex: 0 0 100%;
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 15px;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-buttons .cta-button {
    width: 100%;
    max-width: 300px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .secondary-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  #newsletter-hero {
    padding: 120px 20px 50px;
  }

  .newsletter-container {
    padding: 0 20px;
  }

  .newsletter-confirmation,
  .newsletter-tips {
    padding: 20px;
  }

  .expectation-grid {
    grid-template-columns: 1fr;
  }

  .help-options .cta-button,
  .help-options .secondary-button {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  #newsletter-hero {
    padding: 100px 15px 40px;
    min-height: 60vh;
  }

  .newsletter-info-section.white-theme {
    padding: 40px 0;
  }

  .newsletter-container {
    padding: 0 15px;
  }

  .action-buttons .cta-button {
    min-width: auto;
    padding: 14px 20px;
  }

  .newsletter-tips h3 {
    font-size: 20px;
  }

  .tips-list li {
    font-size: 14px;
  }
}
