:root {
    --bg-main: #07111f;
    --bg-panel: rgba(255, 255, 255, 0.08);
    --bg-panel-strong: rgba(255, 255, 255, 0.12);
    --text-main: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.55);
    --line: rgba(255, 255, 255, 0.14);
    --blue: #3159a6;
    --blue-light: #5d86dc;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 18% 8%, rgba(49, 89, 166, 0.45), transparent 30%),
        radial-gradient(circle at 85% 12%, rgba(93, 134, 220, 0.24), transparent 28%),
        linear-gradient(135deg, #050a12 0%, #07111f 46%, #0d1e36 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 86%);
}

.site-shell {
    position: relative;
    width: min(1180px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 28px 0 36px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(3, 10, 22, 0.58);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand__logo {
    width: min(315px, 58vw);
    height: auto;
    display: block;
}

.topbar__pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--text-main);
    background: rgba(49, 89, 166, 0.32);
    border: 1px solid rgba(93, 134, 220, 0.38);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px;
    align-items: stretch;
    margin-top: 30px;
    padding: 54px;
    border-radius: 38px;
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(49, 89, 166, 0.24), rgba(255, 255, 255, 0.055)),
        rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: "{S}";
    position: absolute;
    right: -18px;
    bottom: -62px;
    font-size: 210px;
    line-height: 1;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.045);
    pointer-events: none;
}

.hero__content,
.hero__summary {
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    color: #dbe8ff;
    background: rgba(93, 134, 220, 0.18);
    border: 1px solid rgba(93, 134, 220, 0.35);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin: 18px 0 14px;
    font-size: clamp(38px, 5vw, 70px);
    line-height: 0.97;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 660px;
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.7;
}

.hero__summary {
    width: 170px;
    min-height: 170px;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero__summary-number {
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
}

.hero__summary-label {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
}

.applications-panel {
    margin-top: 30px;
    padding: 30px;
    border-radius: 34px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

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

.section-kicker {
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title-row h2 {
    margin: 8px 0 0;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -0.03em;
}

.section-note {
    max-width: 340px;
    text-align: right;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.app-card {
    position: relative;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: var(--text-main);
    text-decoration: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.048)),
        rgba(255, 255, 255, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.app-card:hover {
    transform: translateY(-6px);
    border-color: rgba(93, 134, 220, 0.62);
    background:
        linear-gradient(180deg, rgba(93, 134, 220, 0.18), rgba(255, 255, 255, 0.07)),
        rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.app-card__glow {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -72px;
    top: -72px;
    border-radius: 50%;
    background: rgba(93, 134, 220, 0.18);
    filter: blur(6px);
}

.app-card__logo-box {
    position: relative;
    width: 102px;
    height: 102px;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.app-card__logo {
    max-width: 78px;
    max-height: 78px;
    object-fit: contain;
}

.app-card__body {
    position: relative;
    margin-top: 26px;
}

.app-card__company {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.app-card h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.app-card__footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #dbe8ff;
    font-size: 14px;
    font-weight: 800;
}

.download-arrow {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(49, 89, 166, 0.46);
    border: 1px solid rgba(93, 134, 220, 0.48);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 36px 22px;
    border-radius: 28px;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.045);
    text-align: center;
}

.empty-state--error {
    margin-top: 60px;
}

.empty-state__icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 24px;
    background: rgba(49, 89, 166, 0.32);
    border: 1px solid rgba(93, 134, 220, 0.42);
    font-weight: 800;
    font-size: 24px;
}

.empty-state h3,
.empty-state h1 {
    margin: 0 0 10px;
    font-size: 28px;
}

.empty-state p {
    max-width: 560px;
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
    padding: 0 8px;
    color: var(--text-muted);
    font-size: 13px;
}

code {
    color: #dbe8ff;
}

@media (max-width: 820px) {
    .site-shell {
        width: min(100% - 24px, 1180px);
        padding-top: 12px;
    }

    .topbar,
    .section-title-row,
    .footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar__right {
        width: 100%;
    }

    .topbar__pill {
        width: 100%;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 34px 26px;
        border-radius: 30px;
    }

    .hero__summary {
        width: 100%;
        min-height: 118px;
    }

    .section-note {
        max-width: none;
        text-align: left;
    }

    .applications-panel {
        padding: 20px;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }
}
