﻿/* ── TOKENS ── */
:root {
    --red: #E50914;
    --red-d: #b20710;
    --dark: #0a0a0a;
    --dark2: #111111;
    --dark3: #181818;
    --dark4: #222222;
    --card: #1a1a1a;
    --border: rgba(255,255,255,.07);
    --white: #ffffff;
    --gray: #a0a0a0;
    --light: #f4f4f4;
    --font-h: 'Syne', sans-serif;
    --font-b: 'DM Sans', sans-serif;
    --radius: 14px;
    --shadow: 0 20px 60px rgba(0,0,0,.55);
}

/* ── RESET ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-b);
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ── UTILITY ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(229,9,20,.12);
    color: var(--red);
    border: 1px solid rgba(229,9,20,.3);
    font-family: var(--font-h);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .95rem;
    padding: 14px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(229,9,20,.35);
}

    .btn-primary:hover {
        background: var(--red-d);
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(229,9,20,.45);
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: .95rem;
    padding: 13px 28px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,.2);
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .15s;
}

    .btn-ghost:hover {
        border-color: rgba(255,255,255,.5);
        background: rgba(255,255,255,.05);
        transform: translateY(-2px);
    }

.section-label {
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-sub {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 540px;
    line-height: 1.7;
}

.highlight {
    color: var(--red);
}

/* ── NOISE OVERLAY ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: .025;
}

/* ════════════════════════════
       NAV
    ════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    background: rgba(10,10,10,.85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-family: var(--font-h);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 3px;
}

    .logo span.hr {
        color: var(--white);
    }

    .logo span.flix {
        color: var(--red);
    }

    .logo sup {
        font-size: .5rem;
        color: var(--gray);
        font-weight: 400;
        letter-spacing: 0;
        margin-top: -6px;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

    .nav-links a {
        font-size: .9rem;
        font-weight: 500;
        color: var(--gray);
        transition: color .2s;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--red);
            transition: width .25s;
        }

        .nav-links a:hover {
            color: var(--white);
        }

            .nav-links a:hover::after {
                width: 100%;
            }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-login {
    font-size: .9rem;
    font-weight: 600;
    color: var(--gray);
    transition: color .2s;
}

    .nav-login:hover {
        color: #fff;
    }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all .3s;
    }

/* ════════════════════════════
       HERO
    ════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(229,9,20,.18) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 80% 60%, rgba(229,9,20,.08) 0%, transparent 60%), var(--dark);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: .06;
    background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
}

    .hero-content .tag {
        margin-bottom: 24px;
    }

.hero-title {
    font-family: var(--font-h);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 22px;
}

    .hero-title em {
        font-style: normal;
        color: var(--red);
        display: block;
    }

.hero-desc {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.avatars {
    display: flex;
}

    .avatars span {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--dark4);
        border: 2px solid var(--dark);
        margin-left: -8px;
        font-size: .65rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gray);
    }

        .avatars span:first-child {
            margin-left: 0;
        }

.trust-text {
    font-size: .85rem;
    color: var(--gray);
    line-height: 1.4;
}

    .trust-text strong {
        color: #fff;
        display: block;
    }

/* Hero visual / mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    width: 100%;
    max-width: 520px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow), 0 0 80px rgba(229,9,20,.1);
    animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mockup-title {
    font-family: var(--font-h);
    font-size: .85rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.mockup-badge {
    background: rgba(229,9,20,.15);
    color: var(--red);
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid rgba(229,9,20,.25);
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--dark3);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border);
}

    .stat-card .val {
        font-family: var(--font-h);
        font-size: 1.7rem;
        font-weight: 800;
        margin-bottom: 2px;
    }

    .stat-card .lbl {
        font-size: .75rem;
        color: var(--gray);
    }

    .stat-card .chg {
        font-size: .72rem;
        font-weight: 600;
        margin-top: 4px;
    }

.chg.up {
    color: #22c55e;
}

.chg.dn {
    color: var(--red);
}

.progress-row {
    margin-bottom: 14px;
}

    .progress-row .pr-label {
        display: flex;
        justify-content: space-between;
        font-size: .78rem;
        color: var(--gray);
        margin-bottom: 6px;
    }

        .progress-row .pr-label strong {
            color: var(--white);
        }

.bar-bg {
    background: var(--dark4);
    border-radius: 50px;
    height: 7px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 50px;
    transition: width 1.5s ease;
}

.bar-red {
    background: linear-gradient(90deg, #e50914, #ff6b6b);
}

.bar-blue {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.bar-grn {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.mini-team {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.mini-person {
    flex: 1;
    background: var(--dark3);
    border-radius: 10px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border);
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 800;
    color: #fff;
}

.mini-person .name {
    font-size: .65rem;
    color: var(--gray);
    text-align: center;
}

.mini-person .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.dot-green {
    background: #22c55e;
}

.dot-yellow {
    background: #f59e0b;
}

.dot-red {
    background: var(--red);
}

/* floating mini cards */
.float-card {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
    font-size: .8rem;
}

