:root {
    --bg-dark: #0a0510;
    --neon-pink: #ff00ff;
    --neon-cyan: #00ffff;
    --neon-purple: #b026ff;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0b0;
    --card-bg: rgba(20, 10, 30, 0.7);
    --border-color: rgba(255, 0, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Cyberpunk Background FX */
.glow-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.1) 0%, rgba(10, 5, 16, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: -2;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    pointer-events: none;
}

/* Nav */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(10, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.logo span {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.github-link {
    color: var(--neon-pink);
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.neon-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6), 0 0 30px rgba(0, 255, 255, 0.4);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn.primary {
    background: transparent;
    color: var(--neon-pink);
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3), inset 0 0 10px rgba(255, 0, 255, 0.3);
}

.btn.primary:hover {
    background: var(--neon-pink);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

.btn.secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
}

.btn.secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* Showcase Image */
.showcase {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 20px;
    perspective: 1000px;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 40px rgba(176, 38, 255, 0.3);
    overflow: hidden;
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: rotateX(0deg);
}

.image-wrapper img {
    width: 100%;
    display: block;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.15);
    border-color: var(--neon-cyan);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--neon-cyan);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Installation */
.installation {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.installation h2 {
    color: var(--neon-pink);
    margin-bottom: 20px;
    text-align: center;
}

.installation p {
    margin-bottom: 20px;
    text-align: center;
}

.code-block {
    background: #000;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--neon-cyan);
    overflow-x: auto;
    margin-bottom: 20px;
}

.code-block pre {
    color: #0f0;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

footer a {
    color: var(--neon-cyan);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 0 10px;
    }
}