/**
 * Homepage v2.0 - Newsletter Section
 * @description Dark section with gold radial glow, email subscription form
 * @task Homepage Full Redesign
 * @version 1.0.0
 * @date 2026-02-16
 */

.newsletter {
  background: var(--color-brand-ink, #1A1A2E);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(232, 197, 71, 0.08) 0%, transparent 60%);
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  /* DSv2 Wave 1 / FINAL-DS §G.3 #18 — editorial-mark callout */
  border-left: 4px solid var(--color-editorial-mark);
  padding: 0 1rem 0 var(--space-4);
}

.newsletter h2 {
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-black, 900);
  color: var(--color-text-on-dark, #fff);
  letter-spacing: var(--letter-spacing-tight, -0.02em);
  margin-bottom: 0.4rem;
}

.newsletter p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md, 8px);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-on-dark, #fff);
  font-size: var(--text-base);
  font-family: inherit;
  transition: border-color var(--transition-normal);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-brand-accent);
}

.newsletter-sub-btn {
  padding: 0.6rem 1.5rem;
  background: var(--color-brand-accent);
  color: var(--color-text-on-accent, #000);
  font-weight: var(--font-weight-black, 800);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-md, 8px);
  transition: all var(--transition-normal);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.newsletter-sub-btn:hover {
  background: #F0D060;
}

.newsletter-msg {
  margin-top: 1rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-msg.success {
  color: var(--color-success, #22c55e);
}

.newsletter-msg.error {
  color: var(--color-error, #ef4444);
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
}
