/* ═══════════════════════════════════════════════════════════
   NOTA FISCAL – Premium Landing Page
   Parceiro Quero Faturar
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    --nf-primary: #6cc926;
    --nf-primary-dark: #55a51e;
    --nf-primary-light: #8ade4a;
    --nf-primary-glow: rgba(108, 201, 38, .25);
    --nf-gradient: linear-gradient(135deg, #6cc926 0%, #44a518 50%, #2d8a0e 100%);
    --nf-gradient-soft: linear-gradient(135deg, rgba(108, 201, 38, .10) 0%, rgba(68, 165, 24, .06) 100%);
    --nf-dark: #0f172a;
    --nf-dark-surface: #1e293b;
    --nf-gold: #facc15;
    --nf-star: #fbbf24;
    --nf-radius: 20px;
    --nf-radius-sm: 14px;
    --nf-radius-xs: 10px;

    /* Light defaults */
    --nf-bg: #f6f8fb;
    --nf-surface: #ffffff;
    --nf-surface-hover: #f0fde4;
    --nf-text: #1e293b;
    --nf-text-sub: #64748b;
    --nf-border: rgba(0, 0, 0, .06);
    --nf-shadow-sm: 0 2px 8px rgba(0, 0, 0, .04);
    --nf-shadow: 0 8px 30px rgba(0, 0, 0, .07);
    --nf-shadow-lg: 0 20px 50px rgba(0, 0, 0, .10);
    --nf-shadow-glow: 0 8px 30px rgba(108, 201, 38, .18);
}

/* ─── Dark Mode Tokens ─── */
.theme-dark,
[data-theme="dark"] {
    --nf-bg: #0f172a;
    --nf-surface: #1e293b;
    --nf-surface-hover: #253347;
    --nf-text: #f1f5f9;
    --nf-text-sub: #94a3b8;
    --nf-border: rgba(255, 255, 255, .08);
    --nf-shadow-sm: 0 2px 8px rgba(0, 0, 0, .20);
    --nf-shadow: 0 8px 30px rgba(0, 0, 0, .30);
    --nf-shadow-lg: 0 20px 50px rgba(0, 0, 0, .40);
    --nf-shadow-glow: 0 8px 30px rgba(108, 201, 38, .12);
}

/* ─── Landing Container ─── */
.nf-landing {
    padding: 0 0 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════
   PARTNER BADGE
   ═══════════════════════════════════════ */
.nf-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nf-gradient-soft);
    border: 1px solid rgba(108, 201, 38, .20);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--nf-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    animation: nfBadgePulse 3s ease-in-out infinite;
}

.nf-partner-badge i {
    font-size: .72rem;
}

@keyframes nfBadgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(108, 201, 38, .12);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(108, 201, 38, 0);
    }
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.nf-hero {
    background: var(--nf-gradient);
    border-radius: var(--nf-radius);
    padding: 3.5rem 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(108, 201, 38, .25);
}

/* Decorative orbs */
.nf-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: nfOrbFloat 8s ease-in-out infinite;
}

.nf-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -40px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, .07) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: nfOrbFloat 10s ease-in-out infinite reverse;
}

@keyframes nfOrbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(15px, -20px) scale(1.05);
    }
}

.nf-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nf-hero-text {
    flex: 1;
}

.nf-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.nf-hero h1 span {
    display: block;
    background: linear-gradient(90deg, #facc15, #fde68a, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nf-hero-subtitle {
    font-size: 1.05rem;
    opacity: .92;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.nf-hero-subtitle strong {
    color: #facc15;
}

.nf-hero-logo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nf-hero-logo {
    width: 200px;
    height: auto;
    background: rgba(255, 255, 255, .96);
    border-radius: var(--nf-radius-sm);
    padding: 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease;
}

.nf-hero-logo:hover {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

/* ─── Hero Buttons ─── */
.nf-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nf-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--nf-primary-dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 34px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .35s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
    position: relative;
    overflow: hidden;
}

.nf-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 201, 38, .08), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.nf-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
    color: var(--nf-primary-dark);
}

.nf-btn-primary:hover::after {
    opacity: 1;
}

.nf-btn-primary:active {
    transform: translateY(-1px);
}

.nf-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, .30);
    cursor: pointer;
    text-decoration: none;
    transition: all .35s cubic-bezier(.22, 1, .36, 1);
    backdrop-filter: blur(12px);
}

.nf-btn-outline:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, .45);
}

/* ═══════════════════════════════════════
   STATS ROW
   ═══════════════════════════════════════ */
