@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
    --bg: #03020a;
    --blue: #0EA5E9;
    --purple: #7C3AED;
    --magenta: #D946EF;
    --cyan: #06B6D4;
    --white: #FFFFFF;
    --muted: #6B7280;
    --glass: rgba(255, 255, 255, 0.025);
    --glass-border: rgba(255, 255, 255, 0.07);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: crosshair;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.03em;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.88;
}

#canvas-container {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* NAV */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: padding .5s ease, background .5s ease;
}

#navbar.scrolled {
    background: rgba(3, 2, 10, .88);
    backdrop-filter: blur(24px);
    padding: 1.2rem 8%;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo-container img {
    height: 44px;
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 30%, #8B9EC7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: color .3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--blue);
    transition: width .3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.download-btn {
    padding: 11px 28px;
    border-radius: 100px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-family: 'Syne', sans-serif;
    transition: transform .3s ease, box-shadow .3s ease;
}

.download-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 0 28px rgba(255, 255, 255, .18);
}

/* HERO */
.hero {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 8%;
}

.hero h1 {
    font-size: clamp(4.5rem, 16vw, 9.5rem);
    margin-bottom: 2.4rem;
}

.hero p {
    font-size: 1.25rem;
    color: #8A9AB5;
    max-width: 680px;
    margin-bottom: 4rem;
    line-height: 1.55;
}

.shimmer {
    background: linear-gradient(90deg, #fff 0%, var(--blue) 30%, #fff 50%, var(--magenta) 70%, #fff 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 10s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 300% center;
    }
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* VERSION BADGE */
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, .1);
    border: 1px solid rgba(14, 165, 233, .25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: .72rem;
    letter-spacing: .15em;
    color: var(--blue);
    font-weight: 500;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.version-badge span {
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

/* CONTENT */
.content-grid {
    padding: 12rem 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.content-text h2 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    margin-bottom: 2.4rem;
}

.content-text p {
    font-size: 1.1rem;
    color: #8A9AB5;
    margin-bottom: 3rem;
    line-height: 1.65;
}

.section-label {
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--blue);
}

/* 3D APP SCREEN */
.app-screen-wrapper {
    perspective: 1400px;
    perspective-origin: center center;
    user-select: none;
}

.app-screen-inner {
    transform: rotateY(-18deg) rotateX(6deg);
    transform-style: preserve-3d;
    transition: transform .1s ease-out;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 80px 120px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .1);
    position: relative;
}

.app-screen-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, .06) 0%, transparent 55%);
    pointer-events: none;
    border-radius: 18px;
}

.app-screen-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, transparent 60%, rgba(3, 2, 10, .6) 100%);
    pointer-events: none;
    border-radius: 18px;
}

.app-screen-inner img {
    width: 100%;
    display: block;
    border-radius: 18px;
}

/* GLASS */
.glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    backdrop-filter: blur(20px);
}

/* DOWNLOAD */
.download-grid {
    padding: 0 8% 12rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    z-index: 1;
    position: relative;
}

.dl-card {
    padding: 4rem 2.5rem;
    text-align: center;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 28px;
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.dl-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
}

.dl-card i {
    font-size: 2.8rem;
    margin-bottom: 1.8rem;
    display: block;
}

.dl-card h3 {
    font-size: 1.6rem;
    margin-bottom: .6rem;
}

.dl-card .sub {
    color: var(--muted);
    font-size: .85rem;
    margin-bottom: 1.5rem;
    letter-spacing: .05em;
}

.experimental-tag {
    display: inline-block;
    background: rgba(217, 70, 239, .12);
    border: 1px solid rgba(217, 70, 239, .25);
    color: var(--magenta);
    font-size: .62rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(.16, 1, .3, 1), transform 1.2s cubic-bezier(.16, 1, .3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* THANK YOU */
.thankyou-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 8%;
    position: relative;
    z-index: 1;
}

.checkmark-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(14, 165, 233, .08);
    border: 2px solid rgba(14, 165, 233, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
    animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, .2)
    }

    50% {
        box-shadow: 0 0 0 20px rgba(14, 165, 233, 0)
    }
}

.checkmark-ring i {
    font-size: 2.5rem;
    color: var(--blue);
}

.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.tech-pill {
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
    font-size: .8rem;
    color: #94A3B8;
    letter-spacing: .08em;
}

/* CHANGELOG */
.changelog-empty {
    text-align: center;
    padding: 8rem 2rem;
    color: var(--muted);
    z-index: 1;
    position: relative;
}

.changelog-empty .icon-wrap {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    opacity: .25;
}

/* FOOTER */
footer {
    padding: 8rem 8% 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    border-top: 1px solid rgba(255, 255, 255, .04);
    position: relative;
    z-index: 1;
}

.footer-brand p {
    color: #4B5563;
    margin-top: 1.8rem;
    max-width: 380px;
    font-size: .9rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 1.8rem;
    font-size: .85rem;
    letter-spacing: 2px;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #374151;
    text-decoration: none;
    font-size: .9rem;
    transition: color .3s;
}

.footer-links a:hover {
    color: #9CA3AF;
}

.copyright {
    grid-column: 1/-1;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, .04);
    color: #1F2937;
    font-size: .75rem;
    letter-spacing: 1px;
}

@media(max-width:1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    nav {
        padding: 1.4rem 5%;
    }

    .nav-links {
        display: none;
    }

    footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 1.5rem auto 0;
    }
}