/* ===== AUTOMATED CYBERNETIC UNIFIED NAVBAR ===== */

/* ── Shared design tokens (fallback if index_new.css not loaded) ── */
:root {
    --primary-neon: #06b6d4;
    --primary-blue: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-dark: #020617;
    --font-cyber: 'Space Grotesk', sans-serif;
    --font-main: 'Outfit', sans-serif;
}


.admin-only-nav {
    display: none !important;
}
body.is-admin .admin-only-nav,
html.is-admin .admin-only-nav {
    display: list-item !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px; /* Squeezed desktop padding */
    background: rgba(8, 14, 27, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
    white-space: nowrap; /* Prevent logo wrapping */
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-neon);
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
}

.admin-badge {
    font-size: 11px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
    font-family: 'Space Grotesk', sans-serif;
}

/* Unified Navigation Wrapper */
.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    margin-left: 20px; /* Balanced desktop margin */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 14px; /* Balanced gap for readability */
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    position: relative;
    padding: 6px 2px;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-neon);
    transition: width 0.25s ease;
    box-shadow: 0 0 8px var(--primary-neon);
}

.nav-links a:hover {
    color: var(--text-main);
}

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

.nav-links a.active {
    color: var(--primary-neon) !important;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100% !important;
    background-color: var(--primary-neon) !important;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 16px;
    flex-shrink: 0;
}

.auth-buttons a {
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 30px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-buttons a:first-child {
    color: var(--primary-neon);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.auth-buttons a:first-child:hover {
    background: rgba(6, 182, 212, 0.18);
    border-color: var(--primary-neon);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
    transform: translateY(-1.5px);
}

.auth-buttons a:last-child {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-neon));
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.auth-buttons a:last-child:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.45);
}

/* User Profile Box */
.profile-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 16px;
    flex-shrink: 0;
}

.profile-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-neon);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
    cursor: default;
}

.logout-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
    transition: all 0.25s ease;
}

.logout-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.45);
}

/* ===== AUTOMATED CYBER HAMBURGER ENGINE ===== */

/* Base Toggle Styling (Hidden on Laptop/Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0;
    margin-left: 15px;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

/* Dynamic Morphing states into an 'X' */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--primary-neon);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--primary-neon);
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Notebooks & Small Desktops (Under 1200px) */
@media (max-width: 1200px) {
    .nav-links {
        gap: 20px;
    }
    .nav-menu {
        margin-left: 30px;
    }
}

/* Tablets & Mobile Drawer Collapse (Under 1300px) */
@media (max-width: 1300px) {
    .menu-toggle {
        display: flex; /* Bring the hamburger engine alive */
    }

    .navbar {
        padding: 14px 24px;
    }

    /* Transform desktop menu wrapper into a premium vertical sliding pane */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 290px;
        height: 100vh;
        background: rgba(4, 8, 16, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(6, 182, 212, 0.2);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
        
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 100px 30px 40px 30px;
        margin-left: 0; /* Clear desktop flex margin */
        
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 105;
        
        overflow-y: auto; /* Support scrolling on low-height mobile screens */
        max-height: 100vh;
        scrollbar-width: thin;
        scrollbar-color: rgba(6, 182, 212, 0.3) transparent;
    }

    .nav-menu::-webkit-scrollbar {
        width: 4px;
    }

    .nav-menu::-webkit-scrollbar-thumb {
        background: rgba(6, 182, 212, 0.3);
        border-radius: 4px;
    }

    /* Target state when menu is clicked open */
    .nav-menu.active {
        transform: translateX(0) !important;
    }

    /* Links inside mobile drawer (Forced display and visibility) */
    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 25px !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Force visibility on list items but allow JS (auth.js) overrides */
    .nav-links li {
        display: block;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-links a {
        font-size: 17px !important;
        width: 100% !important;
        display: block !important;
        color: var(--text-muted) !important;
        font-family: 'Space Grotesk', sans-serif !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-links a::after {
        display: none !important;
    }

    .nav-links a.active {
        color: var(--primary-neon) !important;
        border-left: 3px solid var(--primary-neon) !important;
        padding-left: 10px !important;
    }

    /* Move buttons vertically to bottom inside drawer with separation divider */
    .auth-buttons, .profile-box {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: auto;
        padding-top: 25px;
        border-top: 1px solid rgba(6, 182, 212, 0.15); /* Premium cyber separation line */
    }

    .auth-buttons a, .logout-btn, .profile-name {
        width: 100%;
        text-align: center;
        display: block;
        font-size: 13px;
        padding: 10px 20px;
        border-radius: 30px;
    }
}

/* Micro Device Polish (Under 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 16px;
        background: rgba(4, 8, 16, 0.9);
    }

    .logo {
        font-size: 16px;
        gap: 6px;
    }

    .logo-icon {
        width: 20px;
        height: 20px;
    }

    .nav-menu {
        width: 260px;
        padding: 90px 20px 30px 20px;
    }

    .profile-name {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Narrow legacy phones (Under 340px) */
@media (max-width: 340px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }
}

/* Landscape Orientation Constraint Fixes */
@media (max-height: 550px) and (orientation: landscape) {
    .navbar {
        position: absolute;
    }
}

/* ===== LAPTOP & DESKTOP CENTERED NAVBAR (1301px and above) ===== */
@media (min-width: 1301px) {
    .navbar {
        position: relative; /* Fixed position context remains, this secures absolute centering context */
    }

    .nav-menu {
        display: flex !important;
        justify-content: flex-end !important; /* Push auth buttons and profile box to the far right */
        align-items: center !important;
        flex-grow: 1 !important;
        margin-left: 0 !important; /* Clear old static margin */
    }

    .nav-links {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: flex !important;
        gap: 20px !important; /* Premium spacing gap for laptop layout */
        align-items: center !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ===== TACTICAL LOW-PROFILE SYSTEMS FOOTER ===== */
.footer {
    background: rgba(2, 6, 23, 0.95) !important;
    border-top: 1px solid rgba(6, 182, 212, 0.15) !important;
    padding: 20px 5% !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    width: 100% !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    z-index: 10 !important;
}

.footer-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    gap: 30px !important;
}

/* Left Brand Block */
.footer-brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    text-align: left !important;
}
.footer-title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
}
.footer-subtitle {
    font-family: 'Outfit', sans-serif !important;
    font-size: 10.5px !important;
    color: #94a3b8 !important;
}

