/* ============================================
   SENTINEL SOFTWARE
   Enterprise ISV - Security & Trust Focused
   ============================================ */

/* CSS Variables - Professional Enterprise Color Palette */
:root {
    /* Primary Colors - Trust & Security */
    --primary-blue: #0066cc;
    --primary-dark: #004d99;
    --accent-teal: #0891b2;
    --accent-navy: #1e3a5f;

    /* Secondary Colors */
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;

    /* Background Tones - Clean & Professional */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --panel-bg: rgba(255, 255, 255, 0.95);
    --panel-border: rgba(0, 102, 204, 0.12);

    /* Status Colors */
    --success-green: #059669;
    --warning-amber: #d97706;
    --danger-red: #dc2626;
    --info-blue: #0284c7;

    /* Glow Effects - Subtle & Professional */
    --glow-primary: 0 0 20px rgba(0, 102, 204, 0.15), 0 0 40px rgba(0, 102, 204, 0.08);
    --glow-secondary: 0 0 15px rgba(8, 145, 178, 0.2);
    --glow-text: 0 0 8px rgba(0, 102, 204, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066cc, #0891b2);
    --gradient-dark: linear-gradient(135deg, #1e3a5f, #0f172a);
    --gradient-subtle: linear-gradient(180deg, #f8fafc, #e2e8f0);

    /* Enterprise-specific */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-light: rgba(0, 102, 204, 0.15);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);

    /* Legacy mappings for compatibility */
    --neon-blue: var(--primary-blue);
    --neon-purple: var(--accent-navy);
    --stark-white: var(--text-dark);
    --ice-white: var(--text-medium);
    --deep-space: var(--bg-light);
    --void-black: var(--bg-white);
    --panel-dark: var(--panel-bg);

    /* Typography - Professional Fonts */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 8rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-cinematic: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   Accessibility - Skip to Content
   ============================================ */
.skip-to-content {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0 0 8px 8px;
    z-index: 10002;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
    outline: 2px solid white;
    outline-offset: 2px;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        background: var(--bg-white);
        padding: 80px 32px 32px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--panel-border);
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ============================================
   Base Styles & Reset
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--deep-space);
    color: var(--ice-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: var(--neon-blue);
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: none;
    border: none;
    background: none;
}

/* ============================================
   Animated Background
   ============================================ */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 153, 204, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 153, 204, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.bg-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 153, 204, 0.02) 2px,
        rgba(0, 153, 204, 0.02) 4px
    );
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5;
}

.bg-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 153, 204, 0.05) 100%);
    pointer-events: none;
    z-index: -2;
}

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

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--neon-blue), 0 0 12px var(--neon-blue);
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
}

/* ============================================
   Custom Cursor
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    box-shadow: var(--glow-primary);
}

.cursor-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--neon-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-glow.hovering {
    width: 40px;
    height: 40px;
    border-color: var(--neon-pink);
    box-shadow: var(--glow-secondary);
}

/* ============================================
   Navigation HUD
   ============================================ */
.nav-hud {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), transparent);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 153, 204, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: relative;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: var(--transition-normal);
}

.logo-img:hover {
    filter: drop-shadow(0 0 8px rgba(252, 1, 1, 0.4));
}

.logo-hex {
    width: 40px;
    height: 46px;
    background: var(--gradient-primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: logoRotate 10s linear infinite;
    box-shadow: var(--glow-primary);
}

@keyframes logoRotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: var(--stark-white);
    text-shadow: var(--glow-text);
    position: relative;
}

.logo-text::before {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    top: 0;
    color: var(--neon-pink);
    opacity: 0;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { opacity: 0; transform: translate(0); }
    92% { opacity: 0.8; transform: translate(-2px, 1px); }
    94% { opacity: 0; transform: translate(2px, -1px); }
    96% { opacity: 0.8; transform: translate(1px, 2px); }
    98% { opacity: 0; transform: translate(-1px, -2px); }
}

.logo-tagline {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--neon-blue);
    opacity: 0.7;
    position: absolute;
    bottom: -12px;
    left: 56px;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.nav-user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ice-white);
    opacity: 0.7;
    padding: var(--space-sm);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.nav-user-icon:hover {
    opacity: 1;
    color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.1);
}

.nav-user-menu {
    position: relative;
    margin-left: var(--space-md);
}

