/* ============= RESET ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-0: #0a0812;
    --bg-1: #110d1e;
    --bg-2: #171228;
    --text: #efeaff;
    --muted: #bfb7e6;
    --primary: #8f5bff;
    --primary-2: #b992ff;
    --accent: #5df0ff;
    --ring: rgba(143,91,255,.45);
    --border: rgba(143,91,255,.25);
    --shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 40px rgba(143,91,255,.08);
    --glow: 0 0 18px rgba(143,91,255,.45), 0 0 36px rgba(143,91,255,.2);
    --radius: 18px;
    --container: 1200px;
    --nav-h: 64px; /* navbar height for below-the-fold hero */
}

html, body {
    height: 100%
}

body {
    font-family: 'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background: radial-gradient(900px 500px at 15% -10%, rgba(64,33,129,.35), transparent 70%), radial-gradient(1100px 700px at 110% 15%, rgba(64,33,129,.25), transparent 60%), var(--bg-0);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(100% - 24px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 80px 0;
}

.section--tight {
    padding: 56px 0
}

/* ============= NAVBAR ============= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: saturate(140%) blur(8px);
    background: linear-gradient(180deg, rgba(15,10,28,.75), rgba(15,10,28,.45));
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .brand img {
        height: 28px;
        width: auto;
        filter: drop-shadow(0 0 12px rgba(143,91,255,.55))
    }

.brand__name {
    font-weight: 800;
    letter-spacing: .6px
}

.nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

    .nav a {
        color: var(--muted);
        font-weight: 600;
        padding: 8px 10px;
        border-radius: 10px;
    }

        .nav a:hover {
            background: rgba(255,255,255,.04);
            color: var(--text)
        }

/* Hamburger (optional) */
.burger {
    display: none;
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    position: relative;
}

    .burger .line, .burger::before, .burger::after {
        content: '';
        display: block;
        height: 2px;
        width: 22px;
        background: var(--text);
        position: absolute;
        left: 11px;
        transition: transform .25s ease, opacity .2s ease;
        box-shadow: 0 0 10px rgba(143,91,255,.6);
    }

    .burger .line {
        top: 21px
    }

    .burger::before {
        top: 14px
    }

    .burger::after {
        top: 28px
    }

    .burger[aria-expanded="true"] .line {
        opacity: 0
    }

    .burger[aria-expanded="true"]::before {
        transform: translateY(7px) rotate(45deg)
    }

    .burger[aria-expanded="true"]::after {
        transform: translateY(-7px) rotate(-45deg)
    }

.mobile-panel {
    position: fixed;
    inset: 64px 12px auto 12px;
    border-radius: 16px;
    padding: 14px;
    background: var(--bg-2);
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: var(--shadow);
    display: none;
}

    .mobile-panel.open {
        display: block
    }

.mobile-nav {
    display: grid;
    gap: 8px;
    padding: 6px;
}

    .mobile-nav a {
        padding: 12px 14px;
        border-radius: 12px;
        color: var(--text);
        background: rgba(255,255,255,.03);
        border: 1px solid rgba(255,255,255,.06);
    }

.mobile-cta {
    margin-top: 10px;
    display: block;
    text-align: center;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
    background: linear-gradient(180deg, var(--primary-2), var(--primary));
    color: #0b0716;
    box-shadow: var(--glow);
}

/* ============= BUTTONS ============= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: .2s ease;
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(180deg, var(--primary-2), var(--primary));
    box-shadow: var(--glow);
    color: #0b0716;
}

    .btn--primary:hover {
        transform: translateY(-1px);
        filter: saturate(1.1)
    }

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border)
}

    .btn--ghost:hover {
        background: rgba(255,255,255,.05)
    }

/* ============= HERO ============= */
.hero {
    padding: 96px 0 64px;
    min-height: calc(100svh - var(--nav-h)); /* fill the screen, push next section below fold */
    display: flex;
    align-items: center; /* vertically center contents */
}
/* Fallback for browsers without svh support */
@supports not (height: 100svh) {
    .hero {
        min-height: calc(100vh - var(--nav-h));
    }
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -.5px;
}

.hero p {
    color: var(--muted);
    margin-top: 18px;
    max-width: 58ch
}

.hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap
}

