/* ==========================================
   VEXIA GLASS v2.0 DESIGN SYSTEM
   "Liquid Intelligence" - Premium Refractive UI
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    /* ===== VEXIA GLASS v2.0 PALETTE ===== */
    /* BASES - Clinical Platinum Theme */
    --bg-body: #F8FAFC;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-card: #FFFFFF;
    --bg-panel: #FFFFFF;
    --bg-dock: rgba(255, 255, 255, 0.85);

    --border-subtle: rgba(226, 232, 240, 0.6);
    --text-primary: #020617;
    /* High contrast Slate 950 */
    --text-secondary: #475569;
    /* Slate 600 */
    --text-muted: #94A3B8;
    /* Slate 400 */
    --border-light: rgba(226, 232, 240, 0.4);

    /* DIVISION ACCENTS - Enhanced Triad */
    --accent-vantis: #C5A028;
    /* Polished Gold */
    --accent-relth: #D81B60;
    /* Deep Pink */
    --accent-kora: #6200EA;
    /* Deep Purple */
    --accent-ops: #C62828;
    /* Strong Red */

    /* RGB Versions */
    --accent-vantis-rgb: 197, 160, 40;
    --accent-relth-rgb: 216, 27, 96;
    --accent-kora-rgb: 98, 0, 234;
    --accent-ops-rgb: 198, 40, 40;

    /* GLASSMORPHISM - v2.0 Refractive */
    --glass-blur: blur(25px);
    --glass-saturate: saturate(180%);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-premium: 0 8px 32px rgba(0, 0, 0, 0.04);
    --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.08);

    /* TYPOGRAPHY - Modern Stack */
    --font-head: 'Manrope', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --font-code: 'JetBrains Mono', monospace;

    /* PHYSICS */
    --radius-premium: 24px;
    --radius-card: 32px;
    --radius-button: 12px;
    --easing-premium: cubic-bezier(0.2, 0, 0, 1);

    /* LAYOUT TOKENS */
    --sidebar-width-collapsed: 72px;
    --sidebar-width-expanded: 240px;
    --main-margin-normal: 112px;
    --main-margin-expanded: 280px;
}

/* ===== DARK MODE - Midnight Vault ===== */
[data-theme="dark"] {
    /* BASES - Midnight Velvet Theme */
    --bg-body: #0A0C10;
    /* Richer Midnight Slate */
    --bg-glass: rgba(10, 12, 16, 0.75);
    --bg-card: #0F1116;
    --bg-panel: #0A0A0A;
    --bg-dock: rgba(10, 12, 16, 0.85);

    --border-subtle: rgba(255, 255, 255, 0.05);
    --text-primary: #FDFDFD;
    --text-secondary: #94A3B8;
    --text-muted: #475569;
    --border-light: rgba(255, 255, 255, 0.03);

    /* GLASSMORPHISM - Dark */
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-premium: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Dark mode selection adjustment */
[data-theme="dark"] *::selection {
    background: rgba(var(--accent-vantis-rgb), 0.3);
    color: var(--text-primary);
}

/* Dark mode scrollbar */
[data-theme="dark"] * {
    scrollbar-color: var(--text-muted) transparent;
}

/* ===== GLOBAL GLASS CLASSES ===== */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    transition: all 0.4s var(--easing-premium);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--easing-premium);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fail-safe: Show content if JS is slow or blocked for some reason */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

.shutter-open {
    animation: shutterOpen 1.2s var(--easing-premium) forwards;
}

@keyframes shutterOpen {
    0% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 100% 0 0);
    }
}

/* ===== GLOBAL RESET ===== */
* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--text-muted) transparent;
}

*::selection {
    background: rgba(var(--accent-vantis-rgb), 0.2);
    color: var(--text-primary);
}

/* Focus visible para accesibilidad (teclado) */
a:focus-visible,
button:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-arrow:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

