:root {
    --bg: #03102a;
    --bg-deep: #020919;
    --panel: rgba(6, 20, 48, 0.72);
    --panel-strong: rgba(11, 29, 69, 0.88);
    --line: rgba(113, 202, 255, 0.18);
    --line-strong: rgba(113, 202, 255, 0.32);
    --text: #edf7ff;
    --muted: #a9cbe4;
    --accent: #40d2ff;
    --accent-strong: #1b84ff;
    --gold: #ffcc66;
    --gold-strong: #ffb347;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
    --radius: 28px;
    --radius-sm: 18px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Aptos, "Segoe UI", "Trebuchet MS", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(30, 89, 255, 0.24), transparent 28%),
        radial-gradient(circle at 80% 15%, rgba(64, 210, 255, 0.16), transparent 20%),
        radial-gradient(circle at bottom right, rgba(255, 179, 71, 0.2), transparent 22%),
        linear-gradient(135deg, rgba(64, 210, 255, 0.06) 0%, transparent 32%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    color: var(--text);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(64, 210, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 210, 255, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.75), transparent 88%);
    pointer-events: none;
}

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

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    position: relative;
    overflow: hidden;
}

.page-shell::before,
.page-shell::after {
    content: "";
    position: absolute;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    filter: blur(42px);
    opacity: 0.34;
    pointer-events: none;
}

.page-shell::before {
    top: 6rem;
    right: -10rem;
    background: rgba(27, 132, 255, 0.26);
}

.page-shell::after {
    bottom: 8rem;
    left: -10rem;
    background: rgba(255, 179, 71, 0.18);
}

.site-header,
.section,
.site-footer {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 1rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    background: rgba(2, 11, 28, 0.74);
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 48px rgba(1, 7, 21, 0.36);
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 9rem;
    min-width: 7rem;
}

.brand img {
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(2, 8, 22, 0.32);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--muted);
    font-size: 0.96rem;
}

.site-nav a {
    position: relative;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.language-button,
.language-link {
    border: 0;
    border-radius: 999px;
    padding: 0.52rem 0.72rem;
    background: transparent;
    color: var(--muted);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-button:hover,
.language-button:focus-visible,
.language-link:hover,
.language-link:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.language-button.is-active,
.language-link.is-active {
    background: linear-gradient(135deg, rgba(27, 132, 255, 0.9), rgba(64, 210, 255, 0.9));
    color: #fff;
    box-shadow: 0 10px 24px rgba(10, 53, 132, 0.24);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta {
    padding: 0.85rem 1.15rem;
    background: linear-gradient(135deg, rgba(27, 132, 255, 0.92), rgba(64, 210, 255, 0.92));
    color: white;
    box-shadow: 0 16px 34px rgba(10, 53, 132, 0.34);
}

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

.section {
    padding: 6.5rem 0;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 2.5rem;
    align-items: center;
    padding-top: 4rem;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.76rem;
}

.hero h1,
.section-heading h2,
.split-copy h2,
.deployment-copy h2,
.contact-card h2 {
    margin: 0;
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
    max-width: 13ch;
}

.hero-text,
.section-heading p,
.split-copy > p,
.deployment-copy p,
.contact-card p,
.feature-card p,
.benefit-card p,
.advantage-list p,
.deployment-cards p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-text {
    max-width: 58ch;
    font-size: 1.06rem;
    margin: 1.3rem 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 2rem 0 1.4rem;
}

.button {
    padding: 0.98rem 1.3rem;
    border: 1px solid transparent;
}

.button-primary {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: white;
    box-shadow: 0 18px 36px rgba(15, 78, 183, 0.32);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--line-strong);
    color: var(--text);
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-pills li,
.deployment-tag,
.signal-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    background: rgba(64, 210, 255, 0.08);
    border: 1px solid rgba(64, 210, 255, 0.16);
    color: #d7f7ff;
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    min-height: 34rem;
}

.hero-card,
.signal-card,
.feature-card,
.benefit-card,
.timeline-panel,
.deployment-shell,
.contact-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(4, 15, 39, 0.86), rgba(7, 19, 49, 0.7));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-card {
    position: absolute;
    inset: 1rem 1.2rem 3rem 1rem;
    border-radius: 2rem;
    overflow: hidden;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signal-card {
    position: absolute;
    max-width: 16rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.signal-card strong,
.deployment-cards strong {
    display: block;
    margin-top: 0.6rem;
    line-height: 1.45;
}

.signal-card-top {
    top: 0;
    right: 0;
}

.signal-card-bottom {
    bottom: 0;
    left: 0;
}

.section-heading {
    max-width: 48rem;
    margin-bottom: 2rem;
}

.section-heading h2,
.split-copy h2,
.deployment-copy h2,
.contact-card h2 {
    font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.section-grid {
    position: relative;
}

.card-grid,
.benefit-grid,
.deployment-cards {
    display: grid;
    gap: 1.2rem;
}

.card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
    padding: 1.5rem;
    border-radius: var(--radius);
}

.card-index {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(27, 132, 255, 0.22), rgba(255, 179, 71, 0.22));
    color: var(--gold);
    font-weight: 700;
}

.feature-card h3,
.benefit-card h3,
.advantage-list h3 {
    margin: 0 0 0.75rem;
    font-size: 1.18rem;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
    gap: 1.5rem;
    align-items: stretch;
}

.advantage-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.6rem;
}

.advantage-list > div,
.timeline-step,
.deployment-cards article {
    padding: 1.15rem 1.2rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(113, 202, 255, 0.12);
    background: rgba(5, 18, 44, 0.42);
}

.timeline-panel {
    display: grid;
    gap: 1rem;
    border-radius: var(--radius);
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
}

.timeline-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 20%, rgba(64, 210, 255, 0.15), transparent 24%),
        radial-gradient(circle at 80% 90%, rgba(255, 179, 71, 0.15), transparent 25%);
    pointer-events: none;
}

