:root {
    --bg: #050914;
    --bg-soft: #07101d;
    --panel: #081724;
    --panel-2: #0b1d2b;
    --border: #14324a;
    --border-soft: rgba(62, 162, 225, .18);
    --text: #f3f8fc;
    --text-2: #afc4d5;
    --muted: #72899c;
    --cyan: #4fc3ff;
    --cyan-2: #16a9ed;
    --success: #56d9af;
    --danger: #ff6b72;
    --shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 50% -10%, rgba(18, 98, 146, .16), transparent 34rem),
        var(--bg);
    color: var(--text);
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

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

button,
input {
    font: inherit;
}

.ambient {
    position: fixed;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .08;
    pointer-events: none;
    z-index: -1;
}

.ambient-one {
    background: #13b8ff;
    left: -15rem;
    top: 14rem;
}

.ambient-two {
    background: #0a7ec6;
    right: -15rem;
    top: 40rem;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100vw - 1240px) / 2));
    background: rgba(5, 9, 20, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(79, 195, 255, .1);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 750;
    letter-spacing: -.02em;
}

.brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

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

.topbar nav a {
    color: var(--text-2);
    font-size: 14px;
    padding: 9px 12px;
    border-radius: 10px;
    transition: .18s ease;
}

.topbar nav a:hover {
    color: var(--text);
    background: rgba(79, 195, 255, .07);
}

.topbar nav .nav-download {
    color: #06121c;
    background: var(--cyan);
    font-weight: 700;
    padding-left: 16px;
    padding-right: 16px;
}

.topbar nav .nav-download:hover {
    background: #78d1ff;
    color: #06121c;
}

.section {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.hero {
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 58px;
    padding-top: 72px;
    padding-bottom: 92px;
}

.eyebrow {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px;
    border: 1px solid rgba(79, 195, 255, .18);
    background: rgba(79, 195, 255, .05);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 12px;
    font-weight: 650;
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 15px rgba(86, 217, 175, .8);
}

.hero h1 {
    margin: 0;
    max-width: 690px;
    font-size: clamp(46px, 5.2vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 830;
}

.hero h1 span {
    display: block;
    color: var(--cyan);
}

.hero-copy > p {
    max-width: 620px;
    margin: 26px 0 0;
    color: var(--text-2);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 34px;
}

.button {
    border: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 19px;
    border-radius: 12px;
    cursor: pointer;
    transition:
        transform .16s ease,
        background .16s ease,
        border-color .16s ease,
        color .16s ease,
        opacity .16s ease;
    font-weight: 740;
    font-size: 14px;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--cyan);
    color: #04121d;
    box-shadow: 0 12px 30px rgba(79, 195, 255, .14);
}

.button.primary:hover {
    background: #79d4ff;
}

.button.ghost {
    background: rgba(255, 255, 255, .025);
    color: var(--text);
    border: 1px solid var(--border);
}

.hero-trust {
    display: flex;
    gap: 28px;
    margin-top: 44px;
}

.hero-trust div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-trust strong {
    font-size: 13px;
    color: var(--text);
}

.hero-trust span {
    color: var(--muted);
    font-size: 11px;
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.window-frame {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(79, 195, 255, .24);
    background: #050914;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, .58),
        0 0 0 1px rgba(255, 255, 255, .02) inset;
    transform: perspective(1300px) rotateY(-4deg) rotateX(1deg);
}

.window-title {
    height: 36px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 10px;
    background: #050914;
    border-bottom: 1px solid #142235;
    font-size: 11px;
    color: #d5e8f5;
}

.window-title > span:first-child {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(79, 195, 255, .8);
}

.window-controls {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.window-controls i {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, .3);
}

.window-frame img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10.6;
    object-fit: cover;
    object-position: center top;
}

.glow-card {
    position: absolute;
    right: -14px;
    bottom: -22px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid rgba(79, 195, 255, .2);
    background: rgba(8, 23, 36, .94);
    color: var(--text-2);
    box-shadow: var(--shadow);
    font-size: 12px;
}

.glow-card span {
    color: var(--success);
    text-shadow: 0 0 12px var(--success);
}

.block-section,
.preview-section,
.owner-section,
.download-section {
    padding-top: 110px;
    padding-bottom: 110px;
}

.section-heading {
    max-width: 710px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.left {
    text-align: left;
    margin-left: 0;
}

.section-heading > span,
.owner-copy > span {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.section-heading h2,
.owner-copy h2,
.download-copy h2 {
    margin: 8px 0 0;
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.section-heading p,
.owner-copy p,
.download-copy p {
    margin: 16px 0 0;
    color: var(--text-2);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-card {
    min-height: 245px;
    padding: 26px;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    background:
        linear-gradient(
            145deg,
            rgba(10, 34, 52, .64),
            rgba(7, 16, 29, .74)
        );
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(79, 195, 255, .09);
    border: 1px solid rgba(79, 195, 255, .15);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 850;
}

.feature-card h3 {
    margin: 28px 0 8px;
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    color: var(--text-2);
    font-size: 14px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.preview-card {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(79, 195, 255, .16);
    background: rgba(8, 23, 36, .68);
    box-shadow: var(--shadow);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.preview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 195, 255, .34);
    box-shadow: 0 35px 85px rgba(0, 0, 0, .42);
}

.preview-card.large {
    grid-column: 1 / -1;
}

.preview-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
    background: #07101d;
}

.preview-card-copy {
    padding: 18px 18px 20px;
}

.preview-card-copy strong {
    display: block;
    font-size: 18px;
    color: var(--text);
}

.preview-card-copy span {
    display: block;
    margin-top: 6px;
    color: var(--text-2);
    font-size: 14px;
}

.owner-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    align-items: center;
    gap: 34px;
    padding: 38px;
    border-radius: 24px;
    border: 1px solid rgba(79, 195, 255, .17);
    background:
        linear-gradient(
            120deg,
            rgba(11, 29, 43, .92),
            rgba(6, 13, 25, .9)
        );
}

.owner-logo {
    height: 190px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    border: 1px solid var(--border-soft);
    background:
        radial-gradient(
            circle,
            rgba(79, 195, 255, .11),
            transparent 62%
        ),
        #07101d;
}

.owner-logo img {
    width: 118px;
    height: 118px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(19, 163, 234, .28));
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.contact-links a,
.contact-placeholder {
    padding: 8px 12px;
    border-radius: 9px;
    border: 1px solid var(--border);
    color: var(--text-2);
    background: rgba(255, 255, 255, .02);
    font-size: 12px;
}

.download-panel {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 34px;
    padding: 38px;
    border-radius: 24px;
    border: 1px solid rgba(79, 195, 255, .2);
    background:
        radial-gradient(circle at 15% 20%, rgba(34, 140, 199, .12), transparent 32rem),
        #07101d;
    box-shadow: var(--shadow);
}

.download-copy {
    padding: 20px 10px 20px 4px;
}

.lock-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(79, 195, 255, .18);
    background: rgba(79, 195, 255, .06);
    color: var(--cyan);
    font-size: 10px;
    font-weight: 820;
    letter-spacing: .08em;
}

.release-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.release-info > div {
    min-width: 135px;
    padding: 12px 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--border-soft);
}

.release-info span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.release-info strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-size: 13px;
}

