:root {
    --purple: #5B1DAA;
    --purple-glow: #8F5CFF;
    --lime: #B6F25C;
    --dark: #2B0A4A;
    --light: #F6F7FB;
    --text: #1C1F2A;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, Segoe UI, sans-serif;
    background: white;
    color: var(--text);
}


/* HEADER */
.topbar {
    background: linear-gradient(90deg, var(--dark), var(--purple));
    padding: 16px 0;
    color: white;
}

    .topbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    font-weight: 900;
    font-size: 22px;
}

    .logo span {
        color: var(--lime);
    }

    .logo img {
        height: 40px;
        width: auto;
        /* Very light shadow for separation */
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 1));
        transition: transform .15s ease, filter .15s ease;
    }

        .logo img:hover {
            transform: translateY(-1px);
            filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
        }

nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}

nav .cta {
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 8px;
}

/* HERO */
/*.hero {*/
/*background: radial-gradient(circle at 70% 30%, var(--purple-glow), transparent 60%), linear-gradient(135deg, #3A0D66, var(--dark));*/
/*background: linear-gradient(90deg, var(--dark), var(--purple));
    color: white;
    padding: 90px 0;
}*/

.hero {
    background: radial-gradient(800px 400px at 70% 20%, rgba(143,92,255,.25), transparent 60%), linear-gradient(135deg, var(--dark), var(--purple));
    color: white;
    padding: 90px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 64px);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.hero h2 {
    font-size: 24px;
    opacity: .9;
}

.hero p {
    opacity: .9;
    /*max-width: 500px;*/
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,.6));
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

    .section.light {
        background: var(--light);
    }

.container {
    width: min(1200px, 90%);
    margin: auto;
}

.center {
    text-align: center
}

.lead {
    font-size: 18px;
    max-width: 700px;
}

/* INFOGRAPHIC */
.infographic-frame {
    margin-top: 48px;
    background: white;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 40px 90px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.04);
}

    .infographic-frame img {
        width: 90%;
    }

/* CARDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* BUTTONS */
.btn-primary {
    background: linear-gradient(135deg, var(--purple-glow), var(--purple));
    color: white;
    padding: 12px 26px;
    border-radius: 12px;
    text-decoration: none;
}

.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.5);
    padding: 12px 26px;
    border-radius: 12px;
    text-decoration: none;
    margin-left: 10px;
}

/* FOOTER */
.footer {
    background: #12001F;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .9s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all .9s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all .9s ease;
}

.reveal-visible {
    opacity: 1;
    transform: none;
}


.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.align-center {
    align-items: center;
}

.soft {
    background: linear-gradient(180deg, #faf6ff, #ffffff);
}

.feature-list {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

    .feature-list li {
        margin-bottom: 0.6rem;
        font-weight: 500;
    }

/*.media img,
.infographic-frame img {
    width: 100%;
    max-width: 1100px;
}*/

.hero-video {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    overflow: hidden;
    background: #12001F;
    box-shadow: 0 40px 90px rgba(40, 10, 80, 0.45), 0 0 0 1px rgba(255,255,255,.12);
}

    .video-wrapper iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }


.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 16px;
    color: var(--light);
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}


/* ============================= */
/* RESPONSIVE ENHANCEMENTS */
/* ============================= */

/* --- Tablets & Small Laptops --- */
@media (max-width: 1024px) {

    .hero {
        padding: 70px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }

    .hero-text {
        max-width: 680px;
        margin: auto;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .video-wrapper {
        max-width: 680px;
        margin: auto;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- Mobile Devices --- */
@media (max-width: 640px) {

    body {
        font-size: 15px;
    }

    .topbar .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    nav a {
        margin-left: 12px;
        margin-right: 12px;
    }

    .hero {
        padding: 56px 0;
    }

        .hero h1 {
            font-size: 38px;
        }

        .hero h2 {
            font-size: 18px;
        }

        .hero p {
            font-size: 15px;
        }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 260px;
        text-align: center;
        margin-left: 0;
    }

    .section {
        padding: 56px 0;
    }

    .lead {
        font-size: 16px;
    }

    .infographic-frame {
        padding: 18px;
        border-radius: 20px;
    }

        .infographic-frame img {
            width: 100%;
        }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }

    .section-eyebrow {
        font-size: 13px;
        letter-spacing: .12em;
    }
}

/* --- Ultra Small Phones --- */
@media (max-width: 380px) {

    .hero h1 {
        font-size: 32px;
    }

    .hero h2 {
        font-size: 16px;
    }

    .video-wrapper {
        border-radius: 16px;
    }
}

/* ============================= */
/* MOBILE HEADER OVERLAP FIX */
/* ============================= */

@media (max-width: 640px) {

    .topbar {
        position: relative;
        z-index: 10;
    }

        .topbar .container {
            flex-direction: column;
            align-items: center;
            gap: 14px;
            padding-bottom: 6px;
        }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

        nav a {
            margin: 0;
            font-size: 14px;
            white-space: nowrap;
        }

    /* Push hero down so it never hides under header */
    .hero {
        padding-top: 40px;
    }
}

.footer {
    background: #12001F;
    color: white;
    padding: 36px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.footer-brand img {
    height: 48px;
    width: auto;
    opacity: 0.9;
}

.footer-text {
    font-size: 14px;
    opacity: 0.85;
}

    .footer-text a {
        color: var(--lime);
        text-decoration: none;
    }

        .footer-text a:hover {
            text-decoration: underline;
        }



/* ============================= */
/* NAV COLOR POLISH (FOOTER DNA) */
/* ============================= */

nav a {
    color: rgba(255,255,255,.9);
    position: relative;
    transition: color .25s ease;
}

    /* Hover glow */
    nav a:hover {
        color: var(--lime);
    }

    /* Subtle underline using footer lime */
    nav a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--lime), var(--purple-glow));
        transition: width .25s ease;
    }

    nav a:hover::after {
        width: 100%;
    }

/* CTA keeps stronger presence */
nav .cta {
    background: linear-gradient(135deg, var(--purple-glow), var(--purple));
    border: none;
    color: white;
}

    nav .cta:hover {
        box-shadow: 0 0 0 2px rgba(182,242,92,.35), 0 10px 30px rgba(143,92,255,.35);
    }


/* ============================= */
/* BACK TO TOP BUTTON */
/* ============================= */

/* ============================= */
/* BACK TO TOP – MINIMAL */
/* ============================= */

#backToTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--lime);
    color: #12001F;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;
    z-index: 999;
}

    #backToTop.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #backToTop:hover {
        transform: translateY(-2px);
    }

/* Mobile */
@media (max-width: 640px) {
    #backToTop {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}


/* ============================= */
/* STICKY NAV */
/* ============================= */

.topbar {
    /*position: sticky;*/
    top: 0;
    z-index: 1000;
    /* Optional polish */
    backdrop-filter: blur(6px);
    /*background: linear-gradient( 90deg, rgba(43, 10, 74, 0.95), rgba(91, 29, 170, 0.95) );*/
    background: #12001F;
}
