:root {
    --bg: #06070b;
    --bg-soft: #0d1118;
    --panel: rgba(255,255,255,0.04);
    --panel-strong: rgba(255,255,255,0.06);
    --border: rgba(255,255,255,0.10);
    --text: #f5f7fb;
    --muted: #9aa4b2;
    --accent: #7c9cff;
    --accent-soft: rgba(124, 156, 255, 0.16);
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top right, rgba(124,156,255,0.14), transparent 24%), linear-gradient(180deg, #05060a 0%, #090b11 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(6, 7, 11, 0.70);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-size: 1rem;
    letter-spacing: 0.18em;
    font-weight: 700;
}

    .brand span {
        color: var(--muted);
        font-weight: 500;
    }

.nav-links {
    display: flex;
    gap: 28px;
}

    .nav-links a {
        color: var(--muted);
        font-size: 0.95rem;
    }

        .nav-links a:hover,
        .lang-btn:hover {
            color: var(--text);
        }

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.hero-section {
    position: relative;
    padding: 120px 0 120px;
    overflow: hidden;
}

.hero-with-animation::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,6,10,0.18), rgba(5,6,10,0.44));
    pointer-events: none;
}

.hero-content-layer {
    position: relative;
    z-index: 2;
}

.hero-bg-animation {
    position: absolute;
    inset: -4% -2% -8% -2%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

.stream {
    position: absolute;
    border-radius: 999px;
    filter: blur(0.5px);
    opacity: 0.6;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(124,156,255,0), rgba(124,156,255,0.12) 18%, rgba(124,156,255,0.7) 50%, rgba(173,197,255,0.9) 68%, rgba(124,156,255,0.05) 100%);
    box-shadow: 0 0 18px rgba(124,156,255,0.28), 0 0 42px rgba(124,156,255,0.14);
    animation: pulseFlow 7s ease-in-out infinite alternate;
}

    .stream::before,
    .stream::after {
        content: "";
        position: absolute;
        border-radius: 999px;
    }

    .stream::before {
        inset: -2px 8% -2px 8%;
        background: linear-gradient(90deg, rgba(255,255,255,0), rgba(215,227,255,0.16), rgba(255,255,255,0));
        filter: blur(3px);
    }

    .stream::after {
        width: 18px;
        height: 18px;
        right: 4%;
        top: 50%;
        transform: translateY(-50%);
        background: radial-gradient(circle, rgba(225,235,255,0.95), rgba(124,156,255,0.08) 72%, transparent 75%);
        box-shadow: 0 0 18px rgba(196,214,255,0.65);
        animation: sparkTravel 5.8s linear infinite;
    }

.stream-a {
    width: 42vw;
    height: 8px;
    left: -3vw;
    top: 13%;
    transform: rotate(17deg);
    animation-delay: 0s;
}

.stream-b {
    width: 52vw;
    height: 10px;
    left: 12vw;
    top: 22%;
    transform: rotate(31deg);
    animation-delay: 1.1s;
}

.stream-c {
    width: 48vw;
    height: 9px;
    left: 42vw;
    top: 32%;
    transform: rotate(103deg);
    animation-delay: 0.6s;
}

.stream-d {
    width: 55vw;
    height: 11px;
    left: 21vw;
    top: 58%;
    transform: rotate(151deg);
    animation-delay: 1.9s;
}

.stream-e {
    width: 44vw;
    height: 9px;
    left: 0vw;
    top: 68%;
    transform: rotate(18deg);
    animation-delay: 2.4s;
}

.stream-f {
    width: 28vw;
    height: 7px;
    right: -4vw;
    top: 64%;
    transform: rotate(210deg);
    animation-delay: 1.5s;
}

.stream-g {
    width: 24vw;
    height: 6px;
    left: -2vw;
    top: 6%;
    transform: rotate(39deg);
    animation-delay: 2.7s;
}

.stream-h {
    width: 22vw;
    height: 6px;
    right: -2vw;
    bottom: 12%;
    transform: rotate(208deg);
    animation-delay: 3.1s;
}

.glow-node {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220,232,255,0.95), rgba(124,156,255,0.22) 38%, transparent 72%);
    filter: blur(1px);
    animation: glowPulse 5s ease-in-out infinite;
}

.glow-1 {
    width: 130px;
    height: 130px;
    left: 0;
    top: 8%;
}

.glow-2 {
    width: 180px;
    height: 180px;
    right: 16%;
    top: 30%;
    animation-delay: 1.2s;
}

.glow-3 {
    width: 240px;
    height: 240px;
    left: 9%;
    bottom: -2%;
    animation-delay: 2.2s;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 0.82rem;
    margin-bottom: 20px;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 0 0 22px;
    max-width: 9.5ch;
}

.hero-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 62ch;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #dbe5ff 100%);
    color: #0a0e16;
}

.btn-secondary {
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
}

.full-width {
    width: 100%;
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.signal-card {
    width: min(100%, 460px);
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)), rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    box-shadow: 0 20px 80px rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
}

