/* Global Reset & Theme Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --bg-dark: #0a0f1d;
    --bg-card: #131b2e;
    --bg-nav: #0d1424;
    --accent-cyan: #00f0ff;
    --accent-cyan-hover: #00c8d4;
    --text-white: #ffffff;
    --text-gray: #8f9cae;
    --border-color: #1e293b;
    --discord-color: #5865F2;
}

body {
    background:
        radial-gradient(circle at 18% 12%, rgba(0, 240, 255, 0.06), transparent 18%),
        radial-gradient(circle at 82% 18%, rgba(0, 240, 255, 0.08), transparent 22%),
        linear-gradient(180deg, #060b15 0%, #0a0f1d 38%, #09111f 100%);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    background-color: var(--bg-nav);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent-cyan);
}

.logo-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    white-space: nowrap;
    color: var(--text-white);
}

.logo-icon {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 8px var(--accent-cyan));
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-cyan);
}

nav .btn-nav {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

nav .btn-nav:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-cyan);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 48px;
    background:
        radial-gradient(circle at 74% 36%, rgba(0, 240, 255, 0.1), transparent 28%),
        radial-gradient(circle at 18% 20%, rgba(0, 240, 255, 0.06), transparent 26%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    min-height: calc(100svh - 168px);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: 999px;
    background: rgba(10, 20, 36, 0.6);
    color: #b9faff;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-text h1 {
    margin-bottom: 22px;
    text-transform: uppercase;
}

.hero-title-line {
    display: block;
    font-size: clamp(44px, 5.8vw, 78px);
    font-family: 'Audiowide', 'Rajdhani', sans-serif;
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0.01em;
    color: #dffcff;
    text-shadow:
        0 0 6px rgba(0, 240, 255, 0.14),
        0 0 16px rgba(0, 240, 255, 0.12),
        0 0 28px rgba(0, 240, 255, 0.08);
}

.hero-title-line.highlight {
    background: linear-gradient(180deg, #f3ffff 0%, #95f9ff 38%, #31ebff 68%, #b1fcff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.18));
}

.hero-title-line:first-child {
    margin-bottom: 8px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-chips span {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 240, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #cbfbff;
    font-size: 13px;
    box-shadow: inset 0 0 14px rgba(0, 240, 255, 0.03);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-gray);
    transform: translateY(-2px);
}

/* Dynamic Earth Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.earth-container {
    position: relative;
    width: min(500px, 88vw);
    aspect-ratio: 1;
}

.earth-backdrop,
.earth-glow,
.earth-ring,
.earth-orbit {
    position: absolute;
    border-radius: 50%;
}

.earth-backdrop {
    inset: 8%;
    background:
        radial-gradient(circle at center, rgba(0, 240, 255, 0.18), transparent 46%),
        radial-gradient(circle at center, rgba(0, 156, 189, 0.12), transparent 68%);
    filter: blur(10px);
}

.earth-glow {
    inset: 16%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.22), transparent 70%);
    filter: blur(22px);
}

.earth-ring {
    border: 1px solid rgba(92, 244, 255, 0.14);
}

.ring-one {
    inset: 4%;
    transform: rotate(18deg);
}

.ring-two {
    inset: 12%;
    border-style: dashed;
    opacity: 0.8;
    transform: rotate(-24deg);
}

.earth {
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at 32% 28%, rgba(197, 253, 255, 0.16), transparent 16%),
        radial-gradient(circle at 70% 70%, rgba(0, 186, 214, 0.22), transparent 20%),
        linear-gradient(180deg, #17395e 0%, #0c1930 48%, #08111f 100%);
    border: 1px solid rgba(141, 250, 255, 0.22);
    box-shadow:
        inset -26px -28px 56px rgba(0, 0, 0, 0.86),
        inset 18px 12px 28px rgba(148, 251, 255, 0.08),
        0 0 36px rgba(0, 240, 255, 0.14);
    animation: floatEarth 7s ease-in-out infinite;
}

.earth::before,
.earth::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.earth::before {
    background:
        radial-gradient(circle at 24% 34%, rgba(0, 240, 255, 0.92), transparent 7%),
        radial-gradient(circle at 72% 38%, rgba(0, 240, 255, 0.8), transparent 6%),
        radial-gradient(circle at 44% 70%, rgba(0, 240, 255, 0.75), transparent 6%),
        radial-gradient(circle at 64% 60%, rgba(0, 240, 255, 0.72), transparent 5%),
        radial-gradient(circle at 28% 60%, rgba(0, 240, 255, 0.76), transparent 6%);
    opacity: 0.95;
}

.earth::after {
    background:
        linear-gradient(116deg, transparent 18%, rgba(0, 240, 255, 0.18) 19%, transparent 20%),
        linear-gradient(20deg, transparent 37%, rgba(0, 240, 255, 0.12) 38%, transparent 39%),
        linear-gradient(158deg, transparent 58%, rgba(0, 240, 255, 0.12) 59%, transparent 60%);
    opacity: 0.72;
}

.earth-grid {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.earth-grid-x {
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 18px,
            rgba(122, 247, 255, 0.12) 18px 20px
        );
    mix-blend-mode: screen;
    animation: driftGridX 16s linear infinite;
}

.earth-grid-y {
    background:
        repeating-linear-gradient(
            180deg,
            transparent 0 22px,
            rgba(122, 247, 255, 0.08) 22px 24px
        );
    opacity: 0.85;
    animation: driftGridY 12s linear infinite reverse;
}

.earth-core {
    position: absolute;
    inset: 22%;
    border-radius: 50%;
    border: 1px solid rgba(111, 246, 255, 0.18);
    box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.04);
}

.earth-node,
.earth-link {
    position: absolute;
    display: block;
}

.earth-node {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #bfffff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.95);
    animation: blinkNode 2.6s ease-in-out infinite;
}

.node-a { top: 28%; left: 26%; }
.node-b { top: 34%; right: 20%; animation-delay: 0.4s; }
.node-c { top: 56%; left: 34%; animation-delay: 0.9s; }
.node-d { bottom: 24%; right: 28%; animation-delay: 0.2s; }
.node-e { bottom: 32%; left: 18%; animation-delay: 0.7s; }

.earth-link {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.82), transparent);
    transform-origin: left center;
    opacity: 0.76;
}

.link-a {
    top: 31%;
    left: 28%;
    width: 42%;
    transform: rotate(9deg);
}

.link-b {
    top: 40%;
    left: 26%;
    width: 28%;
    transform: rotate(44deg);
}

.link-c {
    top: 60%;
    left: 20%;
    width: 52%;
    transform: rotate(-11deg);
}

.link-d {
    top: 43%;
    right: 22%;
    width: 26%;
    transform: rotate(58deg);
}

.earth-orbit {
    inset: 4%;
    border: 1px solid rgba(0, 240, 255, 0.18);
}

.orbit-one {
    transform: rotate(14deg);
    animation: spinOrbit 15s linear infinite;
}

.orbit-two {
    inset: 10%;
    border-style: dashed;
    transform: rotate(-28deg);
    animation: spinOrbitReverse 19s linear infinite;
}

.satellite {
    position: absolute;
    top: 50%;
    left: -10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--accent-cyan);
    background: rgba(9, 19, 34, 0.92);
    border: 1px solid rgba(0, 240, 255, 0.28);
    border-radius: 50%;
    font-size: 14px;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.16);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: rgba(19, 27, 46, 0.4);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.05);
}

.feature-icon {
    font-size: 32px;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
}

/* Network / Map Section */
.network {
    padding: 100px 0;
}

