/* MODERN CYBER DARK MODE STYLES - COMMON STYLES */
:root {
    /* Color System - Yellow/Black Dark Mode */
    --electric-yellow: #FDE047;
    --yellow-bright: #FEF08A;
    --yellow-medium: #FACC15;
    --yellow-dark: #CA8A04;
    
    --black-pure: #000000;
    --black-soft: #0A0A0A;
    --gray-dark: #171717;
    --gray-medium: #262626;
    --gray-light: #404040;
    --gray-lighter: #737373;
    --gray-text: #A3A3A3;
    --white-soft: #D4D4D4;
    --white-pure: #FAFAFA;
    
    /* Status Colors */
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    
    /* Shadows and Effects */
    --shadow-cyber: 0 0 20px rgba(253, 224, 71, 0.1);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.5);
    --glow-electric: 0 0 20px rgba(253, 224, 71, 0.5);
    --glow-soft: 0 0 10px rgba(253, 224, 71, 0.2);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Borders */
    --border-cyber: 1px solid rgba(253, 224, 71, 0.2);
    --border-dark: 1px solid rgba(255, 255, 255, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* RESET AND BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--black-pure);
    color: var(--white-pure);
    line-height: 1.6;
    overflow-x: hidden;
    font-size-adjust: 0.5;
}

.dark-mode {
    background: var(--black-pure);
    color: var(--white-pure);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 3vw, 2rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.5rem); }

p { 
    margin-bottom: var(--space-sm);
    color: var(--gray-text);
}

/* UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.text-electric {
    color: var(--electric-yellow);
    text-shadow: var(--glow-soft);
}

/* NAVIGATION */
.navbar-cyber {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: var(--border-cyber);
    transition: background-color 0.2s ease;
    font-size: 16px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-lg);
    position: relative;
}

.brand-logo-cyber {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    text-decoration: none;
    opacity: 0.9;
}

.logo-hexagon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--electric-yellow), var(--yellow-medium));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-pure);
    font-size: 1.2rem;
    box-shadow: var(--glow-soft);
    padding: 0px;
}

.logo-hexagon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

.brand-text-cyber {
    font-size: 24px;
    font-weight: 700;
    color: var(--white-pure);
}

.brand-accent-cyber {
    color: var(--electric-yellow);
}

.nav-links-cyber {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links-cyber.active {
    display: flex;
}

.nav-link-cyber {
    position: relative;
    text-decoration: none;
    color: var(--gray-text);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: var(--space-xs) 0;
    font-size: 16px;
}

.nav-link-cyber:hover {
    color: var(--electric-yellow);
}

.nav-link-cyber.active {
    color: var(--electric-yellow);
}

.link-indicator {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-yellow);
    transition: width 0.3s ease;
}

.nav-link-cyber:hover .link-indicator,
.nav-link-cyber.active .link-indicator {
    width: 100%;
}

.nav-cta-cyber {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(135deg, var(--electric-yellow), var(--yellow-medium));
    color: var(--black-pure);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-cyber);
    transition: all 0.3s ease;
    overflow: hidden;
    font-size: 16px;
}

.nav-cta-cyber:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-electric);
}

.cta-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.6s ease;
}

.nav-cta-cyber:hover .cta-glow {
    left: 100%;
}

/* Mobile Navigation */
.nav-toggle-cyber {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle-cyber span {
    width: 25px;
    height: 3px;
    background: var(--electric-yellow);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle-cyber.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle-cyber.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-cyber.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .nav-links-cyber {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border-top: var(--border-cyber);
        border-bottom: var(--border-cyber);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links-cyber.active {
        display: flex;
    }
    
    .nav-toggle-cyber {
        display: flex;
        z-index: 1000;
    }
    
    .nav-link-cyber {
        padding: var(--space-sm) 0;
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-link-cyber:hover {
        background: rgba(253, 224, 71, 0.1);
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
        border-radius: var(--radius-md);
    }
    
    .nav-link-cyber:last-child {
        border-bottom: none;
    }
    
    .nav-cta-cyber {
        margin-top: var(--space-sm);
        justify-content: center;
        border-bottom: none !important;
    }
    
    .nav-cta-cyber:hover {
        background: linear-gradient(135deg, var(--electric-yellow), var(--yellow-medium));
    }
}

/* BUTTONS */
.btn-cyber-primary,
.btn-cyber-secondary {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    font-size: 1rem;
}

.btn-cyber-primary {
    background: linear-gradient(135deg, var(--electric-yellow), var(--yellow-medium));
    color: var(--black-pure);
    box-shadow: var(--shadow-cyber);
}

.btn-cyber-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-electric);
}

.btn-cyber-secondary {
    background: rgba(253, 224, 71, 0.1);
    color: var(--electric-yellow);
    border: var(--border-cyber);
}

.btn-cyber-secondary:hover {
    background: rgba(253, 224, 71, 0.2);
    transform: translateY(-2px);
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1;
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* CARDS */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* SECTION HEADERS */
.section-header-cyber {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(253, 224, 71, 0.1);
    border: var(--border-cyber);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--electric-yellow);
    margin-bottom: var(--space-sm);
}

.section-title-cyber {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--white-pure);
}

.section-description-cyber {
    font-size: 1.125rem;
    color: var(--gray-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* FOOTER */
.footer-cyber {
    background: var(--black-soft);
    border-top: var(--border-cyber);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content-cyber {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-brand-cyber {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-description {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.link-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(253, 224, 71, 0.2), transparent);
    transition: left 0.6s ease;
}

.footer-links-cyber {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.footer-section-cyber h4 {
    color: var(--white-pure);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.footer-section-cyber a {
    display: block;
    color: var(--gray-text);
    text-decoration: none;
    padding: var(--space-xs) 0;
    transition: color 0.3s ease;
}

.footer-section-cyber a:hover {
    color: var(--electric-yellow);
}

.footer-bottom-cyber {
    border-top: var(--border-dark);
    padding-top: var(--space-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-badges {
    display: flex;
    gap: var(--space-sm);
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(253, 224, 71, 0.1);
    border: var(--border-cyber);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--electric-yellow);
}

/* ANIMATIONS */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .footer-content-cyber {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: var(--space-sm);
    }
}

/* ANIMATIONS AND INTERACTIONS */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* UTILITY CLASSES */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