.signal-card-label {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.signal-bars {
    height: 220px;
    display: flex;
    align-items: end;
    gap: 18px;
    padding: 16px 0 24px;
}

    .signal-bars span {
        flex: 1;
        border-radius: 18px 18px 8px 8px;
        background: linear-gradient(180deg, rgba(124,156,255,0.92), rgba(124,156,255,0.18));
        border: 1px solid rgba(255,255,255,0.08);
    }

        .signal-bars span:nth-child(1) {
            height: 28%;
        }

        .signal-bars span:nth-child(2) {
            height: 54%;
        }

        .signal-bars span:nth-child(3) {
            height: 78%;
        }

        .signal-bars span:nth-child(4) {
            height: 96%;
        }

.signal-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

    .signal-metric-row small {
        display: block;
        color: var(--muted);
        margin-bottom: 6px;
    }

    .signal-metric-row strong {
        font-size: 1rem;
    }

.content-section {
    padding: 80px 0;
}

.alt-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.03));
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section-grid.two-col {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
}

.section-header {
    margin-bottom: 34px;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.section-copy p,
.contact-panel p,
.product-card p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
}

.bullet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.bullet-card,
.product-card,
.contact-card {
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: 24px;
}

.bullet-card {
    padding: 18px;
    color: #dde6f4;
}

.products-section {
    padding: 92px 0 96px;
    background: radial-gradient(circle at top center, rgba(255,255,255,0.05), transparent 28%), linear-gradient(180deg, #030405 0%, #06070b 100%);
}

.products-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 58px;
}

.products-kicker {
    display: block;
    margin-bottom: 22px;
    color: #f5f7fb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.products-intro h2 {
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.products-intro p {
    margin: 0 auto;
    color: #c5ccd8;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.6;
    max-width: 680px;
}

.products-showcase-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.product-showcase-card {
    display: grid;
    grid-template-columns: 0.42fr 0.58fr;
    align-items: stretch;
    gap: 36px;
    min-height: 520px;
    padding: clamp(28px, 4vw, 52px);
    border-radius: 22px;
    background: radial-gradient(circle at 20% 10%, rgba(255,255,255,0.9), transparent 18%), linear-gradient(135deg, #f0f0ed 0%, #d7d7d2 46%, #c4c4be 100%);
    color: #030405;
    overflow: hidden;
}

.product-showcase-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.product-category {
    margin-bottom: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.product-showcase-card h3 {
    margin: 0 0 18px;
    max-width: 13ch;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 500;
}

.product-showcase-card p {
    margin: 0;
    max-width: 48ch;
    color: rgba(3,4,5,0.86);
    font-size: 1.03rem;
    line-height: 1.7;
}

.product-feature-list {
    display: grid;
    gap: 22px;
    margin-top: 34px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.13);
}

.product-feature-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: start;
}

.product-feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(180deg, #151515, #050505);
    color: #ffffff;
    font-size: 1.35rem;
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.product-feature-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    color: #050505;
}

.product-feature-item span {
    display: block;
    color: rgba(3,4,5,0.74);
    line-height: 1.55;
    font-size: 0.95rem;
}

.product-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.mock-window {
    position: relative;
    width: min(100%, 640px);
    min-height: 390px;
    border-radius: 12px;
    background: #07080a;
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 32px 70px rgba(0,0,0,0.34);
    overflow: hidden;
}

    .mock-window::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 70% 20%, rgba(124,156,255,0.14), transparent 32%), linear-gradient(135deg, rgba(255,255,255,0.05), transparent 42%);
        pointer-events: none;
    }

.product-visual-platform .mock-window {
    display: grid;
    grid-template-columns: 112px 1fr;
}

.mock-sidebar {
    position: relative;
    z-index: 1;
    padding: 26px 18px;
    background: rgba(255,255,255,0.035);
    border-right: 1px solid rgba(255,255,255,0.06);
}

    .mock-sidebar span {
        display: block;
        height: 12px;
        margin-bottom: 18px;
        border-radius: 999px;
        background: rgba(255,255,255,0.12);
    }

        .mock-sidebar span:nth-child(1) {
            width: 56%;
        }

        .mock-sidebar span:nth-child(2) {
            width: 82%;
        }

        .mock-sidebar span:nth-child(3) {
            width: 70%;
        }

        .mock-sidebar span:nth-child(4) {
            width: 64%;
        }

.mock-content {
    position: relative;
    z-index: 1;
    padding: 34px;
}

.mock-topline {
    width: 44%;
    height: 16px;
    margin-bottom: 36px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
}

.mock-chart {
    height: 150px;
    display: flex;
    align-items: end;
    gap: 16px;
    margin-bottom: 30px;
}

    .mock-chart i {
        flex: 1;
        display: block;
        border-radius: 14px 14px 5px 5px;
        background: linear-gradient(180deg, rgba(124,156,255,0.9), rgba(124,156,255,0.12));
    }

        .mock-chart i:nth-child(1) {
            height: 42%;
        }

        .mock-chart i:nth-child(2) {
            height: 74%;
        }

        .mock-chart i:nth-child(3) {
            height: 58%;
        }

        .mock-chart i:nth-child(4) {
            height: 94%;
        }

