/* ══════════════════════════════════════════
   Page: Newsletter (The Daily Grind)
   Page-specific styles (extends global.css)
   ══════════════════════════════════════════ */

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* HERO */
.nl-hero {
  background: var(--brown);
  padding: 80px 64px 72px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.nl-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(217,48,37,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.nl-hero-text { position: relative; z-index: 1; animation: fadeUp 0.6s ease both; }
.nl-hero-text .section-label { color: rgba(255,255,255,0.5); }
.nl-hero-text h1 { font-size: clamp(2.4rem, 4vw, 4rem); color: white; line-height: 1.05; margin-bottom: 24px; }
.nl-hero-text h1 em { font-style: italic; color: var(--tan); }
.nl-hero-text p {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 40px;
}

/* HERO FORM */
.nl-hero-form { position: relative; z-index: 1; animation: fadeUp 0.7s 0.1s ease both; }
.nl-form-card {
  background: white;
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}
.nl-form-card h2 { font-size: 1.5rem; color: var(--brown); margin-bottom: 8px; }
.nl-form-card > p { font-size: 1.5rem; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }
.nl-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.nl-form-label { font-size: 0.78rem; font-weight: 700; color: var(--brown); }
.nl-form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(61,43,31,0.12);
  border-radius: 12px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream);
  transition: all 0.2s;
  outline: none;
}
.nl-form-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(217,48,37,0.08); background: white; }
.nl-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nl-form-submit {
  background: var(--red);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  margin-top: 8px;
}
.nl-form-submit:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(217,48,37,0.3); }
.nl-form-note { font-size: 0.73rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* SOCIAL PROOF (form) */
.nl-form-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(61,43,31,0.08);
}
.nl-avatars { display: flex; }
.nl-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: white;
}
.nl-avatar:first-child { margin-left: 0; }
.nl-proof-text { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.nl-proof-text strong { color: var(--brown); }

/* TRUST BAR */
.nl-trust {
  background: var(--red);
  padding: 18px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  animation: fadeIn 0.5s 0.3s ease both;
}
.nl-trust-item {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nl-trust-icon { font-size: 0.9rem; }
.nl-trust-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.25); }

/* WHAT YOU GET — PILLARS */
.nl-pillars { padding: 80px 24px; }
.nl-pillars-header { text-align: center; max-width: 100%; margin: 0 0 56px; animation: fadeUp 0.6s ease both; }
.nl-pillars-header h2 { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--brown); margin-bottom: 16px; }
.nl-pillars-header p { font-size: 1.5rem; color: var(--muted); line-height: 1.7; }
.nl-pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nl-pillar {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid rgba(61,43,31,0.07);
  transition: all 0.25s;
}
.nl-pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(61,43,31,0.08); }
.nl-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.nl-pillar h3 { font-size: 1.1rem; color: var(--brown); margin-bottom: 10px; }
.nl-pillar p { font-size: 1.5rem; color: var(--muted); line-height: 1.7; }

/* SAMPLE ISSUES */
.nl-samples { padding: 0 64px 80px; }
.nl-samples-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.nl-samples-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--brown); }
.nl-samples-header p { font-size: 1.5rem; color: var(--muted); max-width: 340px; text-align: right; line-height: 1.6; }
.nl-samples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nl-sample {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(61,43,31,0.07);
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.nl-sample:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(61,43,31,0.08); }
.nl-sample-header { padding: 24px 28px 20px; border-bottom: 1px solid rgba(61,43,31,0.06); }
.nl-sample-issue {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.nl-sample-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brown);
  line-height: 1.3;
}
.nl-sample-body { padding: 20px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.nl-sample-preview { font-size: 1.5rem; color: var(--muted); line-height: 1.7; flex: 1; }
.nl-sample-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(61,43,31,0.06);
}
.nl-sample-read { font-size: 0.78rem; font-weight: 700; color: var(--red); }
.nl-sample-date { font-size: 0.72rem; color: var(--muted); }

