@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #05090f;
    --bg2: #07111d;
    --panel: #0a1420;
    --panel2: #0d1927;

    --line: rgba(120, 190, 235, .12);
    --line-strong: rgba(56, 189, 248, .25);

    --text: #eef8ff;
    --muted: #8195a8;

    --blue: #38bdf8;
    --blue2: #0ea5e9;
    --cyan: #67e8f9;

    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    color: var(--text);
    background:
        radial-gradient(
            circle at 75% 0%,
            rgba(14, 165, 233, .10),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 35%,
            rgba(56, 189, 248, .055),
            transparent 30%
        ),
        var(--bg);

    font-family: Inter, Arial, sans-serif;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(5, 9, 15, .78);
    border-bottom: 1px solid var(--line);

    backdrop-filter: blur(20px);
}

.header-inner {
    height: 78px;

    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    white-space: nowrap;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .08em;
}

.brand-mark {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(103, 232, 249, .45);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(56, 189, 248, .2),
            rgba(14, 165, 233, .04)
        );

    color: var(--cyan);

    box-shadow:
        0 0 25px rgba(56, 189, 248, .12);
}

.brand-text b {
    color: var(--blue);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 5px;

    flex: 1;
}

.main-nav a {
    padding: 9px 11px;

    color: #8ea2b5;
    font-size: 13px;
    font-weight: 600;

    border-radius: 9px;

    transition: .2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
    background: rgba(56, 189, 248, .08);
}

.cabinet-button {
    padding: 10px 17px;

    border: 1px solid var(--line-strong);
    border-radius: 10px;

    background: rgba(56, 189, 248, .08);

    color: #ccefff;

    font-size: 13px;
    font-weight: 700;

    transition: .2s;
}

.cabinet-button:hover {
    background: rgba(56, 189, 248, .15);
    border-color: rgba(56, 189, 248, .45);
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 650px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent
    );

    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    padding: 80px 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;

    color: var(--cyan);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
}

.eyebrow span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 15px var(--blue);
}

.hero h1 {
    margin: 0;

    font-size: clamp(62px, 8vw, 118px);
    line-height: .84;

    letter-spacing: -.07em;
    font-weight: 900;
}

.hero h1 strong {
    display: block;

    color: transparent;

    background:
        linear-gradient(
            120deg,
            #eaf9ff,
            var(--blue),
            var(--cyan)
        );

    background-clip: text;
    -webkit-background-clip: text;
}

.hero-description {
    max-width: 570px;

    margin: 32px 0 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;

    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 19px;

    border: 1px solid var(--line-strong);
    border-radius: 11px;

    font-size: 13px;
    font-weight: 700;

    transition: .2s;
}

.button-primary {
    background: var(--blue);
    color: #031019;

    border-color: var(--blue);

    box-shadow:
        0 8px 35px rgba(56, 189, 248, .18);
}

.button-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 45px rgba(56, 189, 248, .28);
}

.button-secondary {
    color: #c5d8e5;
    background: rgba(255,255,255,.025);
}

.button-secondary:hover {
    background: rgba(255,255,255,.06);
}

.hero-mini-stats {
    display: flex;
    gap: 35px;

    margin-top: 45px;
}

.hero-mini-stats div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-mini-stats b {
    font-size: 23px;
}

.hero-mini-stats span {
    color: #71879b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
}


/* HERO VISUAL */

.hero-visual {
    position: relative;

    height: 520px;

    display: grid;
    place-items: center;
}

.scan-lines {
    position: absolute;
    inset: 0;

    opacity: .22;

    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 5px,
            rgba(56,189,248,.04) 6px
        );
}

.hero-ring {
    position: absolute;

    border: 1px solid rgba(56, 189, 248, .15);

    border-radius: 50%;
}

.ring-one {
    width: 380px;
    height: 380px;

    animation: rotate 25s linear infinite;
}

.ring-two {
    width: 290px;
    height: 290px;

    border-style: dashed;

    animation: rotateReverse 18s linear infinite;
}