.nav-user-icon.logged-in {
    opacity: 1;
    color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.15);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--space-sm);
    min-width: 200px;
    background: rgba(10, 10, 20, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-header {
    padding: var(--space-md);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--ice-white);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.user-email {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(0, 240, 255, 0.1);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    color: var(--ice-white);
    font-size: 0.85rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.user-dropdown-item:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
}

.user-dropdown-item svg {
    opacity: 0.7;
}

/* ============================================
   Language Selector
   ============================================ */
.lang-selector {
    position: relative;
    margin-left: var(--space-sm);
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-medium);
    transition: var(--transition-fast);
}

.lang-toggle:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(0, 102, 204, 0.05);
}

.lang-selector.open .lang-toggle {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.lang-toggle .globe-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.lang-toggle .dropdown-arrow {
    width: 12px;
    height: 12px;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.lang-selector.open .dropdown-arrow {
    transform: rotate(180deg);
}

.current-lang-code {
    font-weight: 600;
    letter-spacing: 0.05em;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 180px;
    background: var(--bg-white);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    overflow: hidden;
}

.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-display);
}

.lang-option:hover {
    background: rgba(0, 102, 204, 0.05);
    color: var(--primary-blue);
}

.lang-option.active {
    background: rgba(0, 102, 204, 0.08);
    color: var(--primary-blue);
    font-weight: 600;
}

.lang-option .lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lang-option .lang-name {
    flex: 1;
}

.lang-option .lang-check {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
    opacity: 0;
}

.lang-option.active .lang-check {
    opacity: 1;
}

/* Mobile Language Selector */
@media (max-width: 900px) {
    .lang-selector {
        position: static;
        margin-left: 0;
        order: -1;
    }

    .lang-toggle {
        padding: 10px 14px;
    }

    .lang-dropdown {
        position: fixed;
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 16px;
        width: auto;
        max-width: none;
    }

    /* Mobile menu - add language selector to menu */
    .nav-links.active ~ .nav-user-menu .lang-selector {
        display: block;
    }
}

/* Language selector in mobile menu */
.mobile-lang-selector {
    padding: 16px 0;
    border-top: 1px solid var(--panel-border);
    margin-top: 16px;
}

.mobile-lang-selector .lang-option {
    padding: 14px 0;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--ice-white);
    opacity: 0.7;
    position: relative;
    padding: var(--space-sm) 0;
    transition: var(--transition-normal);
}

.nav-link::before {
    content: attr(data-index);
    position: absolute;
    top: -8px;
    left: 0;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--neon-blue);
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: var(--glow-primary);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--stark-white);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: translateY(0);
}

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

.nav-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: var(--success-green);
    box-shadow: 0 0 10px var(--success-green);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--success-green);
}

.nav-border-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0.5;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xxl) var(--space-xl);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: rgba(0, 153, 204, 0.1);
    border: 1px solid rgba(0, 153, 204, 0.3);
    border-radius: 20px;
    margin-bottom: var(--space-lg);
    animation: badgePulse 3s infinite;
    box-shadow: var(--shadow-soft);
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 153, 204, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(0, 153, 204, 0); }
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--neon-blue);
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--neon-blue);
}

.hero-title {
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.1;
    color: var(--ice-white);
    position: relative;
}

.title-line.highlight {
    color: transparent;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
    animation: titleGlow 3s infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5)); }
    100% { filter: drop-shadow(0 0 30px rgba(191, 0, 255, 0.5)); }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--ice-white);
    opacity: 0.7;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

/* Primary Button */
.btn-primary {
    position: relative;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--void-black);
    overflow: hidden;
    transition: var(--transition-normal);
}

.btn-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    z-index: -1;
    transition: var(--transition-normal);
}

.btn-primary:hover .btn-bg {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.btn-glitch {
    position: relative;
    display: inline-block;
}

.btn-glitch::before,
.btn-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.btn-primary:hover .btn-glitch::before {
    animation: glitchBtn 0.3s infinite;
    color: var(--neon-pink);
    left: -2px;
}

.btn-primary:hover .btn-glitch::after {
    animation: glitchBtn 0.3s infinite reverse;
    color: var(--neon-blue);
    left: 2px;
}

@keyframes glitchBtn {
    0%, 100% { opacity: 0; }
    33% { opacity: 0.3; }
    66% { opacity: 0; }
}

.btn-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--stark-white);
    border-style: solid;
    transition: var(--transition-normal);
}

