/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --primary-cyan: #00ffff;
    --primary-purple: #8a2be2;
    --dark-900: #05050a;
    --dark-800: #0a0a0f;
    --dark-700: #12121b;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', monospace;
    background-color: var(--dark-900);
    color: #e0e0e0;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* ============================================
   BACKGROUND PATTERNS & ANIMATIONS
   ============================================ */
.tech-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    background-position: 0 0;
    background-attachment: fixed;
    pointer-events: none;
    z-index: -2;
    animation: gridMove 30s linear infinite;
    will-change: background-position;
}

.tech-bg::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -2;
    animation: fadeIn 3s ease-in;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 100, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 255, 255, 0.03) 0%, transparent 50%);
    overflow: hidden;
}

.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.glass-effect {
    background: rgba(15, 15, 25, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-effect:hover {
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.4);
}

.glass-effect-purple {
    background: rgba(20, 10, 30, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(138, 43, 226, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-effect-purple:hover {
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(138, 43, 226, 0.4), inset 0 0 10px rgba(138, 43, 226, 0.15);
    border-color: rgba(138, 43, 226, 0.4);
}

/* ============================================
   GLOW EFFECTS
   ============================================ */
.glow-cyan {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(0, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.glow-cyan:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8), 0 0 50px rgba(0, 255, 255, 0.6), 0 0 80px rgba(0, 255, 255, 0.3), inset 0 0 15px rgba(0, 255, 255, 0.2);
    filter: brightness(1.2);
}

.glow-purple {
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5), 0 0 40px rgba(138, 43, 226, 0.3), inset 0 0 10px rgba(138, 43, 226, 0.1);
    transition: all 0.4s ease;
}

.glow-purple:hover {
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.8), 0 0 50px rgba(138, 43, 226, 0.6), 0 0 80px rgba(138, 43, 226, 0.3), inset 0 0 15px rgba(138, 43, 226, 0.2);
    filter: brightness(1.2);
}

/* Icon box hover effects */
.icon-box-cyan {
    transition: all 0.3s ease;
}

.icon-box-cyan:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(0, 255, 255, 0.1);
    transform: translateY(-4px);
}

.icon-box-purple {
    transition: all 0.3s ease;
}

.icon-box-purple:hover {
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5), 0 0 30px rgba(138, 43, 226, 0.3), inset 0 0 10px rgba(138, 43, 226, 0.1);
    transform: translateY(-4px);
}

/* ============================================
   NEON EFFECTS
   ============================================ */
.neon-cyan {
    color: var(--primary-cyan);
    text-shadow: 
        0 0 5px rgba(0, 255, 255, 0.8),
        0 0 10px rgba(0, 255, 255, 0.4),
        0 0 15px rgba(0, 255, 255, 0.2);
}

.neon-purple {
    color: var(--primary-purple);
    text-shadow: 
        0 0 5px rgba(138, 43, 226, 0.8),
        0 0 10px rgba(138, 43, 226, 0.4),
        0 0 15px rgba(138, 43, 226, 0.2);
}