.nf-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.nf-stat-card {
    background: var(--nf-surface);
    border-radius: var(--nf-radius-sm);
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: var(--nf-shadow-sm);
    border: 1px solid var(--nf-border);
    transition: all .35s cubic-bezier(.22, 1, .36, 1);
    position: relative;
    overflow: hidden;
}

.nf-stat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--nf-gradient);
    opacity: 0;
    transition: opacity .3s ease;
}

.nf-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nf-shadow-glow);
}

.nf-stat-card:hover::before {
    opacity: 1;
}

.nf-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--nf-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.nf-stat-label {
    font-size: .8rem;
    color: var(--nf-text-sub);
    font-weight: 500;
}

/* ═══════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════ */
.nf-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.nf-section-header h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--nf-text);
    margin-bottom: .5rem;
    letter-spacing: -0.02em;
}

.nf-section-header p {
    font-size: .95rem;
    color: var(--nf-text-sub);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.nf-section-line {
    width: 50px;
    height: 4px;
    background: var(--nf-gradient);
    border-radius: 2px;
    margin: .85rem auto 0;
}

/* ═══════════════════════════════════════
   BENEFITS GRID
   ═══════════════════════════════════════ */
.nf-benefits {
    margin-bottom: 2.5rem;
}

.nf-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.nf-benefit-card {
    background: var(--nf-surface);
    border-radius: var(--nf-radius-sm);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--nf-shadow-sm);
    border: 1px solid var(--nf-border);
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
    position: relative;
    overflow: hidden;
}

.nf-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--nf-gradient);
    transform: scaleX(0);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
    transform-origin: left;
}

.nf-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--nf-shadow-glow);
    border-color: rgba(108, 201, 38, .15);
}

.nf-benefit-card:hover::before {
    transform: scaleX(1);
}

.nf-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    background: var(--nf-gradient-soft);
    color: var(--nf-primary);
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
}

.nf-benefit-card:hover .nf-benefit-icon {
    background: var(--nf-gradient);
    color: #fff;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 24px rgba(108, 201, 38, .30);
}

.nf-benefit-card h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--nf-text);
    margin-bottom: .4rem;
}

.nf-benefit-card p {
    font-size: .82rem;
    color: var(--nf-text-sub);
    line-height: 1.55;
    margin: 0;
}

/* ═══════════════════════════════════════
   STEPS SECTION
   ═══════════════════════════════════════ */
.nf-steps {
    margin-bottom: 2.5rem;
}

.nf-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
}

/* Connecting line between steps (desktop) */
.nf-steps-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 2px;
    background: linear-gradient(90deg,
            var(--nf-primary) 0%,
            rgba(108, 201, 38, .3) 50%,
            var(--nf-primary) 100%);
    z-index: 0;
}

.nf-step-card {
    text-align: center;
    padding: 0 1rem 1rem;
    position: relative;
    z-index: 1;
}

.nf-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nf-gradient);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 6px 20px rgba(108, 201, 38, .30);
    position: relative;
    transition: all .35s cubic-bezier(.22, 1, .36, 1);
}

.nf-step-card:hover .nf-step-number {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(108, 201, 38, .40);
}

.nf-step-card h4 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--nf-text);
    margin-bottom: .3rem;
}

.nf-step-card p {
    font-size: .8rem;
    color: var(--nf-text-sub);
    line-height: 1.5;
    margin: 0;
}

/* ═══════════════════════════════════════
   PLANS SECTION
   ═══════════════════════════════════════ */
.nf-plans {
    margin-bottom: 2.5rem;
}

.nf-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.nf-plan-card {
    background: var(--nf-surface);
    border-radius: var(--nf-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--nf-shadow-sm);
    border: 2px solid var(--nf-border);
    transition: all .4s cubic-bezier(.22, 1, .36, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.nf-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--nf-shadow-lg);
}

/* Featured plan */
.nf-plan-card.nf-plan-featured {
    border-color: var(--nf-primary);
    box-shadow: var(--nf-shadow-glow);
    z-index: 2;
    transform: scale(1.03);
}

.nf-plan-card.nf-plan-featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 20px 50px rgba(108, 201, 38, .25);
}

.nf-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nf-gradient);
    color: #fff;
    padding: 6px 22px;
    border-radius: 50px;
    font-size: .70rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(108, 201, 38, .30);
}

.nf-plan-name {
    font-size: .82rem;
    font-weight: 700;
    color: var(--nf-text-sub);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1rem;
}

.nf-plan-price {
    margin-bottom: .5rem;
}

.nf-plan-price .nf-price-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--nf-text);
    vertical-align: super;
}

.nf-plan-price .nf-price-value {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--nf-text);
    line-height: 1;
    letter-spacing: -0.03em;
}