.mock-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

    .mock-grid span {
        height: 54px;
        border-radius: 10px;
        background: rgba(255,255,255,0.07);
        border: 1px solid rgba(255,255,255,0.055);
    }

.automation-map {
    min-height: 430px;
    background: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px), #07080a;
    background-size: 38px 38px;
}

.automation-node {
    position: absolute;
    z-index: 2;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(180deg, #1f2635, #0d1118);
    border: 1px solid rgba(124,156,255,0.32);
    box-shadow: 0 0 32px rgba(124,156,255,0.16);
}

.node-a {
    left: 15%;
    top: 24%;
}

.node-b {
    left: 58%;
    top: 16%;
}

.node-c {
    left: 72%;
    top: 62%;
}

.node-d {
    left: 28%;
    top: 70%;
}

.automation-line {
    position: absolute;
    z-index: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(124,156,255,0.15), rgba(124,156,255,0.95), rgba(124,156,255,0.15));
    transform-origin: left center;
}

.line-a {
    width: 300px;
    left: 22%;
    top: 30%;
    transform: rotate(-8deg);
}

.line-b {
    width: 260px;
    left: 62%;
    top: 30%;
    transform: rotate(72deg);
}

.line-c {
    width: 330px;
    left: 31%;
    top: 74%;
    transform: rotate(-17deg);
}

.automation-panel {
    position: absolute;
    left: 8%;
    bottom: 8%;
    z-index: 3;
    width: 54%;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}

    .automation-panel strong,
    .automation-panel span {
        display: block;
    }

    .automation-panel strong {
        margin-bottom: 8px;
        color: #f5f7fb;
    }

    .automation-panel span {
        color: #9aa4b2;
        font-size: 0.92rem;
    }

.contact-panel {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: start;
}

.contact-card {
    padding: 24px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

    .contact-row span {
        color: var(--muted);
    }

.contact-card .btn {
    margin-top: 22px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(42px) scale(0.985);
    filter: blur(8px);
    animation: finalReveal linear forwards;
    animation-timeline: view();
    animation-range: entry 12% cover 42%;
    will-change: opacity, transform, filter;
}

.final-cta-section {
    position: relative;
    padding: clamp(150px, 12vw, 250px) 0 clamp(150px, 11vw, 250px);
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.055), transparent 24%), #000000;
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

    .final-cta-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 28%);
        pointer-events: none;
    }

.final-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .final-cta-inner h2 {
        margin: 0;
        max-width: 880px;
        font-size: clamp(3rem, 7.2vw, 6.8rem);
        line-height: 0.96;
        letter-spacing: -0.07em;
        font-weight: 400;
        color: rgba(255,255,255,0.68);
    }

        .final-cta-inner h2 span {
            display: block;
        }

        .final-cta-inner h2 strong {
            color: #ffffff;
            font-weight: 400;
        }

.final-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.final-cta-primary,
.final-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
}

.final-cta-primary {
    padding: 0 18px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

.final-cta-secondary {
    color: #ffffff;
}

@keyframes finalReveal {
    0% {
        opacity: 0;
        transform: translateY(42px) scale(0.985);
        filter: blur(8px);
    }

    45% {
        opacity: 0.35;
        transform: translateY(24px) scale(0.992);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@supports not (animation-timeline: view()) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }
}

.footer {
    padding: 26px 0 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.92rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 22px;
}

@keyframes pulseFlow {
    0% {
        opacity: 0.28;
        filter: blur(0.5px);
    }

    50% {
        opacity: 0.68;
        filter: blur(0px);
    }

    100% {
        opacity: 0.42;
        filter: blur(1px);
    }
}

@keyframes sparkTravel {
    0% {
        right: 88%;
        opacity: 0;
        transform: translateY(-50%) scale(0.7);
    }

    12% {
        opacity: 1;
    }

    100% {
        right: 4%;
        opacity: 0.2;
        transform: translateY(-50%) scale(1.15);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.22;
        transform: scale(0.96);
    }

    50% {
        opacity: 0.52;
        transform: scale(1.05);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .section-grid.two-col,
    .cards-grid,
    .contact-panel,
    .bullet-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        justify-content: stretch;
    }

    .nav-links {
        display: none;
    }

    .hero-bg-animation {
        opacity: 0.62;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--max), calc(100% - 24px));
    }

    .topbar-inner {
        min-height: 70px;
    }

    .hero-section {
        padding-top: 56px;
    }

    .hero-copy h1 {
        max-width: 100%;
    }

    .signal-card,
    .product-card,
    .contact-card,
    .bullet-card {
        border-radius: 20px;
    }

    .footer-inner,
    .contact-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .stream-c,
    .stream-f,
    .stream-h {
        display: none;
    }
}