/* ===== BODY ===== */
body {
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Fade-in animation */
    opacity: 0;
    animation: fadeInPage 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Texture Overlay: "Expensive Paper Feel" */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/img/noise.svg');
    background-repeat: repeat;
    opacity: 0.03;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 9998;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

vexia-sidebar {
    display: block;
}

.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

aside {
    /* VEXIA COCKPIT POSITIONING */
    position: fixed;
    top: 24px;
    left: 24px;
    width: var(--sidebar-width-collapsed);
    height: calc(100vh - 48px);

    /* LIQUID GLASSMORPHISM */
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-premium);
    box-shadow: var(--shadow-premium);

    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    /* CRITICAL: Prevent logo bleed */
    transition: all 0.5s var(--easing-premium);
    pointer-events: auto;
}

aside:hover {
    width: var(--sidebar-width-expanded);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

/* Sidebar expansion logic for content */
vexia-sidebar:hover~main {
    margin-left: var(--main-margin-expanded);
}

vexia-sidebar:hover~main::before {
    left: var(--main-margin-expanded);
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(20px)) {
    aside {
        background: rgba(241, 244, 246, 0.95);
    }
}

/* Logo superior: botón al index general */
.sidebar-logo-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sidebar-logo-link:hover .sidebar-header {
    background: rgba(0, 0, 0, 0.02);
}

/* Sidebar Header */
.sidebar-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.brand-box {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-logo-expanded {
    height: 28px;
    width: auto;
    max-width: 180px;
    display: none;
    opacity: 0;
    object-fit: contain;
}

aside:hover .brand-logo-expanded {
    display: block;
    opacity: 1;
}

.brand-logo-collapsed {
    height: 32px;
    width: auto;
    display: block;
    opacity: 1;
    object-fit: contain;
}

aside:hover .brand-logo-collapsed {
    display: none;
    opacity: 0;
}

/* Navigation Scroll Area */
.nav-scroll-area {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 0;
    scrollbar-width: none;
    /* Hide scrollbar in collapsed mode for aesthetics */
}

aside:hover .nav-scroll-area {
    scrollbar-width: thin;
}

.nav-scroll-area::-webkit-scrollbar {
    width: 0;
    /* Hide by default */
}

aside:hover .nav-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.nav-scroll-area::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 2px;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-label {
    padding: 24px 20px 8px;
    /* Slightly less padding */
    font-family: var(--font-code);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    /* Less letter spacing for fit */
    text-transform: uppercase;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: opacity 0.3s var(--easing-premium);
}

aside:hover .nav-label {
    opacity: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    /* Centered in collapsed state */
    margin: 2px 8px;
    /* Slightly tighter margins for better centering */
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s var(--easing-premium);
    position: relative;
    white-space: nowrap;
    min-height: 76px;
    /* Increased to accommodate Super-Max division icons */
    justify-content: center;
    /* Center the icon when collapsed */
}

aside:hover .nav-item {
    padding: 8px 16px;
    /* Restore padding on hover */
    margin: 2px 12px;
    justify-content: flex-start;
}

.nav-item:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

.nav-item.active {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    font-weight: 600;
}

/* Contenedor: mismo tamaño para todos los ítems */
.nav-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-code);
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 0;
    transition: all 0.3s ease;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Iconos SVG (Gateway, Solutions, etc.) - Matener equilibrados */
.nav-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    opacity: 0.8;
}

.nav-icon .division-icon {
    width: 58px;
    /* High-impact sizing for divisions only */
    height: 58px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.7);
    transition: all 0.3s var(--easing-premium);
}

.nav-item:hover .division-icon,
.nav-item.active .division-icon {
    filter: grayscale(0) opacity(1);
}

.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
    color: var(--text-primary);
}

aside:hover .nav-icon {
    margin-right: 15px;
}

.nav-text {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    font-size: 0.7rem;
    /* Slightly smaller for better fit */
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease 0.1s, max-width 0.3s ease;
}

aside:hover .nav-text {
    opacity: 1;
    max-width: 160px;
    /* Reduced to avoid pushing boundaries */
}

/* Division Icon Glows */
body.theme-vantis .nav-item.active .nav-icon {
    filter: drop-shadow(0 0 10px var(--accent-vantis));
    color: var(--accent-vantis);
}

