/* ═══ Newsletter Band ═══ */
.newsletter-band {
  padding: 88px 0;
  background: var(--bg, #0a0e17);
  position: relative;
  overflow: hidden;
}

/* Glow orbs */
.newsletter-band__orb--purple {
  position: absolute;
  top: -80px;
  left: 10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(var(--blue-rgb),0.07);
  filter: blur(90px);
  pointer-events: none;
}

.newsletter-band__orb--pink {
  position: absolute;
  bottom: -80px;
  right: 10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(var(--blue-rgb), 0.05);
  filter: blur(80px);
  pointer-events: none;
}

.newsletter-band__inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
}

/* Pill label */
.newsletter-band__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(var(--blue-rgb),0.1);
  border: 1px solid rgba(var(--blue-rgb),0.22);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}

/* Heading */
.newsletter-band__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--text, #fff);
  margin-bottom: 14px;
  line-height: 1.1;
}

.newsletter-band__title-gradient {
  background: linear-gradient(135deg, var(--blue), var(--btn-bg-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.newsletter-band__subtitle {
  font-size: 14px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
  margin-bottom: 10px;
  line-height: 1.7;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-band__subtitle strong {
  color: var(--text, #fff);
}

/* Social proof */
.newsletter-band__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}

.newsletter-band__avatars {
  display: flex;
}

.newsletter-band__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg, #0a0e17);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  margin-left: -6px;
}

.newsletter-band__avatar:first-child {
  margin-left: 0;
}

.newsletter-band__avatar--1 { background: var(--blue); }
.newsletter-band__avatar--2 { background: linear-gradient(135deg, #EC4899, #BE185D); }
.newsletter-band__avatar--3 { background: linear-gradient(135deg, #34D399, #059669); }
.newsletter-band__avatar--4 { background: linear-gradient(135deg, #F5A623, #D97706); }

.newsletter-band__count {
  font-size: 12px;
  color: var(--text-muted, rgba(255, 255, 255, 0.4));
}

/* Form card */
.newsletter-band__card {
  background: var(--surface, #111827);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 28px;
  max-width: 480px;
  margin: 0 auto;
}

/* Form */
.newsletter-band__form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.newsletter-band__input {
  flex: 1;
  height: 48px;
  background: var(--surface-2, #1a2332);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--text, #fff);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-band__input:focus {
  border-color: rgba(var(--blue-rgb),0.6);
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb),0.12);
}

.newsletter-band__input::placeholder {
  color: var(--text-muted, rgba(255, 255, 255, 0.4));
}

.newsletter-band__btn {
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  border: none;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: transform 0.15s, background 0.15s;
}

.newsletter-band__btn:hover {
  transform: translateY(-1px);
  background: var(--btn-bg-hover);
  color: var(--btn-text-hover);
}

.newsletter-band__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Privacy text */
.newsletter-band__privacy {
  font-size: 11px;
  color: var(--text-muted, rgba(255, 255, 255, 0.4));
  text-align: center;
}

/* Success / Error messages */
.newsletter-band__message {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  display: none;
}

.newsletter-band__message--success {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34D399;
}

.newsletter-band__message--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Light mode */
html:not(.dark) .newsletter-band {
  background: #F8FAFC;
}
html:not(.dark) .newsletter-band__orb--purple {
  background: rgba(var(--blue-rgb),0.04);
}

/* ─── Mobile ─── */
@media (max-width: 640px) {
  .newsletter-band {
    padding: 48px 0;
  }
  .newsletter-band__form {
    flex-direction: column;
  }
  .newsletter-band__input {
    width: 100%;
    flex: none;
  }
  .newsletter-band__btn {
    height: 46px;
    width: 100%;
  }
  .newsletter-band__card {
    padding: 20px;
    border-radius: 14px;
  }
}
