/*
Theme Name: NetOS - E Commerce
Author: Alienmotion Studios
Version: 1.4 (Social Icons Fixed)
*/

/* =====================================================================
   🎯 CSS VARIABLES - Single Source of Truth
   ===================================================================== */
   :root {
    /* Colors */
    --primary-color: #ff0033;
    --secondary-color: #00aaff;
    --dark-bg: #080810;
    --panel-bg: #0c0c18;
    --text-color: #ffffff;
    
    /* Glows */
    --accent-glow: 0 0 10px rgba(255, 0, 51, 0.7), 0 0 20px rgba(255, 0, 51, 0.4);
    --blue-glow: 0 0 10px rgba(0, 170, 255, 0.7), 0 0 20px rgba(0, 170, 255, 0.4);
    
    /* Spacing */
    --container-max: 1400px;
    --container-padding: 40px;
    --section-gap: 80px;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* =====================================================================
   🎨 RESET & BASE STYLES
   ===================================================================== */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Saira', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.site-content { 
    min-height: 80vh; 
}

.sr-only { 
    position: absolute; 
    width: 1px; 
    height: 1px; 
    padding: 0; 
    margin: -1px; 
    overflow: hidden; 
    clip: rect(0,0,0,0); 
    border: 0; 
}

/* =====================================================================
   🎮 HEADER SECTION
   ===================================================================== */

/* Top Bar */
.header-top-bar { 
    background-color: #111; 
    padding: 6px var(--container-padding); 
    border-bottom: 1px solid #222; 
    font-size: 0.75rem; 
}

.top-bar-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.social-icons { 
    display: flex; 
    gap: 30px; 
}

.social-icons a { 
    color: #888; 
    font-size: 0.9rem; 
    transition: var(--transition-base); 
    text-decoration: none; 
}

.social-icons a:hover { 
    color: var(--primary-color); 
    transform: translateY(-2px); 
}

/* Main Navigation Container */
.main-nav-container {
    width: 100%;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 10;
}

.main-nav-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #000;
    clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 55% 70%, 50% 100%, 45% 70%, 0% 70%);
    animation: vShapePulse 4s ease-in-out infinite;
    z-index: -1;
}

.main-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    height: 120px; 
}

/* Logo */
.logo-container { 
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%); 
}

.header-logo { 
    max-height: 40px; 
    filter: drop-shadow(0 0 8px rgba(255, 0, 51, 0.7)); 
    transition: var(--transition-base); 
}

.header-logo:hover { 
    filter: drop-shadow(0 0 12px rgba(255, 0, 51, 0.9)); 
    transform: scale(1.05); 
}

/* Navigation Links */
.nav-links-wrapper { 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
}

.nav-menu a { 
    color: var(--text-color); 
    text-decoration: none; 
    font-family: 'Oswald', sans-serif; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    padding: 10px 0; 
    position: relative; 
    transition: color 0.3s ease; 
}

.nav-menu a::after { 
    content: ''; 
    position: absolute; 
    width: 0%; 
    height: 2px; 
    background-color: var(--primary-color); 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    transition: width 0.3s ease; 
}

.nav-menu a:hover { 
    color: var(--primary-color); 
}

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

.nav-menu .current-menu-item > a,
.nav-menu .current-menu-parent > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu .current_page_item > a,
.nav-menu .current_page_parent > a {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.35);
}

.nav-menu .current-menu-item > a::after,
.nav-menu .current-menu-parent > a::after,
.nav-menu .current-menu-ancestor > a::after,
.nav-menu .current_page_item > a::after,
.nav-menu .current_page_parent > a::after {
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 0, 51, 0.85), rgba(0, 170, 255, 0.8));
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.25);
}

/* Mobile Toggle (Hidden by default) */
.mobile-nav-toggle { 
    display: none; 
    background: transparent; 
    border: none; 
    cursor: pointer; 
    z-index: 1000; 
    padding: 12px; 
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after { 
    width: 25px; 
    height: 2px; 
    background-color: white; 
    transition: var(--transition-base); 
}

.hamburger-icon { 
    position: relative; 
}

.hamburger-icon::before, 
.hamburger-icon::after { 
    content: ''; 
    position: absolute; 
    left: 0; 
}

.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { bottom: -8px; }

/* =====================================================================
   📱 MOBILE MODAL
   ===================================================================== */
.mobile-modal-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.95); 
    z-index: 9999; 
    display: none; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.mobile-modal-overlay.modal-active { 
    display: block; 
    opacity: 1; 
}

