:root {
    --bg: #0b0c10;
    --fg: #f8fafc;
    --muted: #9aa4b2;
    --brand: #3c8fa5;
    --brand-2: #7bd6e5;
    --accent: #f59e0b;
    --card: #111217;
    --stroke: #1f2430;
    --success: #22c55e;
    --danger: #ef4444;
    --shadow: 0 10px 30px rgba(0, 0, 0, .25);
    --nav-h: 64px;
    /* mobile header height */
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    overflow-x: hidden;
    /* kill horiz scroll globally */
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    color: var(--fg);
    background:
        radial-gradient(1400px 900px at 70% 0%, rgba(60, 143, 165, 0.35), transparent 70%),
        radial-gradient(1200px 700px at 0% 40%, rgba(123, 214, 229, 0.20), transparent 80%),
        linear-gradient(180deg, #0b0c10 0%, #000000 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: lighten;
}

/* keep content clear of the fixed nav */
body {
    padding-top: var(--nav-h);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.36) 90%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: inherit;
    text-decoration: none
}

/* ===== Layout ===== */
.container {
    width: min(1200px, 94%);
    margin: 0 auto;
    /* keeps edges off-screen on mobile */
}

.section {
    padding: 2.2rem 0
}

.section h2 {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    margin: 0 0 .9rem
}

.muted {
    color: var(--muted)
}

/* ===== Buttons / badges ===== */
.btn {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    border: 1px solid var(--stroke);
    padding: .55rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: .2px;
    cursor: pointer;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}

.h1 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.btn:hover {
    transform: translateY(-1px)
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: #fff;
    box-shadow: var(--shadow);
    font-weight:lighter;
}

.btn-ghost {
    background: transparent;
    color: var(--fg);
    font-weight:lighter;
}

.btn-outline {
    background: transparent;
    border-color: rgba(60, 143, 165, .75);
    color: #dff7ff
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .55rem;
    border: 1px solid rgba(60, 143, 165, .55);
    border-radius: 999px;
    color: var(--muted);
    font-size: .85rem
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 2rem;
    margin-left: 2rem;
}

.footer-title {
    display: none;
}

/* ===== Fixed Nav + Burger ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 100;
    display: flex;
    align-items: center;
    backdrop-filter: saturate(160%) blur(8px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1200px, 94%);
    margin: 0 auto;
    padding: .5rem 1rem;
}

.nav a.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 800;
    letter-spacing: .2px
}

/* desktop nav hidden by default (mobile first) */
.desktop-nav {
    display: none;
}


.nav-links {
    align-items: center
}

.nav-links a {
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--fg)
}

/* burger */
.burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 38px;
    border: 1px solid rgba(60, 143, 165, .45);
    border-radius: 10px;
    background: rgba(11, 12, 16, .35);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;

}

.burger:hover {
    background: rgba(11, 12, 16, .55);
    border-color: rgba(60, 143, 165, .8);
}

.burger-bar {
    width: 18px;
    height: 2px;
    background: #dff7ff;
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

.burger-bar:not(:last-child) {
    margin-bottom: 4px;
}

.burger[aria-expanded="true"] .burger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] .burger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 0 0 3px rgba(60, 143, 165, .25)
}

/* mobile slide-down menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(11, 12, 16, .92);
    backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid rgba(60, 143, 165, .35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
    padding: .75rem 1rem 1rem;
    z-index: 99;
    display: none;
}

.mobile-menu.open {
    display: block;
}

.mobile-link {
    display: block;
    padding: .9rem .6rem;
    border-radius: 10px;
    color: var(--fg);
    font-weight: 600;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, .04);
}

.mobile-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: .6rem;
}

/* ===== Hero ===== */
.hero {
    padding: 3.5rem 0 2rem;
    position: relative
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start
}
    .h2 {
        display: block;
        font-size: 1.8em;
        margin-block-start: 0.67em;
        margin-block-end: 0.67em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        font-weight: light;
        unicode-bidi: isolate;
    }
.hero h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    line-height: 1.12;
    margin: .25rem 0 .75rem
}

.hero p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 60ch
}

.hero-card {
    background: linear-gradient(180deg, rgba(60, 143, 165, .12), rgba(123, 214, 229, .08));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: .9rem
}

.kpis {
    display: grid;
    grid-template-columns: 1fr;
    gap: .8rem;
    margin-top: .8rem
}

.kpis .card {
    background: var(--card);
    border: 1px solid var(--stroke);
    padding: 1rem;
    border-radius: 14px
}