.btn-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.btn-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.btn-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.btn-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.btn-primary:hover .btn-corner {
    width: 20px;
    height: 20px;
}

/* Secondary Button */
.btn-secondary {
    position: relative;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--ice-white);
    background: transparent;
    overflow: hidden;
}

.btn-border {
    position: absolute;
    inset: 0;
    border: 1px solid var(--neon-blue);
    opacity: 0.5;
    transition: var(--transition-normal);
}

.btn-secondary:hover .btn-border {
    opacity: 1;
    box-shadow: var(--glow-primary);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.btn-secondary:hover::before {
    opacity: 0.1;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--panel-dark);
    border: 1px solid rgba(0, 153, 204, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft), 0 0 30px rgba(0, 153, 204, 0.1);
}

.stat-item {
    text-align: center;
    white-space: nowrap;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: var(--glow-text);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--neon-blue);
    opacity: 0.7;
}

.stat-label {
    display: block;
    white-space: normal;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--ice-white);
    opacity: 0.5;
    margin-top: var(--space-xs);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--neon-blue), transparent);
}

/* Hero Visual - Hologram */
.hero-visual {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hologram-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hologram-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 153, 204, 0.4);
    animation: ringRotate 20s linear infinite;
}

.ring-2 {
    width: 380px;
    height: 380px;
    border-color: rgba(153, 51, 255, 0.3);
    border-style: dashed;
    animation: ringRotate 30s linear infinite reverse;
}

.ring-3 {
    width: 450px;
    height: 450px;
    border-color: rgba(0, 153, 204, 0.2);
    animation: ringRotate 40s linear infinite;
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hologram-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 153, 204, 0.2), transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: corePulse 3s infinite;
}

@keyframes corePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.core-inner {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: var(--glow-primary);
    animation: coreRotate 5s linear infinite;
}

@keyframes coreRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hologram-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
}

.data-stream {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-blue);
    opacity: 0.5;
    animation: dataFloat 8s infinite linear;
    animation-delay: var(--delay);
}

.data-stream:nth-child(1) { top: 10%; left: 20%; }
.data-stream:nth-child(2) { top: 30%; right: 10%; }
.data-stream:nth-child(3) { bottom: 20%; left: 10%; }
.data-stream:nth-child(4) { bottom: 40%; right: 20%; }

@keyframes dataFloat {
    0%, 100% { transform: translateY(0); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--neon-blue), transparent);
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--neon-blue);
    opacity: 0.7;
}

/* ============================================
   Section Header
   ============================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-xl);
}

.header-line {
    flex: 1;
    height: 1px;
    max-width: 200px;
}

.header-line.left {
    background: linear-gradient(90deg, transparent, var(--neon-blue));
}

.header-line.right {
    background: linear-gradient(90deg, var(--neon-blue), transparent);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.title-index {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-blue);
    opacity: 0.7;
}

.title-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--stark-white);
    text-shadow: var(--glow-text);
}

/* ============================================
   Systems Section
   ============================================ */
.systems-section {
    padding: var(--space-xxl) var(--space-xl);
    background: linear-gradient(180deg, transparent, rgba(0, 153, 204, 0.03), transparent);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

/* System Card */
.system-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--panel-dark);
    border: 1px solid rgba(0, 153, 204, 0.15);
    transition: var(--transition-cinematic);
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: var(--shadow-soft);
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.system-card:hover::before {
    transform: scaleX(1);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 153, 204, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.system-card:hover .card-glow {
    opacity: 1;
}

.card-border {
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    transition: var(--transition-normal);
}

.system-card:hover .card-border {
    border-color: rgba(0, 153, 204, 0.3);
    box-shadow: inset 0 0 30px rgba(0, 153, 204, 0.05);
}

.system-card.featured {
    border-color: rgba(153, 51, 255, 0.3);
    background: linear-gradient(135deg, var(--panel-dark), rgba(153, 51, 255, 0.05));
}

.featured-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--neon-purple);
    background: rgba(153, 51, 255, 0.15);
    border: 1px solid rgba(153, 51, 255, 0.4);
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.hex-bg {
    fill: rgba(0, 153, 204, 0.1);
    stroke: var(--neon-blue);
    stroke-width: 1;
    transition: var(--transition-normal);
}

