:root {
    --bg: #05060a;
    --bg-soft: #0c0f1c;
    --panel: rgba(15, 19, 34, 0.9);
    --border: rgba(255, 255, 255, 0.08);
    --text: #f4f6fb;
    --text-muted: #8e93b5;
    --primary: #6c63ff;
    --primary-light: #9a8aff;
    --accent: #29ffd5;
    --shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 5% 15%, rgba(108, 99, 255, 0.16), transparent 45%),
                radial-gradient(circle at 90% 10%, rgba(41, 255, 213, 0.18), transparent 40%),
                var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(5, 6, 10, 0.85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn--primary {
    background: linear-gradient(120deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.45);
}

.btn--ghost {
    border: 1px solid var(--border);
    color: var(--text);
    background: transparent;
}

.btn--outline {
    border: 1px solid var(--border);
    color: var(--text);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

main {
    padding-bottom: 100px;
}

.hero {
    padding: 140px 0 80px;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(108, 99, 255, 0.2), transparent 50%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero__aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero__eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    margin-bottom: 18px;
}

.hero h1 span {
    color: var(--accent);
}

.hero__text {
    color: var(--text-muted);
    margin-bottom: 26px;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero__stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero__stat {
    display: block;
    font-size: 2.6rem;
    font-weight: 600;
}

.hero__panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.hero__media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 18px;
    background: rgba(8, 11, 24, 0.72);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 18px;
    align-items: stretch;
}

.hero__media-main {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 320px;
}

.hero__media-main img,
.hero__media-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.hero__media-main span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(5, 6, 10, 0.75);
    font-size: 0.8rem;
}

.hero__media-stack {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero__media-stack figure {
    margin: 0;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.hero__media-stack figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(5, 6, 10, 0.78);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--text);
}

.hero__panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero__panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.panel__label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.panel__value {
    font-size: 1.6rem;
    font-weight: 600;
}

.hero__feed {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
    min-height: 70px;
}

.feed-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.feed-item.is-leaving {
    opacity: 0;
    transform: translateY(-12px);
}

.section {
    padding: 90px 0;
}

.section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 26px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card ul {
    list-style: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clients {
    background: rgba(10, 12, 22, 0.8);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients__row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    color: var(--text-muted);
}

.clients__logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    width: min(700px, 100%);
}

.clients__logos p {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.6;
}

.network {
    background: radial-gradient(circle at 20% 20%, rgba(41, 255, 213, 0.08), transparent 50%), var(--bg-soft);
}

.network__grid {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
}

.dc-list {
    max-height: 540px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 6px;
}

.dc-item {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    border-radius: 14px;
    padding: 10px 14px;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.dc-item.is-active {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.15);
}

.dc-panel {
    background: var(--panel);
    border-radius: 28px;
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: var(--shadow);
}

.dc-panel ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.dc-panel li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dc-panel__badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(41, 255, 213, 0.15);
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
}

.dc-panel__foot {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.products .card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
}

.metrics {
    background: rgba(8, 11, 20, 0.8);
}

.fun {
    background: radial-gradient(circle at 80% 10%, rgba(108, 99, 255, 0.2), transparent 55%), var(--bg);
}

.visuals {
    background: rgba(6, 8, 18, 0.8);
}

.visuals__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.visual-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.visual-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.visual-card figcaption {
    padding: 16px 20px 20px;
}

.visual-card figcaption p {
    font-weight: 600;
}

.visual-card figcaption span {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
}

.fun__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.funfacts__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.funfacts__list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.funfacts__list strong {
    font-size: 1.6rem;
    color: var(--accent);
}

.funfacts__note {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hchart {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.hbar {
    display: grid;
    gap: 6px;
}

.hbar__label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.hbar__label small {
    color: var(--text-muted);
    font-weight: 400;
}

.hbar__track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 4px;
}

.hbar__fill {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    width: 0;
    transition: width 0.9s ease;
}

.hbar__value {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ring-chart {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
}

.ring {
    width: 130px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ring svg {
    width: 130px;
    height: 130px;
}

.ring__bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 10;
}

.ring__progress {
    fill: none;
    stroke: var(--accent);
    stroke-width: 10;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.ring__label {
    text-align: center;
}

.ring__label strong {
    font-size: 1.4rem;
}

.ring__label span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.metrics__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.metrics__chart {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    height: 180px;
    margin: 22px 0;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, var(--accent), rgba(41, 255, 213, 0.2));
    border-radius: 12px 12px 4px 4px;
    height: 20px;
    position: relative;
    transition: height 0.9s ease;
}

.bar span {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.metrics__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.metrics__list li {
    display: flex;
    justify-content: space-between;
}

.cases {
    background: radial-gradient(circle at 10% 10%, rgba(108, 99, 255, 0.12), transparent 40%);
}

.case__tag {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.plan {
    align-items: flex-start;
    gap: 18px;
}

.plan__tag {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.plan--accent {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.testimonial {
    gap: 18px;
}

.faq details {
    background: var(--panel);
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 18px 22px;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
}

.footer {
    background: #030308;
    border-top: 1px solid var(--border);
    padding: 70px 0 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.footer__label {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__form input,
.footer__form textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    color: var(--text);
    font-family: inherit;
}

.footer__legal {
    margin-top: 22px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 960px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__media {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .network__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header__wrap {
        flex-direction: column;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .hero__stats {
        flex-direction: column;
    }

    .dc-list {
        max-height: 320px;
    }
}