body.theme-relth .nav-item.active .nav-icon {
    filter: drop-shadow(0 0 10px var(--accent-relth));
    color: var(--accent-relth);
}

body.theme-kora .nav-item.active .nav-icon {
    filter: drop-shadow(0 0 10px var(--accent-kora));
    color: var(--accent-kora);
}

body.theme-ops .nav-item.active .nav-icon {
    filter: drop-shadow(0 0 10px var(--accent-ops));
    color: var(--accent-ops);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-subtle);
}

.user-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    gap: 8px;
    transition: justify-content 0.3s ease;
}

aside:hover .user-badge {
    justify-content: flex-start;
    padding: 0 12px;
}

.sys-indicator {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.sys-text {
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: #10B981;
    font-weight: 600;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.1s, max-width 0.3s ease;
}

aside:hover .sys-text {
    opacity: 1;
    max-width: 150px;
}

/* ===== MAIN CONTENT AREA ===== */
main {
    flex: 1;
    margin-left: var(--main-margin-normal);
    margin-right: 24px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 40px;
    transition: margin-left 0.4s var(--easing-premium);
}

/* Dot Grid Background (subtle) */
main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 112px;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, var(--border-subtle) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: 0.15;
    z-index: 0;
}

/* ===== HEADER (HUD) ===== */
/* ===== VEXIA GLASS v2.0 HEADER (Modern Pill) ===== */
header {
    position: sticky;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 900;
    pointer-events: none;
    /* Let clicks pass through to content behind the gap */
    padding: 0 40px;
    display: flex;
    justify-content: center;
    transition: all 0.4s var(--easing-premium);
}

.floating-pill-header {
    pointer-events: auto;
    /* Re-enable clicks for the pill itself */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 64px;
    width: auto;
    min-width: 600px;
    padding: 0 32px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: var(--shadow-premium);
    transition: all 0.4s var(--easing-premium);
}

.floating-pill-header:hover {
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

.pill-path {
    font-family: var(--font-code);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.pill-metadata {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-code);
    font-size: 0.65rem;
    color: var(--text-muted);
}

.meta-hash {
    color: var(--text-secondary);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-code);
    font-size: 0.7rem;
}

.lang-link {
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s var(--easing-premium);
    padding: 4px 8px;
    border-radius: 8px;
}

.lang-link:hover,
.lang-link.active {
    color: var(--text-primary);
    background: rgba(var(--accent-vantis-rgb), 0.1);
}

/* ===== CONTENT WRAPPER ===== */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 40px;
    position: relative;
    z-index: 1;
}

/* ===== ARCHITECTURAL TYPOGRAPHY: MEGA-HEADERS ===== */
.mega-title {
    position: fixed;
    top: 15%;
    left: -5%;
    font-family: var(--font-head);
    font-size: clamp(150px, 25vw, 400px);
    font-weight: 900;
    color: var(--text-primary);
    opacity: 0.03;
    /* Barely visible for architectural depth */
    z-index: -1;
    pointer-events: none;
    letter-spacing: -0.05em;
    line-height: 0.8;
    white-space: nowrap;
    user-select: none;
}

/* Data-Type Ambient Code */
.data-type {
    position: absolute;
    font-family: var(--font-code);
    font-size: 9px;
    color: var(--text-muted);
    opacity: 0.15;
    z-index: 0;
    letter-spacing: 0.5px;
    line-height: 1.4;
    pointer-events: none;
    user-select: none;
}

/* ===== VEXIA GLASS v2.0 COMPONENTS ===== */

/* ===== VEXIA GLASS v2.0 CARDS (Tech Card) ===== */
.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.5s var(--easing-premium);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    box-shadow: var(--shadow-premium);
}

.tech-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

/* Glass Shine Effect on Hover */
.tech-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s var(--easing-premium);
    pointer-events: none;
}

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