.system-card:hover .hex-bg {
    fill: rgba(0, 153, 204, 0.2);
    filter: drop-shadow(0 0 10px rgba(0, 153, 204, 0.4));
}

.icon-path {
    fill: none;
    stroke: var(--neon-blue);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-circle {
    fill: none;
    stroke: var(--neon-blue);
    stroke-width: 2;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--stark-white);
    margin-bottom: var(--space-md);
}

.card-description {
    font-size: 0.95rem;
    color: var(--ice-white);
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.card-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(0, 153, 204, 0.05);
    border-left: 2px solid var(--neon-blue);
}

.mini-stat {
    display: flex;
    flex-direction: column;
}

.mini-value {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.mini-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--ice-white);
    opacity: 0.5;
}

.card-btn {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--neon-blue);
    background: transparent;
    border: 1px solid rgba(0, 153, 204, 0.3);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.card-btn:hover {
    color: #ffffff;
    border-color: var(--neon-blue);
}

.card-btn:hover::before {
    opacity: 1;
}

.card-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 153, 204, 0.03) 50%,
        transparent 100%
    );
    background-size: 100% 10px;
    animation: scanline 8s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-normal);
}

.system-card:hover .card-scanline {
    opacity: 1;
}

@keyframes scanline {
    from { background-position: 0 0; }
    to { background-position: 0 100%; }
}

/* ============================================
   Network Section
   ============================================ */
.network-section {
    padding: var(--space-xxl) var(--space-xl);
    background: linear-gradient(180deg, var(--deep-space), rgba(0, 153, 204, 0.03));
}

.network-container {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: var(--space-lg);
    max-width: 1600px;
    margin: 0 auto;
    min-height: 500px;
}

.network-panel {
    background: var(--panel-dark);
    border: 1px solid rgba(0, 153, 204, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid rgba(0, 153, 204, 0.1);
}

.panel-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--ice-white);
}

.panel-status {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--ice-white);
    opacity: 0.5;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.panel-status.live {
    color: var(--success-green);
    border-color: var(--success-green);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    50% { box-shadow: 0 0 0 5px rgba(0, 255, 136, 0); }
}

.panel-content {
    padding: var(--space-md);
}

/* Metric Bars */
.metric-row {
    margin-bottom: var(--space-md);
}

.metric-row:last-child {
    margin-bottom: 0;
}

.metric-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--ice-white);
    opacity: 0.5;
    margin-bottom: var(--space-xs);
}

.metric-bar {
    position: relative;
    height: 24px;
    background: rgba(0, 153, 204, 0.05);
    border: 1px solid rgba(0, 153, 204, 0.2);
}

.bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--fill);
    background: var(--gradient-primary);
    animation: barGrow 1.5s ease-out forwards;
    transform-origin: left;
}

@keyframes barGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.bar-value {
    position: absolute;
    right: var(--space-sm);
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-primary);
}

/* Network Canvas */
.network-visual {
    position: relative;
    background: radial-gradient(circle at center, rgba(0, 153, 204, 0.05), rgba(255, 255, 255, 0.5));
    border: 1px solid rgba(0, 153, 204, 0.15);
    box-shadow: var(--shadow-soft);
}

#networkCanvas {
    width: 100%;
    height: 100%;
}

.network-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.central-node {
    position: relative;
    width: 80px;
    height: 80px;
}

.node-pulse {
    position: absolute;
    inset: 0;
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    animation: nodePulse 2s infinite;
}

@keyframes nodePulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.node-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
}

/* Activity Log */
.log-content {
    max-height: 350px;
    overflow-y: auto;
}

.log-content::-webkit-scrollbar {
    width: 4px;
}

.log-content::-webkit-scrollbar-track {
    background: rgba(0, 153, 204, 0.1);
}

.log-content::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
}

.log-entry {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.log-time {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--ice-white);
    opacity: 0.5;
    white-space: nowrap;
}

.log-type {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    padding: 2px 6px;
    white-space: nowrap;
}

.log-type.success { color: var(--success-green); border: 1px solid var(--success-green); }
.log-type.info { color: var(--info-cyan); border: 1px solid var(--info-cyan); }
.log-type.warning { color: var(--warning-amber); border: 1px solid var(--warning-amber); }

