:root {
    --bg: #0b0720;
    --bg2: #120c33;
    --card: rgba(255, 255, 255, .05);
    --line: rgba(255, 255, 255, .1);
    --txt: #e9e7f5;
    --mute: #a7a3c7;
    --pri: #8b5cf6;
    --acc: #ec4899;
    --grad: linear-gradient(135deg, #8b5cf6, #ec4899);
    --r: 22px;
    --ease: cubic-bezier(.22, .8, .3, 1)
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    background: var(--bg);
    color: var(--txt);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    overflow-x: hidden
}

h1,
h2,
h3,
h4 {
    color: #fff;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2
}

.text-mute {
    color: var(--mute)
}

.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

section {
    padding: 96px 0
}

.navbar {
    transition: .3s var(--ease);
    padding: 16px 0
}

.navbar.scrolled {
    background: rgba(11, 7, 32, .85);
    backdrop-filter: blur(14px);
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff
}

.navbar-brand i {
    color: var(--pri)
}

.nav-link {
    color: var(--mute) !important;
    font-weight: 500
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important
}

.navbar-toggler {
    border-color: var(--line)
}

.navbar-toggler-icon {
    filter: invert(1)
}

.btn-grad {
    background: var(--grad);
    border: 0;
    color: #fff;
    font-weight: 600;
    padding: .8rem 1.8rem;
    border-radius: 50px;
    transition: .3s var(--ease);
    box-shadow: 0 10px 30px -10px var(--pri)
}

.btn-grad:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 16px 36px -10px var(--acc)
}

.btn-ghost {
    border: 1px solid var(--line);
    color: #fff;
    padding: .8rem 1.8rem;
    border-radius: 50px;
    transition: .3s
}

.btn-ghost:hover {
    background: var(--card);
    color: #fff
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    background: radial-gradient(60% 50% at 80% 20%, rgba(139, 92, 246, .35), transparent), radial-gradient(40% 40% at 10% 90%, rgba(236, 72, 153, .2), transparent), var(--bg)
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem)
}

.badge-pill {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--card);
    padding: .4rem 1rem;
    border-radius: 50px;
    font-size: .85rem;
    color: var(--mute)
}

.hero-img {
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
    height: auto
}

@keyframes float {
    50% {
        transform: translateY(-16px)
    }
}

.stats {
    background: var(--bg2);
    padding: 64px 0;
    border-block: 1px solid var(--line)
}

.stat b {
    display: block;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800
}

.eyebrow {
    color: var(--pri);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem
}

.card-x {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 32px;
    height: 100%;
    transition: .4s var(--ease)
}

.card-x:hover {
    transform: translateY(-8px);
    border-color: var(--pri);
    box-shadow: 0 20px 50px -20px var(--pri)
}

.ico {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--grad);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 20px
}

.alt {
    background: var(--bg2)
}

.timeline {
    border-left: 2px solid var(--line);
    margin-left: 8px
}

.tl {
    position: relative;
    padding: 0 0 36px 32px
}

.tl::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 0 5px rgba(139, 92, 246, .2)
}

.tl span {
    color: var(--acc);
    font-weight: 700
}

.article p {
    font-size: 1.08rem;
    color: #cfcbe8
}

.quote {
    border-left: 4px solid var(--pri);
    background: var(--card);
    padding: 24px 28px;
    border-radius: 0 var(--r) var(--r) 0;
    font-size: 1.2rem;
    color: #fff
}

.img-card {
    border-radius: var(--r);
    border: 1px solid var(--line);
    width: 100%;
    height: auto
}

.cta {
    background: var(--grad);
    border-radius: 32px;
    padding: 64px 32px;
    text-align: center
}

.cta .btn {
    background: #fff;
    color: #4c1d95;
    font-weight: 700;
    border-radius: 50px;
    padding: .85rem 2rem
}

footer {
    border-top: 1px solid var(--line);
    padding: 40px 0;
    color: var(--mute);
    font-size: .9rem
}

#toTop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-size: 1.3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: .3s var(--ease);
    z-index: 99
}

#toTop.show {
    opacity: 1;
    visibility: visible;
    transform: none
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--d, 0s)
}

.reveal.in {
    opacity: 1;
    transform: none
}

@media(max-width:991px) {
    section {
        padding: 72px 0
    }

    .navbar-collapse {
        background: var(--bg2);
        border-radius: var(--r);
        padding: 16px;
        margin-top: 12px
    }

    .hero {
        text-align: center
    }

    .hero .d-flex {
        justify-content: center
    }
}

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

    .reveal {
        opacity: 1;
        transform: none
    }
}