:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --accent-color: #00ff88;
    /* Cyberpunk green/cyan */
    --accent-secondary: #00ccff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    height: 100vh;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#app {
    position: relative;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through to canvas if needed, but usually we want app to be interactive */
}

/* Enable pointer events for actual UI elements */
#app>* {
    pointer-events: auto;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.links a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

/* Glitch Effect Basic */
.glitch {
    position: relative;
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        transform: skew(0deg);
    }

    1% {
        transform: skew(1deg);
    }

    2% {
        transform: skew(-1deg);
    }

    3% {
        transform: skew(0deg);
    }

    100% {
        transform: skew(0deg);
    }
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    background: var(--accent-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
}

/* UI Enhancements */
::selection {
    background: var(--accent-color);
    color: #000;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Card Stagger */
.card-grid .card:nth-child(1) {
    transition-delay: 0.1s;
}

.card-grid .card:nth-child(2) {
    transition-delay: 0.2s;
}

.card-grid .card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Content Sections */
.content-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

.card h3 {
    color: var(--accent-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Vision */
.vision-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    /* Tech look */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 50, 0, 0.2));
}

.vision-box p {
    font-size: 1.5rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background: #000;
    padding: 4rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid #222;
    text-align: center;
}

.contact-link {
    color: var(--accent-color);
    font-size: 1.5rem;
    text-decoration: none;
    display: block;
    margin: 1rem 0;
}

.copyright {
    color: #555;
    margin-top: 2rem;
    font-size: 0.8rem;
}