.log-message {
    color: var(--ice-white);
    opacity: 0.7;
}

/* ============================================
   Archive Section
   ============================================ */
.archive-section {
    padding: var(--space-xxl) var(--space-xl);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.archive-item {
    position: relative;
    background: var(--panel-dark);
    border: 1px solid rgba(0, 153, 204, 0.1);
    overflow: hidden;
    transition: var(--transition-cinematic);
    box-shadow: var(--shadow-soft);
}

.archive-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.archive-item:hover {
    border-color: rgba(0, 153, 204, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), var(--glow-primary);
}

.item-media {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.archive-item.large .item-media {
    height: 300px;
}

.media-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 153, 204, 0.1), rgba(153, 51, 255, 0.08));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 153, 204, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 153, 204, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.placeholder-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--neon-blue);
    opacity: 0.3;
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, var(--panel-dark));
}

.item-content {
    padding: var(--space-lg);
}

.item-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.meta-date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ice-white);
    opacity: 0.5;
}

.meta-category {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--neon-blue);
    padding: 2px 8px;
    border: 1px solid var(--neon-blue);
}

.item-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--stark-white);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.archive-item.large .item-title {
    font-size: 1.4rem;
}

.item-excerpt {
    font-size: 0.9rem;
    color: var(--ice-white);
    opacity: 0.6;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.item-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--neon-blue);
    transition: var(--transition-normal);
}

.item-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: var(--transition-normal);
}

.item-link:hover {
    color: var(--neon-pink);
}

.item-link:hover svg {
    transform: translateX(5px);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--space-xxl) var(--space-xl);
    background: linear-gradient(180deg, transparent, rgba(0, 153, 204, 0.03));
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: var(--space-xl);
}

.info-block {
    margin-bottom: var(--space-xl);
}

.info-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--stark-white);
    margin-bottom: var(--space-md);
}

.info-text {
    font-size: 1rem;
    color: var(--ice-white);
    opacity: 0.7;
    line-height: 1.8;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.channel-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--panel-dark);
    border: 1px solid rgba(0, 153, 204, 0.1);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-soft);
}

.channel-item:hover {
    border-color: rgba(0, 153, 204, 0.3);
    box-shadow: var(--glow-primary);
}

.channel-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 153, 204, 0.1);
    border: 1px solid rgba(0, 153, 204, 0.2);
}

.channel-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--neon-blue);
    stroke-width: 1.5;
    fill: none;
}

.channel-details {
    display: flex;
    flex-direction: column;
}

.channel-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--neon-blue);
    opacity: 0.7;
}

.channel-value {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ice-white);
}

/* Contact Form */
.contact-form {
    padding: var(--space-xl);
    background: var(--panel-dark);
    border: 1px solid rgba(0, 153, 204, 0.15);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}

.form-group {
    margin-bottom: var(--space-lg);
    position: relative;
}

.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--neon-blue);
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 153, 204, 0.2);
    outline: none;
    transition: var(--transition-normal);
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.form-input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 153, 204, 0.15);
}

.form-textarea {
    resize: none;
    min-height: 150px;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.form-input:focus + .input-border {
    width: 100%;
}

.form-submit {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4),
                0 0 40px rgba(0, 240, 255, 0.2),
                inset 0 0 20px rgba(0, 240, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.submit-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    z-index: -1;
    transition: var(--transition-normal);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6),
                0 0 60px rgba(0, 240, 255, 0.3),
                0 10px 30px rgba(0, 0, 0, 0.3),
                inset 0 0 30px rgba(0, 240, 255, 0.2);
}

.form-submit:hover .submit-bg {
    filter: brightness(1.3);
}

.submit-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: var(--transition-normal);
}

.form-submit:hover .submit-icon svg {
    transform: translate(5px, -5px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    background: linear-gradient(180deg, var(--deep-space), #dce6f0);
    border-top: 1px solid rgba(0, 153, 204, 0.15);
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--stark-white);
    text-shadow: var(--glow-text);
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--neon-blue);
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-link {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--ice-white);
    opacity: 0.6;
    transition: var(--transition-normal);
}

.footer-link:hover {
    opacity: 1;
    color: var(--neon-blue);
    text-shadow: var(--glow-text);
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xs);
}

.copyright,
.version {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--ice-white);
    opacity: 0.4;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

