/* Matrix Theme CSS */

/* Base Styles */
body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #00ff41;
    font-family: 'Courier Prime', monospace;
    overflow-x: hidden;
}

/* Matrix Rain Animation */
.matrix-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.matrix-rain {
    position: absolute;
    color: #00ff41;
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    animation: matrix-rain 8s linear infinite;
}

@keyframes matrix-rain {
    0% { transform: translateY(-100vh); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Main Layout */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #001100 50%, #000000 100%);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #000000, #003300);
    border-bottom: 2px solid #00ff41;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    padding: 0;
    margin: 0;
}

nav a {
    color: #00ff41;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #39ff14;
    border: 1px solid #00ff41;
    box-shadow: 0 0 15px #00ff41;
    text-shadow: 0 0 10px #00ff41;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: #00ff41;
    text-shadow: 0 0 30px #00ff41;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { text-shadow: 0 0 20px #00ff41; }
    100% { text-shadow: 0 0 40px #00ff41, 0 0 60px #00ff41; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #00ffff;
    margin-bottom: 2rem;
    font-family: 'Courier Prime', monospace;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00ff41, #008f11);
    color: #000;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.5);
    background: linear-gradient(135deg, #39ff14, #00ff41);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

/* Service Cards */
.service-card {
    background: rgba(0, 20, 0, 0.7);
    border: 1px solid #00ff41;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    max-height: 500px;
    transition: max-height 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff41, transparent);
    animation: scan-line-horizontal 2s linear infinite;
}

@keyframes scan-line-horizontal {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.service-card h3 {
    font-family: 'Orbitron', monospace;
    color: #00ff41;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #00ff41;
}

.service-card.expanded {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
    z-index: 2;
}

/* Progress Bars */
.progress-bar {
    margin-top: 10px;
    width: 100%;
}

.progress-track {
    width: 100%;
    height: 20px;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #008f11, #00ff41);
    width: 0;
    transition: width 1.5s ease-out;
    position: relative;
    border-radius: 10px;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    color: #00ffff;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #003300, #000000);
    border-top: 2px solid #00ff41;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: #00ff41;
}

/* Special Effects */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff41, transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.glitch {
    animation: glitch 0.3s ease-in-out infinite alternate;
}

@keyframes glitch {
    0% { text-shadow: 0 0 5px #00ff41; }
    100% { text-shadow: -2px 0 #ff0040, 2px 0 #00ffff; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 255, 65, 0.2);
    border: 2px solid #00ff41;
    color: #00ff41;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: rgba(0, 255, 65, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #00ff41, #008f11);
    color: #000;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.5);
    background: linear-gradient(135deg, #39ff14, #00ff41);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
}

.btn:hover::after {
    animation: btn-shine 1s forwards;
}

@keyframes btn-shine {
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&family=Orbitron:wght@400;700;900&display=swap');