.kpis .label {
    color: var(--muted);
    font-size: .85rem
}

.kpis .value {
    font-size: 1.4rem;
    font-weight: 800
}

/* ===== Cards / grids ===== */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem
}

.feature {
    background: var(--card);
    border: 1px solid var(--stroke);
    padding: 1.1rem;
    border-radius: 16px;
    transition: box-shadow .25s ease, transform .15s ease;
}

.feature:hover {
    box-shadow: 0 0 20px rgba(60, 142, 165, .75);
    transform: translateY(-4px);
    border-color: rgba(60, 143, 165, .5);
}

.feature h3 {
    margin: .2rem 0 .6rem
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    border: 1px dashed var(--brand);
    color: var(--muted);
    margin-bottom: .6rem;
    font-size: .8rem
}

.subgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem
}

.check {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin: .4rem 0
}

.check svg {
    flex: 0 0 20px
}

.panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border-radius: 16px;
    padding: 1.1rem
}

/* ===== CTA / Footer ===== */
.cta {
    padding: 2rem 0
}

.cta .wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center
}

.footer {
    padding: 1.6rem 0;
    border-top: 1px solid var(--stroke);
    color: var(--muted)
}

/* ===== Kill the old horizontal scroll row ===== */
/* If you still use .h-scroll in markup, convert it to a simple grid with no overflow */
.h-scroll {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow: visible;
    /* no scrolling */
}

.h-item {
    min-width: auto;
}

/* ===== Ambient background blobs ===== */
.bg-blobs {
    position: fixed;
    inset: -10% -10% -10% -10%;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .25;
    mix-blend-mode: screen;
    background: radial-gradient(circle at 30% 30%, rgba(60, 143, 165, .75), rgba(60, 143, 165, .15) 60%, transparent 70%);
}

.blob-a {
    top: -6%;
    right: 10%;
    animation: floatA 18s ease-in-out infinite alternate
}

.blob-b {
    bottom: 0%;
    left: -6%;
    background: radial-gradient(circle at 40% 40%, rgba(123, 214, 229, .7), rgba(60, 143, 165, .2) 55%, transparent 75%);
    animation: floatB 22s ease-in-out infinite alternate
}

@keyframes floatA {
    from {
        transform: translateY(0) translateX(0)
    }

    to {
        transform: translateY(40px) translateX(-30px)
    }
}

@keyframes floatB {
    from {
        transform: translateY(0) translateX(0)
    }

    to {
        transform: translateY(-35px) translateX(40px)
    }
}

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

    .blob-a,
    .blob-b {
        animation: none
    }
}

@media (min-width: 600px) {
    .kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    :root {
        --nav-h: 72px;
    }


    .nav-links {
        display: flex;
        gap: 1.5rem;
        align-items: center
    }

    .nav-inner {
        padding: .8rem 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .burger,
    .mobile-menu {
        display: none !important;
    }

    .hero {
        padding: 4.5rem 0 3rem
    }

    .hero-grid {
        grid-template-columns: 1.2fr .8fr;
        gap: 2rem;
        padding: 2rem 0 2rem;
    }

    .kpis {
        grid-template-columns: repeat(3, 1fr);
    }

    .subgrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta .wrap {
        grid-template-columns: 1.2fr .8fr
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
        margin-right: 3rem;
    }

    .footer-title {
        display: flex;
        align-items: center;
        gap: .6rem;
        margin-left: 2rem;
    }
}

@media (min-width: 768px) {
    
    .nav-links {
        display: flex;
        gap: .5rem;
        align-items: center
    }

}

@media (min-width: 1024px) {
    .container {
        width: min(1200px, 94%);
    }

    .hero-grid {
        margin-top: 4rem;
        padding: 6rem 0 6.2rem
    }

    .nav-links {
        display: flex;
        gap: 1.5rem;
        align-items: center
    }


    .h1 {
        display: block;
        font-size: 2em;
        margin-block-start: 0.67em;
        margin-block-end: 0.67em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        font-weight: bold;
        unicode-bidi: isolate;
    }

    .nav-inner {
        padding: .8rem 1rem;
        padding-left: 2.2rem;
        padding-right: 2rem;
    }

    .burger,
    .mobile-menu {
        display: none !important;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-links {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
        margin-right: 3rem;
    }

    .footer-title {
        display: flex;
        align-items: center;
        gap: .6rem;
        margin-left: 2.5rem;
    }
}