.ring-three {
    width: 470px;
    height: 470px;

    border-color: rgba(103, 232, 249, .06);

    animation: rotate 40s linear infinite;
}

.hero-core {
    width: 190px;
    height: 190px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(103, 232, 249, .4);

    background:
        radial-gradient(
            circle,
            rgba(56, 189, 248, .18),
            rgba(5, 9, 15, .95) 68%
        );

    box-shadow:
        0 0 80px rgba(56, 189, 248, .15),
        inset 0 0 50px rgba(56, 189, 248, .08);

    z-index: 3;
}

.hero-core span {
    color: #7792a6;
    font-size: 8px;
    letter-spacing: .3em;
}

.hero-core b {
    margin: 4px 0;

    color: white;
    font-size: 42px;
    letter-spacing: -.05em;
}

.hero-core small {
    color: var(--cyan);
    font-size: 7px;
    letter-spacing: .22em;
}

.floating-card {
    position: absolute;
    z-index: 5;

    padding: 9px 13px;

    border: 1px solid var(--line);
    border-radius: 9px;

    background: rgba(7, 17, 29, .82);

    backdrop-filter: blur(10px);

    color: #8da8bb;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;

    box-shadow:
        0 15px 40px rgba(0,0,0,.25);
}

.floating-card-one {
    top: 115px;
    right: 20px;
}

.floating-card-two {
    bottom: 115px;
    left: 10px;
}

.floating-card-two b {
    color: var(--blue);
    margin-left: 8px;
}

.status-dot {
    display: inline-block;

    width: 6px;
    height: 6px;

    margin-right: 6px;

    border-radius: 50%;
    background: #4ade80;

    box-shadow:
        0 0 10px #4ade80;
}

.orb {
    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    filter: blur(80px);
}

.orb-one {
    background: rgba(14, 165, 233, .12);
}

.orb-two {
    background: rgba(103, 232, 249, .08);
}


/* STATS */

.stats-section {
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    padding: 32px 28px;

    border-right: 1px solid var(--line);
}

.stat-card:first-child {
    border-left: 1px solid var(--line);
}

.stat-label {
    display: block;

    margin-bottom: 10px;

    color: #668094;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.stat-card strong {
    display: block;

    font-size: 32px;
    letter-spacing: -.04em;
}

.stat-card small {
    color: #607587;
    font-size: 11px;
}


/* SECTIONS */

.content-section {
    padding: 95px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 30px;
}

.section-heading > div > span {
    color: var(--blue);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
}

.section-heading h2 {
    margin: 8px 0 0;

    font-size: 32px;
    letter-spacing: -.045em;
}

.section-heading > a {
    color: #7e96a8;
    font-size: 12px;
    font-weight: 700;
}

.section-heading > a:hover {
    color: var(--blue);
}


/* SERVERS */

.server-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.server-card {
    position: relative;

    min-height: 230px;

    padding: 23px;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.008)
        );

    overflow: hidden;

    transition: .25s;
}

.server-card::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(56,189,248,.55),
            transparent
        );

    opacity: 0;

    transition: .25s;
}

.server-card:hover {
    transform: translateY(-3px);

    border-color: rgba(56,189,248,.25);
}

.server-card:hover::before {
    opacity: 1;
}

.server-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid var(--line-strong);
    border-radius: 10px;

    color: var(--cyan);
    background: rgba(56,189,248,.05);

    font-weight: 900;
}

.server-status {
    display: flex;
    align-items: center;

    color: #6e8496;

    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.server-status span {
    width: 6px;
    height: 6px;

    margin-right: 7px;

    border-radius: 50%;

    background: #64748b;
}

.server-status.online {
    color: #7ee7a3;
}

.server-status.online span {
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
}

.server-card h3 {
    margin: 22px 0 8px;

    font-size: 18px;
}

.server-card p {
    min-height: 45px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.65;
}

.server-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 24px;
    padding-top: 16px;

    border-top: 1px solid var(--line);
}

