/* ============================================================
   NEWSLETTER PAGE — THE SHARP LENS
   Extends main.css with newsletter-specific components
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.nl-hero {
    background: var(--ink); color: var(--paper);
    padding: var(--space-4xl) 0; text-align: center;
    position: relative; overflow: hidden;
}
.nl-hero::before {
    content: ''; position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: var(--accent-red); border-radius: 50%; opacity: 0.04;
}
.nl-hero::after {
    content: ''; position: absolute;
    bottom: -80px; left: -80px;
    width: 300px; height: 300px;
    background: var(--accent-gold); border-radius: 50%; opacity: 0.03;
}
.nl-hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(196,30,58,0.15); color: var(--accent-red);
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(196,30,58,0.2);
}
.nl-hero__badge svg { animation: bellRing 2s ease-in-out infinite; }
@keyframes bellRing {
    0%,100% { transform: rotate(0); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-14deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(0); }
}
.nl-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800; line-height: 1.1;
    margin-bottom: var(--space-md);
    position: relative; z-index: 1;
}
.nl-hero__title em { color: var(--accent-red); font-style: normal; }
.nl-hero__desc {
    font-size: 1.05rem; opacity: 0.7;
    max-width: 540px; margin: 0 auto var(--space-2xl);
    line-height: 1.6; position: relative; z-index: 1;
}
.nl-hero__form {
    max-width: 520px; margin: 0 auto; display: flex;
    border-radius: 6px; overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    position: relative; z-index: 1;
}
.nl-hero__input {
    flex: 1; border: none; outline: none;
    padding: 16px 20px; font-family: var(--font-body);
    font-size: 0.95rem; color: var(--ink);
}
.nl-hero__input::placeholder { color: var(--ink-muted); opacity: 0.6; }
.nl-hero__btn {
    background: var(--accent-red); color: #fff;
    padding: 16px 32px; font-weight: 700;
    font-size: 0.82rem; letter-spacing: 0.06em;
    text-transform: uppercase; transition: background 0.2s; white-space: nowrap;
}
.nl-hero__btn:hover { background: var(--accent-red-hover); }
.nl-hero__trust {
    margin-top: var(--space-lg); font-size: 0.75rem;
    opacity: 0.35; position: relative; z-index: 1;
}
/* Success state */
.nl-hero__success {
    display: none; position: relative; z-index: 1;
}
.nl-hero__success.active { display: block; }
.nl-hero__success-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(30,122,77,0.15);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto var(--space-md); color: var(--accent-green);
}
.nl-hero__success h3 {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700;
    margin-bottom: var(--space-sm);
}
.nl-hero__success p { font-size: 0.92rem; opacity: 0.6; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    border-bottom: 1px solid var(--border); padding: var(--space-xl) 0;
}
.stats-strip__inner {
    display: flex; justify-content: center;
    gap: var(--space-3xl); flex-wrap: wrap;
}
.ss-item { text-align: center; }
.ss-item__num {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 800; color: var(--accent-red);
}
.ss-item__label {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-muted); margin-top: 2px;
}

/* ============================================================
   NEWSLETTER CARDS
   ============================================================ */
.nl-cards-section { padding: var(--space-4xl) 0; }
.nl-section-header {
    text-align: center; margin-bottom: var(--space-3xl);
}
.nl-section-header__badge {
    display: inline-block; background: var(--accent-red); color: #fff;
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; padding: 3px 10px; border-radius: 2px;
    margin-bottom: var(--space-sm);
}
.nl-section-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700;
}
.nl-section-header__desc {
    font-size: 0.92rem; color: var(--ink-muted);
    max-width: 520px; margin: var(--space-sm) auto 0; line-height: 1.5;
}