/* Card Components */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-id {
    font-family: var(--font-code);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Skip to content link for accessibility - Hidden by default */
.skip-to-content {
    position: fixed;
    top: -100px;
    /* Safe distance */
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--bg-body);
    padding: 10px 20px;
    text-decoration: none;
    font-family: var(--font-code);
    font-size: 0.8rem;
    border-radius: 0 0 12px 12px;
    z-index: 10000;
    transition: top 0.4s var(--easing-premium);
}

.skip-to-content:focus {
    top: 0;
}

.card-icon {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    opacity: 0.8;
}

.card-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    /* Slightly smaller for balance */
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    line-height: 1.2;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.card-spec-list {
    margin-top: 16px;
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-action {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
}

.btn-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    /* For magnetic effect */
}

.btn-arrow:hover {
    background: var(--text-primary);
    color: #FFFFFF;
    border-color: var(--text-primary);
}

/* ===== PREMIUM ACTION BUTTONS v4.3 ===== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s var(--easing-premium);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-body);
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent-relth);
    color: var(--accent-relth);
    background: rgba(var(--accent-relth-rgb), 0.05);
    transform: translateY(-2px);
}

/* Theme-Specific Overrides */
body.theme-relth .btn-primary {
    background: var(--accent-relth);
    border-color: var(--accent-relth);
    color: #FFF;
}

body.theme-relth .btn-primary:hover {
    background: transparent;
    color: var(--accent-relth);
}

body.theme-vantis .btn-primary {
    background: var(--accent-vantis);
    border-color: var(--accent-vantis);
    color: #FFF;
}

body.theme-vantis .btn-primary:hover {
    background: transparent;
    color: var(--accent-vantis);
}

body.theme-kora .btn-primary {
    background: var(--accent-kora);
    border-color: var(--accent-kora);
    color: #FFF;
}

body.theme-kora .btn-primary:hover {
    background: transparent;
    color: var(--accent-kora);
}

/* ===== PRODUCT HERO (Sandbar Style) ===== */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 80vh;
    margin-bottom: 80px;
}

.product-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin: 0 0 30px 0;
}

.product-hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ===== VEXIA GLASS v2.0 - CORE LAYOUT & COMPONENTS ===== */

/* Consolidated Layout Logic handled at top or specific section */

/* 2. GRID SYSTEM v2.0 */
.grid-system,
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 40px 0 80px;
    position: relative;
    z-index: 1;
}

.bento-grid .wide {
    grid-column: span 2;
}

.bento-grid .tall {
    grid-row: span 2;
}

/* 3. SECTION DIVIDERS v2.0 */
.section-divider {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 80px 0 40px;
}

.divider-label {
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    white-space: nowrap;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-light), transparent);
}

/* 4. ANIMATIONS & INTERACTIVITY */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 5. DIVISION SPECIFIC OVERRIDES */
body.theme-kora .tech-card:hover {
    border-color: var(--accent-kora);
    box-shadow: 0 0 30px rgba(var(--accent-kora-rgb), 0.2);
}

body.theme-relth .tech-card:hover {
    border-color: var(--accent-relth);
    box-shadow: 0 0 30px rgba(var(--accent-relth-rgb), 0.2);
}

body.theme-vantis .tech-card:hover {
    border-color: var(--accent-vantis);
    box-shadow: 0 0 30px rgba(var(--accent-vantis-rgb), 0.2);
}

/* 6. RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    main {
        margin-left: 0;
        padding-top: 100px;
    }

    main::before {
        left: 0;
    }

    aside {
        top: 0;
        left: 0;
        width: 100%;
        height: 64px;
        border-radius: 0;
        border-width: 0 0 1px 0;
    }

    aside:hover {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .grid-system {
        grid-template-columns: 1fr;
    }

}

/* ===== VEXIA FOOTER v2.0 ===== */
.vexia-footer {
    margin-top: 100px;
    padding: 100px 0 60px;
    border-top: 1px solid var(--border-light);
    background: linear-gradient(to bottom, transparent, rgba(var(--accent-vantis-rgb), 0.03));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col-title {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-transform: uppercase;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-code);
    font-size: 0.8rem;
    transition: all 0.3s var(--easing-premium);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(10px);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 32px;
}