.timeline-step {
    position: relative;
    padding-left: 1.4rem;
}

.timeline-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.25rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    box-shadow: 0 0 0 0.35rem rgba(64, 210, 255, 0.08);
}

.timeline-step span {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    margin-bottom: 0.35rem;
}

.metrics-section .section-heading {
    margin-bottom: 1.3rem;
}

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

.benefit-card {
    padding: 1.7rem;
    border-radius: var(--radius);
}

.deployment-shell,
.contact-card {
    border-radius: calc(var(--radius) + 0.35rem);
    padding: 1.75rem;
}

.deployment-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 1.4rem;
}

.deployment-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-section {
    padding-top: 2rem;
}

.contact-card {
    text-align: center;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.3rem;
    color: var(--gold);
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.contact-email:hover,
.contact-email:focus-visible {
    color: #ffe7a8;
}

.contact-card .hero-actions {
    justify-content: center;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0 2rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deployment-shell,
    .hero,
    .split-section {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 28rem;
    }

    .deployment-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .site-header {
        position: static;
        flex-wrap: wrap;
        border-radius: 1.5rem;
    }

    .brand {
        width: 8rem;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 0.8rem;
        font-size: 0.88rem;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .header-tools {
        width: 100%;
        justify-content: space-between;
        order: 2;
    }

    .hero {
        padding-top: 2rem;
    }

    .hero h1 {
        max-width: 100%;
    }

    .benefit-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        flex-direction: column;
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4.5rem 0;
    }

    .header-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .language-switcher {
        justify-content: center;
    }

    .header-cta {
        width: 100%;
    }

    .hero-visual {
        min-height: 24rem;
    }

    .hero-card {
        inset: 0.4rem 0.5rem 3.8rem 0.5rem;
    }

    .signal-card {
        position: static;
        max-width: none;
    }

    .hero-visual {
        display: grid;
        gap: 1rem;
    }

    .hero-card {
        position: static;
        min-height: 16rem;
    }
}