/* ============================================
   Loading Screen
   ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #f0f4f8, #e8eef5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.5em;
    color: var(--stark-white);
    text-shadow: var(--glow-text);
    margin-bottom: var(--space-lg);
    animation: loadingPulse 1s infinite alternate;
}

@keyframes loadingPulse {
    from { opacity: 0.5; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(0, 153, 204, 0.1);
    border: 1px solid rgba(0, 153, 204, 0.3);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    animation: loadingProgress 2s ease-out forwards;
}

@keyframes loadingProgress {
    from { width: 0; }
    to { width: 100%; }
}

.loading-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--neon-blue);
    animation: loadingBlink 0.5s infinite;
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .network-container {
        grid-template-columns: 1fr;
    }

    .network-visual {
        height: 400px;
        order: -1;
    }

    .network-panel {
        max-height: 300px;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-visual {
        width: 350px;
        height: 350px;
        margin-top: var(--space-xl);
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 2rem;
        --space-xxl: 4rem;
    }

    .nav-links {
        display: none;
    }

    .systems-grid {
        grid-template-columns: 1fr;
    }

    .archive-grid {
        grid-template-columns: 1fr;
    }

    .archive-item.large {
        grid-column: span 1;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-meta {
        align-items: center;
    }

    .cursor-glow {
        display: none;
    }

    body {
        cursor: auto;
    }

    button, a {
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 2rem;
    }

    .hero-visual {
        width: 280px;
        height: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   ISV Enterprise - Additional Styles
   ============================================ */

/* Logo Shield */
.logo-shield {
    width: 36px;
    height: 42px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.logo-shield.small {
    width: 28px;
    height: 32px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-dark);
}

.logo-tagline {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-light);
    position: absolute;
    bottom: -10px;
    left: 44px;
}

/* Nav CTA Button */
.nav-cta {
    padding: 0.6rem 1.2rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--gradient-primary);
    border-radius: 6px;
    transition: var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.4);
}

/* Hero Badge - Security Focused */
.hero-badge {
    background: rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.3);
}

.badge-icon {
    color: var(--success-green);
    display: flex;
    align-items: center;
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--success-green);
}

/* Hero Trust Section */
.hero-trust {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
}

.trust-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

.trust-logos {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.trust-logo {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-light);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

/* Shield Visual (replacing hologram) */
.shield-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
}

.shield-ring.ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(0, 102, 204, 0.15);
    animation: ringRotate 30s linear infinite;
}

.shield-ring.ring-2 {
    width: 350px;
    height: 350px;
    border-color: rgba(8, 145, 178, 0.1);
    border-style: dashed;
    animation: ringRotate 45s linear infinite reverse;
}

.shield-ring.ring-3 {
    width: 420px;
    height: 420px;
    border-color: rgba(0, 102, 204, 0.05);
    animation: ringRotate 60s linear infinite;
}

.shield-core {
    position: relative;
    z-index: 1;
}

.shield-icon {
    width: 180px;
    height: 220px;
    filter: drop-shadow(0 10px 30px rgba(0, 102, 204, 0.2));
}

.shield-data {
    position: absolute;
    inset: 0;
}

.data-item {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    animation: dataFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
    text-align: center;
    line-height: 1.4;
}

.data-item:nth-child(1) { top: 15%; left: 5%; }
.data-item:nth-child(2) { top: 18%; right: 0; }
.data-item:nth-child(3) { bottom: 25%; left: 0; }
.data-item:nth-child(4) { bottom: 25%; right: 5%; }
.data-item:nth-child(5) { top: 40%; left: -5%; transform: translateY(-50%); }
.data-item:nth-child(6) { bottom: 45%; right: 0; }
.data-item:nth-child(7) { top: 30%; right: 0; }

@keyframes dataFloat {
    0%, 100% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(-8px); opacity: 1; }
}

/* Stats Bar */
.stats-bar {
    background: var(--gradient-dark);
    padding: var(--space-xl) var(--space-xl);
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xxl);
    max-width: 1200px;
    margin: 0 auto;
}

.stats-bar .stat-item {
    text-align: center;
}

.stats-bar .stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
}

.stats-bar .stat-suffix {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.stats-bar .stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-xs);
}

.stats-bar .stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* Solutions Section */
.solutions-section {
    padding: var(--space-xxl) var(--space-xl);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-white);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    transition: var(--transition-cinematic);
    box-shadow: var(--shadow-soft);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
}