/* Rotating word */
.rotator {
    display: inline-grid;
    width: 11ch; /* fits “Everywhere”; adjust to your longest word */
    vertical-align: baseline;
}

    .rotator > span {
        grid-area: 1/1;
        opacity: 0;
        transform: translateY(6px);
        animation: rotateWord 9s infinite;
        font-weight: 800;
        letter-spacing: -.5px;
    }

        .rotator > span:nth-child(1) {
            animation-delay: 0s;
        }

        .rotator > span:nth-child(2) {
            animation-delay: 3s;
        }

        .rotator > span:nth-child(3) {
            animation-delay: 6s;
        }

@keyframes rotateWord {
    0% {
        opacity: 0;
        transform: translateY(6px)
    }

    5% {
        opacity: 1;
        transform: translateY(0)
    }

    30% {
        opacity: 1;
        transform: translateY(0)
    }

    35% {
        opacity: 0;
        transform: translateY(-6px)
    }

    100% {
        opacity: 0;
        transform: translateY(-6px)
    }
}

/* Hero card with even border + AI sweep */
.hero__art {
    position: relative;
    background: linear-gradient(180deg, rgba(143,91,255,.18), rgba(143,91,255,.08));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px; /* equal spacing */
    overflow: hidden; /* keeps inner corners rounded */
}
    /* AI scan sweep */
    .hero__art::after {
        content: "";
        position: absolute;
        inset: -2px;
        background: linear-gradient(120deg, transparent 0%, rgba(155,92,255,.18) 20%, rgba(93,240,255,.22) 50%, transparent 80%);
        filter: blur(12px);
        transform: translateX(-160%);
        animation: hero-sweep 5.5s linear infinite;
        pointer-events: none;
    }

@keyframes hero-sweep {
    to {
        transform: translateX(160%);
    }
}

/* Video frame with scanlines */
.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    box-shadow: var(--shadow);
}

    .video-frame::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( to bottom, rgba(255,255,255,.05) 0px, rgba(255,255,255,.05) 1px, transparent 2px, transparent 4px );
        mix-blend-mode: overlay;
        opacity: .18;
        animation: scan-flicker 8s linear infinite;
        pointer-events: none;
    }

@keyframes scan-flicker {
    0%,100% {
        opacity: .16
    }

    50% {
        opacity: .22
    }
}

.video-frame iframe,
.video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* ============= SIMPLE BENEFITS BAND (no cards) ============= */
.statement {
    background: linear-gradient(180deg, rgba(143,91,255,.12), rgba(143,91,255,.06));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.punch {
    font-size: clamp(24px, 3.6vw, 36px);
    text-align: center;
    letter-spacing: -.3px;
    margin-bottom: 18px;
}

.big-list {
    display: grid;
    gap: 16px;
    margin: 10px 0 8px;
}

    .big-list li {
        display: grid;
        grid-template-columns: 34px 1fr;
        align-items: start;
        gap: 12px;
    }

.tick {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #0b0716;
    font-weight: 900;
    box-shadow: 0 0 16px rgba(143,91,255,.55);
}

.hero__actions.center {
    justify-content: center;
    margin-top: 18px
}

/* ============= LOCKDOWN SWITCH ============= */
.lock-ui {
    margin-top: 14px
}

.lock-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
    box-shadow: var(--shadow);
    cursor: pointer;
}

    .lock-switch .knob {
        width: 34px;
        height: 20px;
        border-radius: 999px;
        position: relative;
        background: linear-gradient(180deg, #2a2049, #1a1433);
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    }

        .lock-switch .knob::after {
            content: "";
            position: absolute;
            top: 2px;
            left: 2px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--primary);
            box-shadow: 0 0 12px rgba(143,91,255,.7);
            transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
        }

    .lock-switch .state {
        color: var(--muted);
        font-weight: 700;
        font-size: 14px
    }

    .lock-switch[aria-pressed="true"] .knob::after {
        transform: translateX(14px);
        background: #35f5a0; /* green when ON */
        box-shadow: 0 0 12px rgba(53,245,160,.7);
    }

.lock-note {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px
}

/* ============= FOOTER ============= */
.footer {
    border-top: 1px solid rgba(255,255,255,.06);
    background: linear-gradient(180deg, transparent, rgba(17,13,30,.6));
    padding: 32px 0 50px;
    color: var(--muted);
    text-align: center;
}

/* ============= UTILITIES ============= */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: var(--primary-2);
    letter-spacing: .6px;
    text-transform: uppercase;
}

