:root {
    --bg-dark: #0A0A0C;
    --bg-card: #121216;
    --accent-primary: #00FFB2;
    /* Neon Signal Green */
    --accent-secondary: #00E0FF;
    /* Quantum Blue */
    --text-main: #E0E0E6;
    --text-dim: #94949C;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

/* Background Effects */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 999;
}

.quantum-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: #FF00E5;
    /* Glitch Purple */
    top: 50%;
    left: 50%;
    opacity: 0.05;
    animation-delay: -10s;
}

@keyframes float {
    from {
        transform: translate(0, 0) scale(1.0);
    }

    to {
        transform: translate(100px, 50px) scale(1.1);
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

h1 span,
h2 span {
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(0, 255, 178, 0.3);
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, var(--bg-dark), transparent);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Hero */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

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

.system-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    opacity: 0.8;
}

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

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

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

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

h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.sponsor {
    margin-top: 1rem;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsor a {
    color: var(--accent-secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.sponsor a:hover {
    border-bottom-color: var(--accent-secondary);
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
}

@media (max-width: 768px) {
    margin-bottom: 3rem;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-dark);
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 255, 178, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 178, 0.3);
}

.btn-secondary {
    border: 1px solid var(--border);
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--glass);
    border-color: var(--text-dim);
}

.btn-sm {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
}

/* Problem Section */
#problem {
    padding: 10rem 5%;
}

.section-label {
    font-family: var(--font-mono);
    color: var(--accent-secondary);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

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

.card {
    background: var(--bg-card);
    padding: 3rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-secondary);
}

.card-icon {
    font-family: var(--font-mono);
    font-size: 4rem;
    opacity: 0.05;
    position: absolute;
    top: -10px;
    right: -10px;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-dim);
}

/* Agreement Section */
#agreement {
    padding: 5rem 5%;
}

.agreement-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    max-width: 900px;
    margin: 0 auto;
}

.agreement-header {
    background: var(--glass);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
}

.agreement-header h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.agreement-content {
    padding: 4rem;
}

.agreement-content p {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--text-dim);
}

.comparison {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.comp-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.comp-item ul {
    list-style: none;
}

.comp-item li {
    margin-bottom: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.comp-divider {
    width: 1px;
    background: var(--border);
}

/* Nodes */
#nodes {
    padding: 10rem 5%;
}

.node-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.node-item {
    padding: 3rem;
    border: 1px solid var(--border);
    position: relative;
}

.node-item.locked {
    opacity: 0.4;
    cursor: not-allowed;
}

.node-item.active {
    border-color: var(--accent-primary);
    box-shadow: inset 0 0 20px rgba(0, 255, 178, 0.05);
}

.node-num {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
}

/* Footer */
footer {
    padding: 5rem 5%;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .comparison {
        flex-direction: column;
    }

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

    h1 {
        font-size: 3rem;
    }
}