.server-card-bottom strong {
    color: var(--cyan);
    font-size: 13px;
}

.server-card-bottom code {
    color: #61788a;
    font-size: 10px;
}

.empty-server {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    gap: 18px;

    min-height: 150px;
}

.empty-server h3 {
    margin: 0 0 5px;
}

.empty-server p {
    min-height: auto;
}


/* FEATURES */

.feature-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 16px;
}

.feature-card {
    position: relative;

    min-height: 330px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: var(--panel);

    overflow: hidden;
}

.feature-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    bottom: -90px;

    border-radius: 50%;

    background: rgba(56,189,248,.08);

    filter: blur(20px);
}

.feature-large {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(56,189,248,.1),
            transparent 35%
        ),
        var(--panel);
}

.feature-number {
    color: #344c5f;

    font-size: 11px;
    font-weight: 800;
}

.feature-label {
    color: var(--blue);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

.feature-card h2 {
    margin: 10px 0 15px;

    font-size: 27px;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.feature-card p {
    max-width: 500px;

    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.7;
}


/* QUICK */

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.quick-card {
    display: flex;
    flex-direction: column;

    min-height: 155px;

    padding: 21px;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: rgba(255,255,255,.015);

    transition: .2s;
}

.quick-card:hover {
    transform: translateY(-3px);

    border-color: var(--line-strong);
    background: rgba(56,189,248,.035);
}

.quick-card span {
    color: #3c5365;

    font-size: 10px;
    font-weight: 800;
}

.quick-card strong {
    margin-top: auto;

    font-size: 17px;
}

.quick-card small {
    margin-top: 6px;

    color: #657b8e;
    font-size: 10px;
}


/* FOOTER */

.site-footer {
    border-top: 1px solid var(--line);

    background: #04080d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;

    padding: 65px 0;
}

.footer-grid p {
    max-width: 300px;

    margin: 18px 0 0;

    color: #62788a;

    font-size: 11px;
    line-height: 1.7;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-grid strong {
    margin-bottom: 8px;

    color: #a9bdcb;

    font-size: 11px;
}

.footer-grid a:not(.brand) {
    color: #607687;

    font-size: 11px;

    transition: .2s;
}

.footer-grid a:not(.brand):hover {
    color: var(--blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding: 20px 0;

    border-top: 1px solid var(--line);

    color: #405565;

    font-size: 10px;
}


/* ANIMATION */

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

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


/* RESPONSIVE */

@media (max-width: 1000px) {

    .main-nav {
        display: none;
    }

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

    .hero-content {
        padding-bottom: 0;
    }

    .hero-visual {
        height: 400px;
    }

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

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

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

    .feature-large {
        grid-column: 1 / -1;
    }

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

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


@media (max-width: 620px) {

    .container {
        width: min(100% - 26px, 1240px);
    }

    .header-inner {
        height: 68px;
    }

    .cabinet-button {
        margin-left: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 70px 0 30px;
    }

    .hero h1 {
        font-size: 64px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        justify-content: center;
    }

    .hero-mini-stats {
        gap: 20px;
    }

    .hero-visual {
        height: 330px;
    }

    .ring-one {
        width: 250px;
        height: 250px;
    }

    .ring-two {
        width: 190px;
        height: 190px;
    }

    .ring-three {
        width: 310px;
        height: 310px;
    }

    .hero-core {
        width: 130px;
        height: 130px;
    }

    .hero-core b {
        font-size: 29px;
    }

    .floating-card-one {
        right: 0;
    }

    .floating-card-two {
        left: 0;
    }

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

    .stat-card {
        padding: 22px 15px;
    }

    .stat-card strong {
        font-size: 26px;
    }

    .content-section {
        padding: 65px 0;
    }

    .section-heading {
        align-items: start;
        gap: 20px;
        flex-direction: column;
    }

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

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

    .feature-large {
        grid-column: auto;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