.badge {
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(143,91,255,.15);
    border: 1px solid var(--border);
    color: var(--primary-2)
}

.list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted)
}

    .list li {
        display: flex;
        gap: 10px
    }

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(143,91,255,.7)
}

/* ============= RESPONSIVE ============= */
@media (max-width:980px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width:780px) {
    .nav {
        display: none
    }

    .burger {
        display: block
    }

    .statement {
        padding: 22px
    }

    .big-list {
        gap: 14px
    }
}

/* ==== Guides: tabs, steps, image placeholders ==== */
.tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab {
    appearance: none;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.04);
    color: var(--text);
    padding: 20px 24px;
    border-radius: 12px;
    font-weight: 1000;
    cursor: pointer;
    font-size: 30px;
}

    .tab.is-active {
        background: linear-gradient(180deg, var(--primary-2), var(--primary));
        color: #0b0716;
        box-shadow: var(--glow);
        border-color: transparent
    }

.guide-panel {
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

    .guide-panel.is-visible {
        opacity: 1;
        transform: none;
    }

.guide-title {
    font-size: clamp(22px, 3.2vw, 30px);
    margin-bottom: 16px;
}

.step-list {
    display: grid;
    gap: 18px;
    counter-reset: step;
}

.step {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 16px;
    align-items: center;
    background: linear-gradient(180deg, rgba(143,91,255,.10), rgba(143,91,255,.05));
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px;
}

    .step h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .step p {
        color: var(--muted);
    }

    .step .step-num {
        display: inline-grid;
        place-items: center;
        font-weight: 800;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--primary);
        color: #0b0716;
        margin-right: 8px;
        box-shadow: 0 0 12px rgba(143,91,255,.6);
    }

/* Image frame that looks good even before real screenshots */
.img-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(143,91,255,.18), rgba(93,240,255,.10));
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: var(--shadow);
}

    .img-frame::after {
        /* skeleton shimmer */
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
        transform: translateX(-100%);
        animation: shimmer 2.2s infinite;
    }

@keyframes shimmer {
    to {
        transform: translateX(100%);
    }
}

.img-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile layout for steps */
@media (max-width: 960px) {
    .step {
        grid-template-columns: 1fr;
    }
}

/* Reduce section gaps slightly on guides */
.section.section--tight {
    padding: 48px 0;
}

/* === FAQ accordion (theme-matched) === */
.faq {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

/* Card shell */
.faq-item {
    background: linear-gradient(180deg, rgba(143,91,255,.10), rgba(143,91,255,.05));
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

    /* Remove default marker */
    .faq-item summary {
        list-style: none;
    }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

    /* Summary row */
    .faq-item > summary {
        position: relative;
        padding: 16px 52px 16px 18px;
        font-weight: 800;
        cursor: pointer;
        transition: background .18s ease, color .18s ease;
    }

        .faq-item > summary:hover {
            background: rgba(255,255,255,.04);
        }

        /* Plus / minus indicator */
        .faq-item > summary::after {
            content: "+";
            position: absolute;
            right: 16px;
            top: 50%;
            translate: 0 -50%;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: rgba(255,255,255,.06);
            border: 1px solid rgba(255,255,255,.08);
            font-weight: 900;
            box-shadow: 0 0 12px rgba(143,91,255,.35);
        }

    .faq-item[open] > summary::after {
        content: "–";
        background: linear-gradient(180deg, var(--primary-2), var(--primary));
        color: #0b0716;
        border-color: transparent;
        box-shadow: var(--glow);
    }

    /* Answer body (animated reveal) */
    .faq-item .answer {
        max-height: 0;
        overflow: hidden;
        opacity: .0;
        transition: max-height .25s ease, opacity .25s ease, padding .25s ease;
        padding: 0 18px;
        border-top: 1px solid rgba(255,255,255,.06);
        color: var(--muted);
    }

    .faq-item[open] .answer {
        max-height: 600px;
        opacity: 1;
        padding: 0 18px 18px;
    }

    .faq-item .answer p {
        margin-top: 14px;
    }

/* Compact on small screens */
@media (max-width: 640px) {
    .faq-item > summary {
        padding: 14px 50px 14px 16px;
    }

    .faq-item .answer {
        padding: 0 16px;
    }

    .faq-item[open] .answer {
        padding: 0 16px 16px;
    }
}