.mobile-modal-content { 
    height: 100%; 
    padding: 70px 30px 40px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    overflow-y: auto; 
}

.mobile-modal-close { 
    position: fixed !important; 
    top: 60px !important; 
    right: 20px !important; 
    background: var(--primary-color) !important; 
    border: 3px solid white !important; 
    border-radius: 50% !important; 
    color: white !important; 
    font-size: 1.4rem !important; 
    cursor: pointer !important; 
    width: 55px !important; 
    height: 55px !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    z-index: 10000 !important; 
    box-shadow: var(--accent-glow) !important; 
    transition: var(--transition-base) !important; 
}

.mobile-modal-close:hover { 
    transform: scale(1.15) !important; 
    background: white !important; 
    color: var(--primary-color) !important; 
    box-shadow: 0 0 30px rgba(255, 0, 51, 1) !important; 
}

.admin-bar .mobile-modal-close { 
    top: 80px !important; 
}

/* Mobile Logo */
.mobile-logo { 
    margin: 20px 0 30px; 
}

.mobile-logo img { 
    max-width: 140px; 
    filter: drop-shadow(0 0 10px rgba(255, 0, 51, 0.7)); 
}

/* Mobile Navigation Menu */
.mobile-nav-menu { 
    width: 100%; 
    margin-bottom: 30px; 
    flex-grow: 1; 
}

.mobile-menu { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.mobile-menu li a { 
    color: white !important; 
    text-decoration: none; 
    font-family: 'Oswald', sans-serif; 
    font-size: 1.4rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    padding: 12px 20px; 
    display: block; 
    transition: var(--transition-base); 
    border-radius: 8px; 
    background: rgba(255, 255, 255, 0.05); 
}

.mobile-menu li a:hover { 
    color: var(--primary-color) !important; 
    transform: translateX(10px); 
    background: rgba(255, 0, 51, 0.1); 
}

/* =====================================================================
   🎨 SOCIAL ICONS - UNIVERSAL (MOBILE MODAL + FOOTER)
   ===================================================================== */

/* Mobile Modal Social Section */
.mobile-social-section { 
    margin: 20px 0; 
}

.mobile-social-icons { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    padding: 20px; 
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 40px; 
    border: 1px solid rgba(255, 0, 51, 0.3); 
}

.mobile-social-icons a { 
    color: white !important; 
    font-size: 1.4rem; 
    transition: var(--transition-bounce) !important; 
    padding: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.1) !important; 
    border: 1px solid rgba(255, 255, 255, 0.2) !important; 
    text-decoration: none; 
}

/* 🔥 MOBILE MODAL - BRAND HOVER EFFECTS 🔥 */
.mobile-social-icons a[aria-label="Facebook"]:hover,
.mobile-social-icons a[href*="facebook"]:hover { 
    color: #1877f2 !important; 
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.4), rgba(66, 103, 178, 0.4)) !important; 
    border-color: #1877f2 !important; 
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.7), 0 8px 25px rgba(24, 119, 242, 0.4) !important; 
    transform: translateY(-10px) scale(1.15) !important; 
}

.mobile-social-icons a[aria-label="Instagram"]:hover,
.mobile-social-icons a[href*="instagram"]:hover { 
    color: #e4405f !important; 
    background: linear-gradient(135deg, rgba(228, 64, 95, 0.4), rgba(131, 58, 180, 0.4)) !important; 
    border-color: #e4405f !important; 
    box-shadow: 0 0 20px rgba(228, 64, 95, 0.7), 0 8px 25px rgba(228, 64, 95, 0.4) !important; 
    transform: translateY(-10px) scale(1.15) !important; 
}

