/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    color: #00ff41;
    background: #000000;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49%, rgba(0, 255, 65, 0.05) 50%, transparent 51%);
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo h1 {
    color: #00ffff;
    font-size: 1.8rem;
    text-shadow: 0 0 10px #00ffff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 20px #00ffff;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.8);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    animation: bgMove 20s ease-in-out infinite;
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 0 0 10px #00ffff;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.02);
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.stat p {
    color: #b0b0b0;
    margin-top: 0.5rem;
}

/* Services Section */
.services {
    background: rgba(0, 0, 0, 0.5);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow:
        0 20px 40px rgba(0, 255, 255, 0.3),
        0 0 50px rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
}

.service-card h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px #00ffff;
}

.service-card p {
    color: #b0b0b0;
}

/* Contact Section */
.contact {
    background: rgba(255, 255, 255, 0.02);
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
    margin: 1rem;
}

.contact-item h3 {
    color: #00ffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px #00ffff;
}

.contact-item p {
    color: #b0b0b0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 30, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 65, 0.05) 50%, transparent 70%);
    animation: footerGlow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

footer p {
    color: #b0b0b0;
    margin: 0.5rem 0;
    position: relative;
    z-index: 1;
}

footer .recordings {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

footer .recording {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 65, 0.3);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
}

footer .recording:hover {
    background: rgba(0, 255, 65, 0.1);
    border-color: #00ff41;
    transform: translateY(-2px);
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.matrix-column {
    position: absolute;
    color: #00ff41;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    opacity: 0.8;
    animation: matrixFall linear infinite;
}

@keyframes matrixFall {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 20px #00ffff;
    }
    to {
        text-shadow: 0 0 30px #00ffff, 0 0 40px #00ffff;
    }
}

@keyframes bgMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(5%, -5%) rotate(1deg);
    }
    50% {
        transform: translate(-5%, 5%) rotate(-1deg);
    }
    75% {
        transform: translate(3%, 3%) rotate(0.5deg);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #00ff41; }
}

@keyframes footerGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

@keyframes advancedFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) translateX(-10px) rotate(180deg) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-20px) translateX(5px) rotate(270deg) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) translateX(0) rotate(360deg) scale(1);
        opacity: 0.1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 1rem;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}