:root {
    --workspace-bg: #020a13;
    --workspace-bg-secondary: #04111e;
    --workspace-panel: #071525;
    --workspace-panel-2: #0a1b2d;
    --workspace-border: rgba(143, 190, 225, 0.22);
    --workspace-border-soft: rgba(143, 190, 225, 0.13);
    --workspace-blue: #078bea;
    --workspace-blue-hover: #159df5;
    --workspace-cyan: #12caff;
    --workspace-text: #f5f8fb;
    --workspace-muted: #aab8c6;
    --workspace-success: #43d977;
}

html {
    scroll-behavior: smooth;
}

.public-body {
    min-height: 100vh;
    margin: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    background: radial-gradient( circle at 78% 22%, rgba(0, 119, 255, 0.12), transparent 30% ), linear-gradient( 180deg, #020a13 0%, #03101d 52%, #020a13 100% );
    color: var(--workspace-text);
    font-family: "Segoe UI", Arial, sans-serif;
}

    .public-body a {
        color: inherit;
        text-decoration: none;
    }

/* =========================================================
   HEADER
   ========================================================= */

.public-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(150, 198, 232, 0.16);
    background: rgba(2, 10, 19, 0.94);
    backdrop-filter: blur(14px);
}

.public-header-inner {
    width: min(100% - 72px, 1480px);
    min-height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.systemc-mark {
    width: 50px;
    height: 50px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}

.systemc-mark svg,
.systemc-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    overflow: visible;
}

.systemc-mark .mark-red { fill: #ff334c; }
.systemc-mark .mark-blue { fill: #087ee8; }
.systemc-mark .mark-blue-soft { fill: #18b9ff; }

.public-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

    .public-brand-copy strong {
        color: #ffffff;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .public-brand-copy strong span {
        color: #168fe9;
    }

    .public-brand-copy small {
        margin-top: 6px;
        color: var(--workspace-muted);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 4px;
    }

.public-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
    color: #edf3f8;
    font-size: 14px;
    font-weight: 500;
}

    .public-nav > a:not(.public-login) {
        opacity: 0.88;
        transition: opacity 160ms ease, color 160ms ease;
    }

        .public-nav > a:not(.public-login):hover {
            color: var(--workspace-cyan);
            opacity: 1;
        }

.public-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid #149fff;
    border-radius: 4px;
    background: var(--workspace-blue);
    box-shadow: 0 9px 28px rgba(0, 139, 235, 0.23);
    color: #ffffff;
    font-weight: 650;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    gap: 13px;
}

    .public-login:hover {
        background: var(--workspace-blue-hover);
        box-shadow: 0 12px 32px rgba(0, 139, 235, 0.3);
        transform: translateY(-1px);
    }

/* =========================================================
   MAIN
   ========================================================= */

.public-main {
    position: relative;
    overflow: hidden;
}

    .public-main::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 10px;
        right: -210px;
        width: 900px;
        height: 620px;
        background: radial-gradient( ellipse, rgba(0, 120, 255, 0.17), transparent 68% );
        pointer-events: none;
    }

    .public-main::after {
        content: "";
        position: absolute;
        z-index: 0;
        top: 50px;
        left: 48%;
        width: 1px;
        height: 430px;
        background: linear-gradient( transparent, rgba(18, 202, 255, 0.08), transparent );
        pointer-events: none;
    }

/* =========================================================
   HERO
   ========================================================= */

.workspace-hero {
    position: relative;
    z-index: 1;
    width: min(100% - 72px, 1480px);
    min-height: 468px;
    margin: 0 auto;
    padding: 34px 0 18px;
    display: grid;
    grid-template-columns: minmax(500px, 0.95fr) minmax(560px, 1.05fr);
    align-items: center;
    gap: 34px;
}

.workspace-hero-copy {
    position: relative;
    z-index: 3;
}

.workspace-eyebrow {
    margin: 0 0 18px;
    color: var(--workspace-cyan);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 2.9px;
}

.workspace-hero h1 {
    max-width: 660px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.25rem, 2.85vw, 3.15rem);
    font-weight: 720;
    line-height: 1.12;
    letter-spacing: -1.35px;
    text-wrap: balance;
}

.workspace-hero h1 span {
    color: #168fe9;
}

.workspace-lead {
    max-width: 650px;
    margin: 19px 0 25px;
    color: var(--workspace-muted);
    font-size: 16px;
    line-height: 1.62;
}