.neon-border {
    border: 1px solid var(--primary-cyan);
    box-shadow: 
        inset 0 0 10px rgba(0, 255, 255, 0.2),
        0 0 10px rgba(0, 255, 255, 0.2),
        0 0 15px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.neon-border:hover {
    box-shadow: 
        inset 0 0 15px rgba(0, 255, 255, 0.4),
        0 0 15px rgba(0, 255, 255, 0.5),
        0 0 30px rgba(0, 255, 255, 0.3);
}

.neon-border-purple {
    border: 1px solid var(--primary-purple);
    box-shadow: 
        inset 0 0 10px rgba(138, 43, 226, 0.3),
        0 0 10px rgba(138, 43, 226, 0.3),
        0 0 20px rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.neon-border-purple:hover {
    box-shadow: 
        inset 0 0 15px rgba(138, 43, 226, 0.4),
        0 0 15px rgba(138, 43, 226, 0.6),
        0 0 30px rgba(138, 43, 226, 0.4),
        0 0 50px rgba(138, 43, 226, 0.2);
    border-color: var(--primary-purple);
    animation: pulse-glow 0.6s ease-in-out;
}

/* ============================================
   GRADIENT TEXT
   ============================================ */
.gradient-text-cyan {
    background: linear-gradient(90deg, #00ffff, #00ccff, #0099ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

.gradient-text-purple {
    background: linear-gradient(90deg, #8a2be2, #b366ff, #d699ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

.text-shadow-neon-cyan {
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 0.5),
        0 0 20px rgba(0, 255, 255, 0.3),
        0 0 30px rgba(0, 255, 255, 0.2);
}

.text-shadow-neon-purple {
    text-shadow: 
        0 0 10px rgba(138, 43, 226, 0.5),
        0 0 20px rgba(138, 43, 226, 0.3),
        0 0 30px rgba(138, 43, 226, 0.2);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.nav-link-glow {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.nav-link-glow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, transparent);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

.nav-link-glow:hover::after {
    width: 100%;
}

.nav-link-glow:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    transition: all 0.3s ease;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ffff, #8a2be2);
    width: 0%;
    z-index: 100;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    transition: width 0.1s ease;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 
            inset 0 0 15px rgba(138, 43, 226, 0.4),
            0 0 15px rgba(138, 43, 226, 0.6),
            0 0 30px rgba(138, 43, 226, 0.4);
    }
    50% {
        box-shadow: 
            inset 0 0 20px rgba(138, 43, 226, 0.6),
            0 0 25px rgba(138, 43, 226, 0.8),
            0 0 50px rgba(138, 43, 226, 0.5),
            0 0 80px rgba(138, 43, 226, 0.3);
    }
    100% {
        box-shadow: 
            inset 0 0 15px rgba(138, 43, 226, 0.4),
            0 0 15px rgba(138, 43, 226, 0.6),
            0 0 30px rgba(138, 43, 226, 0.4);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scan-line {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(100px) translateX(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(100px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
input, select, textarea {
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Rajdhani', monospace;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    background: rgba(15, 15, 25, 0.8);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* ============================================
   PARTICLES
   ============================================ */
.particle {
    position: fixed;
    pointer-events: none;
    font-size: 2px;
    animation: particle-float linear forwards;
}

.particle-cyan {
    color: rgba(0, 255, 255, 0.6);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.particle-purple {
    color: rgba(138, 43, 226, 0.6);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
}

/* ============================================
   INDICATORS & BADGES
   ============================================ */
.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-online {
    background-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

.status-warning {
    background-color: #ffaa00;
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.6);
}



/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .mobile-menu {
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .grid-pattern {
        background-size: 40px 40px;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    .glass-effect, .glass-effect-purple {
        padding: 1rem;
    }

    input, select, textarea {
        font-size: 16px;
    }
}

/* ============================================
   ADDITIONAL STYLES FROM HTML
   ============================================ */
* {
    font-family: 'Rajdhani', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-futuristic {
    font-family: 'Orbitron', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ffff, #8a2be2);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(0,255,255,0.8);
}

/* Tech Background with Grid Animation */
.tech-bg {
    background: #05050a;
    position: relative;
}

.tech-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    background-position: 0 0;
    pointer-events: none;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

.tech-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    transition: background-position 0.1s ease-out;
}

/* Particle System */
.particle {
    position: absolute;
    width: var(--size, 4px);
    height: var(--size, 4px);
    background: var(--color, #00ffff);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

/* Brand Gallery Styles */
.brand-gallery {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.brand-item {
    width: 140px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 15, 25, 0.6);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
    border: 2px solid rgba(0, 255, 255, 0.3);
    filter: grayscale(100%);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1), inset 0 0 10px rgba(0, 255, 255, 0.05);
}

.brand-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform-origin: center center;
    transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
}

.brand-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5), 0 12px 40px rgba(0,0,0,0.6), inset 0 0 15px rgba(0, 255, 255, 0.2);
    border-color: rgba(0,255,255,0.6);
    filter: grayscale(0%);
}

.brand-item:hover img {
    transform: scale(1.15);
}

/* Mobile Menu Styles */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 255, 0.4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

/* Font Family Utility */
.font-futuristic {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
}


