/*
 * ==========================================
 *  Products Landing — Spotlight Carousel
 *  Version 3.0 - Consistent with Testing Page
 * ==========================================
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --nl-navy: var(--ncl-text-heading);
    --nl-navy-light: var(--ncl-text-heading);
    --nl-blue: var(--ncl-primary);
    --nl-blue-light: var(--ncl-primary);
    --nl-purple: var(--ncl-tertiary);
    --nl-sky: var(--ncl-surface-hover);
    --nl-slate: var(--ncl-text-muted);
    --nl-slate-dark: var(--ncl-text-heading);
    --nl-light-bg: var(--ncl-surface);
    --nl-white: var(--ncl-bg);
    --nl-border: var(--ncl-border);
    --nl-radius: 14px;
    --nl-radius-sm: 8px;
    --nl-shadow-sm: 0 2px 8px rgba(var(--ncl-text-heading-rgb), 0.06);
    --nl-shadow-md: 0 8px 30px rgba(var(--ncl-text-heading-rgb), 0.08);
    --nl-font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ========== WRAPPER ========== */
.nl-landing-wrapper {
    font-family: var(--nl-font);
    color: var(--nl-slate-dark);
    -webkit-font-smoothing: antialiased;
    max-width: 100vw;
    overflow-x: hidden;
}

/* ========== BREAK OUT OF PAGE MANAGER CONSTRAINTS ========== */
/* When the shortcode is used inside Page Manager, we must override
   the parent section padding, container max-width, and component margin
   so the landing page can go full-width edge-to-edge. */

/* Strip padding from the section that wraps the shortcode */
.nucleus-section:has(.nl-landing-wrapper) {
    padding: 0 !important;
    margin: 0 !important;
}

/* Strip max-width from the container that wraps the shortcode */
.nucleus-container:has(.nl-landing-wrapper) {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Strip margin from the shortcode component wrapper */
.nucleus-component:has(.nl-landing-wrapper),
.nucleus-shortcode:has(.nl-landing-wrapper) {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Also strip the page container constraint */
.nucleus-page-container:has(.nl-landing-wrapper) {
    padding: 0 !important;
    max-width: 100% !important;
}

/* ========== GRADIENT TEXT HELPER ========== */
.nl-landing-wrapper .text-gradient {
    background: linear-gradient(135deg, var(--nl-blue) 0%, var(--nl-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== HERO ========== */
.nl-hero {
    background: linear-gradient(160deg, var(--ncl-text-heading) 0%, var(--ncl-secondary-hover) 50%, var(--ncl-secondary-muted) 100%);
    padding: 160px 32px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(var(--ncl-primary-rgb), 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(var(--ncl-tertiary-rgb), 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.nl-hero-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.nl-hero-badge {
    display: inline-block;
    background: rgba(var(--ncl-bg-rgb), 0.06);
    border: 1px solid rgba(var(--ncl-bg-rgb), 0.1);
    color: var(--ncl-primary-muted);
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.nl-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--nl-white);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 16px 0;
}

.nl-hero-subtitle {
    font-size: 1.1rem;
    color: var(--ncl-text-muted);
    line-height: 1.6;
    margin: 0 0 36px 0;
    font-weight: 400;
}

.nl-hero-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--nl-blue), var(--nl-purple));
    margin: 0 auto;
    border-radius: 99px;
}

/* Floating particles */
.nl-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.nl-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(var(--ncl-primary-rgb), 0.5);
    border-radius: 50%;
}

.nl-p1 {
    top: 20%;
    left: 15%;
    animation: nlParticleFloat 6s ease-in-out infinite;
}

.nl-p2 {
    top: 60%;
    left: 25%;
    animation: nlParticleFloat 8s ease-in-out infinite 1s;
}

.nl-p3 {
    top: 30%;
    right: 20%;
    animation: nlParticleFloat 7s ease-in-out infinite 0.5s;
}

.nl-p4 {
    bottom: 25%;
    right: 15%;
    animation: nlParticleFloat 9s ease-in-out infinite 2s;
}

.nl-p5 {
    top: 45%;
    left: 40%;
    animation: nlParticleFloat 5s ease-in-out infinite 1.5s;
    width: 3px;
    height: 3px;
}

.nl-p6 {
    bottom: 35%;
    right: 35%;
    animation: nlParticleFloat 7s ease-in-out infinite 0.8s;
    width: 5px;
    height: 5px;
}

@keyframes nlParticleFloat {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    25% {
        transform: translate(15px, -20px);
        opacity: 0.8;
    }

    50% {
        transform: translate(-10px, -35px);
        opacity: 0.5;
    }

    75% {
        transform: translate(20px, -15px);
        opacity: 0.9;
    }
}

/* ========== SPOTLIGHT SECTION ========== */
.nl-spotlight-section {
    background: var(--nl-white);
    padding: 80px 32px 60px;
}

.nl-spotlight-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* ========== CAROUSEL ========== */
.nl-carousel {
    position: relative;
    min-height: 480px;
}

/* ========== SLIDE ========== */
.nl-slide {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 56px;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.nl-slide-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

/* ========== SLIDE IMAGE ========== */
.nl-slide-image-col {
    display: flex;
    justify-content: center;
}

.nl-slide-image {
    width: 100%;
    max-width: 380px;
    max-height: 440px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    display: block;
    box-shadow: var(--nl-shadow-md);
    transition: transform 0.4s ease;
}

.nl-slide-active .nl-slide-image:hover {
    transform: scale(1.02);
}

.nl-slide-image-placeholder {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/5;
    background: var(--nl-light-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 1px solid var(--nl-border);
}

/* ========== SLIDE INFO ========== */
.nl-slide-info-col {
    padding: 20px 0;
}

.nl-slide-counter {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--nl-slate);
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
}

.nl-slide-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--nl-navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 8px 0;
}

.nl-slide-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--nl-slate);
    margin: 0 0 24px 0;
}

.nl-slide-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--nl-slate);
    margin: 0 0 32px 0;
    max-width: 440px;
}