.float-card-1 {
    top: -20px;
    right: -30px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatCard 4s ease-in-out infinite .5s;
}

.float-card-2 {
    bottom: 20px;
    left: -35px;
    animation: floatCard 4.5s ease-in-out infinite 1s;
}

.float-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.fi-green {
    background: rgba(34,197,94,.15);
}

.fi-blue {
    background: rgba(59,130,246,.15);
}

/* ════════════════════════════
       MARQUEE / LOGOS
    ════════════════════════════ */
.marquee-section {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.marquee-label {
    text-align: center;
    font-size: .8rem;
    color: var(--gray);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee 22s linear infinite;
    width: max-content;
}

    .marquee-track:hover {
        animation-play-state: paused;
    }

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marq-item {
    font-family: var(--font-h);
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255,255,255,.25);
    white-space: nowrap;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .marq-item:hover {
        color: rgba(255,255,255,.6);
    }

.marq-dot {
    color: var(--red);
    font-size: 1.2rem;
}

/* ════════════════════════════
       STATS BAR
    ════════════════════════════ */
.stats-bar {
    padding: 72px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat-item {
    background: var(--dark2);
    padding: 36px 30px;
    text-align: center;
}

    .stat-item .num {
        font-family: var(--font-h);
        font-size: 2.6rem;
        font-weight: 800;
        margin-bottom: 6px;
    }

    .stat-item .desc {
        font-size: .88rem;
        color: var(--gray);
        line-height: 1.5;
    }

.num-red {
    color: var(--red);
}

/* ════════════════════════════
       FEATURES
    ════════════════════════════ */
.features {
    padding: 100px 0;
}

.features-intro {
    text-align: center;
    margin-bottom: 70px;
}

    .features-intro .section-sub {
        margin: 0 auto;
    }

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.ftab {
    padding: 10px 22px;
    border-radius: 8px;
    font-family: var(--font-h);
    font-size: .82rem;
    font-weight: 700;
    border: 1.5px solid var(--border);
    color: var(--gray);
    cursor: pointer;
    transition: all .2s;
    background: transparent;
}

    .ftab:hover, .ftab.active {
        background: var(--red);
        color: #fff;
        border-color: var(--red);
    }

.features-panel {
    display: none;
}

    .features-panel.active {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

.fp-content .section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.fp-list {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fp-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.fp-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(229,9,20,.12);
    border: 1px solid rgba(229,9,20,.2);
    color: var(--red);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.fp-item p {
    font-size: .9rem;
    color: var(--gray);
    line-height: 1.6;
}

.fp-item strong {
    color: var(--white);
    display: block;
    margin-bottom: 2px;
    font-size: .95rem;
}

.fp-visual {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .fp-visual::before {
        content: attr(data-icon);
        position: absolute;
        top: 24px;
        right: 24px;
        font-size: 5rem;
        opacity: .07;
    }

.fp-viz-title {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.fp-viz-sub {
    font-size: .8rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
}

.cbar {
    flex: 1;
    border-radius: 6px 6px 0 0;
    opacity: .8;
    transition: opacity .2s;
}

    .cbar:hover {
        opacity: 1;
    }

.cbar-red {
    background: linear-gradient(180deg, #e50914, rgba(229,9,20,.4));
}

.cbar-blue {
    background: linear-gradient(180deg, #3b82f6, rgba(59,130,246,.4));
}

.cbar-grn {
    background: linear-gradient(180deg, #22c55e, rgba(34,197,94,.4));
}

.donut-wrap {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.donut-ring {
    position: relative;
    width: 110px;
    height: 110px;
}

    .donut-ring svg {
        transform: rotate(-90deg);
    }

.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .donut-center span {
        font-family: var(--font-h);
        font-size: 1.4rem;
        font-weight: 800;
    }

    .donut-center small {
        font-size: .65rem;
        color: var(--gray);
    }

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
}

.pill-red {
    background: rgba(229,9,20,.15);
    color: #f87171;
    border: 1px solid rgba(229,9,20,.2);
}

.pill-blue {
    background: rgba(59,130,246,.15);
    color: #93c5fd;
    border: 1px solid rgba(59,130,246,.2);
}

.pill-grn {
    background: rgba(34,197,94,.15);
    color: #86efac;
    border: 1px solid rgba(34,197,94,.2);
}

/* ════════════════════════════
       MODULE CARDS
    ════════════════════════════ */
.modules {
    padding: 80px 0 100px;
}

.modules-intro {
    text-align: center;
    margin-bottom: 60px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mod-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
    cursor: default;
}

    .mod-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s;
    }

    .mod-card:hover {
        transform: translateY(-6px);
        border-color: rgba(229,9,20,.3);
        box-shadow: 0 20px 50px rgba(0,0,0,.4);
    }

        .mod-card:hover::after {
            transform: scaleX(1);
        }

.mod-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(229,9,20,.1);
    border: 1px solid rgba(229,9,20,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.mod-card h3 {
    font-family: var(--font-h);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.mod-card p {
    font-size: .88rem;
    color: var(--gray);
    line-height: 1.65;
}

.mod-learn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .82rem;
    color: var(--red);
    font-weight: 600;
    margin-top: 16px;
    transition: gap .2s;
}

.mod-card:hover .mod-learn {
    gap: 8px;
}

/* ════════════════════════════
       PRICING
    ════════════════════════════ */
.pricing {
    padding: 100px 0;
    background: var(--dark2);
    position: relative;
    overflow: hidden;
}

    .pricing::before {
        content: '';
        position: absolute;
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 400px;
        background: radial-gradient(ellipse, rgba(229,9,20,.1) 0%, transparent 70%);
        pointer-events: none;
    }

.pricing-intro {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: .9rem;
    color: var(--gray);
    font-weight: 500;
}

    .toggle-label.active-label {
        color: #fff;
        font-weight: 700;
    }

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: rgba(255,255,255,.1);
    border-radius: 50px;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: background .2s;
}

    .toggle-switch.on {
        background: var(--red);
    }

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
}

.toggle-switch.on .toggle-knob {
    transform: translateX(22px);
}

.save-badge {
    background: rgba(34,197,94,.15);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,.25);
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 28px;
    position: relative;
    transition: transform .25s, box-shadow .25s;
}

    .price-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow);
    }

    .price-card.popular {
        border-color: var(--red);
        box-shadow: 0 0 0 1px var(--red), 0 30px 60px rgba(229,9,20,.2);
    }

.popular-tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-family: var(--font-h);
    font-size: .7rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .1em;
    white-space: nowrap;
}

.price-tier {
    font-size: .78rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-amount {
    font-family: var(--font-h);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

    .price-amount sup {
        font-size: 1.2rem;
        vertical-align: super;
        margin-right: 2px;
    }

    .price-amount .per {
        font-size: .8rem;
        color: var(--gray);
        font-weight: 400;
        font-family: var(--font-b);
    }

.price-desc {
    font-size: .85rem;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.5;
}

.price-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 22px;
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.price-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .87rem;
    color: var(--gray);
}

    .price-feat .ck {
        color: #22c55e;
        font-size: 1rem;
    }

    .price-feat .xx {
        color: rgba(255,255,255,.2);
        font-size: 1rem;
    }

    .price-feat.enabled {
        color: var(--white);
    }

/* ════════════════════════════
       TESTIMONIALS
    ════════════════════════════ */
.testimonials {
    padding: 100px 0;
}

.test-intro {
    text-align: center;
    margin-bottom: 60px;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.test-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform .25s, border-color .25s;
}

    .test-card:hover {
        transform: translateY(-5px);
        border-color: rgba(229,9,20,.25);
    }

.test-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.test-text {
    font-size: .9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

    .test-text::before {
        content: '"';
        color: var(--red);
        font-size: 1.4rem;
        font-family: Georgia, serif;
        line-height: 0;
        vertical-align: -4px;
    }

.test-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.test-av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.test-name {
    font-weight: 700;
    font-size: .9rem;
}

.test-role {
    font-size: .78rem;
    color: var(--gray);
}

/* ════════════════════════════
       CTA SECTION
    ════════════════════════════ */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(229,9,20,.1) 0%, transparent 50%, rgba(229,9,20,.05) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: 'HRFlix';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        font-family: var(--font-h);
        font-size: 18vw;
        font-weight: 800;
        color: rgba(255,255,255,.02);
        white-space: nowrap;
        pointer-events: none;
        line-height: 1;
    }

    .cta-section .section-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .cta-section .section-sub {
        margin: 16px auto 36px;
        max-width: 500px;
    }

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 16px;
    font-size: .82rem;
    color: rgba(255,255,255,.35);
}

/* ════════════════════════════
       FOOTER
    ════════════════════════════ */
footer {
    background: var(--dark2);
    border-top: 1px solid var(--border);
    padding: 72px 24px 36px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand .logo {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: .88rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--dark4);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: var(--gray);
    transition: background .2s, color .2s, border-color .2s;
}

    .social-btn:hover {
        background: var(--red);
        color: #fff;
        border-color: var(--red);
    }

.footer-col h4 {
    font-family: var(--font-h);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray);
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: .88rem;
    color: rgba(255,255,255,.5);
    transition: color .2s;
}

    .footer-col a:hover {
        color: #fff;
    }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

    .footer-bottom p {
        font-size: .82rem;
        color: rgba(255,255,255,.3);
    }

    .footer-bottom a {
        color: var(--red);
    }

.footer-legal {
    display: flex;
    gap: 20px;
}

    .footer-legal a {
        font-size: .82rem;
        color: rgba(255,255,255,.3);
    }

        .footer-legal a:hover {
            color: rgba(255,255,255,.7);
        }

/* ════════════════════════════
       MOBILE SIDEBAR (left)
    ════════════════════════════ */
.mobile-menu {
    /* hidden off-canvas on the left */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85%;
    z-index: 1200;
    background: linear-gradient(180deg, rgba(10,10,10,.98), rgba(10,10,10,.99));
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.2,.9,.2,1);
    padding: 22px;
    box-shadow: 6px 0 40px rgba(0,0,0,.6);
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    overflow-y: auto;
}

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu a {
        font-family: var(--font-h);
        font-size: 1.05rem;
        font-weight: 800;
        color: rgba(255,255,255,.9);
        transition: color .15s, transform .15s;
        padding: 12px 8px;
        border-radius: 8px;
        display: inline-block;
    }

        .mobile-menu a:hover {
            color: #fff;
            background: rgba(255,255,255,.02);
            transform: translateX(4px);
        }

.close-menu {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.6rem;
    color: #fff; /* ensure high contrast */
    cursor: pointer;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    padding: 8px 10px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.5);
    z-index: 1300;
}

    .close-menu:hover {
        background: rgba(255,255,255,.06);
        color: #fff;
    }

/* ════════════════════════════
       SCROLL ANIMATIONS
    ════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ════════════════════════════
       RESPONSIVE
    ════════════════════════════ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .test-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .features-panel.active {
        grid-template-columns: 1fr;
    }

    .fp-visual {
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .test-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        /* On small phones use a single-column layout so items fit comfortably */
        grid-template-columns: 1fr;
    }

    .stat-item {
        /* Reduce internal padding and number size for small screens */
        padding: 20px 16px;
    }

        .stat-item .num {
            font-size: 2rem;
        }

        .stat-item .desc {
            font-size: .82rem;
        }

    .stats-bar {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}
