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


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: "Inter", sans-serif;

    color: #e8faff;

    background:
        radial-gradient(
            circle at 50% 0%,
            #0b4261 0%,
            #062b43 30%,
            #031b2b 65%,
            #01111c 100%
        );

    overflow-x: hidden;
}


/* ========================================
   UNDERWATER BACKGROUND
======================================== */

.ocean {
    position: fixed;
    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: -3;
}

.light-rays {
    position: fixed;

    top: -20%;
    left: 50%;

    width: 900px;
    height: 1000px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            110deg,
            transparent 20%,
            rgba(76, 220, 255, 0.08) 35%,
            transparent 50%
        );

    filter: blur(20px);

    animation: rays 8s ease-in-out infinite alternate;

    pointer-events: none;

    z-index: -2;
}

@keyframes rays {
    from {
        transform: translateX(-55%) rotate(-3deg);
        opacity: .5;
    }

    to {
        transform: translateX(-45%) rotate(3deg);
        opacity: 1;
    }
}


/* ========================================
   BUBBLES
======================================== */

.bubble {
    position: absolute;

    bottom: -100px;

    border-radius: 50%;

    border: 1px solid rgba(150, 235, 255, .25);

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(255,255,255,.25),
            rgba(255,255,255,.02)
        );

    box-shadow:
        inset 0 0 10px rgba(255,255,255,.08),
        0 0 15px rgba(0,190,255,.08);

    animation: bubble-rise linear infinite;
}

.bubble-1 {
    left: 8%;
    width: 12px;
    height: 12px;
    animation-duration: 14s;
}

.bubble-2 {
    left: 18%;
    width: 7px;
    height: 7px;
    animation-duration: 10s;
    animation-delay: 2s;
}

.bubble-3 {
    left: 35%;
    width: 18px;
    height: 18px;
    animation-duration: 17s;
    animation-delay: 5s;
}

.bubble-4 {
    left: 51%;
    width: 8px;
    height: 8px;
    animation-duration: 12s;
    animation-delay: 1s;
}

.bubble-5 {
    left: 66%;
    width: 15px;
    height: 15px;
    animation-duration: 15s;
    animation-delay: 4s;
}

.bubble-6 {
    left: 75%;
    width: 6px;
    height: 6px;
    animation-duration: 9s;
    animation-delay: 3s;
}

.bubble-7 {
    left: 87%;
    width: 20px;
    height: 20px;
    animation-duration: 19s;
    animation-delay: 6s;
}

.bubble-8 {
    left: 95%;
    width: 9px;
    height: 9px;
    animation-duration: 11s;
}

@keyframes bubble-rise {

    0% {
        transform:
            translateY(0)
            translateX(0);
        opacity: 0;
    }

    10% {
        opacity: .8;
    }

    50% {
        transform:
            translateY(-50vh)
            translateX(25px);
    }

    100% {
        transform:
            translateY(-115vh)
            translateX(-30px);
        opacity: 0;
    }
}


/* ========================================
   NAVBAR
======================================== */

.navbar {

    width: min(1200px, calc(100% - 40px));

    margin: auto;

    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {

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

    color: white;

    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 700;

    text-decoration: none;
}

.brand-icon {
    font-size: 25px;
}

.navbar nav {

    display: flex;
    gap: 28px;
}

.navbar nav a {

    color: #8fb9ca;

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: .2s;
}

.navbar nav a:hover {
    color: white;
}


/* ========================================
   HERO
======================================== */

.hero {

    width: min(1200px, calc(100% - 40px));

    min-height: 650px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 50px;
}

.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    border-radius: 30px;

    background: rgba(70, 205, 255, .08);

    border: 1px solid rgba(70, 205, 255, .15);

    color: #76dfff;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .5px;
}

.pulse {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #45e6ad;

    box-shadow: 0 0 12px #45e6ad;

    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(.7);
    }
}

.hero h1 {

    margin-top: 25px;

    max-width: 650px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(50px, 7vw, 86px);

    line-height: .95;

    letter-spacing: -4px;
}

.hero h1 span {

    display: block;

    background:
        linear-gradient(
            120deg,
            #ffffff,
            #56dcff,
            #27aee9
        );

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

    color: transparent;
}

.hero p {

    max-width: 580px;

    margin-top: 28px;

    color: #8eb6c8;

    font-size: 17px;

    line-height: 1.8;
}

