:root {
    --background: #070911;
    --background-deep: #03040a;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-strong: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(94, 215, 255, 0.35);
    --text: #f3f5ff;
    --muted: #858b9d;
    --cyan: #57d6ff;
    --purple: #8b6dff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--background);
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(58, 125, 255, 0.08),
            transparent 30%
        ),
        var(--background);
    color: var(--text);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

button,
a {
    font: inherit;
}

button {
    border: 0;
}

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

.noise {
    position: fixed;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    z-index: 20;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.background-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 80px 80px;
    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 75%
        );
}

.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(87, 214, 255, 0.075),
            transparent 68%
        );
    transform:
        translate(
            calc(var(--cursor-x, 50vw) - 250px),
            calc(var(--cursor-y, 50vh) - 250px)
        );
    transition:
        transform 0.18s linear;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 84px;
    padding: 0 clamp(24px, 6vw, 110px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 50;
    background:
        linear-gradient(
            to bottom,
            rgba(7, 9, 17, 0.82),
            transparent
        );
    backdrop-filter: blur(14px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

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

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

.nav-links a,
.back-button {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.nav-links a:hover,
.back-button:hover {
    color: var(--text);
    transform: translateY(-2px);
}

.scroll-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        150px
        clamp(24px, 7vw, 120px);

    opacity: var(--section-opacity, 1);

    filter:
        blur(
            var(--section-blur, 0px)
        );

    transform:
        translateY(
            var(--section-y, 0px)
        )
        scale(
            var(--section-scale, 1)
        );

    transform-origin: center center;

    will-change:
        opacity,
        filter,
        transform;
}

.section-content {
    width: min(100%, 1280px);
    position: relative;
    z-index: 2;
}

.hero {
    overflow: hidden;
}

.hero-content {
    width: min(100%, 850px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-orb,
.download-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    animation: floatOrb 10s ease-in-out infinite;
}

.orb-one {
    width: 500px;
    height: 500px;
    background: rgba(61, 194, 255, 0.13);
    top: 12%;
    left: -12%;
}

.orb-two {
    width: 400px;
    height: 400px;
    background: rgba(117, 76, 255, 0.11);
    right: -10%;
    bottom: 4%;
    animation-delay: -5s;
}

.hero-logo,
.download-app-icon {
    width: 132px;
    height: 132px;
    position: relative;
    display: grid;
    place-items: center;
    margin-bottom: 36px;
}

.hero-logo img,
.download-app-icon img {
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 2;
    object-fit: contain;
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-ring,
.icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 42px;
    border: 1px solid rgba(87, 214, 255, 0.28);
    box-shadow:
        0 0 60px rgba(87, 214, 255, 0.14),
        inset 0 0 30px rgba(87, 214, 255, 0.05);
    animation: spinRing 16s linear infinite;
}

.logo-ring::before,
.icon-ring::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 34px;
    border:
        1px solid
        rgba(255, 255, 255, 0.06);
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--cyan);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.hero-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
    animation: pulseDot 2s ease infinite;
}

.hero h1,
.download-main h1 {
    margin: 0;
    font-size: clamp(60px, 10vw, 140px);
    line-height: 0.84;
    letter-spacing: -0.075em;
    font-weight: 900;
}

.hero h1 span,
.section-intro h2 span,
.download-main h1 span,
.download-content h2 span,
.releases-heading h2 span {
    display: block;
    color: transparent;
    background:
        linear-gradient(
            100deg,
            var(--cyan),
            #b2ecff,
            var(--purple)
        );
    background-clip: text;
    -webkit-background-clip: text;
    animation: gradientMove 8s linear infinite;
    background-size: 200% 100%;
}

.hero p,
.download-main p,
.download-content p {
    max-width: 620px;
    margin: 32px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 42px;
}

.primary-button,
.secondary-button {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    font-weight: 700;
    transition:
        transform 0.25s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.primary-button {
    color: #061018;
    background:
        linear-gradient(
            135deg,
            #7ce4ff,
            var(--cyan)
        );
    box-shadow:
        0 18px 50px
        rgba(87, 214, 255, 0.18);
}

.primary-button:hover {
    transform:
        translateY(-4px)
        scale(1.025);

    box-shadow:
        0 25px 70px
        rgba(87, 214, 255, 0.3);
}

.primary-button:active {
    transform: scale(0.97);
}

.primary-button i {
    font-size: 20px;
    font-style: normal;
    transition: transform 0.25s ease;
}

.primary-button:hover i {
    transform: translateY(3px);
}

.secondary-button {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border);
}

.secondary-button:hover {
    color: var(--text);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.065);
}

.scroll-indicator {
    position: absolute;
    bottom: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 52px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.scroll-line div {
    width: 100%;
    height: 50%;
    background: var(--cyan);
    animation: scrollLine 2s ease infinite;
}

.section-intro {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 90px;
}

.section-number {
    color: var(--cyan);
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding-top: 8px;
}

.eyebrow {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.section-intro h2,
.download-content h2,
.releases-heading h2 {
    margin: 20px 0 0;
    max-width: 1000px;
    font-size: clamp(50px, 7vw, 105px);
    line-height: 0.88;
    letter-spacing: -0.07em;
}

.showcase-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
}

.showcase-copy > p {
    margin: 0 0 50px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 17px;
}

.showcase-stat {
    display: flex;
    flex-direction: column;
    padding: 22px 0;
    border-top: 1px solid var(--border);
}

.showcase-stat strong {
    font-size: 21px;
    letter-spacing: -0.04em;
}

.showcase-stat span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.carousel {
    position: relative;
}

.carousel-glow {
    position: absolute;
    inset: 15%;
    background: var(--cyan);
    opacity: 0.12;
    filter: blur(100px);
}

.carousel-frame {
    position: relative;
    height: min(38vw, 620px);
    min-height: 380px;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid var(--border);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.015)
        );
    box-shadow:
        0 50px 120px rgba(0, 0, 0, 0.4);
}

