:root {
    --bg: #06111a;
    --bg-soft: #0c1b28;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.1);
    --surface-light: #f4f7fb;
    --text: #edf7ff;
    --text-dark: #12202f;
    --text-soft: rgba(237, 247, 255, 0.74);
    --text-muted: #61728a;
    --line: rgba(93, 234, 255, 0.14);
    --cyan: #52d9ff;
    --cyan-2: #2ca5ff;
    --teal: #24d1a0;
    --orange: #f6a24d;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --radius: 28px;
    --radius-sm: 20px;
    --max: 1280px;
    --font-body: "Inter", sans-serif;
    --font-display: "Orbitron", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html[lang="kk"] {
    --font-body: "Noto Sans", sans-serif;
    --font-display: "Noto Sans", sans-serif;
}

body {
    background:
        radial-gradient(circle at top right, rgba(82, 217, 255, 0.14), transparent 22%),
        radial-gradient(circle at 20% 0%, rgba(36, 209, 160, 0.1), transparent 20%),
        linear-gradient(180deg, #08131d 0%, #06111a 100%);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

section[id],
.hero[id] {
    scroll-margin-top: 120px;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

.topbar,
.hero,
.section {
    width: min(calc(100% - 32px), var(--max));
    margin-inline: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    margin-top: 18px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: rgba(9, 20, 31, 0.78);
    border: 1px solid rgba(82, 217, 255, 0.12);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    text-decoration: none;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    object-fit: contain;
    background: white;
    padding: 6px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.brand-copy span {
    font-size: 0.76rem;
    color: var(--text-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a,
.lang-btn {
    border: 0;
    background: transparent;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-soft);
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active,
.lang-btn:hover,
.lang-btn.active {
    background: rgba(82, 217, 255, 0.12);
    color: white;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(82, 217, 255, 0.12);
    background: rgba(82, 217, 255, 0.04);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(82, 217, 255, 0.1);
    color: white;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    border-radius: 999px;
    transition: transform 0.24s ease;
}

.menu-toggle.is-open span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    padding: 72px 0 48px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(82, 217, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(82, 217, 255, 0.06) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 35%, black 0%, transparent 78%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: center;
}

.eyebrow,
.section-kicker,
.mini-label,
.metric-label,
.fact-label,
.contact-label {
    font-family: var(--font-display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--cyan);
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 38px;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
}

.hero h1,
.section-intro h2,
.status-card h3,
.enterprise-highlight h3,
.tech-copy h3,
.planned-card h3,
.product-card h3,
.contact-copy h2 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.hero h1 {
    max-width: 12ch;
    margin-top: 18px;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.96;
}

.hero-text {
    max-width: 58ch;
    margin-top: 22px;
    font-size: 1.04rem;
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #06111a;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    box-shadow: 0 18px 36px rgba(36, 209, 160, 0.18);
}

.btn-secondary {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(82, 217, 255, 0.12);
}

.hero-visual {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 18px;
}

.hero-main-card,
.mini-card,
.status-card,
.map-card,
.fact-card,
.enterprise-copy,
.enterprise-highlight,
.tech-card,
.planned-card,
.planned-visual,
.product-card,
.contact-card {
    border-radius: var(--radius);
    border: 1px solid rgba(82, 217, 255, 0.12);
    box-shadow: var(--shadow);
}

.hero-main-card,
.mini-card,
.tech-card,
.planned-visual,
.product-card {
    overflow: hidden;
}

.hero-main-card {
    min-height: 520px;
    background:
        radial-gradient(circle at top left, rgba(82, 217, 255, 0.15), transparent 30%),
        rgba(255, 255, 255, 0.05);
}

.hero-main-card img,
.mini-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 26px;
}

.hero-side {
    display: grid;
    gap: 18px;
}

.mini-card {
    min-height: 250px;
    background: rgba(255, 255, 255, 0.04);
}

.mini-card-dark {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(8, 18, 28, 0.96), rgba(7, 28, 35, 0.94));
}

.mini-card-dark img {
    flex: 1;
    padding: 0;
}

.mini-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(237, 247, 255, 0.7);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.metrics article {
    padding: 22px 20px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(82, 217, 255, 0.12);
}

.metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
}

.metric-label {
    display: block;
    margin-top: 10px;
    font-size: 0.66rem;
    color: var(--text-soft);
}

.section {
    width: min(calc(100% - 32px), var(--max));
    padding: 88px 0;
}

.section-intro {
    max-width: 820px;
}

.section-intro h2 {
    margin-top: 16px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.section-intro p {
    margin-top: 18px;
    color: var(--text-soft);
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.fact-card {
    padding: 22px;
    background: rgba(255, 255, 255, 0.05);
}

.fact-label {
    display: inline-flex;
    margin-bottom: 12px;
    font-size: 0.68rem;
    color: var(--cyan);
}

.fact-card strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
}

.fact-card p {
    margin-top: 12px;
    color: var(--text-soft);
}

.status-layout,
.enterprise-layout,
.planned-layout,
.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 22px;
    margin-top: 22px;
}

.status-card,
.enterprise-copy,
.enterprise-highlight,
.planned-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.05);
}

.status-card h3,
.enterprise-highlight h3,
.planned-card h3 {
    margin-top: 14px;
    font-size: 1.4rem;
    line-height: 1.06;
}

.status-list,
.value-list,
.bullet-list {
    margin-top: 18px;
    list-style: none;
    display: grid;
    gap: 12px;
}

.status-list li,
.value-list li,
.bullet-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-soft);
}