.mobile-social-icons a[aria-label="TikTok"]:hover,
.mobile-social-icons a[href*="tiktok"]:hover { 
    color: #69c9d0 !important; 
    background: linear-gradient(135deg, rgba(105, 201, 208, 0.4), rgba(238, 42, 123, 0.4)) !important; 
    border-color: #69c9d0 !important; 
    box-shadow: 0 0 20px rgba(105, 201, 208, 0.7), 0 8px 25px rgba(105, 201, 208, 0.4) !important; 
    transform: translateY(-10px) scale(1.15) !important; 
}

.mobile-social-icons a[aria-label="WhatsApp"]:hover,
.mobile-social-icons a[href*="whatsapp"]:hover,
.mobile-social-icons a[href*="wa.me"]:hover { 
    color: #25d366 !important; 
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.4), rgba(37, 211, 102, 0.6)) !important; 
    border-color: #25d366 !important; 
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.7), 0 8px 25px rgba(37, 211, 102, 0.4) !important; 
    transform: translateY(-10px) scale(1.15) !important; 
}

/* =====================================================================
   ⏳ CINEMATIC LOADER
   ===================================================================== */
.lines-loader { 
    position: fixed; 
    inset: 0; 
    background: #000; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 9999; 
    overflow: hidden; 
}

.geometry-container { 
    position: relative; 
    width: 300px; 
    height: 300px; 
}

.naga-perfect { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 80px; 
    height: 80px; 
    z-index: 20; 
}

.naga-proper { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 0, 51, 0.8)) drop-shadow(0 0 20px rgba(255, 0, 51, 0.4)) drop-shadow(0 0 30px rgba(255, 0, 51, 0.2)); 
    animation: nagaPerfectPulse 3s ease-in-out infinite, powerButtonPulse 2s ease-in-out infinite; 
}

.logo-halo { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100px; 
    height: 100px; 
    background: radial-gradient(circle, rgba(255, 0, 51, 0.3) 0%, transparent 70%); 
    filter: blur(15px); 
    opacity: 0.5; 
    animation: haloBreath 4s ease-in-out infinite; 
    z-index: -1; 
}

.line-axis { 
    position: absolute; 
    background: rgba(255, 255, 255, 0.15); 
}

.x-axis { 
    top: 50%; 
    left: 0; 
    width: 100%; 
    height: 2px; 
    transform: translateY(-50%); 
    animation: axisScan 4s ease-in-out infinite; 
}

.y-axis { 
    top: 0; 
    left: 50%; 
    width: 2px; 
    height: 100%; 
    transform: translateX(-50%); 
    animation: axisScan 4s ease-in-out infinite reverse; 
}

.rotating-square { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 160px; 
    height: 160px; 
    border: 2px solid rgba(255, 0, 51, 0.4); 
    animation: squareRotate 8s linear infinite; 
}

.inner-square { 
    width: 120px; 
    height: 120px; 
    border-color: rgba(0, 170, 255, 0.4); 
    animation: squareRotate 6s linear infinite reverse; 
}

.particle-field { 
    position: absolute; 
    inset: 0; 
}

.particle { 
    position: absolute; 
    border-radius: 50%; 
    filter: blur(1px); 
    animation: particleFloat linear infinite; 
}

.lines-loader.fade-start { 
    animation: cinematicFade 1s ease-in-out forwards; 
}

.lines-loader.fade-complete { 
    opacity: 0; 
    visibility: hidden; 
}

/* =====================================================================
   🦶 FOOTER SECTION
   ===================================================================== */
   .cyber-footer {
    background: linear-gradient(180deg, rgba(8, 8, 16, 0.95) 0%, var(--dark-bg) 100%);
    border-top: 1px solid rgba(255, 0, 51, 0.3);
    margin-top: var(--section-gap);
    overflow: hidden;
    position: relative;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    left: 0 !important;
    right: 0 !important;
    clear: both !important;
    z-index: 100 !important;
}

.footer-glitch-overlay {
    position: absolute; 
    inset: 0;
    background: linear-gradient(90deg, transparent 50%, rgba(255, 0, 51, 0.03) 50%), 
                linear-gradient(0deg, transparent 50%, rgba(0, 170, 255, 0.03) 50%);
    background-size: 10px 10px; 
    opacity: 0.1; 
    animation: glitchShift 20s infinite linear;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.7fr;
    gap: 40px;
    padding: 60px var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-col {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0 20px;
}

/* Vertical cyberpunk dividers */
.footer-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(transparent, rgba(255, 0, 51, 0.4) 50%, transparent);
}