.key-card {
    padding: 24px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: #081724;
}

.key-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-2);
    font-size: 11px;
    font-weight: 720;
}

.key-input-wrap {
    height: 48px;
    display: flex;
    align-items: center;
    border: 1px solid #1b3f58;
    background: #050d19;
    border-radius: 11px;
    overflow: hidden;
    transition: .16s ease;
}

.key-input-wrap:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(79, 195, 255, .07);
}

.key-input-wrap input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 13px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    letter-spacing: .025em;
}

.key-input-wrap button {
    height: 100%;
    padding: 0 13px;
    border: 0;
    border-left: 1px solid #17374f;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 10px;
}

.button.full {
    width: 100%;
    margin-top: 12px;
}

.key-message {
    min-height: 38px;
    padding: 10px 0 0;
    font-size: 11px;
    color: var(--muted);
}

.key-message.success {
    color: var(--success);
}

.key-message.error {
    color: var(--danger);
}

.download-button {
    width: 100%;
    margin-top: 4px;
    background: var(--success);
    color: #031810;
}

.download-button.disabled {
    pointer-events: none;
    cursor: not-allowed;
    color: #647483;
    background: #101c28;
    border: 1px solid #1b2e3d;
    box-shadow: none;
    opacity: .8;
}

.security-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 10px;
}

footer {
    width: min(1240px, calc(100% - 48px));
    min-height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(79, 195, 255, .1);
    color: var(--muted);
    font-size: 11px;
}

footer > div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-2);
}

