:root {
    --bg: #07070f;
    --bg2: #0c0c1a;
    --primary: #7c3aed;
    --primary2: #06b6d4;
    --accent: #f472b6;
    --text: #e8e8f2;
    --muted: #9a9ab5;
    --glass: rgba(255,255,255,.05);
    --glass-border: rgba(255,255,255,.09);
    --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    font-family: 'Inter',sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden
}

h1, h2, h3, h4 {
    font-family: 'Sora',sans-serif;
    line-height: 1.2
}

img {
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1200px,92%);
    margin: 0 auto
}

/* ====== Aurora background ====== */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: var(--bg)
}

    .aurora::before, .aurora::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(120px);
        opacity: .35;
        animation: float 14s ease-in-out infinite alternate
    }

    .aurora::before {
        width: 55vw;
        height: 55vw;
        background: #5b21b6;
        top: -15%;
        left: -10%
    }

    .aurora::after {
        width: 45vw;
        height: 45vw;
        background: #0e7490;
        bottom: -15%;
        right: -8%;
        animation-delay: -6s
    }

@keyframes float {
    to {
        transform: translate(6vw,4vh) scale(1.15)
    }
}

.grain {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E")
}

/* ====== Nav ====== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(7,7,15,.55);
    border-bottom: 1px solid var(--glass-border)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0
}

.logo {
    font-family: 'Sora',sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 10px
}

    .logo .mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: linear-gradient(135deg,var(--primary),var(--primary2));
        display: grid;
        place-items: center;
        font-size: 1.1rem;
        color: #fff;
        box-shadow: 0 0 24px rgba(124,58,237,.5)
    }

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none
}

    .nav-links a {
        font-size: .92rem;
        color: var(--muted);
        transition: .25s;
        position: relative
    }

        .nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg,var(--primary),var(--primary2));
            transition: .3s;
            border-radius: 2px
        }

        .nav-links a:hover {
            color: #fff
        }

            .nav-links a:hover::after {
                width: 100%
            }

.cta-btn {
    padding: 11px 26px;
    border-radius: 100px;
    background: linear-gradient(135deg,var(--primary),#4f46e5);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    transition: .3s;
    box-shadow: 0 8px 30px rgba(124,58,237,.35)
}

    .cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 40px rgba(124,58,237,.55)
    }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer
}

    .burger span {
        width: 26px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: .3s
    }

@media(max - width:860px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: rgba(12,12,26,.97);
        width: min(320px,80vw);
        height: calc(100vh - 70px);
        padding: 40px;
        gap: 26px;
        transition: right .35s ease;
        border-left: 1px solid var(--glass-border)
    }

        .nav-links.open {
            right: 0
        }

    .burger {
        display: flex
    }

    .nav .cta-btn {
        display: none
    }
}

/* ====== Hero ====== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 80px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    font-size: .8rem;
    color: var(--primary2);
    margin-bottom: 26px
}

    .badge .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #34d399;
        animation: pulse 2s infinite
    }

@keyframes pulse {
    50% {
        opacity: .4;
        transform: scale(.8)
    }
}

.hero h1 {
    font-size: clamp(2.6rem,5.5vw,4.4rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px
}

.grad {
    background: linear-gradient(90deg,var(--primary2),var(--primary),var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero p {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 560px;
    margin-bottom: 38px
}

.hero-btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

.btn-outline {
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    color: #fff;
    font-weight: 600;
    transition: .3s
}

    .btn-outline:hover {
        background: var(--glass);
        border-color: var(--primary2)
    }

.btn-solid {
    padding: 14px 32px;
    border-radius: 100px;
    background: linear-gradient(135deg,var(--primary),var(--primary2));
    color: #fff;
    font-weight: 600;
    transition: .3s;
    box-shadow: 0 10px 34px rgba(6,182,212,.3)
}

    .btn-solid:hover {
        transform: translateY(-3px)
    }

.stats {
    display: flex;
    gap: 44px;
    margin-top: 56px;
    flex-wrap: wrap
}

.stat h3 {
    font-size: 2rem;
    font-weight: 800
}

.stat span {
    color: var(--muted);
    font-size: .85rem
}

/* hero visual */
.hero-visual {
    position: relative;
    display: grid;
    place-items: center
}

.orbit-card {
    position: absolute;
    padding: 14px 20px;
    border-radius: 16px;
    background: rgba(12,12,26,.8);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    font-size: .82rem;
    font-weight: 600;
    box-shadow: 0 12px 40px rgba(0,0,0,.4);
    animation: bob 5s ease-in-out infinite
}

    .orbit-card small {
        display: block;
        color: var(--muted);
        font-weight: 400;
        font-size: .72rem
    }

