/* Enhanced Hero Section */

.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 8rem 4rem;
    position: relative;
    background: radial-gradient( circle at 50% 50%, rgba(57, 255, 20, 0.03) 0%, rgba(11, 63, 12, 0.01) 50%, transparent 100%);
}

/* Cyber Grid Effect */

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--grid-lines) 1px, transparent 1px) 0 0 / 50px 50px, linear-gradient(0deg, var(--grid-lines) 1px, transparent 1px) 0 0 / 50px 50px;
    opacity: 0.1;
    animation: gridMove 15s linear infinite;
}

/* Glowing Orb Effect */

.hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient( circle, rgba(57, 255, 20, 0.1) 0%, rgba(57, 255, 20, 0.05) 30%, transparent 70%);
    filter: blur(60px);
    animation: pulseOrb 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Enhanced Title Animation */

.hero-section h1 {
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 2rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--neon-green);
    text-shadow: 0 0 10px #ff6bda80, 0 0 20px #ffffff4d, 0 0 30px #f371ffb3;
    animation: glowPulse 2s infinite;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--terminal-green);
    margin-bottom: 2rem;
    font-family: 'Source Code Pro', monospace;
    letter-spacing: 2px;
    position: relative;
    padding-left: 20px;
}

.hero-subtitle::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    animation: blink 1s infinite;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--terminal-green);
    max-width: 600px;
    padding: 1.5rem;
    background: rgba(57, 255, 20, 0.03);
    border: 1px solid rgba(57, 255, 20, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    background: rgba(57, 255, 20, 0.03);
    padding: 2rem;
    border: 1px solid rgba(57, 255, 20, 0.1);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 45deg, transparent, rgba(57, 255, 20, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.stat-item:hover::before {
    transform: translateX(100%);
}

.stat-value {
    font-size: 2.5rem;
    color: var(--neon-green);
    font-family: 'Source Code Pro', monospace;
    font-weight: 700;
    text-shadow: 0 0 10px #fb96ff4d;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--terminal-green);
    font-size: 1rem;
    font-family: 'Source Code Pro', monospace;
    letter-spacing: 1px;
    opacity: 0.8;
}

@keyframes glowPulse {
    0%,
    100% {
        text-shadow: 0 0 10px #ff6bda80, 0 0 20px #fb96ff4d, 0 0 30px #f371ffb3;
    }
    50% {
        text-shadow: 0 0 15px #fb96ff4d, 0 0 25px rgba(57, 255, 20, 0.4), 0 0 35px #fb96ff4d;
    }
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Enhanced Buttons */

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.primary-button {
    position: relative;
    padding: 1rem 2.5rem;
    background: var(--neon-green);
    border: none;
    border-radius: 4px;
    color: var(--cyber-black);
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px #fb96ff4d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.primary-button:hover::before {
    left: 100%;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px #ff65ed80;
}

.secondary-button {
    position: relative;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--neon-green);
    border-radius: 4px;
    color: var(--neon-green);
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.secondary-button::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--neon-green), transparent, var(--neon-green));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.secondary-button:hover::before {
    opacity: 0.3;
}

.secondary-button:hover {
    box-shadow: 0 0 20px #fb96ff4d;
    transform: translateY(-2px);
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 120deg, transparent, #f371ffb3, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.primary-button:hover .button-glitch,
.secondary-button:hover .button-glitch {
    opacity: 1;
    animation: glitchEffect 0.3s linear;
}

@keyframes glitchEffect {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-5px, 5px);
    }
    40% {
        transform: translate(-5px, -5px);
    }
    60% {
        transform: translate(5px, 5px);
    }
    80% {
        transform: translate(5px, -5px);
    }
    100% {
        transform: translate(0);
    }
}

/* Animations */

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50px);
    }
}

@keyframes pulseOrb {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes titleGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 10px #fb96ff4d);
    }
    50% {
        filter: drop-shadow(0 0 20px #ff6bda80);
    }
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Matrix Rain Effect */

.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    opacity: 0.05;
    pointer-events: none;
}

.rain-column {
    position: absolute;
    top: -20px;
    font-family: 'Source Code Pro', monospace;
    color: var(--neon-green);
    font-size: 1.2rem;
    line-height: 1;
    white-space: nowrap;
    animation: rain linear infinite;
}

/* Fix horizontal scrolling */

body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
}