:root {
    --bg-dark: #0a0a0f;
    --bg-panel: #13131f;
    --primary: #00F0FF; /* Neon Cyan */
    --secondary: #7000FF; /* Neon Purple */
    --text-main: #e0e0e0;
    --text-muted: #8888aa;
    --font-heading: 'Space Mono', monospace;
    --font-body: 'Outfit', sans-serif;
}

* {
    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;
}

/* Global Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Scanline Effect */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.1) 51%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 999;
    opacity: 0.3;
}

/* Header */
.header {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.logo svg {
    filter: drop-shadow(0 0 5px var(--secondary));
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:not(.btn):hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at top right, #1a0b2e 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.glitch {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    position: relative;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(42px, 9999px, 44px, 0); }
    5% { clip: rect(12px, 9999px, 59px, 0); }
    10% { clip: rect(48px, 9999px, 29px, 0); }
    15.0% { clip: rect(42px, 9999px, 73px, 0); }
    20% { clip: rect(63px, 9999px, 27px, 0); }
    100% { clip: rect(1px, 9999px, 1px, 0); }
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    box-shadow: 0 0 5px var(--primary);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Features */
.features {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.section-title {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-panel);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card:hover::before {
    opacity: 1;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: #fff;
}

.card p {
    color: var(--text-muted);
}

/* How It Works */
.how-it-works {
    padding: 8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at bottom left, #130a20 0%, transparent 40%);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
}

.text-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.text-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.text-content strong {
    color: var(--primary);
}

.hologram-effect {
    width: 100%;
    height: 300px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1) inset;
}

.brain-wireframe {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    position: relative;
    animation: pulse 4s infinite ease-in-out;
}

.brain-wireframe::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px dashed var(--secondary);
    border-radius: 50%;
    animation: spin 10s infinite linear;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 rgba(0, 240, 255, 0); transform: scale(1); }
    50% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.3); transform: scale(1.05); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Manifesto */
.manifesto-section {
    padding: 8rem 0;
    text-align: center;
}

.narrow {
    max-width: 800px;
}

blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding-left: 2rem;
    margin: 3rem auto;
    text-align: left;
    background: linear-gradient(90deg, rgba(112, 0, 255, 0.1), transparent);
    padding: 2rem;
}

.manifesto-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* CTA */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(to top, #1a0b2e, var(--bg-dark));
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.signup-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.signup-form input {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    filter: grayscale(1);
}

.socials {
    display: flex;
    gap: 2rem;
}

.socials a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary);
}

@media (max-width: 600px) {
    .glitch { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .signup-form { flex-direction: column; }
}
