/* ==========================================================================
   LEAD GENERATION BUILDER PAGE STYLES
   Uses NCV global variables and themes to maintain consistency, but adds
   premium gloss, glows, and animations to maximize conversion trust.
   ========================================================================== */

/* ── Section Header Centering ── */
.conversion-metrics-section .section-header,
.lead-magnets-section .section-header,
.trusted-by-section .section-header,
.works-with-section .section-header,
.faq-section .section-header {
    text-align: center;
}


/* --------------------------------------------------------------------------
   CONVERSION METRICS COMPONENT - PRO UPGRADE
   -------------------------------------------------------------------------- */
.conversion-metrics-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(var(--accent-rgb), 0.02) 50%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(var(--accent-rgb), 0.05);
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.05);
}

.conversion-metrics-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(var(--accent-rgb), 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
    z-index: 0;
}

.conversion-metrics-section > .container {
    position: relative;
    z-index: 2;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.metric-card {
    background: var(--bg);
    border: 1px solid rgba(var(--accent-rgb), 0.1);
    border-radius: 24px;
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02), inset 0 0 0 1px rgba(255,255,255,0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.metric-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.05) 0%, transparent 100%);
    z-index: -1;
}

.metric-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; right: -50%; bottom: -50%;
    background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.metric-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(var(--accent-rgb), 0.12), inset 0 0 0 1px rgba(var(--accent-rgb), 0.2);
    border-color: rgba(var(--accent-rgb), 0.4);
}

.metric-card:hover::after {
    opacity: 1;
}

.metric-value-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    filter: drop-shadow(0 4px 10px rgba(var(--accent-rgb), 0.15));
}

.metric-value {
    font-size: 4rem;
    line-height: 1;
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
}

.metric-prefix, .metric-suffix {
    font-size: 2rem;
    font-weight: 800;
}

.metric-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.metric-description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   LEAD MAGNET TYPES COMPONENT - PRO UPGRADE
   -------------------------------------------------------------------------- */
.lead-magnets-section {
    padding: var(--spacing-3xl) 0;
    background: radial-gradient(circle at center top, rgba(var(--accent-rgb), 0.03) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid rgba(var(--accent-rgb), 0.05);
    position: relative;
    overflow: hidden;
}

.lead-magnets-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.02) 0%, transparent 60%);
    transform: rotate(30deg);
    pointer-events: none;
    z-index: 0;
}

.lead-magnets-section > .container {
    position: relative;
    z-index: 2;
}

.lead-magnets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.magnet-card {
    background: var(--white);
    border-radius: 20px;
    padding: var(--spacing-xl);
    border: 1px solid rgba(var(--accent-rgb), 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.magnet-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.02) 0%, transparent 100%);
    z-index: -1;
}

.magnet-card:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(var(--accent-rgb), 0.08), inset 0 0 0 1px rgba(var(--accent-rgb), 0.1);
    transform: translateY(-6px);
}

.magnet-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15) 0%, rgba(var(--accent-rgb), 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 32px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.magnet-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.magnet-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.magnet-content p {
    color: var(--text-secondary);
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.6;
    font-size: var(--text-base);
}

.magnet-features {
    list-style: none;
    padding: var(--spacing-md) var(--spacing-lg);
    margin: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background: rgba(var(--accent-rgb), 0.02);
    border-radius: 14px;
    border: 1px solid rgba(var(--accent-rgb), 0.05);
}

.magnet-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

.magnet-features li i {
    margin-top: 2px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .metrics-grid, .lead-magnets-grid {
        grid-template-columns: 1fr;
    }
    

    .metric-value {
        font-size: 2.8rem;
    }
    
    .metric-prefix, .metric-suffix {
        font-size: 1.5rem;
    }
    
    .magnet-card {
        padding: var(--spacing-xl);
    }
}