.hero-buttons {

    display: flex;

    gap: 13px;

    margin-top: 35px;
}


/* ========================================
   BUTTONS
======================================== */

.button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 20px;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition:
        transform .2s,
        box-shadow .2s,
        background .2s;
}

.button:hover {

    transform: translateY(-2px);
}

.button.primary {

    color: #001724;

    background:
        linear-gradient(
            135deg,
            #76e7ff,
            #31bce9
        );

    box-shadow:
        0 10px 30px rgba(22, 180, 230, .2);
}

.button.primary:hover {

    box-shadow:
        0 15px 40px rgba(22, 180, 230, .35);
}

.button.secondary {

    color: #b5d8e6;

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

    border: 1px solid rgba(255,255,255,.1);
}


/* ========================================
   SONAR
======================================== */

.hero-art {

    display: flex;

    justify-content: center;
}

.sonar {

    position: relative;

    width: min(400px, 80vw);
    aspect-ratio: 1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(32, 170, 210, .14),
            rgba(2, 35, 53, .3)
        );

    border:
        1px solid rgba(90,220,255,.2);

    box-shadow:
        0 0 100px rgba(20,180,230,.1),
        inset 0 0 80px rgba(20,180,230,.08);
}

.sonar-ring {

    position: absolute;

    inset: 15%;

    border:
        1px solid rgba(70,220,255,.12);

    border-radius: 50%;
}

.ring-2 {
    inset: 30%;
}

.ring-3 {
    inset: 45%;
}

.sonar-sweep {

    position: absolute;

    top: 50%;
    left: 50%;

    width: 50%;
    height: 2px;

    transform-origin: left center;

    background:
        linear-gradient(
            90deg,
            rgba(83,225,255,.8),
            transparent
        );

    box-shadow: 0 0 15px #54ddff;

    animation: sweep 4s linear infinite;
}

