:root {
    --background: #07111f;
    --background-secondary: #0a1726;
    --panel: #10253a;
    --panel-dark: #0b1a2a;
    --text: #f4f8fc;
    --muted: #b8c7d9;
    --cyan: #35d3ff;
    --blue: #5b8cff;
    --green: #44e0a0;
    --border: rgba(255, 255, 255, 0.11);
    --maximum-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(53, 211, 255, 0.13),
            transparent 30rem
        ),
        radial-gradient(
            circle at 86% 12%,
            rgba(91, 140, 255, 0.14),
            transparent 34rem
        ),
        linear-gradient(
            180deg,
            #06101d 0%,
            #081522 55%,
            #06101d 100%
        );

    color: var(--text);
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.65;
}

.page-wrapper {
    width: min(
        var(--maximum-width),
        calc(100% - 38px)
    );

    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    background: rgba(6, 16, 29, 0.86);
    backdrop-filter: blur(16px);
}

.site-nav-wrapper {
    width: min(
        var(--maximum-width),
        calc(100% - 38px)
    );

    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
}

.site-brand-mark {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #03111e;
    background: linear-gradient(
        135deg,
        var(--cyan),
        var(--blue)
    );
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 21px;
}

.site-navigation a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
}

.site-navigation a:hover {
    color: white;
}

.site-home-link {
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.mobile-menu-button {
    display: none;
}

.hero-section {
    padding: 90px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 52px;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px;
    border: 1px solid rgba(53, 211, 255, 0.26);
    border-radius: 999px;
    color: #bff4ff;
    background: rgba(53, 211, 255, 0.08);
    font-size: 0.88rem;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 18px var(--green);
}

.hero-content h1 {
    margin: 22px 0 18px;
    color: white;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.gradient-text {
    display: block;
    background: linear-gradient(
        100deg,
        white 5%,
        #8beaff 46%,
        #88a8ff 90%
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.16rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 19px;
    border-radius: 13px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #06111e;
    background: linear-gradient(
        135deg,
        var(--cyan),
        #75f0dd
    );
}

.button-secondary {
    color: white;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
}

.version-line {
    color: #91a6ba;
    font-size: 0.92rem;
}

.version-line span {
    margin: 0 8px;
}

.terminal-card {
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(
        155deg,
        rgba(16, 37, 58, 0.95),
        rgba(8, 20, 33, 0.9)
    );

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    display: flex;
    gap: 7px;
    margin-bottom: 15px;
}

.terminal-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff6b6b;
}

.terminal-header span:nth-child(2) {
    background: #ffd166;
}

.terminal-header span:nth-child(3) {
    background: #44e0a0;
}

pre {
    margin: 0;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(2, 9, 16, 0.76);
}

pre code {
    display: block;
    padding: 20px;
    color: #d9f9ff;
    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size: 0.91rem;
    line-height: 1.7;
}

.content-section {
    padding: 72px 0;
}

.alternate-section {
    background: rgba(255, 255, 255, 0.018);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-label {
    color: var(--cyan);
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.content-section h2,
.call-to-action-card h2 {
    margin: 8px 0 15px;
    color: white;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.section-introduction {
    max-width: 820px;
    color: var(--muted);
    font-size: 1.06rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.feature-card,
.descriptor-card,
.architecture-step,
.formula-card {
    border: 1px solid var(--border);
    background: linear-gradient(
        155deg,
        rgba(17, 39, 61, 0.78),
        rgba(9, 21, 34, 0.78)
    );

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14);
}

.feature-card {
    padding: 25px;
    border-radius: 22px;
}

.feature-card h3 {
    margin: 15px 0 8px;
    color: white;
}

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

.feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(53, 211, 255, 0.22);
    border-radius: 13px;
    color: var(--cyan);
    background: rgba(53, 211, 255, 0.09);
    font-weight: 900;
}

.descriptor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.descriptor-card {
    padding: 22px 15px;
    border-radius: 18px;
    text-align: center;
}

.descriptor-card strong {
    display: block;
    color: var(--cyan);
    font-size: 1.75rem;
}

.descriptor-card span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.9rem;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
}

.architecture-step {
    min-height: 145px;
    padding: 17px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 17px;
    text-align: center;
}

.architecture-step > span {
    margin-bottom: 10px;
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 900;
}

.architecture-step strong {
    color: white;
    font-size: 0.92rem;
}

.architecture-step small {
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.35;
}

.formula-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.formula-card {
    padding: 28px 20px;
    border-radius: 20px;
    text-align: center;
}

.formula {
    color: white;
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(1.1rem, 2.5vw, 1.55rem);
}

.formula-card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.install-command-box {
    margin-top: 27px;
    padding: 17px 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(53, 211, 255, 0.28);
    border-radius: 16px;
    background: rgba(53, 211, 255, 0.07);
}

.install-command-box code {
    color: #dcfbff;
    font-family:
        Consolas,
        Monaco,
        monospace;

    font-weight: 700;
}

.install-command-box button {
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: white;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.csv-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 22px;
    margin-top: 30px;
}

.csv-grid h3 {
    color: white;
}

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text);
}

th,
td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    color: var(--cyan);
    background: rgba(53, 211, 255, 0.06);
}

td {
    color: var(--muted);
}

.call-to-action-section {
    padding: 70px 0;
}

.call-to-action-card {
    padding: 43px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    border: 1px solid rgba(53, 211, 255, 0.22);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(91, 140, 255, 0.18),
            transparent 26rem
        ),
        rgba(53, 211, 255, 0.06);
}

.call-to-action-card p {
    color: var(--muted);
}

.site-footer {
    padding: 42px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    background: rgba(3, 10, 18, 0.65);
}

.site-footer-inner {
    width: min(
        var(--maximum-width),
        calc(100% - 38px)
    );

    margin: 0 auto;
}

.site-footer-inner strong {
    color: white;
    font-size: 1.15rem;
}

.site-footer-inner p {
    margin: 5px 0;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 17px 0;
}

.site-footer-links a {
    color: #c5d5e4;
    text-decoration: none;
}

.site-copyright {
    font-size: 0.88rem;
}

@media (max-width: 1000px) {
    .hero-grid,
    .formula-grid,
    .csv-grid,
    .call-to-action-card {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 760px) {
    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid var(--border);
        border-radius: 10px;
        color: white;
        background: rgba(255, 255, 255, 0.05);
        cursor: pointer;
    }

    .site-navigation {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid var(--border);
        background: #07111f;
    }

    .site-navigation.is-open {
        display: flex;
    }

    .site-navigation a {
        padding: 9px 0;
    }
}

@media (max-width: 620px) {
    .hero-section {
        padding: 62px 0 48px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .feature-grid,
    .descriptor-grid,
    .architecture-grid {
        grid-template-columns: 1fr;
    }

    .install-command-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .call-to-action-card {
        padding: 28px;
    }
}