.map-wrapper {
    position: relative;
    background: #0d1627;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

.map-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.map-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.map-stats span {
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 240, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #c7f8ff;
    font-size: 13px;
}

.map-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 520;
    border-radius: 14px;
    overflow: hidden;
}

.map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at center, rgba(0, 240, 255, 0.04), transparent 56%),
        linear-gradient(180deg, rgba(11, 22, 39, 0.94), rgba(7, 14, 27, 0.98));
}

.map-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 44%, rgba(10, 15, 29, 0.16) 100%);
    pointer-events: none;
}

.node-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Glowing Nodes */
.node {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-cyan);
    transition: all 0.2s ease;
}

.node::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.node:hover,
.node:focus-visible,
.node.active {
    width: 14px;
    height: 14px;
    background-color: #fff;
    box-shadow: 0 0 15px #fff, 0 0 30px var(--accent-cyan);
    z-index: 10;
    outline: none;
}

.tooltip {
    position: absolute;
    z-index: 12;
    background-color: var(--bg-card);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -12px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.tooltip.show {
    opacity: 1;
    transform: translate(-50%, -20px);
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

@keyframes floatEarth {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes driftGridX {
    from { transform: translateX(-12px); }
    to { transform: translateX(12px); }
}

@keyframes driftGridY {
    from { transform: translateY(-10px); }
    to { transform: translateY(10px); }
}

@keyframes spinOrbit {
    from { transform: rotate(14deg); }
    to { transform: rotate(374deg); }
}

@keyframes spinOrbitReverse {
    from { transform: rotate(-28deg); }
    to { transform: rotate(-388deg); }
}

@keyframes blinkNode {
    0%, 100% { opacity: 0.46; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.18); }
}

/* Footer Section */
footer {
    background-color: var(--bg-nav);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-gray);
    margin-top: 15px;
    font-size: 14px;
    max-width: 250px;
}

.footer-contact h3,
.footer-community h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-contact h3::after,
.footer-community h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-cyan);
}

.footer-contact ul {
    list-style: none;
}

.footer-contact ul li {
    color: var(--text-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-contact ul li i {
    color: var(--accent-cyan);
}

.footer-contact ul li a {
    color: var(--text-gray);
}

.footer-contact ul li a:hover {
    color: var(--text-white);
}

.footer-community p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-discord {
    background-color: var(--discord-color);
    color: var(--text-white);
}

.btn-discord:hover {
    background-color: #434ee0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 13px;
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    nav {
        gap: 15px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero {
        padding-top: 124px;
        padding-bottom: 40px;
    }
    .hero-grid {
        min-height: auto;
        gap: 18px;
    }
    .hero-title-line {
        font-size: clamp(36px, 9vw, 56px);
    }
    .hero-text p {
        margin: 0 auto 35px;
    }
    .hero-kicker,
    .hero-chips {
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 10px;
    }
    .earth-container {
        width: min(320px, 72vw);
    }
}