/* Footer Brand */
.footer-brand { 
    margin-bottom: 40px; 
}

.footer-logo-container { 
    position: relative; 
    width: 180px; 
    height: 80px; 
}

.footer-logo {
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 0, 51, 0.6));
    animation: hologramFloat 6s ease-in-out infinite;
}

.logo-glow {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 200px; 
    height: 100px;
    background: radial-gradient(circle, rgba(255, 0, 51, 0.4) 0%, transparent 70%);
    filter: blur(20px); 
    z-index: -1;
}

.footer-tagline { 
    font-size: 1.1rem; 
    font-weight: 600; 
    color: var(--secondary-color); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

/* Section Titles */
.section-title {
    font-size: 1.1rem; 
    color: var(--primary-color);
    text-transform: uppercase; 
    margin-bottom: 20px;
    position: relative; 
    display: inline-block;
}

.section-title::after {
    content: ''; 
    position: absolute; 
    bottom: -5px; 
    left: 0;
    width: 30px; 
    height: 2px; 
    background: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

/* Link Grid */
.link-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.cyber-link { 
    color: rgba(255, 255, 255, 0.8); 
    text-decoration: none; 
    font-size: 0.95rem; 
    transition: var(--transition-base); 
}

.cyber-link:hover { 
    color: var(--primary-color); 
    transform: translateX(5px); 
    text-shadow: 0 0 8px var(--primary-color); 
}

/* Contact Info */
.contact-info { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.contact-item { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 0.95rem; 
}

.contact-item a { 
    color: inherit; 
    text-decoration: none; 
    transition: color 0.3s ease; 
}

.contact-item a:hover { 
    color: var(--primary-color); 
}

.contact-icon {
    width: 30px; 
    height: 30px; 
    border-radius: 50%;
    background: rgba(255, 0, 51, 0.1);
    display: flex; 
    align-items: center; 
    justify-content: center;
    border: 1px solid rgba(255, 0, 51, 0.3);
}

.contact-icon i { 
    font-size: 14px; 
    color: var(--primary-color); 
}

/* Social Wrapper */
.social-wrapper { 
    margin-top: auto; 
    padding-top: 30px; 
}

/* Social Grid Icons */
.social-grid-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.icon-btn {
    width: 45px;
    min-width: 45px;
    height: 45px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #aab2c8 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.1rem;
    transition: var(--transition-bounce) !important;
    text-decoration: none;
}

/* 🔥 FOOTER - BRAND HOVER EFFECTS 🔥 */
.icon-btn[aria-label="Facebook"]:hover,
.icon-btn[href*="facebook"]:hover {
    color: #1877f2 !important;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.4), rgba(66, 103, 178, 0.4)) !important;
    border-color: #1877f2 !important;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.7), 0 8px 25px rgba(24, 119, 242, 0.4) !important;
    transform: translateY(-5px) scale(1.1) !important;
}

.icon-btn[aria-label="Instagram"]:hover,
.icon-btn[href*="instagram"]:hover {
    color: #e4405f !important;
    background: linear-gradient(135deg, rgba(228, 64, 95, 0.4), rgba(131, 58, 180, 0.4)) !important;
    border-color: #e4405f !important;
    box-shadow: 0 0 20px rgba(228, 64, 95, 0.7), 0 8px 25px rgba(228, 64, 95, 0.4) !important;
    transform: translateY(-5px) scale(1.1) !important;
}

.icon-btn[aria-label="TikTok"]:hover,
.icon-btn[href*="tiktok"]:hover {
    color: #69c9d0 !important;
    background: linear-gradient(135deg, rgba(105, 201, 208, 0.4), rgba(238, 42, 123, 0.4)) !important;
    border-color: #69c9d0 !important;
    box-shadow: 0 0 20px rgba(105, 201, 208, 0.7), 0 8px 25px rgba(105, 201, 208, 0.4) !important;
    transform: translateY(-5px) scale(1.1) !important;
}

.icon-btn[aria-label="WhatsApp"]:hover,
.icon-btn[href*="whatsapp"]:hover,
.icon-btn[href*="wa.me"]:hover {
    color: #25d366 !important;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.4), rgba(37, 211, 102, 0.6)) !important;
    border-color: #25d366 !important;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.7), 0 8px 25px rgba(37, 211, 102, 0.4) !important;
    transform: translateY(-5px) scale(1.1) !important;
}

/* Map Container */
.map-container {
    height: 200px;
    border-radius: 8px;
    border: 1px solid rgba(0, 170, 255, 0.4);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2), inset 0 0 15px rgba(0, 0, 0, 0.5);
    position: relative;
    background-color: var(--dark-bg);
}

.map-container iframe {
    width: 100%; 
    height: 100%;
}

.map-container:hover iframe { 
    filter: none; 
}

/* Newsletter Box */
.newsletter-box {
    background: rgba(12, 12, 24, 0.6);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 8px; 
    padding: 20px;
    margin-top: auto;
}

.newsletter-box p { 
    font-size: 0.9rem; 
    color: var(--secondary-color); 
    margin-bottom: 15px; 
    text-align: center; 
}

.cyber-input-group { 
    display: flex; 
    gap: 8px; 
}

.cyber-input { 
    flex: 1; 
    background: rgba(8, 8, 16, 0.8); 
    border: 1px solid rgba(0, 170, 255, 0.3); 
    border-radius: 4px; 
    padding: 10px 12px; 
    color: white; 
    font-size: 0.9rem; 
}

.cyber-input:focus { 
    outline: none; 
    border-color: var(--secondary-color); 
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.3); 
}

.cyber-button.small { 
    padding: 10px 15px; 
    font-size: 0.85rem; 
    white-space: nowrap; 
}

/* Footer Bottom Bar */
.footer-bottom { 
    position: relative; 
    background: rgba(0, 0, 0, 0.3); 
    border-top: 1px solid rgba(255, 0, 51, 0.2); 
    padding: 20px var(--container-padding); 
}

.scan-line { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 1px; 
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent); 
    animation: scanline 4s linear infinite; 
}