.workspace-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.workspace-button {
    min-height: 47px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 650;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.workspace-button-primary {
    border: 1px solid #149fff;
    background: var(--workspace-blue);
    box-shadow: 0 10px 28px rgba(0, 139, 235, 0.24);
    color: #ffffff;
}

.workspace-button-primary > span {
    margin-left: 13px;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
}

    .workspace-button-primary:hover {
        background: var(--workspace-blue-hover);
        transform: translateY(-1px);
        box-shadow: 0 13px 34px rgba(0, 139, 235, 0.31);
    }

.workspace-button-secondary {
    border: 1px solid rgba(210, 230, 245, 0.37);
    background: rgba(5, 18, 31, 0.65);
    color: #f3f7fa;
}

    .workspace-button-secondary:hover {
        border-color: rgba(18, 202, 255, 0.55);
        background: rgba(8, 35, 58, 0.75);
        transform: translateY(-1px);
    }

.workspace-trust {
    margin-top: 33px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #d8e2eb;
    font-size: 14px;
}

.workspace-trust > span {
    position: relative;
    padding: 0 22px 0 32px;
    line-height: 22px;
    white-space: nowrap;
}

.workspace-trust > span:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 0;
    width: 1px;
    height: 18px;
    background: rgba(166, 196, 218, .34);
}

.workspace-trust > span::before {
    position: absolute;
    left: 5px;
    top: 0;
    color: #159cff;
    font-size: 19px;
}

.trust-shield::before { content: "◇"; }
.trust-cloud::before { content: "☁"; }
.trust-bolt::before { content: "ϟ"; }
.trust-lock::before { content: "▣"; }

/* =========================================================
   ECOSISTEMA
   ========================================================= */

.workspace-ecosystem {
    position: relative;
    width: 100%;
    min-height: 420px;
    isolation: isolate;
}

.ecosystem-illustration {
    position: absolute;
    top: -5%;
    right: 0;
    bottom: -5%;
    left: -6%;
    width: 112%;
    height: 110%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: normal;
    opacity: 1;
}

.ecosystem-label {
    position: absolute;
    z-index: 4;
    color: #c4cfda;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .45px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 1px 6px #020a13;
}

.ecosystem-center-brand {
    position: absolute;
    z-index: 5;
    left: 58.5%;
    top: 48%;
    width: 220px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    filter: drop-shadow(0 0 18px rgba(0, 126, 255, .38));
}

.ecosystem-pyramid-crop {
    position: relative;
    width: 158px;
    height: 214px;
    margin-bottom: 1px;
    overflow: hidden;
    display: block;
    mix-blend-mode: screen;
    clip-path: polygon(50% 0, 100% 69%, 88% 84%, 100% 94%, 50% 100%, 0 94%, 12% 84%, 0 69%);
}

.ecosystem-pyramid-crop img {
    position: absolute;
    top: -7px;
    left: 50%;
    width: 332px;
    height: 332px;
    max-width: none;
    transform: translateX(-50%);
    object-fit: cover;
}

.ecosystem-center-workspace {
    margin-top: 1px;
    color: #159cff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .2px;
}

.ecosystem-center-caption {
    margin-top: 6px;
    color: #dce8f1;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
}

.label-servers { left: 37%; top: 5%; }
.label-desktops { left: 64%; top: 3%; }
.label-users { right: 1%; top: 8%; }
.label-cloud { left: 25%; top: 38%; }
.label-vpn { right: -1%; top: 41%; }
.label-storage { left: 30%; bottom: 18%; }
.label-backups { left: 65%; bottom: 15%; }
.label-apps { right: 0; bottom: 18%; }

/* =========================================================
   TARJETAS DE VALOR
   ========================================================= */

.workspace-services {
    position: relative;
    z-index: 2;
    width: min(100% - 72px, 1480px);
    margin: 0 auto;
    padding: 18px 0 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.workspace-service-card {
    min-height: 126px;
    padding: 18px;
    display: grid;
    grid-template-columns: 69px 1fr;
    align-items: start;
    gap: 17px;
    border: 1px solid var(--workspace-border);
    border-radius: 6px;
    background: linear-gradient( 145deg, rgba(12, 30, 49, 0.84), rgba(4, 16, 28, 0.93) );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: border-color 170ms ease, background 170ms ease, transform 170ms ease;
}

    .workspace-service-card:hover {
        border-color: rgba(18, 202, 255, 0.38);
        background: linear-gradient( 145deg, rgba(14, 37, 60, 0.9), rgba(4, 18, 32, 0.95) );
        transform: translateY(-2px);
    }

.workspace-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    box-shadow: 0 0 18px rgba(18, 154, 255, 0.2);
}

.workspace-service-card h2 {
    margin: 1px 0 9px;
    color: #f5f9fc;
    font-size: 17px;
    font-weight: 680;
}

.workspace-service-card p {
    margin: 0;
    color: var(--workspace-muted);
    font-size: 14px;
    line-height: 1.58;
}