/* Center Telemetry Console */
.footer-telemetry {
    display: grid !important;
    grid-template-columns: repeat(2, auto) !important;
    gap: 6px 24px !important;
    font-family: 'Fira Code', monospace !important;
    font-size: 10.5px !important;
}
.telemetry-badge {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #94a3b8 !important;
}
.telemetry-badge span {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

/* Badge Glow Colors */
.badge-green { 
    background: #10b981 !important; 
    box-shadow: 0 0 8px #10b981 !important; 
}
.badge-cyan { 
    background: #06b6d4 !important; 
    box-shadow: 0 0 8px #06b6d4 !important; 
}
.badge-blue { 
    background: #3b82f6 !important; 
    box-shadow: 0 0 8px #3b82f6 !important; 
}

/* Right Copyright & Tagline */
.footer-copyright-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    text-align: right !important;
}
.footer-copyright-text {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11.5px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}
.footer-motto {
    font-family: 'Outfit', sans-serif !important;
    font-size: 10.5px !important;
    color: #94a3b8 !important;
}

/* --- Responsive Stacking Overrides --- */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
    }
    .footer-brand, .footer-copyright-block {
        text-align: center !important;
        align-items: center !important;
    }
    .footer-telemetry {
        justify-content: center !important;
    }
}
@media (max-width: 480px) {
    .footer-telemetry {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
}

/* ==========================================================================
   GLOBAL ENTERPRISE DESIGN SYSTEM & COSMETIC POLISH
   ========================================================================== */
:root {
    --border-radius-enterprise: 16px;
    --transition-premium: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Unified Premium Hover & Glassmorphism standardizer */
.glass-panel, .box, .card, .portal-card, .metric-card, .table-box, .compartment-card, .health-card, .centerpiece-card, .timeline-card {
    background: rgba(11, 19, 43, 0.82) !important;
    border: 1px solid rgba(6, 182, 212, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important; /* Premium glass-edge reflection */
    border-radius: var(--border-radius-enterprise) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.45), 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 24px rgba(6, 182, 212, 0.05) !important;
    transition: var(--transition-premium) !important;
}

/* Unified Premium Hover Animation */
.glass-panel:hover, .box:hover, .card:hover, .portal-card:hover, .metric-card:hover, .table-box:hover, .compartment-card:hover, .health-card:hover, .centerpiece-card:hover, .timeline-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(6, 182, 212, 0.38) !important;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.55), 
        0 0 30px rgba(6, 182, 212, 0.25),
        inset 0 0 24px rgba(6, 182, 212, 0.1) !important;
}

/* ==========================================================================
   TELEMETRY FOOTER - DUAL-STATE DYNAMIC READOUT
   ========================================================================== */
.telemetry-footer {
    background: rgba(8, 14, 27, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(6, 182, 212, 0.35) !important;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1) !important;
    color: var(--text-main) !important;
    font-family: 'Fira Code', monospace !important;
    padding: 10px 4% !important;
    min-height: 55px !important;
    max-height: 75px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    position: relative !important;
    z-index: 100 !important;
    overflow: hidden !important;
    box-shadow: 
        0 -4px 20px rgba(6, 182, 212, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transition: var(--transition-premium) !important;
}

.telemetry-footer::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: var(--primary-neon) !important;
    box-shadow: 0 0 10px var(--primary-neon) !important;
    opacity: 0.6 !important;
}