.solution-card.featured {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.03), rgba(8, 145, 178, 0.02));
}

.solution-card .card-icon {
    width: 56px;
    height: 56px;
    color: var(--primary-blue);
    margin-bottom: var(--space-lg);
}

.solution-card .card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.solution-card .card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.card-features {
    list-style: none;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: 8px;
}

.card-features li {
    position: relative;
    padding-left: var(--space-lg);
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: var(--space-sm);
}

.card-features li:last-child {
    margin-bottom: 0;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: var(--transition-normal);
}

.card-link:hover {
    gap: var(--space-md);
    color: var(--primary-dark);
}

/* Security Section */
.security-section {
    padding: var(--space-xxl) var(--space-xl);
    background: var(--bg-light);
}

.security-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-xxl);
    max-width: 1200px;
    margin: 0 auto;
}

.security-headline {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.security-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.security-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.security-feature {
    display: flex;
    gap: var(--space-md);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 1px solid var(--panel-border);
    border-radius: 10px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-content h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Certifications Panel */
.certifications-panel {
    background: var(--bg-white);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.certifications-panel .panel-header {
    padding: var(--space-md) var(--space-lg);
    background: var(--gradient-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certifications-panel .panel-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ffffff;
}

.panel-status.verified {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: #10b981;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 4px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--panel-border);
    padding: 1px;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg);
    background: var(--bg-white);
    text-align: center;
    transition: var(--transition-normal);
}

.cert-item:hover {
    background: var(--bg-light);
}

.cert-badge {
    width: 48px;
    height: 48px;
    color: var(--primary-blue);
    margin-bottom: var(--space-sm);
}

.cert-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.cert-desc {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ============================= */
/* Certifications Section        */
/* ============================= */
.certifications-section {
    padding: var(--space-xxl) var(--space-xl);
    position: relative;
    background: var(--bg-light);
}

.certifications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.certifications-intro {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
}

.certifications-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cert-detail-card {
    background: var(--bg-white);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: var(--transition-cinematic);
    box-shadow: var(--shadow-soft);
}

.cert-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue);
}

.cert-detail-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    background: var(--bg-light);
    padding: var(--space-md);
    border-radius: 8px;
}

.cert-detail-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.cert-detail-icon svg {
    width: 100%;
    height: 100%;
}

.cert-detail-title {
    flex: 1;
}

.cert-detail-title h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cert-detail-title span {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--primary-blue);
    text-transform: uppercase;
}

.cert-detail-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.cert-detail-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 179, 89, 0.1);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--success-green);
    text-transform: uppercase;
}

.cert-detail-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success-green);
    border-radius: 50%;
}

/* Responsive for Certifications */
@media (max-width: 768px) {
    .certifications-section {
        padding: var(--space-xl) var(--space-md);
    }

    .certifications-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Clients Section */
.clients-section {
    padding: var(--space-xxl) var(--space-xl);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto var(--space-xxl);
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.quote-icon {
    color: var(--primary-blue);
    opacity: 0.3;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50%;
}

.author-name {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.author-title {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Client Logos */
.clients-logos {
    text-align: center;
}

.clients-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.client-logo {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-light);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    opacity: 0.7;
    transition: var(--transition-normal);
}

.client-logo:hover {
    opacity: 1;
    border-color: var(--primary-blue);
}

/* Contact Benefits */
.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
    color: var(--text-medium);
}

.benefit-item svg {
    color: var(--success-green);
    flex-shrink: 0;
}

/* Contact Direct */
.contact-direct {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-light);
    border-radius: 8px;
}

.direct-item {
    display: flex;
    flex-direction: column;
}

.direct-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-light);
    text-transform: uppercase;
}

.direct-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Form Enhancements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-consent {
    margin-bottom: var(--space-lg);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.checkbox-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-light);
}

.form-note svg {
    color: var(--success-green);
}

/* Footer Enhancements */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xxl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--panel-border);
    margin-bottom: var(--space-lg);
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo-img {
    height: 28px;
    width: auto;
    opacity: 0.9;
    transition: var(--transition-normal);
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.footer-certs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
    max-width: 200px;
}

.mini-cert {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--success-green);
    padding: 4px 8px;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.3);
    border-radius: 4px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-blue);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

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

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

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.footer-link:hover {
    color: var(--primary-blue);
}

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

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: var(--space-xl);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-light);
}

