:root {
    --primary-cyan: #00f5ff;
    --primary-pink: #ff0080;
    --secondary-purple: #8000ff;
    --bg-dark: #0a0a0f;
    --bg-darker: #05050a;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --neon-glow: 0 0 20px;
    --border-radius: 8px;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
}

/* Cyber Grid Background */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 245, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Neon Particles */
.neon-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.neon-particles::before,
.neon-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: var(--neon-glow) var(--primary-cyan);
    animation: float 6s ease-in-out infinite;
}

.neon-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.neon-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-10px, -40px) rotate(180deg); }
    75% { transform: translate(-30px, -10px) rotate(270deg); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-cyan);
    text-shadow: var(--neon-glow) var(--primary-cyan);
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-cyan);
    text-shadow: var(--neon-glow) var(--primary-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-pink));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Main Content */
.main {
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

/* Hero Mask */
.hero-mask {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.mask-face {
    position: relative;
    width: 200px;
    height: 250px;
}

.mask-outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-cyan);
    border-radius: 50px 50px 60px 60px;
    box-shadow:
        inset var(--neon-glow) var(--primary-cyan),
        var(--neon-glow) var(--primary-cyan);
    animation: maskPulse 3s ease-in-out infinite;
}

@keyframes maskPulse {
    0%, 100% { box-shadow: inset var(--neon-glow) var(--primary-cyan), var(--neon-glow) var(--primary-cyan); }
    50% { box-shadow: inset 0 0 30px var(--primary-pink), 0 0 30px var(--primary-pink); }
}

.mask-eyes {
    position: absolute;
    top: 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
}

.eye {
    width: 30px;
    height: 15px;
    background: var(--primary-pink);
    border-radius: 15px;
    box-shadow: var(--neon-glow) var(--primary-pink);
    animation: eyeBlink 4s ease-in-out infinite;
}

@keyframes eyeBlink {
    0%, 90%, 100% { height: 15px; }
    95% { height: 2px; }
}

.mask-mouth {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    border: 2px solid var(--primary-cyan);
    border-radius: 0 0 40px 40px;
    border-top: none;
    box-shadow: var(--neon-glow) var(--primary-cyan);
}

.mask-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-pink));
    box-shadow: var(--neon-glow) var(--primary-cyan);
    animation: lineGlow 2s ease-in-out infinite alternate;
}

.line-1 {
    top: 40px;
    left: 20px;
    width: 40px;
    height: 2px;
    transform: rotate(-30deg);
}

.line-2 {
    top: 40px;
    right: 20px;
    width: 40px;
    height: 2px;
    transform: rotate(30deg);
}

.line-3 {
    bottom: 60px;
    left: 30px;
    width: 30px;
    height: 2px;
    transform: rotate(45deg);
}

.line-4 {
    bottom: 60px;
    right: 30px;
    width: 30px;
    height: 2px;
    transform: rotate(-45deg);
}

@keyframes lineGlow {
    0% { box-shadow: var(--neon-glow) var(--primary-cyan); }
    100% { box-shadow: 0 0 30px var(--primary-pink); }
}

/* Hero Text */
.hero-title {
    margin-bottom: 2rem;
}

.title-main {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    display: block;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-pink), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px var(--primary-cyan);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.title-sub {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-gray);
    display: block;
    margin-top: 0.5rem;
}

@keyframes titleGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.3); }
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-pink));
    color: var(--bg-dark);
    box-shadow: var(--neon-glow) var(--primary-cyan);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-cyan);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
}

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--bg-dark);
    box-shadow: var(--neon-glow) var(--primary-cyan);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: var(--neon-glow) var(--primary-cyan);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: var(--neon-glow) var(--primary-cyan);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.8;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-cyan);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Commands Section */
.commands {
    padding: 8rem 0;
}

.commands-terminal {
    background: var(--bg-darker);
    border: 1px solid var(--primary-cyan);
    border-radius: var(--border-radius);
    box-shadow: var(--neon-glow) var(--primary-cyan);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.terminal-header {
    background: rgba(0, 245, 255, 0.1);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #ff5f56; }
.btn-minimize { background: #ffbd2e; }
.btn-maximize { background: #27ca3f; }

.terminal-title {
    font-family: 'Orbitron', monospace;
    color: var(--primary-cyan);
    font-weight: 600;
}

.terminal-body {
    padding: 2rem;
    font-family: 'Courier New', monospace;
}

.command-line {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.prompt {
    color: var(--primary-cyan);
    font-weight: bold;
}

.command {
    color: var(--primary-pink);
    font-weight: bold;
}

.comment {
    color: var(--text-gray);
    font-style: italic;
}

.typing .command {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 245, 255, 0.3);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-cyan);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #27ca3f;
    border-radius: 50%;
    box-shadow: 0 0 10px #27ca3f;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .mask-face {
        width: 150px;
        height: 200px;
    }

    .container {
        padding: 0 1rem;
    }
}