:root{
    --main:#005691;
    --accent:#6cb7e3;
    --bg1:#dfeaf1;
    --bg2:#edf4f8;
    --text:#0d2d45;
    --sub:#4e6678;
    --glass:rgba(255,255,255,.34);
    --glass-strong:rgba(255,255,255,.48);
    --border:rgba(255,255,255,.38);
}

@media (prefers-color-scheme: dark){
    :root{
        --bg1:#07131c;
        --bg2:#0c1a24;
        --text:#edf6fc;
        --sub:#bfd3e1;
        --glass:rgba(18,28,38,.44);
        --glass-strong:rgba(18,28,38,.58);
        --border:rgba(255,255,255,.08);
    }
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI",sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:
    radial-gradient(circle at top left, rgba(0,86,145,.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(108,183,227,.10), transparent 30%),
    linear-gradient(135deg,var(--bg1),var(--bg2));
    color:var(--text);
    overflow:hidden;
}

/* cursor glow */
.cursor-glow{
    position:fixed;
    width:200px;
    height:200px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(0,86,145,.18), transparent 70%);
    pointer-events:none;
    transform:translate(-50%,-50%);
    filter:blur(20px);
    opacity:0;
    z-index:0;
}

/* scroll scenes */
.snap-wrapper{
    height:100vh;
    overflow-y:auto;
    scroll-snap-type:y mandatory;
}

.snap-page{
    min-height:100vh;
    scroll-snap-align:start;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:100px 20px 40px;
    position:relative;
}

.section-column{
    flex-direction:column;
    gap:40px;
}

/* navbar */
nav{
    position:fixed;
    top:18px;
    left:50%;
    transform:translateX(-50%);
    width:min(94%,1200px);
    padding:16px 26px;
    border-radius:28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    backdrop-filter:blur(20px);
    background:var(--glass);
    border:1px solid var(--border);
    z-index:100;
}

.logo-wrap{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:var(--text);
    font-weight:700;
}

.logo-wrap img{
    width:42px;
    height:42px;
    border-radius:50%;
}

.nav-links{
    display:flex;
    gap:28px;
}

.nav-links a{
    text-decoration:none;
    color:var(--text);
    font-weight:700;
}

/* cards */
.hero-box,
.about-card,
.insight-card{
    backdrop-filter:blur(24px);
    background:var(--glass-strong);
    border:1px solid var(--border);
    border-radius:30px;
}

.hero-box{
    width:min(920px,92%);
    padding:90px 50px;
    text-align:center;
    position:relative;
    overflow:visible;
}

.hero-box h1{
    font-size:4rem;
    font-weight:800;
}

.hero-box p{
    margin-top:18px;
    color:var(--sub);
    font-size:1.15rem;
}

.line{
    width:110px;
    height:2px;
    background:linear-gradient(to right,var(--main),var(--accent));
    margin:28px auto;
}

/* buttons */
.buttons{
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
}

.buttons a{
    padding:14px 26px;
    border-radius:18px;
    background:var(--glass);
    border:1px solid var(--border);
    text-decoration:none;
    color:var(--text);
    display:flex;
    gap:10px;
    align-items:center;
    font-weight:700;
    transition:.25s;
}

.buttons a:hover{
    transform:translateY(-3px);
}

/* floating stickers */
.sticker{
    position:absolute;
    width:88px;
    height:88px;
    object-fit:cover;
    border-radius:22px;
    animation: stickerFloat 5s ease-in-out infinite;
    user-select:none;
    pointer-events:none;
    z-index:3;

    box-shadow:
        0 14px 32px rgba(0,0,0,.14),
        0 2px 10px rgba(255,255,255,.25);

    border:1px solid rgba(255,255,255,.35);
    backdrop-filter:blur(8px);

    opacity:.96;
}

.top-right{
    top:20px;
    right:-18px;
    animation-delay:.4s;
}

.bottom-left{
    bottom:20px;
    left:-18px;
    animation-delay:1.2s;
}

@keyframes stickerFloat{
    0%,100%{
        transform:translateY(0px) rotate(-3deg);
    }

    50%{
        transform:translateY(-14px) rotate(3deg);
    }
}

/* about */
.about-card{
    padding:34px;
    text-align:center;
    max-width:700px;
}

/* insights */
.insight-section{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
}

.insight-card{
    padding:28px;
    min-width:240px;
    text-align:center;
}

/* floating draggable zone */
.floating-zone{
    position:relative;
    width:100%;
    max-width:900px;
    height:180px;
}

.float-item{
    position:absolute;
    padding:12px 20px;
    border-radius:18px;
    background:var(--glass);
    border:1px solid var(--border);
    font-weight:700;
    user-select:none;
    -webkit-user-select:none;
    touch-action:none;
    cursor:grab;
    color:var(--text);
}

.float-item:active{
    cursor:grabbing;
}

/* mobile */
@media(max-width:768px){

    nav{
        padding:14px 18px;
    }

    .nav-links{
        gap:14px;
        font-size:.9rem;
    }

    .hero-box{
        padding:90px 24px;
    }

    .hero-box h1{
        font-size:2.5rem;
    }

    .hero-box p{
        font-size:1rem;
    }

    .buttons{
        gap:12px;
    }

    .buttons a{
        width:100%;
        justify-content:center;
    }

    .sticker{
        width:58px;
        height:58px;
        border-radius:16px;

        box-shadow:
            0 10px 22px rgba(0,0,0,.12),
            0 2px 8px rgba(255,255,255,.18);
    }

    .top-right{
        top:15px;
        right:-10px;
    }

    .bottom-left{
        bottom:15px;
        left:-10px;
    }

    .insight-card{
        width:100%;
    }

    .floating-zone{
        height:160px;
    }
}
