/* ========== NEWSLETTER SECTION STYLES ========== */
.newsletter-section {
  background: #000;
  padding: 100px 0;
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* Animated background particles */
.newsletter-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.newsletter-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float-particle 15s infinite;
}

.newsletter-particles span:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.newsletter-particles span:nth-child(2) {
  left: 20%;
  animation-delay: 2s;
}

.newsletter-particles span:nth-child(3) {
  left: 30%;
  animation-delay: 4s;
}

.newsletter-particles span:nth-child(4) {
  left: 40%;
  animation-delay: 1s;
}

.newsletter-particles span:nth-child(5) {
  left: 50%;
  animation-delay: 3s;
}

.newsletter-particles span:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
}

.newsletter-particles span:nth-child(7) {
  left: 70%;
  animation-delay: 2.5s;
}

.newsletter-particles span:nth-child(8) {
  left: 80%;
  animation-delay: 4.5s;
}

.newsletter-particles span:nth-child(9) {
  left: 90%;
  animation-delay: 1.5s;
}

@keyframes float-particle {

  0%,
  100% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

.newsletter-box {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg,
      rgba(246, 214, 10, 0.08),
      rgba(41, 160, 255, 0.08),
      rgba(255, 59, 59, 0.08),
      rgba(107, 212, 0, 0.08));
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 60px 50px;
  position: relative;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: visible;
  z-index: 2;
}

/* Animated gradient border */
.newsletter-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg,
      #f6d60a,
      #29a0ff,
      #ff3b3b,
      #6bd400,
      #f6d60a);
  background-size: 400% 100%;
  border-radius: 34px;
  z-index: -1;
  animation: gradient-flow 8s linear infinite;
  opacity: 0.3;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 400% 50%;
  }
}

/* Glowing orbs in background */
.newsletter-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
      rgba(246, 214, 10, 0.1) 0%,
      rgba(41, 160, 255, 0.05) 30%,
      rgba(255, 59, 59, 0.03) 50%,
      transparent 70%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Icon Circle with rainbow gradient */
.newsletter-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6d60a, #29a0ff, #ff3b3b, #6bd400);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: icon-float 3s ease-in-out infinite;
  box-shadow:
    0 10px 40px rgba(246, 214, 10, 0.3),
    0 5px 20px rgba(41, 160, 255, 0.2);
}

.newsletter-icon::before {
  content: '';
  position: absolute;
  inset: 3px;
  background: #000;
  border-radius: 50%;
}

.newsletter-icon i {
  position: relative;
  z-index: 1;
  font-size: 32px;
  background: linear-gradient(135deg, #f6d60a, #29a0ff, #ff3b3b, #6bd400);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes icon-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Titles */
.newsletter-pretitle {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.newsletter-title {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.newsletter-subtitle {
  font-size: 17px;
  color: #a0a0a0;
  max-width: 600px;
  margin: 0 auto 35px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Form Container */
.newsletter-form {
  max-width: 550px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

/* Email + Button Row */
.newsletter-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.newsletter-email {
  flex: 1;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s;
}

.newsletter-email::placeholder {
  color: #888;
}

.newsletter-email:focus {
  outline: none;
  border-color: #29a0ff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 30px rgba(41, 160, 255, 0.15);
}

.newsletter-submit {
  padding: 18px 32px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #6bd400, #4CAF50);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  box-shadow: 0 5px 20px rgba(107, 212, 0, 0.3);
}

.newsletter-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(107, 212, 0, 0.4);
}

.newsletter-submit:active {
  transform: translateY(-1px);
}

/* Feature Points */
.newsletter-features {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.newsletter-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ccc;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.newsletter-feature:hover {
  color: #fff;
}

.newsletter-feature i {
  width: 22px;
  height: 22px;
  background: #6bd400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #000;
}

/* ========== FOOTER BRAND SECTION ========== */
.footer-brand {
  text-align: center;
  padding: 60px 0 40px;
  background: #000;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-brand-logo {
  width: 50px;
  height: 50px;
}

.footer-brand-text {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(90deg, #f6d60a 0%, #29a0ff 33%, #ff3b3b 66%, #6bd400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  color: #888;
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-social {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.footer-social:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .newsletter-box {
    padding: 40px 25px;
    border-radius: 24px;
  }

  .newsletter-title {
    font-size: 28px;
  }

  .newsletter-input-row {
    flex-direction: column;
  }

  .newsletter-submit {
    width: 100%;
  }

  .newsletter-features {
    gap: 20px;
  }
}