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

:root {
    --bg-dark: #0a0a0f;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 15px 30px;
}

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

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-purple);
}

/* Main Content */
main {
    padding-top: 120px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Glass Card Base */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

/* Hero Section */
.hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.hero-card {
    text-align: center;
    max-width: 800px;
    animation: float 6s ease-in-out infinite;
}

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

.glitch {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-blue);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-purple);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(random(100) + px, 9999px, random(100) + px, 0); }
    100% { clip: rect(random(100) + px, 9999px, random(100) + px, 0); }
}

.tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Lore Section */
.lore-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
}

.interactive-card {
    cursor: pointer;
    transform-style: preserve-3d;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    pointer-events: none;
}

.interactive-card:hover .card-glow {
    opacity: 0.15;
}

.lore-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stack-list {
    list-style: none;
    margin-top: 20px;
}

.stack-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    transition: padding-left 0.3s;
}

.stack-list li:hover {
    padding-left: 10px;
}

.bullet {
    color: var(--accent-purple);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Bridge Section */
.bridge-section {
    margin-bottom: 80px;
}

.quote-card {
    position: relative;
    padding-left: 80px;
}

.quote-mark {
    position: absolute;
    left: 30px;
    top: 30px;
    font-size: 6rem;
    color: var(--accent-purple);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-blue);
}

/* Vibe Check Section */
.vibe-check-section {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.vibe-card {
    text-align: center;
    padding: 50px 30px;
    cursor: pointer;
    transform-style: preserve-3d;
}

.vibe-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px var(--accent-purple));
}

.vibe-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-purple);
}

/* CTA Section */
.cta-section {
    margin-bottom: 80px;
}

.cta-card {
    text-align: center;
    padding: 60px 40px;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(168, 85, 247, 0.5);
}

/* Footer */
.glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 40px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-purple);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 20px;
    }

    .quote-card {
        padding-left: 40px;
    }

    .quote-mark {
        font-size: 4rem;
        left: 10px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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