@keyframes bob {
    50% {
        transform: translateY(-12px)
    }
}

.core {
    width: min(340px,70vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%,#8b5cf6,#4c1d95 55%,#0c0c1a);
    position: relative;
    box-shadow: 0 0 90px rgba(124,58,237,.5),inset 0 0 60px rgba(6,182,212,.35);
    animation: spin 24s linear infinite
}

@keyframes spin {
    to {
        filter: hue-rotate(60deg)
    }
}

.core::after {
    content: "</>";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: 'Sora',sans-serif;
    font-size: 3.4rem;
    font-weight: 800;
    color: rgba(255,255,255,.9);
    animation: spin 24s linear infinite reverse
}

@media(max - width:900px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .hero-visual {
        display: none
    }
}

/* ====== Section base ====== */
section {
    padding: 110px 0;
    position: relative
}

.sec-tag {
    text-align: center;
    color: var(--primary2);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px
}

.sec-title {
    text-align: center;
    font-size: clamp(1.9rem,4vw,2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px
}

.sec-sub {
    text-align: center;
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 64px;
    font-size: 1.02rem
}

/* ====== About ====== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.about-visual {
    position: relative
}

    .about-visual .frame {
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid var(--glass-border);
        background: linear-gradient(145deg,#12122a,#0a0a18);
        aspect-ratio: 4/3;
        display: grid;
        place-items: center;
        position: relative
    }

.code-snippet {
    font-family: 'Consolas',monospace;
    font-size: .85rem;
    color: #c4b5fd;
    line-height: 2;
    padding: 30px;
    width: 100%
}

    .code-snippet .k {
        color: #67e8f9
    }

    .code-snippet .s {
        color: #f472b6
    }

    .code-snippet .c {
        color: #64748b
    }

.exp-badge {
    position: absolute;
    bottom: -24px;
    right: -18px;
    background: linear-gradient(135deg,var(--primary),var(--primary2));
    border-radius: 18px;
    padding: 20px 28px;
    text-align: center;
    box-shadow: 0 16px 44px rgba(124,58,237,.45)
}

    .exp-badge h3 {
        font-size: 2rem
    }

    .exp-badge span {
        font-size: .78rem;
        color: rgba(255,255,255,.85)
    }

.about-text h2 {
    font-size: clamp(1.8rem,3.4vw,2.5rem);
    letter-spacing: -1px;
    margin-bottom: 20px
}

.about-text p {
    color: var(--muted);
    margin-bottom: 18px
}

.checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 26px
}

    .checks div {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: .92rem
    }

    .checks .tick {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        border-radius: 50%;
        background: rgba(52,211,153,.15);
        color: #34d399;
        display: grid;
        place-items: center;
        font-size: .7rem
    }

@media(max - width:900px) {
    .about-grid {
        grid-template-columns: 1fr
    }
}

/* ====== Services ====== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 26px
}

.card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 38px 32px;
    backdrop-filter: blur(10px);
    transition: .35s;
    position: relative;
    overflow: hidden
}

    .card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg,transparent,var(--primary2),transparent);
        opacity: 0;
        transition: .4s
    }

    .card:hover {
        transform: translateY(-8px);
        border-color: rgba(124,58,237,.5);
        box-shadow: 0 24px 60px rgba(0,0,0,.45)
    }

        .card:hover::before {
            opacity: 1
        }

    .card .icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        font-size: 1.6rem;
        margin-bottom: 24px;
        background: linear-gradient(135deg,rgba(124,58,237,.25),rgba(6,182,212,.25));
        border: 1px solid var(--glass-border)
    }

    .card h3 {
        font-size: 1.25rem;
        margin-bottom: 12px
    }

    .card p {
        color: var(--muted);
        font-size: .94rem;
        margin-bottom: 20px
    }

    .card ul {
        list-style: none
    }

    .card li {
        font-size: .85rem;
        color: var(--muted);
        padding: 6px 0;
        border-bottom: 1px dashed rgba(255,255,255,.06);
        display: flex;
        gap: 8px
    }

        .card li::before {
            content: "→";
            color: var(--primary2)
        }

/* ====== Partners ====== */
.partners-band {
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255,255,255,.02)
}

.marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)
}