/* TESTIMONIALS */
.nl-social-proof { background: var(--cream-dark); padding: 80px 64px; }
.nl-social-proof-header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.nl-social-proof-header h2 { font-size: clamp(2rem, 3vw, 2.5rem); color: var(--brown); margin-bottom: 12px; }
.nl-social-proof-header p { font-size: 1.5rem; color: var(--muted); line-height: 1.7; }
.nl-quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nl-quote-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(61,43,31,0.07);
}
.nl-quote-text { font-size: 0.95rem; color: var(--text); line-height: 1.7; margin-bottom: 24px; }
.nl-quote-author { display: flex; align-items: center; gap: 12px; }
.nl-quote-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.nl-quote-name { font-size: 0.85rem; font-weight: 700; color: var(--brown); }
.nl-quote-role { font-size: 0.75rem; color: var(--muted); }

/* INLINE CTA */
.nl-inline-cta { padding: 0 64px 80px; }
.nl-cta-card {
  background: var(--brown);
  border-radius: 24px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.nl-cta-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(217,48,37,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.nl-cta-left { position: relative; z-index: 1; flex: 1; }
.nl-cta-left h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: white; margin-bottom: 12px; }
.nl-cta-left p { font-size: 1.5rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 420px; }
.nl-cta-right { position: relative; z-index: 1; display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.nl-cta-input {
  padding: 16px 22px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.92rem;
  color: white;
  background: rgba(255,255,255,0.08);
  outline: none;
  width: 280px;
  transition: all 0.2s;
}
.nl-cta-input::placeholder { color: rgba(255,255,255,0.4); }
.nl-cta-input:focus { border-color: var(--tan); background: rgba(255,255,255,0.12); }
.nl-cta-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 12px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.nl-cta-btn:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(217,48,37,0.35); }

/* FAQ (newsletter variant) */
.nl-faq { padding: 80px 24px; }
.nl-faq-header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.nl-faq-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--brown); margin-bottom: 12px; }
.nl-faq-header p { font-size: 1.5rem; color: var(--muted); }
.nl-faq-list { max-width: 100%; width: 100%; }
.nl-faq-item { border-bottom: 1px solid rgba(61,43,31,0.08); }
.nl-faq-question { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; cursor: pointer; gap: 16px; }
.nl-faq-question-text { font-size: 1rem; font-weight: 700; color: var(--brown); }
.nl-faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.2s;
}
.nl-faq-item.open .nl-faq-toggle { background: var(--red); color: white; transform: rotate(45deg); }
.nl-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.nl-faq-item.open .nl-faq-answer { max-height: 200px; }
.nl-faq-answer p { font-size: 1.5rem; color: var(--muted); line-height: 1.75; padding-bottom: 20px; }

/* SUCCESS STATE */
.nl-success { display: none; text-align: center; padding: 20px 0; }
.nl-success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.nl-success h3 { font-size: 1.2rem; color: var(--brown); margin-bottom: 8px; }
.nl-success p { font-size: 1.5rem; color: var(--muted); line-height: 1.6; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nl-hero { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
  .nl-trust { flex-wrap: wrap; padding: 16px 24px; gap: 16px; justify-content: center; }
  .nl-pillars { padding: 48px 24px; }
  .nl-pillars-grid { grid-template-columns: 1fr; }
  .nl-samples { padding: 0 24px 48px; }
  .nl-samples-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nl-samples-header p { text-align: left; }
  .nl-samples-grid { grid-template-columns: 1fr; }
  .nl-social-proof { padding: 48px 24px; }
  .nl-quotes-grid { grid-template-columns: 1fr; }
  .nl-inline-cta { padding: 0 24px 48px; }
  .nl-cta-card { flex-direction: column; padding: 40px 28px; gap: 28px; text-align: center; }
  .nl-cta-right { flex-direction: column; width: 100%; }
  .nl-cta-input { width: 100%; }
  .nl-faq { padding: 48px 24px; }
  .nl-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nl-hero { padding: 36px 20px; }
  .nl-pillars, .nl-social-proof, .nl-faq { padding: 36px 20px; }
  .nl-samples { padding: 0 20px 36px; }
  .nl-inline-cta { padding: 0 20px 36px; }
  .nl-form-card { padding: 32px 24px; }
}