footer img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-top: 95px;
    }

    .hero-copy {
        text-align: center;
    }

    .eyebrow,
    .hero-actions,
    .hero-trust {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .hero h1,
    .hero-copy > p {
        margin-left: auto;
        margin-right: auto;
    }

    .window-frame {
        transform: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .download-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .topbar {
        height: 64px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .topbar nav a:not(.nav-download) {
        display: none;
    }

    .section,
    footer {
        width: min(100% - 28px, 1240px);
    }

    .hero {
        padding-top: 70px;
        padding-bottom: 65px;
        gap: 42px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-copy > p {
        font-size: 15px;
    }

    .hero-trust {
        gap: 14px;
    }

    .hero-trust div {
        text-align: left;
    }

    .glow-card {
        right: 8px;
    }

    .preview-card-copy {
        padding: 16px;
    }

    .block-section,
    .preview-section,
    .owner-section,
    .download-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .owner-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .owner-logo {
        height: 155px;
    }

    .download-panel {
        padding: 22px;
    }

    .key-card {
        padding: 18px;
    }

    footer {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }
}


/* =========================================================
   V1.2 — SOFT CAROUSEL + MODAL GALLERY
   ========================================================= */

.hero-preview-stage {
    position: relative;
    overflow: hidden;
    background: #050914;
}

.hero-preview-stage > img {
    transition:
        opacity .34s ease,
        transform .34s cubic-bezier(.2, .75, .25, 1),
        filter .34s ease;
    will-change: opacity, transform;
}

.hero-preview-stage > img.soft-leave {
    opacity: 0;
    transform: scale(.992) translateX(var(--slide-out, -14px));
    filter: blur(1px);
}

.hero-preview-stage > img.soft-enter {
    opacity: 0;
    transform: scale(.992) translateX(var(--slide-in, 14px));
}

.image-nav {
    position: absolute;
    top: 50%;
    z-index: 9;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(79, 195, 255, .28);
    border-radius: 50%;
    background: rgba(5, 13, 25, .76);
    backdrop-filter: blur(10px);
    color: #f3f8fc;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
    font-size: 32px;
    font-family: Arial, sans-serif;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    opacity: .88;
    transition:
        background .18s ease,
        border-color .18s ease,
        opacity .18s ease,
        transform .18s ease;
}

.image-nav:hover {
    opacity: 1;
    background: rgba(11, 35, 54, .95);
    border-color: rgba(79, 195, 255, .62);
    transform: translateY(-50%) scale(1.055);
}

.image-nav-left {
    left: 14px;
}

.image-nav-right {
    right: 14px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, .36);
    cursor: pointer;
    transition:
        width .2s ease,
        border-radius .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.hero-dot.active {
    width: 20px;
    border-radius: 999px;
    background: var(--cyan);
    box-shadow: 0 0 13px rgba(79, 195, 255, .55);
}

.preview-card {
    width: 100%;
    border: 1px solid rgba(79, 195, 255, .16);
    padding: 0;
    color: inherit;
    text-align: left;
    font-family: inherit;
    cursor: zoom-in;
}

.preview-card:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

/* Modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 34px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity .22s ease,
        visibility .22s ease;
}

.gallery-modal.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.gallery-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(1, 5, 12, .82);
    backdrop-filter: blur(10px);
    cursor: default;
}

.gallery-dialog {
    position: relative;
    z-index: 2;
    width: min(1120px, 88vw);
    max-height: 88vh;
    overflow: hidden;
    border: 1px solid rgba(79, 195, 255, .25);
    border-radius: 22px;
    background: #07101d;
    box-shadow:
        0 45px 130px rgba(0, 0, 0, .72),
        0 0 0 1px rgba(255, 255, 255, .02) inset;
    transform: scale(.97) translateY(8px);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}

.gallery-modal.open .gallery-dialog {
    transform: scale(1) translateY(0);
}

.gallery-image-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 300px;
    max-height: calc(88vh - 90px);
    overflow: hidden;
    background: #050914;
}

.gallery-image-stage img {
    display: block;
    width: 100%;
    max-height: calc(88vh - 90px);
    object-fit: contain;
    transition:
        opacity .28s ease,
        transform .28s cubic-bezier(.2, .75, .25, 1);
    will-change: opacity, transform;
}

.gallery-image-stage img.soft-leave {
    opacity: 0;
    transform: scale(.985) translateX(var(--slide-out, -18px));
}

.gallery-image-stage img.soft-enter {
    opacity: 0;
    transform: scale(.985) translateX(var(--slide-in, 18px));
}

.gallery-arrow {
    width: 48px;
    height: 48px;
}

.gallery-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    background: rgba(5, 13, 25, .82);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease;
}

.gallery-close:hover {
    background: #da373c;
}

.gallery-caption {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 15px 20px 17px;
    border-top: 1px solid rgba(79, 195, 255, .12);
}

.gallery-caption > div {
    min-width: 0;
}

.gallery-caption strong {
    display: block;
    color: var(--text);
    font-size: 16px;
}

.gallery-caption span {
    display: block;
    margin-top: 3px;
    color: var(--text-2);
    font-size: 12px;
}

.gallery-caption small {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 11px;
}

body.gallery-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .image-nav {
        width: 38px;
        height: 38px;
        font-size: 27px;
    }

    .image-nav-left {
        left: 8px;
    }

    .image-nav-right {
        right: 8px;
    }

    .gallery-modal {
        padding: 12px;
    }

    .gallery-dialog {
        width: 96vw;
        border-radius: 16px;
    }

    .gallery-caption {
        align-items: flex-start;
    }
}
