/* Cyberpunk/Glitched Aesthetic */

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a1a0a 100%);
    color: #00ff88;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 136, 0.03) 2px,
            rgba(0, 255, 136, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid #00ff88;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px #00ff88);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 0 0 10px #00ff88;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #00ff88;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    border-color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    text-shadow: 0 0 5px #00ff88;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2300ff88" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px #00ff88;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 3px;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    10% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    20% {
        transform: translate(2px, -2px);
        filter: hue-rotate(180deg);
    }
    30% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(270deg);
    }
    40% {
        transform: translate(2px, 2px);
        filter: hue-rotate(360deg);
    }
}

.hero-description {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
}

/* Sections */
section {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 15px #00ff88;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #00ff88;
    padding: 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
    color: #00ff88;
    position: relative;
    z-index: 1;
}

.service-card p {
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border: 2px solid #00ff88;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: scan 3s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: #00ff88;
    text-shadow: 0 0 15px #00ff88;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-left: 4px solid #00ff88;
    position: relative;
    font-style: italic;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: #00ff88;
    opacity: 0.3;
    font-family: 'JetBrains Mono', monospace;
}

.testimonial-card cite {
    display: block;
    margin-top: 1rem;
    text-align: right;
    font-style: normal;
    color: #00ff88;
    font-family: 'JetBrains Mono', monospace;
}

/* Contact */
.contact-info {
    text-align: center;
    font-size: 1.2rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.contact-info strong {
    color: #00ff88;
    text-shadow: 0 0 5px #00ff88;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #00ff88;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-link {
    color: #00ff88;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.footer-link:hover {
    text-shadow: 0 0 10px #00ff88;
}

/* Legal Pages */
.legal-page {
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 15px #00ff88;
}

.legal-section {
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-left: 4px solid #00ff88;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00ff88;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 10px #00ff88;
}

.legal-section ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.last-updated {
    text-align: center;
    font-style: italic;
    opacity: 0.7;
    margin-top: 2rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .nav-link {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 3rem 0;
    }
}