/* Slide Footer */
.nl-slide-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.nl-slide-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nl-navy);
}

.nl-slide-btn {
    display: inline-block;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--nl-navy), var(--nl-navy-light));
    color: var(--nl-white) !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: var(--nl-font);
}

.nl-slide-btn:hover {
    background: linear-gradient(135deg, var(--nl-navy-light), var(--nl-navy));
    color: var(--nl-white) !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--ncl-primary-rgb), 0.25);
}

/* ========== CONTROLS ========== */
.nl-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
}

/* Dots */
.nl-dots {
    display: flex;
    gap: 8px;
}

.nl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(var(--ncl-text-heading-rgb), 0.15);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.nl-dot-active {
    background: var(--nl-navy);
    transform: scale(1.2);
}

.nl-dot:hover {
    background: var(--nl-slate);
}

/* Arrows */
.nl-arrows {
    display: flex;
    gap: 8px;
}

.nl-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--nl-border);
    background: var(--nl-white);
    color: var(--nl-navy);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.nl-arrow:hover {
    background: linear-gradient(135deg, var(--nl-navy), var(--nl-navy-light));
    color: var(--nl-white);
    border-color: var(--nl-navy);
    transform: translateY(-2px);
}

/* ========== PROGRESS BAR ========== */
.nl-progress-track {
    display: none;
}

.nl-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--nl-blue), var(--nl-purple));
    border-radius: 2px;
}

/* ========== HOW IT WORKS ========== */
.nl-how-section {
    background: var(--nl-light-bg);
    padding: 90px 32px;
    border-top: none;
}

.nl-how-inner {
    max-width: 900px;
    margin: 0 auto;
}

.nl-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--nl-navy);
    margin: 0 0 8px 0;
    text-align: center;
    letter-spacing: -0.02em;
}