.marquee-track {
    display: flex;
    gap: 70px;
    width: max-content;
    animation: scroll 26s linear infinite;
    padding: 40px 0;
    align-items: center
}

@keyframes scroll {
    to {
        transform: translateX(-50%)
    }
}

.partner {
    font-family: 'Sora',sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    transition: .3s;
    filter: grayscale(1)
}

    .partner:hover {
        color: #fff;
        filter: none
    }

    .partner .p-ico {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: var(--glass);
        border: 1px solid var(--glass-border);
        display: grid;
        place-items: center;
        font-size: 1.1rem
    }

/* ====== Contact ====== */
.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: start
}

.contact-info h2 {
    font-size: clamp(1.8rem,3.4vw,2.5rem);
    letter-spacing: -1px;
    margin-bottom: 18px
}

.contact-info > p {
    color: var(--muted);
    margin-bottom: 36px
}

.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 26px;
    align-items: flex-start
}

    .info-item .ico {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        border-radius: 14px;
        background: var(--glass);
        border: 1px solid var(--glass-border);
        display: grid;
        place-items: center;
        font-size: 1.2rem
    }

    .info-item h4 {
        font-size: .95rem;
        margin-bottom: 2px
    }

    .info-item p {
        color: var(--muted);
        font-size: .9rem
    }

form {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    backdrop-filter: blur(12px)
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.field {
    margin-bottom: 18px
}

    .field label {
        display: block;
        font-size: .8rem;
        color: var(--muted);
        margin-bottom: 8px;
        font-weight: 500
    }

    .field input, .field textarea, .field select {
        width: 100%;
        padding: 14px 16px;
        border-radius: 12px;
        background: rgba(0,0,0,.3);
        border: 1px solid var(--glass-border);
        color: #fff;
        font-family: inherit;
        font-size: .92rem;
        transition: .3s;
        outline: none
    }

        .field input:focus, .field textarea:focus, .field select:focus {
            border-color: var(--primary2);
            box-shadow: 0 0 0 3px rgba(6,182,212,.15)
        }

    .field textarea {
        resize: vertical;
        min-height: 120px
    }

.form-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg,var(--primary),var(--primary2));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: .3s;
    font-family: inherit
}

    .form-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 40px rgba(124,58,237,.4)
    }

@media(max - width:900px) {
    .contact-grid {
        grid-template-columns: 1fr
    }

    .form-row {
        grid-template-columns: 1fr
    }
}

/* ====== Location / Map ====== */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: stretch
}

.loc-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 44px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center
}

    .loc-card h3 {
        font-size: 1.5rem;
        margin-bottom: 20px
    }

.loc-line {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .93rem
}

    .loc-line:last-of-type {
        border: none
    }

    .loc-line span:first-child {
        font-size: 1.15rem
    }

    .loc-line b {
        display: block;
        font-size: .85rem;
        color: var(--primary2);
        margin-bottom: 2px
    }

    .loc-line div {
        color: var(--muted)
    }

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    min-height: 420px;
    box-shadow: 0 24px 70px rgba(0,0,0,.5)
}

    .map-wrap iframe {
        width: 100%;
        height: 100%;
        min-height: 420px;
        border: 0;
        display: block;
        filter: grayscale(.35) invert(.9) hue-rotate(180deg) contrast(.9)
    }

@media(max - width:900px) {
    .location-grid {
        grid-template-columns: 1fr
    }
}

/* ====== Footer ====== */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 56px 0 30px;
    background: rgba(0,0,0,.3)
}

.foot-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px
}

    .foot-grid p {
        color: var(--muted);
        font-size: .9rem;
        max-width: 320px;
        margin-top: 12px
    }

.foot-col h4 {
    font-size: .95rem;
    margin-bottom: 16px
}

.foot-col a, .foot-col li {
    display: block;
    color: var(--muted);
    font-size: .88rem;
    padding: 5px 0;
    list-style: none;
    transition: .25s
}

    .foot-col a:hover {
        color: var(--primary2)
    }

.socials {
    display: flex;
    gap: 12px;
    margin-top: 8px
}

    .socials a {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: var(--glass);
        border: 1px solid var(--glass-border);
        display: grid;
        place-items: center;
        font-size: .95rem;
        transition: .3s
    }

        .socials a:hover {
            background: linear-gradient(135deg,var(--primary),var(--primary2));
            transform: translateY(-3px)
        }

.copy {
    text-align: center;
    color: var(--muted);
    font-size: .82rem;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.06)
}

/* ====== Reveal on scroll ====== */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s ease,transform .8s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }
}