.bottom-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: var(--container-max); 
    margin: 0 auto; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.copyright { 
    color: rgba(255, 255, 255, 0.6); 
    font-size: 0.9rem; 
}

.footer-badges { 
    display: flex; 
    gap: 10px; 
}

.badge { 
    background: rgba(255, 0, 51, 0.1); 
    border: 1px solid rgba(255, 0, 51, 0.3); 
    color: var(--primary-color); 
    padding: 4px 8px; 
    border-radius: 3px; 
    font-size: 0.7rem; 
    text-transform: uppercase; 
}

.legal-links { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
}

.legal-links a { 
    color: rgba(255, 255, 255, 0.6); 
    text-decoration: none; 
    font-size: 0.85rem; 
    transition: color 0.3s ease; 
}

.legal-links a:hover { 
    color: var(--primary-color); 
}

.separator { 
    color: rgba(255, 0, 51, 0.5); 
}

/* =====================================================================
   🎬 ANIMATIONS
   ===================================================================== */
@keyframes powerButtonPulse { 
    0% { 
        transform: scale(0.8); 
        filter: brightness(0.5) drop-shadow(0 0 5px rgba(255, 0, 51, 0.3)); 
    } 
    50% { 
        transform: scale(1.2); 
        filter: brightness(2.5) drop-shadow(0 0 25px rgba(255, 0, 51, 1)) drop-shadow(0 0 50px rgba(255, 0, 51, 0.8)) drop-shadow(0 0 80px rgba(255, 0, 51, 0.4)); 
    } 
    100% { 
        transform: scale(1); 
        filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 0, 51, 0.8)); 
    } 
}

@keyframes cinematicFade { 
    0% { 
        background: #000; 
        opacity: 1; 
    } 
    50% { 
        background: rgba(0, 0, 0, 0.3); 
        opacity: 0.3; 
    } 
    100% { 
        background: transparent; 
        opacity: 0; 
        visibility: hidden; 
    } 
}