.footer-legal-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* 7. SCROLL PROGRESS */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-vantis), var(--accent-kora));
    z-index: 10001;
    transition: width 0.1s ease-out;
}

/* ===== THEME SWITCHER - Vexia Orbit v4.2 ===== */
.sidebar-footer {
    padding: 24px 0;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.theme-switch {
    width: 52px;
    height: 28px;
    border-radius: 20px;
    background: rgba(var(--bg-card-rgb, 15, 17, 22), 0.3);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
    cursor: pointer;
    position: relative;
    padding: 3px;
    transition: all 0.4s var(--easing-premium);
    box-shadow: none;
    overflow: hidden;
}

.theme-switch:hover {
    border-color: rgba(var(--accent-vantis-rgb), 0.5);
    background: rgba(var(--bg-card-rgb, 15, 17, 22), 0.5);
}

.switch-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch-orbit {
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.switch-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    color: var(--text-muted);
    transition: color 0.4s var(--easing-premium);
}

/* Light Theme Position */
.switch-orbit {
    transform: translateX(0);
}

/* Dark Theme Position */
[data-theme="dark"] .switch-orbit {
    transform: translateX(24px);
    background: var(--accent-vantis);
    box-shadow: 0 0 10px rgba(var(--accent-vantis-rgb), 0.3);
}

[data-theme="dark"] .switch-icon.moon {
    color: var(--text-primary);
}

[data-theme="dark"] .switch-icon.sun {
    color: var(--text-muted);
}

/* ===== ACQUISITION TIMELINE ===== */
.acquisition-timeline {
    margin: 60px 0;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-vantis), var(--accent-kora));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 48px;
    height: 48px;
    background: var(--accent-vantis);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    margin: 0 32px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: all 0.4s var(--easing-premium);
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

.timeline-content h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.timeline-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-tag {
    background: rgba(var(--accent-vantis-rgb), 0.1);
    color: var(--accent-vantis);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--font-code);
    font-weight: 600;
}

/* ===== EVALUATION CRITERIA ===== */
.evaluation-criteria {
    margin: 60px 0;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.criteria-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: all 0.4s var(--easing-premium);
    height: 100%;
}

.criteria-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

.criteria-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.criteria-card h4 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.criteria-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.criteria-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.criteria-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-vantis);
    font-weight: bold;
}

/* ===== PRIORITY SECTORS ===== */
.priority-sectors {
    margin: 60px 0;
}

.priority-sectors .glass-card {
    padding: 48px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
}

.priority-sectors h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.sectors-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.sector-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 24px;
    transition: all 0.4s var(--easing-premium);
    position: relative;
}

.sector-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

.sector-item.priority-high:hover {
    border-color: rgba(var(--accent-relth-rgb), 0.3);
}

.sector-item.priority-medium:hover {
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

.sector-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sector-icon {
    font-size: 1.5rem;
}

.sector-header h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    flex: 1;
}

.priority-badge {
    background: var(--accent-vantis);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: var(--font-code);
    font-weight: 600;
    text-transform: uppercase;
}

.sector-item.priority-high .priority-badge {
    background: var(--accent-relth);
}

.sector-item.priority-medium .priority-badge {
    background: var(--accent-kora);
}

.sector-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== PROCESS INITIATION ===== */
.process-initiation {
    margin: 60px 0;
}

.process-initiation .glass-card {
    padding: 48px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
}

.process-initiation h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.process-initiation > .glass-card > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.initiation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.option-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: all 0.4s var(--easing-premium);
    position: relative;
    text-align: center;
}

.option-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

.option-card.featured {
    border-color: var(--accent-vantis);
    background: linear-gradient(135deg, rgba(var(--accent-vantis-rgb), 0.02), rgba(var(--accent-kora-rgb), 0.02));
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-vantis);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: var(--font-code);
    font-weight: 600;
    text-transform: uppercase;
}

.option-card h4 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.option-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.option-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.option-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.option-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-vantis);
    font-weight: bold;
}