.carousel-track {
    position: absolute;
    inset: 0;
}

.carousel-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    filter: blur(20px);
    transform: scale(0.92);
    transition:
        opacity 0.9s ease,
        transform 1.1s cubic-bezier(.16,1,.3,1),
        filter 0.9s ease;
}

.carousel-image.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.04),
            transparent 20%,
            transparent 80%,
            rgba(0, 0, 0, 0.22)
        );
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 24px;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition:
        width 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.carousel-dot.active {
    width: 34px;
    background: var(--cyan);
    box-shadow:
        0 0 20px rgba(87, 214, 255, 0.5);
}

.features {
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(87, 214, 255, 0.025),
            transparent 55%
        );
}

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

.feature-card {
    min-height: 400px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );
    border: 1px solid var(--border);
    transition:
        transform 0.45s cubic-bezier(.16,1,.3,1),
        border-color 0.45s ease,
        background 0.45s ease;
}

.feature-card:hover {
    transform:
        translateY(-12px)
        scale(1.015);

    border-color: var(--border-strong);

    background:
        linear-gradient(
            145deg,
            rgba(87, 214, 255, 0.09),
            rgba(255, 255, 255, 0.025)
        );
}

.feature-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
}

.feature-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(87, 214, 255, 0.08);
    border: 1px solid rgba(87, 214, 255, 0.12);
    font-size: 21px;
}

.feature-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    letter-spacing: -0.05em;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.download-section {
    overflow: hidden;
    text-align: center;
}

.download-content {
    max-width: 950px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-logo {
    width: 110px;
    height: 110px;
    display: grid;
    place-items: center;
    margin-bottom: 30px;
    border-radius: 36px;
    background: rgba(87, 214, 255, 0.05);
    border: 1px solid rgba(87, 214, 255, 0.16);
    animation: logoFloat 6s ease-in-out infinite;
}

.download-logo img {
    width: 78px;
    height: 78px;
}

.large-button {
    margin-top: 38px;
    min-height: 66px;
    padding: 0 30px;
    border-radius: 22px;
}

.download-page {
    min-height: 100vh;
}

.download-page-content {
    position: relative;
    z-index: 2;
}

.download-hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 140px 24px;
}

.download-main {
    position: relative;
    z-index: 2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.orb-left {
    width: 550px;
    height: 550px;
    background: rgba(87, 214, 255, 0.12);
    left: -12%;
    top: 20%;
}

.orb-right {
    width: 450px;
    height: 450px;
    background: rgba(139, 109, 255, 0.12);
    right: -10%;
    bottom: 10%;
    animation-delay: -4s;
}

.releases-section {
    width: min(100%, 1280px);
    margin: auto;
    padding:
        150px
        clamp(24px, 7vw, 120px);
}

.releases-heading {
    margin-bottom: 80px;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.release-card {
    min-height: 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );
    border: 1px solid var(--border);
    transition:
        transform 0.4s cubic-bezier(.16,1,.3,1),
        border-color 0.4s ease;
}

.release-card:hover {
    transform: translateY(-8px);
    border-color: rgba(87, 214, 255, 0.4);
}

.release-version {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
}

.release-card h3 {
    margin: 28px 0 14px;
    font-size: 27px;
    letter-spacing: -0.04em;
}

.release-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.release-card .primary-button {
    margin-top: auto;
    width: fit-content;
    min-height: 50px;
    margin-top: 28px;
}

.loading-release {
    grid-column: 1 / -1;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--muted);
}

.loader {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--cyan);
    animation: spinRing 1s linear infinite;
}

footer {
    position: relative;
    z-index: 2;
    padding: 35px clamp(24px, 7vw, 120px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
}

.footer-brand img {
    width: 30px;
    height: 30px;
}

.page-leaving {
    animation:
        pageLeave 0.75s cubic-bezier(.16,1,.3,1)
        forwards;
}

.page-entering {
    animation:
        pageEnter 0.85s cubic-bezier(.16,1,.3,1)
        forwards;
}

@keyframes pageLeave {
    from {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }

    to {
        opacity: 0;
        filter: blur(24px);
        transform: scale(0.92);
    }
}

@keyframes pageEnter {
    from {
        opacity: 0;
        filter: blur(28px);
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(40px, -45px, 0);
    }
}

@keyframes logoFloat {
    0%,
    100% {
        transform:
            translateY(0)
            rotate(-2deg);
    }

    50% {
        transform:
            translateY(-12px)
            rotate(2deg);
    }
}

@keyframes spinRing {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseDot {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.7);
        opacity: 0.4;
    }
}

@keyframes gradientMove {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 200% 50%;
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .showcase-layout {
        grid-template-columns: 1fr;
    }

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

    .carousel-frame {
        height: 65vw;
        min-height: 300px;
    }

}

@media (max-width: 600px) {

    .hero h1,
    .download-main h1 {
        font-size: 60px;
    }

    .section-intro {
        gap: 16px;
        margin-bottom: 55px;
    }

    .section-intro h2,
    .download-content h2,
    .releases-heading h2 {
        font-size: 50px;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

}