/* =========================================================
   COMPATIBILIDAD
   ========================================================= */

.workspace-compatibility {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--workspace-border-soft);
    border-bottom: 1px solid var(--workspace-border-soft);
    padding: 20px 36px 24px;
    text-align: center;
}

    .workspace-compatibility > p {
        margin: 0 0 20px;
        color: var(--workspace-muted);
        font-size: 16px;
    }

    .workspace-compatibility > div {
        width: min(100%, 1480px);
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        flex-wrap: nowrap;
        color: #aebbc6;
    }

.technology-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #9ca9b5;
    white-space: nowrap;
    opacity: .82;
    filter: grayscale(1);
}

.technology-brand svg {
    width: 29px;
    height: 29px;
    flex: 0 0 auto;
    fill: currentColor;
}

.technology-brand b {
    font-size: clamp(13px, 1.15vw, 19px);
    font-weight: 520;
    letter-spacing: -.25px;
}

.technology-brand.wordmark b {
    font-size: clamp(17px, 1.65vw, 27px);
    font-weight: 720;
    letter-spacing: -1px;
}

.technology-brand.proxmox {
    gap: 5px;
}

.technology-brand.proxmox i {
    font-size: 27px;
    font-style: normal;
    font-weight: 900;
}

.technology-brand.aws {
    position: relative;
    padding-bottom: 5px;
}

.technology-brand.aws i {
    position: absolute;
    left: 2px;
    right: 0;
    bottom: 0;
    height: 7px;
    border-bottom: 2px solid currentColor;
    border-radius: 50%;
    transform: rotate(5deg);
}

/* =========================================================
   FOOTER
   ========================================================= */

.public-footer {
    width: min(100% - 72px, 1480px);
    margin: 0 auto;
    padding: 18px 0 12px;
    color: var(--workspace-muted);
}

.public-footer-inner {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr 1fr;
    gap: 30px;
}

.public-footer-brand p {
    max-width: 250px;
    margin: 2px 0 0;
    color: var(--workspace-muted);
    font-size: 13px;
    line-height: 1.6;
}

.public-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .public-footer-column h3 {
        margin: 2px 0 9px;
        color: #eef5fa;
        font-size: 14px;
        font-weight: 650;
    }

    .public-footer-column > a {
        margin-bottom: 5px;
        color: var(--workspace-muted);
        font-size: 13px;
    }

        .public-footer-column > a:hover {
            color: var(--workspace-cyan);
        }

.public-footer-bottom {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid var(--workspace-border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #8495a5;
    font-size: 12px;
}

    .public-footer-bottom span:last-child {
        display: flex;
        align-items: center;
        gap: 13px;
    }

    .public-footer-bottom a:hover {
        color: var(--workspace-cyan);
    }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .workspace-hero {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .workspace-hero-copy {
        max-width: 760px;
    }

    .workspace-ecosystem {
        max-width: 740px;
        min-height: 440px;
        margin: 0 auto;
    }

    .workspace-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workspace-compatibility > div {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.public-github {
    width: 32px;
    height: 32px;
    margin-top: 7px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--workspace-border);
    border-radius: 7px;
    color: #aebdca;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.public-github svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.public-github:hover {
    color: #ffffff;
    border-color: rgba(18, 202, 255, .48);
    background: rgba(18, 202, 255, .08);
}

@media (max-width: 850px) {
    .public-header-inner {
        width: min(100% - 36px, 1400px);
        min-height: auto;
        padding: 15px 0;
        align-items: flex-start;
    }

    .public-nav {
        gap: 13px;
        flex-wrap: wrap;
        justify-content: flex-end;
        font-size: 13px;
    }

    .workspace-hero {
        width: min(100% - 36px, 1400px);
        padding-top: 48px;
    }

    .workspace-services {
        width: min(100% - 36px, 1400px);
    }

    .public-footer {
        width: min(100% - 36px, 1400px);
    }

    .public-footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .desktop-break {
        display: none;
    }

    .public-header-inner {
        display: block;
    }

    .public-nav {
        margin-top: 17px;
        justify-content: flex-start;
    }

        .public-nav > a:not(.public-login) {
            display: none;
        }

    .workspace-hero h1 {
        font-size: 2.45rem;
    }

    .workspace-lead {
        font-size: 16px;
    }

    .workspace-services {
        grid-template-columns: 1fr;
    }

    .workspace-compatibility > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }

    .workspace-ecosystem {
        display: none;
    }

    .public-footer-inner {
        grid-template-columns: 1fr;
    }

    .public-footer-bottom {
        display: block;
    }

        .public-footer-bottom span:last-child {
            margin-top: 12px;
        }
}