.option-card .btn-primary,
.option-card .btn-secondary {
    width: 100%;
    justify-content: center;
}

/* ===== INVESTIGATION PROCESS ===== */
.investigation-process {
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.investigation-process::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: 
        radial-gradient(circle at 20% 80%, rgba(197, 160, 40, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(216, 27, 96, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(98, 0, 234, 0.05) 0%, transparent 50%);
    animation: investigationGlow 8s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes investigationGlow {
    0% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.6; transform: scale(1.1) rotate(180deg); }
    100% { opacity: 0.3; transform: scale(1) rotate(360deg); }
}

.investigation-process .glass-card {
    padding: 48px;
    background: linear-gradient(135deg, 
        rgba(10, 12, 16, 0.9) 0%, 
        rgba(197, 160, 40, 0.1) 50%, 
        rgba(216, 27, 96, 0.1) 100%);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-image: linear-gradient(45deg, var(--accent-vantis), var(--accent-relth), var(--accent-kora)) 1;
    border-radius: 20px;
    position: relative;
    box-shadow: 
        0 0 60px rgba(197, 160, 40, 0.3),
        0 0 120px rgba(216, 27, 96, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.investigation-process .glass-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--accent-vantis), 
        var(--accent-relth), 
        var(--accent-kora), 
        var(--accent-vantis));
    border-radius: 20px;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.investigation-process h3 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    text-align: center;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(197, 160, 40, 0.8),
        0 0 40px rgba(216, 27, 96, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

.investigation-process h3::after {
    content: '🔍';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 2rem;
    animation: iconSpin 3s ease-in-out infinite;
}

@keyframes iconSpin {
    0%, 100% { transform: rotate(-15deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.2); }
}

.process-intro {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.process-intro::before,
.process-intro::after {
    content: '⚡';
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: lightning 2s ease-in-out infinite;
}

.process-intro::before {
    top: -10px;
    left: 20%;
}

.process-intro::after {
    top: -10px;
    right: 20%;
    animation-delay: 1s;
}

@keyframes lightning {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.5); }
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-vantis), 
        var(--accent-relth), 
        var(--accent-kora), 
        transparent);
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0.6;
    animation: linePulse 3s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { opacity: 0.3; width: 150%; }
    50% { opacity: 0.8; width: 200%; }
}

.process-item {
    padding: 40px 32px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(197, 160, 40, 0.05) 50%, 
        rgba(216, 27, 96, 0.05) 100%);
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(197, 160, 40, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.process-item:hover::before {
    left: 100%;
}

.process-item:hover {
    transform: translateY(-15px) scale(1.05) rotateX(5deg);
    box-shadow: 
        0 20px 60px rgba(197, 160, 40, 0.4),
        0 0 50px rgba(216, 27, 96, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.2);
    border-color: var(--accent-vantis);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(197, 160, 40, 0.15) 50%, 
        rgba(216, 27, 96, 0.15) 100%);
}

.process-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 20px currentColor);
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.process-item h4 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.process-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.process-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, 
        rgba(197, 160, 40, 0.2) 0%, 
        rgba(216, 27, 96, 0.2) 50%, 
        rgba(98, 0, 234, 0.2) 100%);
    backdrop-filter: blur(15px) saturate(1.3);
    -webkit-backdrop-filter: blur(15px) saturate(1.3);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
}

.process-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        var(--accent-vantis),
        var(--accent-relth),
        var(--accent-kora),
        var(--accent-vantis)
    );
    animation: borderRotate 6s linear infinite;
    opacity: 0.3;
}

.process-cta h4 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.process-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.8;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.process-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(45deg, var(--accent-vantis), var(--accent-relth));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
    box-shadow: 
        0 8px 25px rgba(197, 160, 40, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.process-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.6s ease;
}

.process-cta .btn-primary:hover::before {
    left: 100%;
}

.process-cta .btn-primary:hover {
    background: linear-gradient(45deg, var(--accent-relth), var(--accent-kora));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(216, 27, 96, 0.6),
        0 0 30px rgba(255, 255, 255, 0.5),
        inset 0 0 25px rgba(255, 255, 255, 0.4);
}

