:root {
    --background: #080b14;
    --surface: rgba(17, 23, 42, 0.72);
    --border: rgba(255, 255, 255, 0.09);
    --text: #f4f7ff;
    --muted: #9ba7c3;
    --accent: #6f7cff;
    --accent-light: #56d8ff;
    --success: #45e5a1;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--background);
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.grid {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.28;
}

.orb-one {
    top: -180px;
    left: -140px;
    width: 520px;
    height: 520px;
    background: #4254ff;
}

.orb-two {
    right: -180px;
    bottom: -180px;
    width: 560px;
    height: 560px;
    background: #00b7d8;
}

.header {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: linear-gradient(135deg, #7685ff, #43cdec);
    box-shadow: 0 8px 30px rgba(85, 111, 255, .34);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #bac4da;
    background: rgba(255,255,255,.035);
    font-size: 13px;
    backdrop-filter: blur(16px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 14px var(--success);
    animation: pulse 2s infinite;
}

.hero {
    width: min(1180px, calc(100% - 40px));
    min-height: calc(100vh - 170px);
    margin: 0 auto;
    padding: 60px 0 90px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 80px;
    align-items: center;
}

.badge {
    width: fit-content;
    margin-bottom: 26px;
    padding: 8px 12px;
    border: 1px solid rgba(109, 126, 255, .3);
    border-radius: 999px;
    color: #acb7ff;
    background: rgba(87, 101, 255, .09);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(46px, 6.3vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
}

h1 span {
    color: transparent;
    background: linear-gradient(90deg, #9aa6ff, #5ed6ff);
    background-clip: text;
    -webkit-background-clip: text;
}

.lead {
    max-width: 650px;
    margin: 30px 0 38px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.features {
    display: grid;
    gap: 14px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: #aab4ff;
    background: rgba(255,255,255,.04);
}

.feature strong,
.feature span {
    display: block;
}

.feature strong {
    margin-bottom: 4px;
    font-size: 15px;
}

.feature span {
    color: var(--muted);
    font-size: 13px;
}

.server-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018));
    box-shadow: 0 40px 100px rgba(0,0,0,.42);
    backdrop-filter: blur(22px);
}

.server-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,.08),
        transparent 30%,
        transparent 70%,
        rgba(84,210,255,.05)
    );
}

.card-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-label {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.card-header h2 {
    margin: 7px 0 0;
    font-size: 22px;
}

.server-light {
    width: 13px;
    height: 13px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 22px var(--success);
}

.server-visual {
    position: relative;
    height: 280px;
    display: grid;
    place-items: center;
}

.server-ring {
    position: absolute;
    border: 1px solid rgba(110, 130, 255, .2);
    border-radius: 50%;
}

.ring-one {
    width: 220px;
    height: 220px;
    animation: rotate 16s linear infinite;
}

.ring-two {
    width: 166px;
    height: 166px;
    border-style: dashed;
    animation: rotateReverse 11s linear infinite;
}

.server-core {
    position: relative;
    z-index: 2;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 32px;
    background: linear-gradient(145deg, #28346b, #121a35);
    box-shadow:
        0 0 60px rgba(92, 115, 255, .35),
        inset 0 1px rgba(255,255,255,.12);
    transform: rotate(45deg);
}

.server-core span {
    color: #dfe5ff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .08em;
    transform: rotate(-45deg);
}

.metrics {
    position: relative;
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border);
}

.metric {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.055);
    font-size: 13px;
}

.metric:last-child {
    border-bottom: 0;
}

.metric span {
    color: var(--muted);
}

.metric strong {
    font-weight: 600;
}

.online {
    color: var(--success);
}

.footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 25px 0 34px;
    display: flex;
    justify-content: center;
    gap: 10px;
    color: #6e7891;
    font-size: 12px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.8); }
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

@keyframes rotateReverse {
    to { transform: rotate(-360deg); }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 40px;
    }

    .server-card {
        max-width: 620px;
    }
}

@media (max-width: 600px) {
    .header {
        width: min(100% - 28px, 1180px);
        padding-top: 20px;
    }

    .hero {
        width: min(100% - 28px, 1180px);
        padding-top: 35px;
    }

    .logo span:last-child {
        display: none;
    }

    h1 {
        font-size: 46px;
    }

    .lead {
        font-size: 16px;
    }

    .server-card {
        padding: 22px;
        border-radius: 22px;
    }

    .server-visual {
        height: 230px;
    }

    .footer-separator,
    .footer span:last-child {
        display: none;
    }
}