.legal-links {
    display: flex;
    gap: var(--space-lg);
    margin-left: auto;
}

.legal-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.legal-links a:hover {
    color: var(--primary-blue);
}

/* ============================================
   Cookie Consent Banner & Modal
   LGPD/GDPR Compliant
   ============================================ */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 3px solid var(--primary-blue);
    cursor: default;
}

.cookie-banner * {
    cursor: auto;
}

.cookie-banner a,
.cookie-banner button {
    cursor: pointer;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.cookie-banner-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.cookie-banner-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 600px;
}

.cookie-banner-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

/* Cookie Buttons */
.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.cookie-btn-accept {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.cookie-btn-reject:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    border-color: var(--text-secondary);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.cookie-btn-settings:hover {
    background: rgba(0, 102, 204, 0.08);
}

.cookie-btn-save {
    background: var(--success-green);
    color: white;
    border-color: var(--success-green);
}

.cookie-btn-save:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: default;
}

.cookie-modal-overlay * {
    cursor: auto;
}

.cookie-modal-overlay a,
.cookie-modal-overlay button,
.cookie-modal-overlay .cookie-toggle,
.cookie-modal-overlay .cookie-details-toggle {
    cursor: pointer;
}

.cookie-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cookie Modal */
.cookie-modal {
    background: var(--bg-white);
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-overlay.active .cookie-modal {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--panel-border);
}

.cookie-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.cookie-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.cookie-modal-close:hover {
    background: var(--danger-red);
    color: white;
}

.cookie-modal-close svg {
    width: 18px;
    height: 18px;
}

/* Modal Body */
.cookie-modal-body {
    padding: var(--space-lg);
    overflow-y: auto;
    flex: 1;
}

.cookie-modal-intro {
    margin-bottom: var(--space-lg);
}

.cookie-modal-intro p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cookie-modal-intro a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Cookie Categories */
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cookie-category {
    background: var(--bg-light);
    border-radius: 12px;
    padding: var(--space-md);
    border: 1px solid var(--panel-border);
    transition: border-color var(--transition-normal);
}

.cookie-category:hover {
    border-color: var(--primary-blue);
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
}

.cookie-category-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.cookie-category-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-toggle input {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 26px;
    background: #cbd5e1;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .toggle-slider {
    background: var(--success-green);
}

.cookie-toggle input:checked + .toggle-slider::after {
    transform: translateX(24px);
}

.toggle-slider.always-on {
    background: var(--primary-blue);
    cursor: not-allowed;
    opacity: 0.8;
}

.toggle-slider.always-on::after {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
    white-space: nowrap;
}

/* Cookie Details Toggle */
.cookie-details-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: var(--space-sm) 0;
    margin-top: var(--space-sm);
    transition: color var(--transition-normal);
}

.cookie-details-toggle:hover {
    color: var(--primary-dark);
}

.cookie-details-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.cookie-details-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Cookie Details */
.cookie-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.cookie-details.expanded {
    max-height: 200px;
}

.cookie-details ul {
    list-style: none;
    padding: var(--space-sm) 0;
    margin: 0;
}

.cookie-details li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
}

.cookie-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.cookie-details li strong {
    color: var(--text-dark);
}

/* Modal Footer */
.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border-top: 1px solid var(--panel-border);
    background: var(--bg-light);
    border-radius: 0 0 16px 16px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-text p {
        max-width: 100%;
    }

    .cookie-banner-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-modal {
        max-height: 85vh;
        margin: var(--space-sm);
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: var(--space-md);
    }

    .cookie-category-header {
        flex-direction: column;
    }

    .cookie-toggle {
        align-self: flex-start;
        margin-top: var(--space-sm);
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: var(--space-md);
    }

    .cookie-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Loading Screen - Security Theme */
.loading-shield {
    width: 60px;
    height: 70px;
    color: var(--primary-blue);
    margin-bottom: var(--space-lg);
}

.check-animate {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: checkDraw 1s ease forwards 1s;
}

@keyframes checkDraw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive - ISV specific */
@media (max-width: 1024px) {
    .security-container {
        grid-template-columns: 1fr;
    }

    .security-features {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .stats-bar .stat-divider {
        width: 60px;
        height: 1px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-legal {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-logos {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }
}