@keyframes sweep {

    from {
        transform: rotate(0deg);
    }

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

.sonar-center {

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 65px;
    height: 65px;

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

    border-radius: 50%;

    background: rgba(30,150,190,.12);

    border: 1px solid rgba(100,230,255,.25);

    font-size: 28px;
}

.sonar-dot {

    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #5fe4ff;

    box-shadow: 0 0 15px #5fe4ff;
}

.dot-1 {
    top: 26%;
    left: 64%;
}

.dot-2 {
    top: 63%;
    left: 27%;
}


/* ========================================
   STATS
======================================== */

.stats {

    width: min(1000px, calc(100% - 40px));

    margin: 20px auto 100px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.stat {

    padding: 28px;

    text-align: center;

    border-right: 1px solid rgba(255,255,255,.07);
}

.stat:last-child {
    border-right: none;
}

.stat strong {

    display: block;

    font-family: "Space Grotesk", sans-serif;

    font-size: 30px;
}

.stat span {

    display: block;

    margin-top: 5px;

    color: #7099aa;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* ========================================
   SECTIONS
======================================== */

.section {

    width: min(1200px, calc(100% - 40px));

    margin: 0 auto 130px;
}

.section-heading {

    display: flex;

    justify-content: space-between;
    align-items: end;

    margin-bottom: 35px;
}

.section-label {

    color: #49cbed;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}

.section h2 {

    margin-top: 8px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 42px;

    letter-spacing: -1.5px;
}

.section-heading p {

    margin-top: 8px;

    color: #7298a8;

    font-size: 14px;
}

.centered {

    text-align: center;

    display: block;
}


/* ========================================
   SERVER CARDS
======================================== */

.server-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 18px;
}

.server-card {

    position: relative;

    padding: 25px;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(22,100,130,.18),
            rgba(255,255,255,.025)
        );

    border:
        1px solid rgba(110,220,255,.12);

    backdrop-filter: blur(15px);

    transition:
        transform .25s,
        border-color .25s,
        box-shadow .25s;
}

.server-card:hover {

    transform: translateY(-5px);

    border-color:
        rgba(100,220,255,.3);

    box-shadow:
        0 20px 50px rgba(0,0,0,.25);
}

.server-card::after {

    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    top: -90px;
    right: -60px;

    border-radius: 50%;

    background: rgba(65,205,255,.08);

    filter: blur(10px);
}

.server-top {

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.server-name {

    font-family: "Space Grotesk", sans-serif;

    font-size: 20px;

    font-weight: 600;
}

.status {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 6px 9px;

    border-radius: 20px;

    background: rgba(40,210,150,.08);

    color: #5de3af;

    font-size: 11px;

    font-weight: 600;
}

.status-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: currentColor;

    box-shadow: 0 0 8px currentColor;
}

.status.offline {

    color: #ff7f8d;

    background: rgba(255,80,100,.08);
}

.server-description {

    min-height: 45px;

    margin-top: 17px;

    color: #759aaa;

    font-size: 13px;

    line-height: 1.6;
}

.server-info {

    display: flex;

    gap: 15px;

    margin-top: 20px;

    color: #8db5c4;

    font-size: 12px;
}

.server-address {

    margin-top: 18px;

    padding: 10px 12px;

    border-radius: 8px;

    background: rgba(0,0,0,.2);

    color: #74c9df;

    font-family: monospace;

    font-size: 12px;

    overflow: hidden;

    text-overflow: ellipsis;
}

.copy-button {

    width: 100%;

    margin-top: 12px;

    padding: 11px;

    border: 0;

    border-radius: 9px;

    color: #9ecbd9;

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

    cursor: pointer;

    font-weight: 600;

    transition: .2s;
}

.copy-button:hover {

    color: white;

    background: rgba(80,210,245,.1);
}


/* ========================================
   REFRESH
======================================== */

.refresh-button {

    padding: 10px 15px;

    border-radius: 9px;

    border:
        1px solid rgba(255,255,255,.1);

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

    color: #8eb6c6;

    cursor: pointer;

    transition: .2s;
}

.refresh-button:hover {

    color: white;

    border-color: rgba(80,210,245,.3);
}


/* ========================================
   STEPS
======================================== */

.steps {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-top: 45px;
}

.step {

    position: relative;

    padding: 35px 28px;

    border-radius: 18px;

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

    border: 1px solid rgba(255,255,255,.07);
}

.step-number {

    position: absolute;

    top: 18px;
    right: 20px;

    color: rgba(90,220,255,.25);

    font-family: "Space Grotesk", sans-serif;

    font-size: 13px;

    font-weight: 700;
}

.step-icon {

    font-size: 30px;

    margin-bottom: 22px;
}

.step h3 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 18px;
}

.step p {

    margin-top: 10px;

    color: #7197a8;

    font-size: 13px;

    line-height: 1.7;
}


/* ========================================
   CTA
======================================== */

.cta {

    width: min(1000px, calc(100% - 40px));

    margin: 0 auto 100px;

    position: relative;

    overflow: hidden;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            rgba(24,130,165,.2),
            rgba(30,80,120,.08)
        );

    border:
        1px solid rgba(80,210,250,.14);
}

.cta-content {

    position: relative;

    z-index: 2;

    padding: 70px 30px;

    text-align: center;
}

.cta-icon {

    font-size: 40px;
}

.cta h2 {

    margin-top: 15px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 36px;
}

.cta p {

    margin: 12px auto 25px;

    max-width: 500px;

    color: #7da4b3;

    font-size: 14px;

    line-height: 1.7;
}

.cta-glow {

    position: absolute;

    width: 300px;
    height: 300px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(30,190,240,.1);

    filter: blur(70px);
}


/* ========================================
   FOOTER
======================================== */

footer {

    width: min(1200px, calc(100% - 40px));

    margin: auto;

    padding: 30px 0 40px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-top: 1px solid rgba(255,255,255,.07);

    color: #668b9a;

    font-size: 12px;
}

footer strong {

    display: block;

    color: #b3d8e4;

    margin-bottom: 5px;
}

footer span {

    color: #668b9a;
}

.footer-links {

    display: flex;

    gap: 12px;

    align-items: center;
}

.footer-links a {

    color: #80b5c6;

    text-decoration: none;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 800px) {

    .navbar {
        height: 70px;
    }

    .navbar nav {
        display: none;
    }

    .hero {

        min-height: auto;

        padding: 90px 0 80px;

        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: clamp(48px, 14vw, 70px);
        letter-spacing: -3px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-art {
        order: -1;
    }

    .sonar {
        width: 260px;
    }

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

    .stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .section-heading {
        display: block;
    }

    .refresh-button {
        margin-top: 20px;
    }

    .section h2 {
        font-size: 34px;
    }

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

    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}