/* ===== VERIFICATION PROCESS ===== */
.verification-process {
    margin: 60px 0;
}

.verification-process .glass-card {
    padding: 48px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
}

.verification-process h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-primary);
}

.process-steps {
    display: grid;
    gap: 32px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    transition: all 0.4s var(--easing-premium);
}

.step:hover {
    transform: translateX(8px);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent-vantis);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== VEXIA FORM ===== */
.contact-form-section {
    margin: 60px 0;
}

.contact-form-section .glass-card {
    padding: 48px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
}

.vexia-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s var(--easing-premium);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-vantis);
    box-shadow: 0 0 0 3px rgba(var(--accent-vantis-rgb), 0.1);
}

.checkbox-group {
    display: grid;
    gap: 16px;
}

.checkbox-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
}

.checkbox-item input[type="checkbox"] {
    width: auto !important;
    margin: 0;
}

.checkbox-item span {
    color: var(--text-primary);
}

.form-actions {
    text-align: center;
    margin-top: 48px;
}

.form-note {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

.contact-method.emergency {
    background: linear-gradient(135deg, rgba(var(--accent-relth-rgb), 0.1), rgba(var(--accent-relth-rgb), 0.05));
    border-color: var(--accent-relth);
}

.contact-method.emergency:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(var(--accent-relth-rgb), 0.3);
    border-color: var(--accent-relth);
}

.contact-method.priority {
    background: linear-gradient(135deg, rgba(var(--accent-vantis-rgb), 0.1), rgba(var(--accent-vantis-rgb), 0.05));
    border-color: var(--accent-vantis);
}

.contact-method.priority:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(var(--accent-vantis-rgb), 0.3);
    border-color: var(--accent-vantis);
}

.emergency-badge,
.priority-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-relth);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: var(--font-code);
    font-weight: 600;
    text-transform: uppercase;
}

.priority-badge {
    background: var(--accent-vantis);
}

/* ===== PARTNER LEVELS ===== */
.partner-levels {
    margin: 60px 0;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: all 0.4s var(--easing-premium);
    position: relative;
}

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

.partner-card.gold {
    border-color: var(--accent-vantis);
    background: linear-gradient(135deg, rgba(var(--accent-vantis-rgb), 0.02), transparent);
}

.partner-card.platinum {
    border-color: var(--accent-kora);
    background: linear-gradient(135deg, rgba(var(--accent-kora-rgb), 0.02), transparent);
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.partner-icon {
    font-size: 2.5rem;
}

.partner-header h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
    flex: 1;
}

.partner-badge {
    background: var(--text-muted);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: var(--font-code);
    font-weight: 600;
    text-transform: uppercase;
}

.partner-card.gold .partner-badge {
    background: var(--accent-vantis);
}

.partner-card.platinum .partner-badge {
    background: var(--accent-kora);
}

.partner-benefits,
.partner-requirements {
    margin-bottom: 24px;
}

.partner-benefits h4,
.partner-requirements h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.partner-benefits ul,
.partner-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-benefits li,
.partner-requirements li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.partner-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-vantis);
    font-weight: bold;
}

.partner-requirements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-relth);
    font-weight: bold;
}

/* ===== ELIGIBILITY CRITERIA ===== */
.eligibility-criteria {
    margin: 60px 0;
}

.eligibility-criteria .criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.eligibility-criteria .criteria-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 24px;
    transition: all 0.4s var(--easing-premium);
    position: relative;
}

.eligibility-criteria .criteria-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

.eligibility-criteria .criteria-card.priority {
    border-color: var(--accent-vantis);
    background: linear-gradient(135deg, rgba(var(--accent-vantis-rgb), 0.05), transparent);
}

.eligibility-criteria .criteria-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.eligibility-criteria .criteria-card h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.eligibility-criteria .criteria-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ===== PRODUCT CONFIGURATOR ===== */
.product-configurator {
    margin: 60px 0;
}

.product-configurator .glass-card {
    padding: 48px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
}