.nf-plan-price .nf-price-period {
    display: block;
    font-size: .80rem;
    color: var(--nf-text-sub);
    margin-top: 4px;
}

.nf-plan-discount {
    display: inline-block;
    background: rgba(108, 201, 38, .10);
    color: var(--nf-primary-dark);
    font-size: .76rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.nf-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
    flex: 1;
}

.nf-plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    color: var(--nf-text);
    padding: 8px 0;
    border-bottom: 1px solid var(--nf-border);
}

.nf-plan-features li:last-child {
    border-bottom: none;
}

.nf-plan-features li i {
    color: var(--nf-primary);
    font-size: .78rem;
    flex-shrink: 0;
}

.nf-plan-cta {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .90rem;
    text-decoration: none;
    text-align: center;
    transition: all .35s cubic-bezier(.22, 1, .36, 1);
    border: 2px solid var(--nf-primary);
    color: var(--nf-primary);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.nf-plan-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--nf-gradient);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 0;
}

.nf-plan-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 201, 38, .25);
    border-color: transparent;
}

.nf-plan-cta:hover::before {
    opacity: 1;
}

/* Featured plan CTA */
.nf-plan-featured .nf-plan-cta {
    background: var(--nf-gradient);
    color: #fff;
    border-color: transparent;
}

.nf-plan-featured .nf-plan-cta::before {
    background: linear-gradient(135deg, #55a51e, #2d8a0e);
}

.nf-plan-featured .nf-plan-cta:hover {
    box-shadow: 0 10px 30px rgba(108, 201, 38, .35);
}

/* ═══════════════════════════════════════
   REVIEWS SECTION
   ═══════════════════════════════════════ */
.nf-reviews {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--nf-radius);
    padding: 3rem 2.5rem;
    color: #fff;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative background */
.nf-reviews::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(108, 201, 38, .06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.nf-reviews h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: .5rem;
    position: relative;
}

.nf-reviews-subtitle {
    font-size: .9rem;
    opacity: .65;
    margin-bottom: 1.75rem;
}

.nf-rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.nf-rating-score {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #facc15, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nf-rating-details {
    text-align: left;
}

.nf-rating-stars {
    display: flex;
    gap: 3px;
    color: var(--nf-star);
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.nf-rating-count {
    font-size: .82rem;
    opacity: .6;
}

.nf-reviews-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0;
}

.nf-review-card {
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--nf-radius-sm);
    padding: 1.25rem;
    text-align: left;
    transition: all .35s cubic-bezier(.22, 1, .36, 1);
}

.nf-review-card:hover {
    background: rgba(255, 255, 255, .10);
    transform: translateY(-4px);
    border-color: rgba(108, 201, 38, .20);
}

.nf-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: .75rem;
}

.nf-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--nf-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .78rem;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 3px 10px rgba(108, 201, 38, .25);
}

.nf-review-name {
    font-weight: 600;
    font-size: .85rem;
}

.nf-review-stars {
    display: flex;
    gap: 2px;
    color: var(--nf-star);
    font-size: .68rem;
}

.nf-review-text {
    font-size: .82rem;
    line-height: 1.6;
    opacity: .78;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════ */
.nf-cta-final {
    background: var(--nf-gradient);
    border-radius: var(--nf-radius);
    padding: 3rem 2.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(108, 201, 38, .22);
}

.nf-cta-final::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -25%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 255, 255, .10) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: nfOrbFloat 9s ease-in-out infinite;
}

