:root {
    --primary: #1E88E5;
    --primary-700: #1565C0;
    --accent: #FFB300;

    --bg: #030213;
    --surface: #12121cb3;
    --border: #2A2A2A;

    --text: #EAEAF2;
    --muted: #B8B8C7;

    --radius: 14px;
    --nav-h: 72px;
    --container: 1200px;

    --shadow: 0 10px 30px rgba(0, 0, 0, .25);
    --nav-bg:
        linear-gradient(180deg, rgba(10, 10, 16, .66) 0%, rgba(10, 10, 16, .85) 100%),
        linear-gradient(90deg, rgba(120, 70, 240, .12), rgba(20, 170, 150, .10));
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden
}

.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .85));
}

.bg::before,
.bg::after {
    content: "";
    position: absolute;
    aspect-ratio: 1/1;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform, opacity;
    opacity: .7;
}

.bg::before {
    width: 60vmax;
    left: -10vmax;
    top: -10vmax;
    background:
        radial-gradient(closest-side, rgba(120, 70, 240, .20), transparent 65%),
        radial-gradient(closest-side, rgba(30, 136, 229, .18), transparent 70%);
    animation: blob-move-1 32s ease-in-out infinite alternate;
}

.bg::after {
    width: 45vmax;
    right: -8vmax;
    bottom: -12vmax;
    opacity: .6;
    background:
        radial-gradient(closest-side, rgba(200, 60, 140, .18), transparent 65%),
        radial-gradient(closest-side, rgba(30, 136, 229, .10), transparent 70%);
    animation: blob-move-2 36s ease-in-out infinite alternate;
}

.bg>.blob {
    position: absolute;
    width: 55vmax;
    aspect-ratio: 1/1;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    pointer-events: none;
    left: 20vmax;
    top: 60vh;
    background: radial-gradient(closest-side, rgba(40, 160, 120, .16), transparent 65%);
    animation: blob-move-3 40s ease-in-out infinite alternate;
}

@keyframes blob-move-1 {
    0% {
        transform: translate3d(0, 0, 0) scale(1)
    }

    40% {
        transform: translate3d(8vmax, 6vmax, 0) scale(1.06)
    }

    70% {
        transform: translate3d(2vmax, 14vmax, 0) scale(.98)
    }

    100% {
        transform: translate3d(12vmax, 10vmax, 0) scale(1.08)
    }
}

@keyframes blob-move-2 {
    0% {
        transform: translate3d(0, 0, 0) scale(1)
    }

    30% {
        transform: translate3d(-6vmax, -4vmax, 0) scale(1.05)
    }

    60% {
        transform: translate3d(-10vmax, 2vmax, 0) scale(.97)
    }

    100% {
        transform: translate3d(-14vmax, -6vmax, 0) scale(1.07)
    }
}

@keyframes blob-move-3 {
    0% {
        transform: translate3d(0, 0, 0) scale(1)
    }

    50% {
        transform: translate3d(-10vmax, -8vmax, 0) scale(1.04)
    }

    100% {
        transform: translate3d(6vmax, -16vmax, 0) scale(.96)
    }
}

@media (prefers-reduced-motion:reduce) {

    .bg::before,
    .bg::after,
    .bg>.blob {
        animation: none !important
    }
}

@media (max-width:600px) {

    .bg::before,
    .bg::after,
    .bg>.blob {
        filter: blur(60px)
    }
}

.container {
    width: 100%;
    max-width: var(--container);
    padding: 0 24px;
    margin-inline: auto
}

.section {
    padding: 80px 0
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    display: grid;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s, backdrop-filter .25s;
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-color: var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text)
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 12px
}

.brand__text {
    font-weight: 700;
    letter-spacing: .2px
}

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

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 10px
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 6px auto;
    border-radius: 2px;
    background: var(--text)
}

.nav-menu {
    display: block
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-family: Poppins, Inter, sans-serif;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transform: translateY(-1px)
}

.btn-link {
    color: #fff;
    background: rgba(255, 255, 255, .08)
}

.btn-link:hover {
    background: rgba(255, 255, 255, .12)
}

@media (max-width:840px) {
    .hamburger {
        display: block
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        right: 0;
        height: calc(100vh - var(--nav-h));
        width: min(86vw, 360px);
        background: rgba(10, 10, 16, .96);
        border-left: 1px solid var(--border);
        transform: translateX(100%);
        transition: transform .25s ease;
        box-shadow: -8px 0 28px rgba(0, 0, 0, .28);
    }

    .nav-menu.open {
        transform: translateX(0)
    }

    .nav-items {
        flex-direction: column;
        align-items: stretch;
        padding: 22px
    }

    .nav-link {
        display: block;
        width: 100%
    }
}

.h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    margin: 0 0 14px;
    font-weight: 700;
}

.h2 {
    font-size: clamp(26px, 3.2vw, 34px);
    margin: 0 0 18px;
    font-weight: 700;
}

.lead {
    color: var(--muted);
    font-size: clamp(16px, 2vw, 18px)
}

.gradient {
    background: linear-gradient(90deg, #7C4DFF, #1E88E5, #26A69A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero {
    padding: 0 0 calc(60px + 6vh);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-grid {
    display: grid;
    align-items: center;
    gap: 48px;
    grid-template-columns: 1.1fr 0.9fr;
}

.hero-text {
    min-width: 0
}

.actions {
    display: flex;
    gap: 16px;
    margin-top: 50px;
    flex-wrap: wrap
}

.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: Poppins, Inter, sans-serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:active {
    transform: translateY(1px)
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(30, 136, 229, .25);
}

.btn-primary:hover {
    background: var(--primary-700);
    border-color: var(--primary-700)
}

.btn-glass {
    background: rgba(255, 255, 255, .08);
    color: var(--text);
    border-color: rgba(255, 255, 255, .20);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border-color: rgba(255, 255, 255, .30)
}

.hero-visual {
    display: flex;
    justify-content: center
}

.hero-ill {
    width: min(420px, 90%);
    height: auto;
    border-radius: 18px;
}

@media (max-width:960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center
    }

    .actions {
        justify-content: center
    }
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 0 0 8px
}

.card p {
    margin: 0;
    color: var(--muted)
}

@media (max-width:900px) {
    .cards {
        grid-template-columns: 1fr
    }
}

#typed-text {
    color: var(--accent);
    font-weight: 600;
    min-width: 50px;
    border-right: 2px solid var(--accent);
    display: inline-block;
    padding-right: 4px;
    height: 60px;
    animation: blink .7s infinite;
}

@keyframes blink {

    0%,
    50% {
        border-color: var(--accent)
    }

    51%,
    100% {
        border-color: transparent
    }
}

.footer {
    border-top: 1px solid var(--border);
    margin-top: 40px;
    padding: 22px 0;
    background: rgba(10, 10, 16, .5)
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.to-top {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px
}

.to-top:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}