.status-list li::before,
.value-list li::before,
.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
}

.map-card {
    background: white;
    overflow: hidden;
}

.map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-dark {
    position: relative;
}

.section-dark::before {
    content: "";
    position: absolute;
    inset: 26px -18px;
    border-radius: 44px;
    background:
        radial-gradient(circle at 90% 10%, rgba(82, 217, 255, 0.12), transparent 25%),
        linear-gradient(145deg, #0b1823 0%, #06111a 100%);
    z-index: -1;
}

.enterprise-copy p + p {
    margin-top: 16px;
}

.enterprise-highlight {
    background: linear-gradient(180deg, rgba(36, 209, 160, 0.08), rgba(82, 217, 255, 0.05));
}

.technology-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 18px;
    margin-top: 34px;
}

.tech-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
}

.tech-card-large {
    grid-row: span 1;
}

.tech-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
}

.tech-copy {
    padding: 22px;
}

.tech-copy span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
}

.tech-copy h3 {
    margin-top: 10px;
    font-size: 1.12rem;
    line-height: 1.08;
}

.tech-copy p {
    margin-top: 12px;
    color: var(--text-soft);
}

.planned-layout {
    align-items: stretch;
}

.planned-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.planned-item {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(82, 217, 255, 0.08);
}

.planned-item strong {
    display: block;
    font-size: 0.98rem;
}

.planned-item p {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.planned-visual {
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
}

.planned-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-product {
    position: relative;
}

.section-product::before {
    content: "";
    position: absolute;
    inset: 30px -12px;
    border-radius: 44px;
    background:
        radial-gradient(circle at 10% 0%, rgba(36, 209, 160, 0.12), transparent 25%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    z-index: -1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.product-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
}

.product-card-visual {
    background: #ffffff;
    min-height: 320px;
}

.product-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.product-copy {
    padding: 24px;
}

.product-copy span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
}

.product-copy h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    line-height: 1.08;
}

.product-copy p {
    margin-top: 12px;
    color: var(--text-soft);
}

.spec-list {
    margin-top: 16px;
    list-style: none;
    display: grid;
    gap: 8px;
}

.spec-list li {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.spec-list strong {
    color: white;
}

.contacts {
    padding-bottom: 96px;
}

.contact-card {
    padding: 30px;
    background: linear-gradient(180deg, rgba(10, 22, 32, 0.96), rgba(6, 17, 26, 0.98));
}

.contact-copy h2 {
    margin-top: 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.contact-copy p {
    margin-top: 18px;
    color: var(--text-soft);
}

.contact-meta {
    display: grid;
    gap: 14px;
    align-content: center;
}

.contact-item,
.contact-link {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(82, 217, 255, 0.1);
}

.contact-label {
    display: inline-flex;
    font-size: 0.68rem;
    color: var(--cyan);
}

.contact-item p {
    margin-top: 10px;
    color: var(--text-soft);
}

.contact-link {
    text-decoration: none;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .hero-layout,
    .status-layout,
    .enterprise-layout,
    .planned-layout,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .metrics,
    .fact-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .technology-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tech-card-large {
        grid-column: span 2;
    }
}

@media (max-width: 920px) {
    .topbar {
        padding: 12px 14px;
        border-radius: 28px;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-wrap {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: rgba(8, 18, 28, 0.96);
        border: 1px solid rgba(82, 217, 255, 0.12);
        border-radius: 26px;
        box-shadow: var(--shadow);
    }

    .nav-wrap.open {
        display: flex;
    }

    .site-nav,
    .lang-switch {
        width: 100%;
    }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .hero {
        padding-top: 52px;
    }

    .hero-visual,
    .product-card,
    .metrics,
    .fact-grid,
    .technology-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .tech-card-large {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    .topbar,
    .hero,
    .section {
        width: min(calc(100% - 20px), var(--max));
    }

    .brand-copy span {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .planned-grid {
        grid-template-columns: 1fr;
    }
}
