:root {
    --bg-dark: #09090b;
    --primary-neon: #00ffcc;
    --secondary-neon: #b026ff;
    --danger-neon: #ff2a2a;
    --text-main: #f0f0f0;
    --font-heading: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-heading);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Grid Effect */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(0, 255, 204, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 204, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 40px;
    }
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
}

.glitch-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.glitch {
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.8), 0 0 20px rgba(0, 255, 204, 0.5);
}

.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: -2px 0 var(--danger-neon);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

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

@keyframes glitch-anim {
    0% {
        clip: rect(20px, 9999px, 85px, 0);
    }

    20% {
        clip: rect(60px, 9999px, 20px, 0);
    }

    40% {
        clip: rect(10px, 9999px, 55px, 0);
    }

    60% {
        clip: rect(80px, 9999px, 90px, 0);
    }

    80% {
        clip: rect(40px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(90px, 9999px, 40px, 0);
    }
}

.slogan {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: #a0a0a0;
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Buttons */
.cta-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    position: relative;
    padding: 15px 40px;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bg-dark);
    background: transparent;
    border: 2px solid var(--primary-neon);
    overflow: hidden;
    transition: 0.2s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-neon);
    box-shadow: 0 0 15px var(--primary-neon);
}

.btn-secondary {
    color: var(--primary-neon);
    box-shadow: inset 0 0 10px rgba(0, 255, 204, 0.2);
}

.btn:hover {
    box-shadow: 0 0 25px var(--primary-neon);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(0, 255, 204, 0.1);
}

/* Features */
.features-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    flex: 1 1 300px;
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid #333;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-neon);
    box-shadow: 0 5px 20px rgba(176, 38, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-neon);
    letter-spacing: 1px;
}

.feature-card p {
    font-family: var(--font-mono);
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer */
footer {
    margin-top: auto;
    text-align: center;
    padding: 30px;
    font-family: var(--font-mono);
    color: #555;
    font-size: 0.8rem;
    border-top: 1px solid #222;
}

/* Responsive */
@media (max-width: 768px) {
    .glitch {
        font-size: 3.5rem;
    }

    .features-section {
        padding: 20px;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }
}