.nl-cards-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}
.nl-card {
    border: 1px solid var(--border); border-radius: 10px;
    overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
}
.nl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.nl-card--featured { border-color: var(--accent-red); border-width: 2px; }
.nl-card__popular {
    position: absolute; top: 14px; right: 14px;
    background: var(--accent-red); color: #fff;
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; padding: 3px 10px; border-radius: 2px;
}
.nl-card__header {
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}
.nl-card__icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-md);
}
.nl-card__icon--daily { background: rgba(196,30,58,0.08); color: var(--accent-red); }
.nl-card__icon--weekly { background: rgba(26,82,118,0.08); color: var(--accent-blue); }
.nl-card__icon--breaking { background: rgba(196,151,59,0.08); color: var(--accent-gold); }
.nl-card__name {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 700; margin-bottom: 4px;
}
.nl-card__freq {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink-muted);
}
.nl-card__body { padding: var(--space-xl); }
.nl-card__desc {
    font-size: 0.88rem; color: var(--ink-secondary);
    line-height: 1.6; margin-bottom: var(--space-lg);
}
.nl-card__features { list-style: none; margin-bottom: var(--space-xl); }
.nl-card__features li {
    padding: 5px 0 5px 22px; position: relative;
    font-size: 0.82rem; color: var(--ink-secondary); line-height: 1.5;
}
.nl-card__features li::before {
    content: ''; position: absolute; left: 0; top: 11px;
    width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231e7a4d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
}
.nl-card__btn {
    display: block; width: 100%; text-align: center;
    padding: 12px; border-radius: 4px; font-weight: 700;
    font-size: 0.82rem; letter-spacing: 0.06em;
    text-transform: uppercase; transition: all 0.2s;
}
.nl-card__btn--primary { background: var(--accent-red); color: #fff; }
.nl-card__btn--primary:hover { background: var(--accent-red-hover); }
.nl-card__btn--outline { border: 2px solid var(--ink); color: var(--ink); }
.nl-card__btn--outline:hover { background: var(--ink); color: var(--paper); }
.nl-card__free {
    text-align: center; font-size: 0.72rem;
    color: var(--ink-muted); margin-top: var(--space-sm);
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-section {
    background: var(--paper-warm); padding: var(--space-4xl) 0;
}
.benefits-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}
.benefit-card {
    text-align: center; padding: var(--space-xl) var(--space-lg);
}
.benefit-card__icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto var(--space-md);
}
.benefit-card__icon--1 { background: rgba(196,30,58,0.08); color: var(--accent-red); }
.benefit-card__icon--2 { background: rgba(26,82,118,0.08); color: var(--accent-blue); }
.benefit-card__icon--3 { background: rgba(196,151,59,0.08); color: var(--accent-gold); }
.benefit-card__icon--4 { background: rgba(30,122,77,0.08); color: var(--accent-green); }
.benefit-card__title {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 700;
    margin-bottom: var(--space-sm);
}
.benefit-card__desc {
    font-size: 0.82rem; color: var(--ink-muted); line-height: 1.55;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: var(--space-4xl) 0; }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}
.testimonial-card {
    background: var(--paper); border: 1px solid var(--border);
    border-radius: 8px; padding: var(--space-xl); position: relative;
}
.testimonial-card__quote {
    font-family: var(--font-display); font-size: 2.5rem;
    color: var(--accent-red); opacity: 0.15;
    line-height: 1; margin-bottom: var(--space-sm);
}
.testimonial-card__text {
    font-size: 0.88rem; color: var(--ink-secondary);
    line-height: 1.65; font-style: italic;
    margin-bottom: var(--space-lg);
}
.testimonial-card__author {
    display: flex; align-items: center; gap: var(--space-sm);
}
.testimonial-card__avatar {
    width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
}
.testimonial-card__name { font-size: 0.82rem; font-weight: 700; }
.testimonial-card__role { font-size: 0.7rem; color: var(--ink-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.nl-faq-section {
    background: var(--paper-warm); padding: var(--space-4xl) 0;
}
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border); padding: var(--space-lg) 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-q {
    display: flex; justify-content: space-between;
    align-items: center; cursor: pointer; gap: var(--space-md);
}
.faq-q__text {
    font-family: var(--font-display);
    font-size: 1.02rem; font-weight: 700; line-height: 1.3;
}
.faq-q__icon {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all 0.25s; color: var(--ink-muted);
}
.faq-item.open .faq-q__icon {
    transform: rotate(45deg);
    background: var(--accent-red);
    border-color: var(--accent-red); color: #fff;
}
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a {
    max-height: 300px; padding-top: var(--space-md);
}
.faq-a p {
    font-size: 0.88rem; color: var(--ink-secondary); line-height: 1.65;
}
.faq-a a { color: var(--accent-red); text-decoration: underline; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.nl-final-cta {
    background: var(--ink); color: var(--paper);
    padding: var(--space-4xl) 0; text-align: center;
}
.nl-final-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700; margin-bottom: var(--space-sm);
}
.nl-final-cta__desc {
    font-size: 0.92rem; opacity: 0.6;
    margin-bottom: var(--space-xl);
    max-width: 440px; margin-left: auto; margin-right: auto;
}
.nl-final-cta__form {
    max-width: 480px; margin: 0 auto; display: flex;
    border-radius: 6px; overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.nl-final-cta__input {
    flex: 1; border: none; outline: none;
    padding: 14px 18px; font-family: var(--font-body);
    font-size: 0.92rem; color: var(--ink);
}
.nl-final-cta__input::placeholder { color: var(--ink-muted); opacity: 0.6; }
.nl-final-cta__btn {
    background: var(--accent-red); color: #fff;
    padding: 14px 28px; font-weight: 700;
    font-size: 0.82rem; letter-spacing: 0.06em;
    text-transform: uppercase; transition: background 0.2s;
}
.nl-final-cta__btn:hover { background: var(--accent-red-hover); }

/* ============================================================
   NEWSLETTER RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .nl-cards-grid { grid-template-columns: 1fr 1fr; }
    .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nl-cards-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .nl-hero__form, .nl-final-cta__form { flex-direction: column; }
    .nl-hero__btn, .nl-final-cta__btn { text-align: center; }
}
@media (max-width: 480px) {
    .stats-strip__inner { gap: var(--space-xl); }
}
@media print {
    .nl-hero, .nl-final-cta { display: none !important; }
}
