:root {
    --primary: #00F2FF;
    --primary-rgb: 0, 242, 255;
    --secondary: #7000FF;
    --secondary-rgb: 112, 0, 255;
    --accent: #FF007A;
    --bg-deep: #020202;
    --bg-surface: #080808;
    --text-main: #FFFFFF;
    --text-muted: #999999;
    --chrome-border: rgba(255, 255, 255, 0.08);
    --chrome-border-bright: rgba(255, 255, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-blur: blur(32px);
    --nav-h: 100px;
    --radius-huge: 48px;
    --radius-fluid: clamp(16px, 4vw, 32px);
    --container: 1400px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- THE CINEMATIC VISUAL ENGINE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    background-color: #000;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.04em;
    line-height: 0.95;
    font-weight: 800;
}

.cinematic-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.scanlines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    opacity: 0.03;
}

.visual-nebula {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.nebula-blob {
    position: absolute;
    width: 90vw;
    height: 90vw;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    mix-blend-mode: screen;
    animation: nebulaMove 30s infinite alternate ease-in-out;
}

.nebula-1 {
    background: var(--primary);
    top: -20%;
    left: -10%;
}

.nebula-2 {
    background: var(--secondary);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.nebula-3 {
    background: var(--accent);
    top: 30%;
    left: 40%;
    width: 50vw;
    height: 50vw;
    opacity: 0.06;
}

@keyframes nebulaMove {
    0% {
        transform: translate(-5%, -5%) scale(1);
    }

    100% {
        transform: translate(15%, 15%) scale(1.15);
    }
}

/* --- CORE COMPONENTS --- */
.chrome-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--chrome-border);
    border-radius: var(--radius-fluid);
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s var(--ease-out), border-color 0.4s ease, opacity 0.8s var(--ease-out);
}

.chrome-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.chrome-card:hover {
    border-color: var(--chrome-border-bright);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.grid-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1rem, 2vw, 2.5rem);
}

.bento-slot {
    grid-column: span 12;
}

@media (min-width: 768px) {
    .bento-slot.md-6 {
        grid-column: span 6;
    }

    .bento-slot.md-4 {
        grid-column: span 4;
    }
}

@media (min-width: 1024px) {
    .bento-slot.lg-4 {
        grid-column: span 4;
    }

    .bento-slot.lg-6 {
        grid-column: span 6;
    }

    .bento-slot.lg-8 {
        grid-column: span 8;
    }
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--chrome-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.feature-icon-box svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* --- HEADER (Zero-Defect Responsive) --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 5000;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    transition: 0.5s var(--ease-out);
}

.header.active {
    background: rgba(2, 2, 2, 0.98);
    backdrop-filter: blur(24px);
    height: 80px;
    border-bottom: 1px solid var(--chrome-border);
}

.nav-grid {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-block {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.logo-symbol {
    width: 32px;
    height: 32px;
    background: var(--primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.6);
}

.logo-text {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    list-style: none;
    transition: 0.5s var(--ease-out);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: 0.4s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}

#mobileToggle {
    display: none;
}

@media (max-width: 1100px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(2, 2, 2, 0.98);
        backdrop-filter: blur(40px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transform: translateX(100%);
        z-index: 4999;
    }

    .nav-links.mobile-active {
        transform: translateX(0);
    }

    #mobileToggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 5001;
        cursor: pointer;
    }

    #mobileToggle span {
        width: 28px;
        height: 2px;
        background: #fff;
        transition: 0.4s;
    }

    #mobileToggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobileToggle.active span:nth-child(2) {
        opacity: 0;
    }

    #mobileToggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header-right .btn-elite {
        display: none;
    }
}

/* --- SECTIONS --- */
.section {
    padding: clamp(100px, 15vw, 220px) 0;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 2.5rem);
}

.section-title-wrap {
    margin-bottom: clamp(60px, 10vw, 120px);
    opacity: 0;
    transform: translateY(30px);
    transition: 1s var(--ease-out);
}

.section-title-wrap.revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-label {
    color: var(--primary);
    font-weight: 950;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    margin-bottom: 1.5rem;
    display: block;
}

.section h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 2rem;
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 180px 0 100px;
    z-index: 10;
}

.hero-main {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 8.5rem);
    margin: 2rem 0;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    background: rgba(255, 255, 255, 0.02);
    padding: clamp(3rem, 5vw, 6rem) clamp(2rem, 4vw, 4rem);
    border: 1px solid var(--chrome-border);
    border-radius: var(--radius-huge);
    margin-top: 6rem;
    backdrop-filter: blur(12px);
}

.stat-unit h4 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.3);
}

.stat-unit span {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 900;
}

/* --- NODE GRAPH --- */
.process-node-chain {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
}

.node-item {
    position: relative;
    padding-top: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: 1s var(--ease-out);
}

.node-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.node-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    background: var(--bg-surface);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.4);
}

/* --- FAQ & REVIEWS --- */
.faq-row {
    padding: clamp(1.5rem, 3vw, 3rem);
    cursor: pointer;
    border-bottom: 1px solid var(--chrome-border);
    transition: 0.3s;
}

.faq-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-row h5 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    transition: 0.3s;
}

.faq-row.active h5 {
    color: var(--primary);
}

.faq-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: 0.6s var(--ease-out);
}

.faq-row.active .faq-body {
    max-height: 400px;
    opacity: 1;
    margin-top: 2rem;
    border-left: 2px solid var(--primary);
    padding-left: 1.5rem;
}

.testimonial-card {
    padding: 3rem;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.author-info h6 {
    font-size: 1.1rem;
    color: #fff;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* --- ELITE UI --- */
.btn-elite {
    padding: 1.2rem 3rem;
    font-family: 'Outfit';
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 100px;
    transition: 0.5s var(--ease-out);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-solid {
    background: #fff;
    color: #000;
}

.btn-solid:hover {
    background: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.6);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid var(--chrome-border-bright);
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
}

/* --- FOOTER --- */
.footer {
    padding: 180px 0 60px;
    background: #010101;
    border-top: 1px solid var(--chrome-border);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 5rem;
    margin-bottom: 80px;
}

.footer-bio p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 2rem;
    max-width: 400px;
}

.footer-list h6 {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    color: #fff;
    margin-bottom: 2rem;
}

.footer-list ul {
    list-style: none;
}

.footer-list li {
    margin-bottom: 1.2rem;
}

.footer-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
}

.footer-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-legal {
    border-top: 1px solid var(--chrome-border);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-legal p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .section {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .btn-elite {
        padding: 1rem 2.2rem;
        font-size: 0.8rem;
    }
}