@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

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

:root {
    --primary-color: #00ff41;
    --secondary-color: #0080ff;
    --accent-color: #ff0080;
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-accent: #00ff41;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Matrix Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000000 0%, #001122 50%, #000000 100%);
    z-index: -2;
}

.matrix-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--primary-color) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--secondary-color) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.1;
    animation: matrix-float 20s ease-in-out infinite;
}

@keyframes matrix-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.logo {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 25px;
    box-shadow: 
        0 0 30px var(--primary-color),
        0 0 60px var(--primary-color),
        0 10px 40px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 20px var(--primary-color));
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 0 40px var(--primary-color),
        0 0 80px var(--primary-color),
        0 15px 50px rgba(0,0,0,0.7);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.glitch {
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-primary);
    text-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-color);
}

.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: var(--accent-color);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--secondary-color);
    z-index: -2;
}

@keyframes glitch-1 {
    0% { transform: translateX(0); }
    10% { transform: translateX(-2px); }
    20% { transform: translateX(2px); }
    30% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    50% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

@keyframes glitch-2 {
    0% { transform: translateX(0); }
    15% { transform: translateX(2px); }
    25% { transform: translateX(-2px); }
    35% { transform: translateX(2px); }
    45% { transform: translateX(-2px); }
    55% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.tagline {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px var(--primary-color);
}

.subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-section {
    margin-top: 3rem;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    padding: 20px 50px;
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(0, 255, 65, 0.3),
        inset 0 0 0 2px var(--primary-color);
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 255, 65, 0.5),
        inset 0 0 0 2px var(--primary-color);
}

.download-btn::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: left 0.6s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Features */
.features {
    padding: 8rem 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 65, 0.02);
    backdrop-filter: blur(10px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.feature-card {
    background: linear-gradient(145deg, rgba(0,0,0,0.8), rgba(0,20,40,0.8));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 255, 65, 0.2),
        0 0 50px rgba(0, 128, 255, 0.1);
}

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

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Performance Metrics */
.performance {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(0,20,40,0.9));
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.metric-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0,0,0,0.5);
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

.metric-card:hover::before {
    width: 200px;
    height: 200px;
}

.metric-value {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
    margin-bottom: 1rem;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Tech Specs */
.tech-specs {
    padding: 8rem 0;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.spec-item {
    background: linear-gradient(145deg, rgba(0,0,0,0.8), rgba(0,40,80,0.6));
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.spec-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.spec-item strong {
    color: var(--text-accent);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.cli-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 4rem 0 2rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cli-demo {
    background: var(--darker-bg);
    padding: 3rem;
    border-radius: 15px;
    margin: 2rem 0;
    font-family: 'Courier New', monospace;
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 0 30px rgba(0, 255, 65, 0.3),
        inset 0 0 50px rgba(0, 255, 65, 0.05);
    position: relative;
    overflow: hidden;
}

.cli-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 65, 0.03) 2px,
            rgba(0, 255, 65, 0.03) 4px
        );
    pointer-events: none;
}

.cli-line {
    margin: 1rem 0;
    display: flex;
    align-items: center;
}

.prompt {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
    text-shadow: 0 0 5px var(--primary-color);
}

.command {
    color: #ffd700;
    font-weight: bold;
}

.cli-output {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    padding-left: 2rem;
}

.cli-success {
    color: var(--primary-color);
    font-weight: bold;
    margin: 0.5rem 0;
    padding-left: 2rem;
    text-shadow: 0 0 5px var(--primary-color);
}

/* Footer */
footer {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--darker-bg), rgba(0,0,0,0.95));
    border-top: 2px solid var(--primary-color);
    position: relative;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin: 1rem 0;
}

.footer-tagline {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
    
    .download-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--secondary-color), var(--primary-color));
}