@keyframes particleFloat { 
    0% { 
        transform: translate(0, 0); 
        opacity: 0; 
    } 
    10% { 
        opacity: 0.3; 
    } 
    90% { 
        opacity: 0.3; 
    } 
    100% { 
        transform: translate(var(--tx), var(--ty)); 
        opacity: 0; 
    } 
}

@keyframes haloBreath { 
    0%, 100% { 
        opacity: 0.3; 
        transform: translate(-50%, -50%) scale(1); 
    } 
    50% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1.1); 
    } 
}

@keyframes axisScan { 
    0%, 100% { 
        opacity: 0.3; 
    } 
    50% { 
        opacity: 0.6; 
    } 
}

@keyframes squareRotate { 
    from { 
        transform: translate(-50%, -50%) rotate(0deg); 
    } 
    to { 
        transform: translate(-50%, -50%) rotate(360deg); 
    } 
}

@keyframes hologramFloat { 
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    } 
    25% { 
        transform: translateY(-5px) rotate(0.5deg); 
    } 
    50% { 
        transform: translateY(0) rotate(0deg); 
    } 
    75% { 
        transform: translateY(5px) rotate(-0.5deg); 
    } 
}

@keyframes glitchShift { 
    0% { 
        background-position: 0 0; 
    } 
    100% { 
        background-position: 100px 100px; 
    } 
}

@keyframes scanline { 
    to { 
        transform: translateX(100%); 
    } 
}