.nf-cta-final::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, .06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.nf-cta-final h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: .6rem;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.nf-cta-final p {
    font-size: 1rem;
    opacity: .92;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.nf-cta-final .nf-btn-primary {
    font-size: 1.1rem;
    padding: 16px 42px;
    position: relative;
    z-index: 2;
}

.nf-cta-note {
    font-size: .78rem;
    opacity: .65;
    margin-top: 1rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.nf-cta-note i {
    font-size: .72rem;
}

/* ═══════════════════════════════════════
   SIDEBAR ICON
   ═══════════════════════════════════════ */
.nav-icon.nota-fiscal-icon {
    background: linear-gradient(135deg, #6cc926, #44a518) !important;
}

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS (Intersection Observer)
   ═══════════════════════════════════════ */
.nf-hero,
.nf-stats-row,
.nf-benefits,
.nf-plans,
.nf-steps,
.nf-reviews,
.nf-cta-final {
    animation: nfSlideUp .7s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes nfSlideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nf-stats-row {
    animation-delay: .08s;
}

.nf-benefits {
    animation-delay: .16s;
}

.nf-steps {
    animation-delay: .22s;
}

.nf-plans {
    animation-delay: .28s;
}

.nf-reviews {
    animation-delay: .34s;
}

.nf-cta-final {
    animation-delay: .40s;
}

/* ═══════════════════════════════════════
   DARK MODE - Complete Override
   Uses both selectors for full compatibility
   ═══════════════════════════════════════ */

/* Partner badge */
.theme-dark .nf-partner-badge,
[data-theme="dark"] .nf-partner-badge {
    background: rgba(108, 201, 38, .12);
    border-color: rgba(108, 201, 38, .25);
    color: var(--nf-primary-light);
}

/* Stat cards */
.theme-dark .nf-stat-card,
[data-theme="dark"] .nf-stat-card {
    background: var(--nf-surface);
    border-color: var(--nf-border);
}

/* Section headers */
.theme-dark .nf-section-header h2,
[data-theme="dark"] .nf-section-header h2 {
    color: var(--nf-text);
}

.theme-dark .nf-section-header p,
[data-theme="dark"] .nf-section-header p {
    color: var(--nf-text-sub);
}

/* Benefit cards */
.theme-dark .nf-benefit-card,
[data-theme="dark"] .nf-benefit-card {
    background: var(--nf-surface);
    border-color: var(--nf-border);
}

.theme-dark .nf-benefit-card:hover,
[data-theme="dark"] .nf-benefit-card:hover {
    border-color: rgba(108, 201, 38, .20);
}

.theme-dark .nf-benefit-card h4,
[data-theme="dark"] .nf-benefit-card h4 {
    color: var(--nf-text);
}

.theme-dark .nf-benefit-card p,
[data-theme="dark"] .nf-benefit-card p {
    color: var(--nf-text-sub);
}

.theme-dark .nf-benefit-icon,
[data-theme="dark"] .nf-benefit-icon {
    background: rgba(108, 201, 38, .12);
}

/* Step cards */
.theme-dark .nf-step-card,
[data-theme="dark"] .nf-step-card {
    color: var(--nf-text);
}

.theme-dark .nf-step-card h4,
[data-theme="dark"] .nf-step-card h4 {
    color: var(--nf-text);
}

.theme-dark .nf-step-card p,
[data-theme="dark"] .nf-step-card p {
    color: var(--nf-text-sub);
}

.theme-dark .nf-steps-grid::before,
[data-theme="dark"] .nf-steps-grid::before {
    background: linear-gradient(90deg,
            rgba(108, 201, 38, .40) 0%,
            rgba(108, 201, 38, .15) 50%,
            rgba(108, 201, 38, .40) 100%);
}

/* Plan cards */
.theme-dark .nf-plan-card,
[data-theme="dark"] .nf-plan-card {
    background: var(--nf-surface);
    border-color: var(--nf-border);
}

.theme-dark .nf-plan-card.nf-plan-featured,
[data-theme="dark"] .nf-plan-card.nf-plan-featured {
    background: linear-gradient(180deg, #1e293b 0%, #172035 100%);
    border-color: var(--nf-primary);
}

.theme-dark .nf-plan-name,
[data-theme="dark"] .nf-plan-name {
    color: var(--nf-text-sub);
}

.theme-dark .nf-plan-price .nf-price-value,
.theme-dark .nf-plan-price .nf-price-currency,
[data-theme="dark"] .nf-plan-price .nf-price-value,
[data-theme="dark"] .nf-plan-price .nf-price-currency {
    color: var(--nf-text);
}

.theme-dark .nf-plan-price .nf-price-period,
[data-theme="dark"] .nf-plan-price .nf-price-period {
    color: var(--nf-text-sub);
}

.theme-dark .nf-plan-discount,
[data-theme="dark"] .nf-plan-discount {
    background: rgba(108, 201, 38, .12);
    color: var(--nf-primary-light);
}

.theme-dark .nf-plan-features li,
[data-theme="dark"] .nf-plan-features li {
    color: var(--nf-text);
    border-color: var(--nf-border);
}

.theme-dark .nf-plan-cta,
[data-theme="dark"] .nf-plan-cta {
    border-color: var(--nf-primary);
    color: var(--nf-primary-light);
}

.theme-dark .nf-plan-cta:hover,
[data-theme="dark"] .nf-plan-cta:hover {
    color: #fff;
}

.theme-dark .nf-plan-featured .nf-plan-cta,
[data-theme="dark"] .nf-plan-featured .nf-plan-cta {
    color: #fff;
}

/* Stat label in dark */
.theme-dark .nf-stat-label,
[data-theme="dark"] .nf-stat-label {
    color: var(--nf-text-sub);
}

/* Reviews - already dark by design, slight adjustments */
.theme-dark .nf-reviews,
[data-theme="dark"] .nf-reviews {
    background: linear-gradient(135deg, #0c1322 0%, #162033 100%);
    border: 1px solid var(--nf-border);
}

/* CTA in dark - keep gradient but add border */
.theme-dark .nf-cta-final,
[data-theme="dark"] .nf-cta-final {
    box-shadow: 0 16px 50px rgba(108, 201, 38, .15);
}

/* Hero in dark */
.theme-dark .nf-hero,
[data-theme="dark"] .nf-hero {
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

/* ═══════════════════════════════════════
   RESPONSIVE – Tablet (≤992px)
   ═══════════════════════════════════════ */
@media (max-width: 992px) {
    .nf-hero {
        padding: 2.5rem 2rem;
    }

    .nf-hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .nf-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .nf-hero-actions {
        justify-content: center;
    }

    .nf-hero-logo {
        width: 170px;
    }

    .nf-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nf-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nf-plans-grid .nf-plan-card:last-child {
        grid-column: 1 / -1;
        max-width: 420px;
        margin: 0 auto;
    }

    .nf-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nf-steps-grid::before {
        display: none;
    }

    .nf-reviews-scroll {
        grid-template-columns: repeat(2, 1fr);
    }

    .nf-plan-card.nf-plan-featured {
        transform: none;
    }

    .nf-plan-card.nf-plan-featured:hover {
        transform: translateY(-6px);
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE – Mobile (≤576px)
   ═══════════════════════════════════════ */
@media (max-width: 576px) {
    .nf-landing {
        padding: 0 .25rem 2rem;
    }

    .nf-hero {
        padding: 2rem 1.5rem;
        border-radius: var(--nf-radius-sm);
        box-shadow: 0 12px 30px rgba(108, 201, 38, .18);
    }

    .nf-hero h1 {
        font-size: 1.5rem;
    }

    .nf-hero-subtitle {
        font-size: .92rem;
    }

    .nf-hero-logo {
        width: 140px;
        padding: 16px;
    }

    .nf-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .nf-btn-primary,
    .nf-btn-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    /* Stats – horizontal cards */
    .nf-stats-row {
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .nf-stat-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
        padding: 1rem 1.25rem;
    }

    .nf-stat-card::before {
        top: 0;
        bottom: 0;
        left: 0;
        right: unset;
        width: 3px;
        height: 100%;
    }

    /* Benefits – single column */
    .nf-benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Plans – single column */
    .nf-plans-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nf-plans-grid .nf-plan-card:last-child {
        max-width: 100%;
    }

    .nf-plan-card.nf-plan-featured {
        transform: none;
    }

    .nf-plan-card.nf-plan-featured:hover {
        transform: translateY(-4px);
    }

    /* Steps – horizontal cards */
    .nf-steps-grid {
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .nf-steps-grid::before {
        display: none;
    }

    .nf-step-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
        padding: 1rem 1.25rem;
        background: var(--nf-surface);
        border-radius: var(--nf-radius-xs);
        box-shadow: var(--nf-shadow-sm);
        border: 1px solid var(--nf-border);
    }

    .nf-step-number {
        margin: 0;
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1rem;
    }

    /* Reviews */
    .nf-reviews {
        padding: 2rem 1.25rem;
        border-radius: var(--nf-radius-sm);
    }

    .nf-reviews-scroll {
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    .nf-rating-score {
        font-size: 2.5rem;
    }

    /* CTA */
    .nf-cta-final {
        padding: 2rem 1.25rem;
        border-radius: var(--nf-radius-sm);
    }

    .nf-cta-final h2 {
        font-size: 1.3rem;
    }

    .nf-cta-final p {
        font-size: .92rem;
    }

    .nf-section-header h2 {
        font-size: 1.25rem;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE – Small Mobile (≤400px)
   ═══════════════════════════════════════ */
@media (max-width: 400px) {
    .nf-hero {
        padding: 1.5rem 1.25rem;
    }

    .nf-hero h1 {
        font-size: 1.3rem;
    }

    .nf-hero-logo {
        width: 120px;
        padding: 12px;
    }

    .nf-stat-number {
        font-size: 1.25rem;
    }

    .nf-review-card {
        padding: 1rem;
    }
}

/* ═══════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

    .nf-hero::before,
    .nf-hero::after,
    .nf-cta-final::before {
        animation: none;
    }

    .nf-hero,
    .nf-stats-row,
    .nf-benefits,
    .nf-plans,
    .nf-steps,
    .nf-reviews,
    .nf-cta-final {
        animation: none;
    }

    .nf-partner-badge {
        animation: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}