.product-configurator h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.configurator-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== PRODUCT SPECS ===== */
.product-specs {
    margin: 60px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.spec-category {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: all 0.4s var(--easing-premium);
    height: 100%;
}

.spec-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-relth-rgb), 0.3);
}

.spec-category h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-relth);
}

.spec-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-category li {
    padding: 10px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
    border-bottom: 1px solid var(--border-subtle);
}

.spec-category li:last-child {
    border-bottom: none;
}

.spec-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-relth);
    font-weight: bold;
}

/* ===== DEVICE MOCKUP ===== */
.device-mockup {
    width: 300px;
    height: 400px;
    margin: 0 auto;
    perspective: 1000px;
}

.device-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    border: 2px solid #333;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(5deg) rotateY(-5deg); }
    50% { transform: translateY(-10px) rotateX(5deg) rotateY(-5deg); }
}

.device-screen {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.screen-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1e);
}

.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    color: #fff;
    font-family: var(--font-code);
    font-size: 0.8rem;
}

.key-interface {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.key-led {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #00ff88, #00cc66);
    border-radius: 50%;
    box-shadow: 0 0 20px #00ff88;
    animation: pulse 2s ease-in-out infinite;
}

.key-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #444, #222);
    border-radius: 50%;
    border: 2px solid #555;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.key-usb {
    width: 40px;
    height: 15px;
    background: linear-gradient(90deg, #c0c0c0, #ddd);
    border-radius: 3px;
}

/* ===== GOVERNMENT QUESTIONNAIRE ===== */
.government-questionnaire {
    margin: 60px 0;
}

.government-questionnaire .glass-card {
    padding: 48px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
}

.government-questionnaire h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.questionnaire-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== DOCUMENTATION REQUIREMENTS ===== */
.documentation-requirements {
    margin: 60px 0;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.requirement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 32px;
    transition: all 0.4s var(--easing-premium);
    height: 100%;
}

.requirement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

.requirement-card h4 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.requirement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-card li {
    padding: 10px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
    border-bottom: 1px solid var(--border-subtle);
}

.requirement-card li:last-child {
    border-bottom: none;
}

.requirement-card li::before {
    content: '📋';
    position: absolute;
    left: 0;
    color: var(--accent-vantis);
    font-size: 0.9rem;
}

/* ===== GOVERNMENT PROCESS STEPS ===== */
.government-process {
    margin: 60px 0;
}

.government-process .glass-card {
    padding: 48px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
}

.government-process h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    transition: all 0.4s var(--easing-premium);
    position: relative;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-vantis);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 24px;
}

.step-content h4 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info {
    margin: 60px 0;
}

.contact-info .glass-card {
    padding: 48px;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
}

.contact-info h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.contact-info > .glass-card > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    transition: all 0.4s var(--easing-premium);
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-vantis-rgb), 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-details a {
    color: var(--accent-vantis);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s var(--easing-premium);
}

.contact-details a:hover {
    color: var(--accent-relth);
}

.contact-details small {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
    font-family: var(--font-code);
}

.contact-option .contact-details {
    margin: 16px 0;
    text-align: left;
}

.contact-option .contact-details a {
    display: block;
    color: var(--accent-vantis);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 4px;
    transition: color 0.3s var(--easing-premium);
}

.contact-option .contact-details a:hover {
    color: var(--accent-relth);
}

.contact-option .btn-primary,
.contact-option .btn-secondary {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

/* ===== CONTACT PREVIEW SECTION ===== */
.contact-preview {
    margin: 60px 0;
}

.contact-preview .glass-card {
    padding: 48px;
    text-align: center;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
}

.contact-preview h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-preview p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.contact-option {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    transition: all 0.4s var(--easing-premium);
    text-align: left;
}

.contact-option:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
    border-color: rgba(var(--accent-relth-rgb), 0.3);
}

.contact-option h4 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-option p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-option .btn-primary,
.contact-option .btn-secondary {
    width: 100%;
    justify-content: center;
}

/* END OF VEXIA GLASS v2.0 STYLESHEET */