/* ===========================================
   LEAD MAGNET PAGE — PAGE-SPECIFIC STYLES
   =========================================== */

/* Hero section — uses same gradient as .cover but shorter */
.lm-hero {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    padding: 140px 24px 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.lm-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(255,255,255,0.02) 100px,
        rgba(255,255,255,0.02) 200px
    );
    animation: patternMove 30s linear infinite;
}

.lm-hero > * {
    position: relative;
    z-index: 1;
}

.lm-badge {
    display: inline-block;
    background: var(--success);
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(56, 161, 105, 0.4);
}

.lm-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(34px, 8vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.lm-hero-sub {
    font-size: clamp(16px, 2.5vw, 20px);
    opacity: 0.9;
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

.lm-hero-arrow {
    display: inline-block;
    font-size: 28px;
    opacity: 0.5;
    animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* What's Included Section */
.lm-included {
    padding: 80px 24px;
    background: var(--bg);
}

.lm-included-inner {
    max-width: 760px;
    margin: 0 auto;
}

.lm-included h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 5vw, 34px);
    color: var(--primary);
    text-align: center;
    margin-bottom: 16px;
}

.lm-included-sub {
    text-align: center;
    color: var(--text-light);
    font-size: 17px;
    margin-bottom: 48px;
}

.lm-template-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lm-template-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lm-template-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.lm-template-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.lm-template-text h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.lm-template-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Stats / Credibility Section */
.lm-stats {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    padding: 72px 24px;
    text-align: center;
    color: white;
}

.lm-stats-inner {
    max-width: 900px;
    margin: 0 auto;
}

.lm-stats h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 4vw, 30px);
    color: white;
    margin-bottom: 48px;
}

.lm-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.lm-stat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px 24px;
    backdrop-filter: blur(10px);
}

.lm-stat-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.lm-stat-label {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.5;
}

/* Email Capture / CTA Section */
.lm-capture {
    padding: 80px 24px;
    background: var(--bg-alt);
}

.lm-capture-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.lm-capture h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 5vw, 32px);
    color: var(--primary);
    margin-bottom: 12px;
}

.lm-capture-sub {
    color: var(--text-light);
    font-size: 17px;
    margin-bottom: 36px;
    line-height: 1.6;
}

.lm-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lm-form input[type="email"] {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 17px;
    color: var(--text);
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lm-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.lm-form input[type="email"]::placeholder {
    color: var(--text-light);
}

.lm-form-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.lm-form-btn:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

.lm-form-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Thank You State */
.lm-thankyou {
    text-align: center;
    padding: 20px 0;
}

.lm-thankyou-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.lm-thankyou h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: var(--success);
    margin-bottom: 12px;
}

.lm-thankyou p {
    color: var(--text);
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.lm-thankyou-link {
    display: inline-block;
    margin-top: 28px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 32px;
    border: 2px solid var(--accent);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.lm-thankyou-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* Footer override — no large top margin on this page */
.lm-footer {
    margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lm-hero {
        padding: 120px 20px 60px;
    }

    .lm-included {
        padding: 60px 20px;
    }

    .lm-template-item {
        padding: 22px 20px;
        gap: 16px;
    }

    .lm-template-num {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .lm-stats {
        padding: 56px 20px;
    }

    .lm-stat-num {
        font-size: 36px;
    }

    .lm-capture {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .lm-template-item {
        flex-direction: column;
        gap: 12px;
    }

    .lm-stat-grid {
        grid-template-columns: 1fr;
    }
}