.footer-cluster {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    transition: var(--transition-premium) !important;
}

.footer-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    color: var(--text-muted) !important;
    text-transform: uppercase !important;
    transition: color 0.2s ease !important;
}

.footer-item:hover {
    color: var(--primary-neon) !important;
}

.footer-item-label {
    color: var(--primary-neon) !important;
    font-weight: 600 !important;
    opacity: 0.85 !important;
    text-shadow: 0 0 5px rgba(6, 182, 212, 0.3) !important;
}

.footer-item-value {
    color: var(--text-main) !important;
    font-weight: 500 !important;
}

.footer-separator {
    width: 4px !important;
    height: 4px !important;
    background: rgba(6, 182, 212, 0.4) !important;
    border-radius: 50% !important;
    display: block !important;
}

.center-cluster {
    gap: 20px !important;
}

.status-dot-pulse {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background-color: var(--primary-neon) !important;
    box-shadow: 0 0 6px var(--primary-neon) !important;
    display: inline-block !important;
    animation: pulse-cyan-ref 2s infinite ease-in-out !important;
}

@keyframes pulse-cyan-ref {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.9);
        box-shadow: 0 0 4px var(--primary-neon);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
        box-shadow: 0 0 10px var(--primary-neon);
    }
}

.utc-clock-wrapper {
    background: rgba(2, 6, 23, 0.6) !important;
    border: 1px solid rgba(6, 182, 212, 0.25) !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: var(--transition-premium) !important;
    box-shadow: inset 0 0 8px rgba(6, 182, 212, 0.05) !important;
}

.utc-clock-wrapper:hover {
    border-color: var(--primary-neon) !important;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2), inset 0 0 8px rgba(6, 182, 212, 0.1) !important;
}

.utc-label {
    font-size: 10px !important;
    color: var(--primary-neon) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.utc-time {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5) !important;
    font-variant-numeric: tabular-nums !important;
    animation: subtle-time-pulse-ref 1s infinite alternate !important;
}

@keyframes subtle-time-pulse-ref {
    0% {
        opacity: 0.92;
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.75);
    }
}

/* Visibility Control Helpers */
.mobile-only {
    display: none !important;
}
.desktop-only {
    display: flex !important;
}
.desktop-only.footer-separator {
    display: block !important;
}

/* Tablet view styling rules (Wrap Intelligently) */
@media (max-width: 992px) {
    .telemetry-footer {
        max-height: none !important;
        padding: 12px 6% !important;
        gap: 12px !important;
        justify-content: center !important;
    }
    .footer-cluster {
        justify-content: center !important;
        width: 100% !important;
    }
}

/* Mobile Command-Console Styling Rules (Strict Layout Collapse) */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: flex !important;
    }
    .mobile-only.footer-separator {
        display: block !important;
    }
    .telemetry-footer {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 14px !important;
        padding: 20px 16px !important;
    }
    .footer-cluster {
        width: 100% !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px dashed rgba(6, 182, 212, 0.15) !important;
    }
    .footer-cluster:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    .footer-item {
        justify-content: center !important;
        flex-wrap: wrap !important;
        font-size: 12px !important;
    }
}

/* ============================================================
   CODE VORTEX ENTERPRISE PRODUCTION FOOTER
   ============================================================ */
.codevortex-footer {
  background: #030712;
  border-top: 1px solid rgba(6, 182, 212, 0.15);
  color: #e2e8f0;
  padding: 50px 32px 24px;
  font-family: 'Inter', sans-serif;
  position: relative;
  z-index: 10;
  margin-top: auto;
}

.cv-footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.cv-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cv-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.cv-footer-logo svg {
  width: 24px;
  height: 24px;
  color: #06b6d4;
}

.cv-footer-logo span.company {
  color: #fff;
  letter-spacing: 0.5px;
}

.cv-footer-logo span.tag {
  color: #06b6d4;
  font-size: 10px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
}

.cv-footer-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 360px;
}

.cv-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
}

.cv-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: cvBlink 2s infinite;
}

@keyframes cvBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.cv-footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cv-footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.cv-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cv-footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.cv-footer-col ul li a:hover {
  color: #06b6d4;
  transform: translateX(3px);
}

.cv-footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #64748b;
}

.cv-footer-bottom a {
  color: #64748b;
  text-decoration: none;
  margin-left: 16px;
  transition: color 0.2s;
}

.cv-footer-bottom a:hover {
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .cv-footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .codevortex-footer { padding: 36px 18px 20px; }
  .cv-footer-container { grid-template-columns: 1fr; gap: 28px; }
  .cv-footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cv-footer-bottom a { margin-left: 0; margin-right: 14px; }
}
