:root {
    --bg: #0f1115;
    --bg-soft: #171a21;
    --panel: #1e232d;
    --text: #f4f7fb;
    --muted: #b8c0cc;
    --accent: #e64b2e;
    --accent-2: #ff7a59;
    --line: rgba(255, 255, 255, 0.08);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    --radius: 22px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(230, 75, 46, 0.18), transparent 35%),
        radial-gradient(circle at right 20%, rgba(255, 122, 89, 0.10), transparent 30%),
        linear-gradient(180deg, #0d1016 0%, #121721 100%);
    line-height: 1.6;
}

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

.container {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(15, 17, 21, 0.75);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background-color: #b8c0cc; /* linear-gradient(135deg, var(--accent), var(--accent-2)); */
    box-shadow: var(--shadow);
    font-size: 1.1rem;
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.96rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

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

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

.lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.lang-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.lang-link.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.hero {
    padding: 72px 0 42px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.hero-card,
.panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 42px;
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: auto -80px -80px auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 75, 46, 0.28), transparent 65%);
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(230, 75, 46, 0.35);
    border-radius: 999px;
    color: #ffd2c8;
    background: rgba(230, 75, 46, 0.08);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

h1,
h2,
h3 {
    line-height: 1.12;
    margin: 0;
}

h1 {
    font-size: clamp(2.25rem, 4vw, 4.4rem);
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

.lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 760px;
    margin-bottom: 28px;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

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

.meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.meta-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
}

.meta-label {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.meta-value {
    font-size: 1.02rem;
    font-weight: 700;
}

.install-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.install-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.code {
    background: #0b0e14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 18px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #d8e3f0;
    font-size: 0.98rem;
}

.requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 0.9rem;
}

section {
    padding: 26px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

.section-head p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 760px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.card {
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    height: 100%;
}

.card h3 {
    font-size: 1.12rem;
    margin-bottom: 12px;
}

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

.list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.list li+li {
    margin-top: 10px;
}

.journey {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.step {
    text-align: center;
    padding: 18px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    font-weight: 700;
    color: #ffe5df;
}

.step span {
    display: block;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 8px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.link-card {
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow);
}

.link-card small {
    color: #ffcabd;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    display: inline-block;
    margin-bottom: 10px;
}

.link-card h3 {
    margin-bottom: 10px;
    font-size: 1.16rem;
}

.link-card p {
    color: var(--muted);
    margin: 0 0 18px;
}

.footer {
    padding: 42px 0 60px;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-box {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 1024px) {

    .hero-grid,
    .grid-3,
    .grid-4,
    .links-grid,
    .journey {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {

    .nav-inner,
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        padding-top: 36px;
    }

    .hero-card,
    .install-card,
    .card,
    .link-card {
        padding: 20px;
    }

    .hero-grid,
    .grid-3,
    .grid-4,
    .links-grid,
    .journey,
    .meta {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }
}