.nl-section-subtitle {
    font-size: 1rem;
    color: var(--nl-slate);
    text-align: center;
    margin: 0 0 48px 0;
}

.nl-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nl-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--nl-white);
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.nl-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nl-blue), var(--nl-purple));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.nl-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--nl-shadow-md);
    border-color: rgba(var(--ncl-primary-rgb), 0.15);
}

.nl-step:hover::after {
    transform: scaleX(1);
}

.nl-step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ncl-bg);
    letter-spacing: -0.05em;
    margin-bottom: 14px;
    line-height: 1;
    transition: color 0.4s ease;
}

.nl-step:hover .nl-step-number {
    color: var(--nl-blue);
}

.nl-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--nl-navy);
    margin: 0 0 10px 0;
}

.nl-step-desc {
    font-size: 0.88rem;
    color: var(--nl-slate);
    line-height: 1.6;
    margin: 0;
}

/* ========== INCLUDES SECTION ========== */
.nl-includes-section {
    background: var(--nl-white);
    padding: 90px 32px;
    border-top: none;
}

.nl-includes-inner {
    max-width: 760px;
    margin: 0 auto;
}

.nl-includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.nl-include-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--nl-light-bg);
    border: 1px solid var(--nl-border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nl-include-item:hover {
    border-color: rgba(var(--ncl-primary-rgb), 0.25);
    transform: translateY(-3px);
    box-shadow: var(--nl-shadow-sm);
}

.nl-include-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.nl-include-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--nl-navy);
}

/* ========== CTA SECTION ========== */
.nl-cta-section {
    background: linear-gradient(160deg, var(--nl-navy) 0%, var(--nl-navy-light) 100%);
    padding: 80px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nl-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(var(--ncl-primary-rgb), 0.04) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}

.nl-cta-inner {
    max-width: 540px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.nl-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--nl-white);
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.nl-cta-text {
    font-size: 1rem;
    color: var(--ncl-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ========== DISCLAIMERS ========== */
.nl-disclaimers-section {
    background: var(--nl-light-bg);
    padding: 64px 32px;
    border-top: none;
}

.nl-disclaimers-inner {
    max-width: 760px;
    margin: 0 auto;
}

.nl-disclaimers-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nl-navy);
    margin: 0 0 32px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--nl-blue), var(--nl-purple)) 1;
    display: inline-block;
}

.nl-disclaimer {
    padding: 20px 0;
    border-bottom: 1px solid var(--nl-border);
}

.nl-disclaimer:last-child {
    border-bottom: none;
}

.nl-disclaimer h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--nl-navy);
    margin: 0 0 8px 0;
}

.nl-disclaimer p {
    font-size: 0.85rem;
    color: var(--nl-slate);
    line-height: 1.7;
    margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .nl-slide {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .nl-slide-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .nl-slide-desc {
        max-width: 100%;
    }

    .nl-slide-footer {
        align-items: center;
    }

    .nl-hero-title {
        font-size: 2.25rem;
    }

    .nl-slide-title {
        font-size: 1.6rem;
    }

    .nl-carousel {
        min-height: auto;
    }

    .nl-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nl-includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nl-section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .nl-hero {
        padding: 100px 20px 56px;
    }

    .nl-hero-title {
        font-size: 1.85rem;
    }

    .nl-spotlight-section {
        padding: 48px 20px 40px;
    }

    .nl-slide-footer {
        flex-direction: column;
        gap: 12px;
    }

    .nl-carousel-controls {
        flex-direction: column;
        gap: 16px;
    }

    .nl-how-section,
    .nl-includes-section {
        padding: 48px 20px;
    }

    .nl-includes-grid {
        grid-template-columns: 1fr;
    }

    .nl-disclaimers-section {
        padding: 40px 20px;
    }

    .nl-cta-section {
        padding: 60px 20px;
    }

    .nl-cta-title {
        font-size: 1.6rem;
    }
}