@keyframes vShapePulse {
    0%, 100% {
        filter: drop-shadow(0 6px 12px rgba(255, 0, 51, 0.4));
    }
    50% {
        filter: drop-shadow(0 8px 20px rgba(255, 0, 51, 0.8)) 
                drop-shadow(0 4px 10px rgba(255, 100, 150, 0.6));
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================================
   📱 RESPONSIVE DESIGN - MOBILE FIRST
   ===================================================================== */

/* Homepage Slider Behind V-Header */
.home .cyber-header {
    position: relative;
    z-index: 10;
}

.home .homepage-slider-wrapper {
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

.home .main-nav-container {
    animation: none;
    filter: none;
}

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .footer-main { 
        grid-template-columns: 1fr 1fr; 
        gap: 50px;
        padding: 50px 30px;
    }
    
    .footer-col:last-child { 
        grid-column: 1 / -1; 
    }
    
    .footer-col:not(:last-child)::after { 
        display: none; 
    }
    
    .map-container {
        height: 250px;
    }
}

/* =====================================================================
   📱 MOBILE (768px and below) - SINGLE CONSOLIDATED SECTION
   ===================================================================== */
@media (max-width: 768px) {
    /* Show mobile nav toggle */
    .mobile-nav-toggle { 
        display: block; 
    }
    
    /* Adjust header padding */
    .main-nav-container, 
    .header-top-bar { 
        padding: 0 20px; 
    }
    
    .header-logo { 
        max-height: 35px; 
    }
    
    /* ===== FOOTER MOBILE ADJUSTMENTS ===== */
    .cyber-footer {
        margin-top: 60px;
    }
    
    .footer-main { 
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }
    
    .footer-col { 
        padding: 0;
    }
    
    .footer-col::after { 
        display: none;
    }
    
    /* ===== FOOTER BRAND (ALWAYS VISIBLE) ===== */
    .footer-brand {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-logo-container {
        margin: 0 auto;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
        margin-top: 10px;
    }
    
    /* ===== ACCORDION SECTIONS ===== */
    .footer-accordion-section {
        margin-bottom: 20px;
        width: 100%;
    }
    
    /* ===== SECTION TITLES (ACCORDION TRIGGERS) ===== */
    .footer-main .section-title[data-accordion] {
        position: relative;
        padding: 15px 50px 15px 20px;
        background: rgba(255, 0, 51, 0.1);
        border-radius: 8px;
        margin-bottom: 0;
        transition: all 0.3s ease;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        display: block;
        font-size: 1rem;
    }
    
    /* Remove the underline on mobile */
    .footer-main .section-title[data-accordion]::after {
        display: none;
    }
    
    /* Chevron indicator */
    .footer-main .section-title[data-accordion]::before {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.3s ease;
        color: rgba(255, 255, 255, 0.6);
    }
    
    /* Active state */
    .footer-main .section-title[data-accordion].active {
        background: rgba(255, 0, 51, 0.2);
    }
    
    .footer-main .section-title[data-accordion].active::before {
        transform: translateY(-50%) rotate(180deg);
        color: var(--primary-color);
    }
    
    /* Touch feedback */
    .footer-main .section-title[data-accordion]:active {
        transform: scale(0.98);
        background: rgba(255, 0, 51, 0.25);
    }
    
    /* ===== ACCORDION CONTENT - CLOSED STATE (DEFAULT) ===== */
    .footer-main .accordion-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.4s ease;
    }
    
    /* ===== ACCORDION CONTENT - OPEN STATE ===== */
    .footer-main .accordion-content.is-open {
        max-height: 2000px;
        opacity: 1;
        overflow: visible;
    }
    
    /* ===== NESTED CONTENT STYLING ===== */
    .footer-main .accordion-content .contact-info,
    .footer-main .accordion-content .link-grid,
    .footer-main .accordion-content .social-wrapper {
        display: flex;
        flex-direction: column;
        padding-top: 15px;
    }
    
    .footer-main .accordion-content .map-container {
        display: block;
        margin-top: 15px;
    }
    
    /* ===== CONTACT INFO STYLING ===== */
    .footer-main .contact-info {
        gap: 12px;
    }
    
    .footer-main .contact-item {
        background: rgba(255, 255, 255, 0.03);
        padding: 12px;
        border-radius: 8px;
        border: 1px solid rgba(255, 0, 51, 0.2);
    }
    
    .footer-main .contact-icon {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }
    
    /* ===== LINK GRID STYLING ===== */
    .footer-main .link-grid {
        gap: 12px;
    }
    
    /* ===== SOCIAL WRAPPER STYLING ===== */
    .footer-main .social-wrapper {
        padding-top: 15px;
        margin-top: 0;
        border-top: none;
    }
    
    .footer-main .social-grid-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .footer-main .icon-btn {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        border-width: 2px !important;
    }
    
    /* ===== MAP STYLING ===== */
    .footer-main .map-container {
        height: 300px;
        margin-bottom: 0;
    }
    
    /* ===== NEWSLETTER (ALWAYS VISIBLE) ===== */
    .footer-main .newsletter-box {
        margin-top: 20px;
        padding: 25px 20px;
    }
    
    .footer-main .newsletter-box p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-main .cyber-input-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-main .cyber-input,
    .footer-main .cyber-button.small {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    
    /* ===== BOTTOM BAR ===== */
    .footer-bottom {
        padding: 25px 20px;
    }
    
    .bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .copyright {
        font-size: 0.85rem;
        order: 3;
    }
    
    .footer-badges {
        order: 1;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .badge {
        font-size: 0.65rem;
        padding: 5px 10px;
    }
    
    .legal-links {
        order: 2;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .legal-links a {
        font-size: 0.9rem;
    }
    
    .separator {
        display: none;
    }
}

/* Extra Small Phones (480px and below) */
@media (max-width: 480px) {
    /* Mobile modal adjustments */
    .mobile-modal-content { 
        padding: 70px 20px 30px; 
    }
    
    .mobile-logo img { 
        max-width: 120px; 
    }
    
    .mobile-menu li a { 
        font-size: 1.2rem; 
    }
    
    .mobile-social-icons { 
        gap: 12px; 
        padding: 15px; 
    }
    
    .mobile-social-icons a { 
        width: 45px; 
        height: 45px; 
        font-size: 1.2rem; 
    }
    
    /* Footer micro adjustments */
    .footer-main {
        padding: 30px 15px;
        gap: 35px;
    }
    
    .footer-logo-container {
        width: 150px;
        height: 70px;
    }
    
    .footer-tagline {
        font-size: 0.8rem;
    }
    
    .footer-main .section-title[data-accordion] {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .footer-main .icon-btn {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.3rem !important;
    }
    
    .map-container {
        height: 250px;
    }
    
    .newsletter-box {
        padding: 20px 15px;
    }
    
    .copyright {
        font-size: 0.75rem;
        line-height: 1.5;
    }
}

/* =====================================================================
   🎯 END OF OPTIMIZED CSS
   ===================================================================== */
