/* =========================================
   COMPUGRAF 2026 - MINIMALIST AUTHENTIC
   ========================================= */

/* --- CSS Variables & Design Tokens --- */
/* --- Global Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-primary-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--color-accent), #e6ae00);
    border-radius: 5px;
    border: 2px solid var(--color-primary-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--legal-accent, #ffc107) var(--color-primary-dark);
}

:root {
    /* Brand Colors extracted from original */
    --color-primary-dark: #001b3a;
    /* Deep Navy */
    --color-primary: #004a8e;
    /* Royal Blue */
    --color-accent: #ffc107;
    /* Golden Yellow */

    /* Neutral Palette for 2026 Dark Mode */
    --bg-base: #050d1a;
    --bg-surface: rgba(10, 25, 47, 0.6);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    background-image:
        radial-gradient(circle at 2px 2px, rgba(0, 74, 142, 0.15) 1px, transparent 0);
    background-size: 32px 32px;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.05) 50%);
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.3;
}

/* --- Animated Background Effects --- */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(255, 193, 7, 0.15);
    /* Accent tint */
    bottom: -100px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

/* --- Layout & Typography --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.accent-dot {
    color: var(--color-accent);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

/* --- Glassmorphism Utilities --- */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--color-accent);
    border-left: 2px solid var(--color-accent);
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.glass-panel:hover::before {
    opacity: 1;
    width: 60px;
    height: 60px;
}

/* --- Header & Cyber Floating Navigation --- */
.glass-header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 36px);
    max-width: 1260px;
    z-index: 1000;
    background: rgba(5, 13, 26, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 240, 255, 0.22);
    border-radius: 100px;
    padding: 0.6rem 1.6rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(0, 133, 178, 0.15);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-header.scrolled {
    top: 10px;
    background: rgba(3, 8, 18, 0.94);
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 133, 178, 0.25);
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    justify-self: start;
    flex-shrink: 0;
}

.logo-symbol {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 133, 178, 0.6));
    transition: var(--transition-smooth);
}

.header-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.brand-tag {
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    color: #38bdf8;
    text-transform: uppercase;
    font-weight: 700;
}

.cyber-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.25rem 0.65rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.5px;
    margin-left: 0.4rem;
}

.cyber-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: cyber-pulse 2s infinite ease-in-out;
}

@keyframes cyber-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}



/* --- Main Navigation (Centered & Cohesive) --- */
.main-nav {
    justify-self: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
    padding: 0.42rem 0.85rem;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav a.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.main-nav a.nav-link.active {
    color: #38bdf8;
    background: rgba(0, 133, 178, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

/* --- Cyber Dropdown / Mega-Menu --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
    color: #cbd5e1;
    padding: 0.42rem 0.85rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-dropdown-btn svg.dropdown-chevron {
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown-btn:hover,
.nav-dropdown.active .nav-dropdown-btn {
    color: #38bdf8;
    background: rgba(0, 133, 178, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.nav-dropdown:hover svg.dropdown-chevron {
    transform: rotate(180deg);
}

.cyber-mega-menu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 140%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 620px;
    background: rgba(5, 13, 26, 0.95);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 133, 178, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.nav-dropdown:hover .cyber-mega-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.cyber-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.25s ease;
}

.cyber-menu-item:hover {
    background: rgba(0, 133, 178, 0.12);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.cyber-menu-icon {
    font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.cyber-menu-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.cyber-menu-desc {
    display: block;
    font-size: 0.74rem;
    color: #94a3b8;
    line-height: 1.35;
}

.cyber-menu-footer-item {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 74, 142, 0.25) 0%, rgba(16, 185, 129, 0.15) 100%);
    border: 1px dashed rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #cbd5e1;
}

/* --- Header Actions --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: end;
    flex-shrink: 0;
}

.btn-nav-host {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    background: rgba(147, 51, 234, 0.12);
    border: 1px solid rgba(147, 51, 234, 0.4);
    color: #c084fc;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-nav-host:hover {
    background: rgba(147, 51, 234, 0.25);
    border-color: #c084fc;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.35);
}

/* Botón de Usuario para Portal Host (Área Clientes) */
.cyber-user-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(192, 132, 252, 0.45);
    color: #c084fc;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
    flex-shrink: 0;
}

.cyber-user-btn:hover {
    background: rgba(147, 51, 234, 0.35);
    border-color: #d8b4fe;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(192, 132, 252, 0.55);
    transform: translateY(-2px) scale(1.05);
}

.cyber-user-btn::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    border: 1.5px solid #050d1a;
    box-shadow: 0 0 6px #10b981;
}

.btn-nav-quote {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #0085B2 0%, #004a8e 100%);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 133, 178, 0.35);
    transition: all 0.25s ease;
}

.btn-nav-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 133, 178, 0.6);
    background: linear-gradient(135deg, #0099cc 0%, #005bb5 100%);
}

.nav-mobile-btn {
    display: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    background: #ffca28;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-tertiary {
    background: transparent;
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-tertiary:hover {
    color: #fff;
    transform: translateX(5px);
}

.btn-outline-accent {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline-accent:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.header-actions {
    margin-left: auto;
}

@media (max-width: 992px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .glass-header {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 20px;
        padding: 0.6rem 1rem;
    }

    .cyber-status-pill {
        display: none;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        background: rgba(5, 13, 26, 0.98);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        border: 1px solid rgba(0, 240, 255, 0.25);
        border-radius: 20px;
        padding: 1.2rem;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cyber-mega-menu {
        position: static;
        transform: none;
        width: 100%;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.5rem 0;
        grid-template-columns: 1fr;
    }

    .cyber-menu-footer-item {
        grid-column: span 1;
    }

    .header-actions {
        margin-left: auto;
        margin-right: 8px;
        order: 2;
    }

    .header-actions .btn-nav-host {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(0, 240, 255, 0.25);
        border-radius: 10px;
        padding: 0.45rem;
        color: #38bdf8;
        cursor: pointer;
        order: 3;
    }
}


/* --- Hero Section Fitted to Screen 1 (Above the Fold) --- */
.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 84px;
    padding-bottom: 16px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 105px;
        padding-bottom: 3.5rem;
        overflow: visible;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    width: 100%;
    max-height: calc(100vh - 86px);
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-height: none;
    }
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: var(--color-accent);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Courier New', Courier, monospace;
}

.badge::before {
    content: '[ ';
}

.badge::after {
    content: ' ]';
}

.hero-title {
    font-size: clamp(1.42rem, 1.95vw, 2.05rem);
    line-height: 1.13;
    color: #fff;
    margin-bottom: 0.42rem;
    letter-spacing: -0.5px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 0.85rem;
    line-height: 1.40;
    color: var(--text-muted);
    margin-bottom: 0.48rem;
    max-width: 95%;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.32rem;
}

.hero-actions .btn {
    padding: 0.48rem 1.15rem;
    font-size: 0.83rem;
}

/* Animación de Radar SVG Subida y Alineada */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    margin-top: -38px; /* Sube la animación visual verticalmente */
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 410px;
    height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.radar-chart {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.slide-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: -4px;
    width: 100%;
    z-index: 10;
}

.slide-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slide-dot.active {
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
    transform: scale(1.2);
}

/* Maturity & Governance Radar Chart Styling */
.maturity-visualization {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(0, 74, 142, 0.2));
    animation: floatingChart 6s ease-in-out infinite;
}

.radar-chart {
    width: 100%;
    height: auto;
    overflow: visible;
}

.grid-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
}

.axis-line {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
}

.area-objective {
    fill: var(--color-primary);
    stroke: var(--color-primary);
    stroke-width: 2;
    fill-opacity: 0.3;
}

.area-current {
    fill: var(--color-accent);
    stroke: var(--color-accent);
    stroke-width: 3;
    fill-opacity: 0.2;
}

.chart-label {
    fill: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    text-anchor: middle;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
}

.score-val {
    fill: #fff;
    font-size: 14px;
    font-weight: 800;
    text-anchor: middle;
    font-family: var(--font-sans);
    filter: drop-shadow(0 0 5px var(--color-accent));
    animation: pulseScore 3s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

.legend-text {
    fill: var(--text-muted);
    font-size: 10px;
    font-family: var(--font-sans);
}

.legend-color.current {
    fill: var(--color-accent);
}

.legend-color.objective {
    fill: var(--color-primary);
}

@keyframes growChart {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatingChart {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulseScore {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.radar-chart {
    animation: growChart 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    width: 100%;
    height: auto;
    max-width: 450px;
    filter: drop-shadow(0 0 10px rgba(0, 74, 142, 0.2));
}

.radar-scan-ring {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 0.5px;
    opacity: 0.15;
    animation: radarScan 4s linear infinite;
}

.radar-sweep-line {
    stroke: var(--color-accent);
    stroke-width: 1.5px;
    opacity: 0.4;
    transform-origin: 200px 200px;
    animation: radarSweep 6s linear infinite;
}

@keyframes radarScan {
    0% {
        r: 0;
        opacity: 0.6;
    }

    100% {
        r: 180;
        opacity: 0;
    }
}

@keyframes radarSweep {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.score-node circle {
    fill: var(--color-accent);
    filter: blur(2px);
    animation: nodePulse 2s infinite ease-in-out;
}

@keyframes nodePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.8);
        opacity: 1;
    }
}




/* --- Section Headers --- */
.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-subtitle {
    color: var(--color-accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
}

/* --- Somos Section --- */
.somos-card {
    padding: 4rem;
    font-size: 1.1rem;
}

.somos-card strong {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-subtle);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 74, 142, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.service-card h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Clients Marquee --- */
.clients {
    padding-bottom: 6rem;
}

.clients-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll 100s linear infinite;
    gap: 4rem;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.client-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 2rem;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.client-logo:hover {
    color: var(--color-accent);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2rem));
    }

    /* Shift by half to seamlessly loop */
}

/* --- Footer Tecnológico / Ecosistema Compugraf 2026 --- */
.footer {
    background: #020612;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 133, 178, 0.14) 0%, transparent 60%),
        radial-gradient(circle at 90% 100%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
    border-top: 1px solid rgba(56, 189, 248, 0.22);
    padding: 5rem 0 2.5rem;
    position: relative;
    color: #94a3b8;
    scroll-margin-top: 90px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 133, 178, 0.3) 20%, #38bdf8 50%, rgba(16, 185, 129, 0.3) 80%, transparent 100%);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
    align-items: start;
}

/* Columna Marca e Identidad */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: var(--transition-smooth);
}

.footer-brand-link:hover {
    transform: translateY(-1px);
}

.footer-brand-logo {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(0, 133, 178, 0.6));
    flex-shrink: 0;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ffffff;
    font-family: var(--font-heading, 'Outfit', sans-serif);
}

.footer-brand-tag {
    font-size: 0.64rem;
    letter-spacing: 1.6px;
    color: #38bdf8;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-brand-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 360px;
}

.footer-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    width: fit-content;
    font-weight: 500;
}

.footer-badge .dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
}

/* Encabezados de Columna */
.footer-heading {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.35rem;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    display: flex;
    align-items: center;
    gap: 8px;
}

.heading-line {
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    border-radius: 2px;
    display: inline-block;
}

/* Listas de Enlaces */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-item-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.footer-item-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-icon-pill {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.footer-item-link:hover .footer-icon-pill {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.badge-mini {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 999px;
    padding: 0.05rem 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    margin-left: 4px;
}

.link-arrow {
    opacity: 0.6;
    color: #38bdf8;
    transition: all 0.2s ease;
}

.footer-item-link:hover .link-arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* Columna de Contacto */
.footer-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.contact-info-card:hover {
    background: rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.contact-card-icon {
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.contact-card-text strong {
    color: #f1f5f9;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}

.contact-card-text span {
    color: #94a3b8;
    font-size: 0.78rem;
}

.contact-info-card:hover .contact-card-text span {
    color: #38bdf8;
}

/* Botón WhatsApp CTA */
.btn-footer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(16, 185, 129, 0.25) 100%);
    border: 1px solid rgba(37, 211, 102, 0.45);
    color: #4ade80;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-footer-cta:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.35) 0%, rgba(16, 185, 129, 0.4) 100%);
    border-color: #4ade80;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

/* Barra de Telemetría y Métricas */
.footer-metrics-container {
    margin-bottom: 2rem;
}

.footer-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.78rem;
    color: #94a3b8;
    font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
    background: rgba(10, 19, 36, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(56, 189, 248, 0.05);
}

.metric-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.metric-live {
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.5px;
}

.cyber-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
    animation: cyber-pulse 2s infinite ease-in-out;
}

#totalVisits {
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.85rem;
}

.metric-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0.18rem 0.6rem;
    font-size: 0.72rem;
    color: #cbd5e1;
}

.metric-status {
    color: #34d399;
    font-weight: 600;
}

.status-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
    animation: cyber-pulse 2s infinite ease-in-out;
}

/* Barra Inferior Legal */
.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: #64748b;
}

.footer-copyright strong {
    color: #94a3b8;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.8rem;
}

.footer-legal-links a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.6rem;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-col-brand {
        align-items: center;
        text-align: center;
    }
    .footer-brand-desc {
        text-align: center;
    }
    .footer-trust-badges {
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    .footer-legal-links {
        justify-content: center;
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-desc {
        margin: 0 auto 2.5rem;
    }

    .maturity-visualization {
        margin-top: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 13, 26, 0.98);
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.5rem 2rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(20px);
        z-index: 99;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.2rem;
    }

    .nav-dropdown-content {
        position: static !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-left: 2px solid var(--color-accent) !important;
        margin-top: 0.5rem;
        padding-left: 1rem;
    }

    .mobile-toggle {
        display: block;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .somos-card {
        padding: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* --- Chat Widget --- */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-accent);
    position: relative;
    transition: var(--transition-smooth);
}

.chat-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.chat-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0;
    animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 32px);
    max-height: 500px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.chat-name {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.chat-status {
    font-size: 0.75rem;
    color: var(--color-accent);
}

.chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.chat-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.chat-privacy-note {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-align: center;
}

.chat-privacy-note a {
    color: var(--color-accent);
    text-decoration: underline;
}

.chat-input-wrapper {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.chat-input-wrapper:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.1);
}

.chat-input-wrapper input {
    background: none;
    border: none;
    color: #fff;
    flex-grow: 1;
    font-size: 0.9rem;
    padding: 0.5rem;
    outline: none;
}

.chat-input-wrapper button {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.chat-input-wrapper button:hover {
    transform: scale(1.05);
    background: #fff;
}


.chat-message {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 85%;
}

.chat-message.bot {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-bottom-left-radius: 2px;
}

.chat-message.user {
    background: var(--color-primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.chat-option {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: left;
    transition: var(--transition-smooth);
}

.chat-option:hover {
    border-color: var(--color-accent);
    background: rgba(255, 193, 7, 0.05);
}

.chat-wa-btn {
    background: #25d366;
    color: #fff;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 0.5rem;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero {
        min-height: auto;
        padding-top: 10rem;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .maturity-visualization {
        margin-top: 3rem;
    }

    .maturity-visualization svg {
        max-width: 320px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .logo-symbol {
        height: 50px;
    }

    .logo-text {
        height: 35px;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-metrics {
        flex-direction: column;
        gap: 0.75rem;
        border-radius: 20px;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .logo-symbol {
        height: 40px;
    }

    .logo-text {
        display: none;
    }

    /* Hide text to make room for the button */

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-banner {
        width: calc(100% - 30px);
        left: 15px;
        bottom: 15px;
        padding: 1.25rem;
    }

    .chat-window {
        width: calc(100vw - 40px);
        right: -20px;
        bottom: 80px;
    }
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 420px;
    max-width: calc(100vw - 40px);
    z-index: 2000;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

@media (max-width: 480px) {
    .cookie-banner {
        width: calc(100vw - 30px) !important;
        left: 15px !important;
        bottom: 15px !important;
        padding: 1.25rem !important;
    }
}

.cookie-banner.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #fff;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

/* --- Dashboard Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 13, 26, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--bg-base);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(0, 27, 58, 0.5);
}

.modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-body {
    flex-grow: 1;
    padding: 0;
    overflow: hidden;
}

@keyframes pulse-danger {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

#open-dashboard-modal:hover {
    transform: scale(1.1);
}

/* --- Chat Animations --- */
.thinking {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: dotPulse 1.4s infinite;
    display: inline-block;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes typingEffect {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* --- Toggle Switch for Cookie Modal --- */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--color-accent);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--color-accent);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* --- Simulador Ley de Ciberseguridad --- */
.sim-q {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sim-q:last-of-type {
    border-bottom: none;
}

.sim-q p {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 500;
}

.sim-options {
    display: flex;
    gap: 1rem;
}

.sim-btn {
    flex: 1;
    padding: 0.7rem 1rem;
    background: rgba(10, 20, 35, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sim-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.sim-btn.selected[data-val="1"] {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-color: #22c55e;
    color: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15), inset 0 0 0 1px #22c55e;
    transform: translateY(-2px);
}

.sim-btn.selected[data-val="0"] {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15), inset 0 0 0 1px #ef4444;
    transform: translateY(-2px);
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s ease-out, stroke 0.5s;
}

.percentage {
    fill: #fff;
    font-family: var(--font-sans);
    font-size: 0.5em;
    text-anchor: middle;
    font-weight: bold;
}

/* --- Ransomware Simulator --- */
.glitch-text {
    position: relative;
    animation: glitch 1s linear infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: "¡SISTEMA COMPROMETIDO!";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 #00ff00;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 #0000ff;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 86px, 0);
    }

    20% {
        clip: rect(32px, 9999px, 10px, 0);
    }

    40% {
        clip: rect(83px, 9999px, 60px, 0);
    }

    60% {
        clip: rect(98px, 9999px, 16px, 0);
    }

    80% {
        clip: rect(54px, 9999px, 73px, 0);
    }

    100% {
        clip: rect(23px, 9999px, 45px, 0);
    }
}

.blink-text {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.2));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
}

.glass-shatter {
    animation: shatter 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

@keyframes shatter {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: brightness(1);
    }

    50% {
        transform: scale(1.1) rotate(2deg);
        filter: brightness(2) contrast(2) saturate(2);
    }

    100% {
        transform: scale(0);
        opacity: 0;
        filter: blur(10px);
    }
}

@keyframes shield-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   CURSOR: FLECHA DORADA ELEGANTE (ESTILO WINDOWS)
   ============================================================ */

/* Cursor normal: Flecha semi-transparente dorada */
html,
body {
    cursor: default;
    /* Fallback IE */
    cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJyZ2JhKDI1NSwxOTMsNywwLjM1KSIgc3Ryb2tlPSIjZmZjMTA3IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTIgMiBMMiAxNyBMNSAxNCBMOCAyMSBMMTEgMjAgTDggMTMgTDEzIDEzIFoiLz48L3N2Zz4=") 2 2, default !important;
}

/* Cursor interactivo (hover): Flecha dorada más sólida y brillante */
a,
button,
[role="button"],
input,
select,
textarea,
label,
.service-card,
.chat-option,
.slide-dot,
.client-logo {
    cursor: pointer;
    /* Fallback IE */
    cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSJyZ2JhKDI1NSwxOTMsNywwLjgpIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMiAyIEwyIDE3IEw1IDE0IEw4IDIxIEwxMSAyMCBMOCAxMyBMMTMgMTMgWiIvPjwvc3ZnPg==") 2 2, pointer !important;
}

/* ============================================================
   PRINT STYLES (PDF EXPORT)
   ============================================================ */
@media print {
    body {
        background: #fff;
        color: #000;
    }

    body * {
        visibility: hidden;
    }

    /* Solo mostrar el contenedor del escáner y sus hijos */
    #escanner,
    #escanner * {
        visibility: visible;
    }

    #escanner {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    /* Ocultar botones y elementos que no van en el PDF */
    .no-print,
    #scanner-input-group,
    #btn-scan,
    #btn-show-scanner-details {
        display: none !important;
    }

    /* Ajustar estilos del panel para que se vea bien en papel */
    .glass-panel {
        background: none !important;
        border: 2px solid #ccc !important;
        box-shadow: none !important;
        color: #000 !important;
    }

    #scanner-report-danger h3,
    #scanner-report-success h3 {
        color: #000 !important;
    }

    #scanner-report-danger p,
    #scanner-report-success p {
        color: #333 !important;
    }
}

/* --- Scanner Mini Video Additions --- */
.mini-radar-spin {
    animation: radarSweep 4s linear infinite;
}
.mini-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
    animation: scanline 3s linear infinite;
}

/* =========================================
   PROMO SECTION (WOW FACTOR)
========================================= */
.promo-section {
    position: relative;
    padding: 6rem 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 1) 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    overflow: hidden;
}

/* Subtle glow behind the section */
.promo-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.promo-header {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.promo-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.promo-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.promo-card {
    background: rgba(10, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Hover effects for the cards */
.promo-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Glowing border effect on hover */
.promo-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s;
}

.promo-card:hover::before {
    left: 150%;
}

.promo-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6));
    animation: floatIcon 3s ease-in-out infinite;
}

/* Delay animations so they don't sync */
.promo-card:nth-child(2) .promo-icon { animation-delay: 1s; }
.promo-card:nth-child(3) .promo-icon { animation-delay: 2s; }

@keyframes floatIcon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.promo-card h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.promo-card p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
}

.promo-btn {
    transition: all 0.3s;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8) !important;
}

/* =========================================
   PROMO ORBS (BACKGROUND EFFECTS)
========================================= */
.promo-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
    animation: orbFloat 15s infinite alternate;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    top: -50px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #a855f7;
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 20s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: #10b981;
    top: 30%;
    left: 40%;
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* =========================================
   HIGH-DEFINITION & ULTRA-WIDE MONITOR SUPPORT (QHD / 4K / RETINA)
   ========================================= */
@media (min-width: 1440px) {
    html {
        font-size: 17px;
    }
    .container {
        max-width: 1380px;
    }
    .hero-title {
        font-size: 4.25rem;
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }
    .container {
        max-width: 1640px;
    }
    .section {
        padding: 7.5rem 0;
    }
    .hero {
        padding-top: 12rem;
    }
    .hero-title {
        font-size: 5rem;
    }
}

@media (min-width: 2560px) {
    html {
        font-size: 20px;
    }
    .container {
        max-width: 2000px;
    }
}

/* High-DPI / Retina Screen Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        background-size: 16px 16px;
    }
}

/* =========================================
   COMPUGRAF 2026 - MODERN UNIFIED HEADER & TECH HERO
   ========================================= */
.header-brand-text {
    display: flex;
    flex-direction: column;
}

.header-brand-text .brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.header-brand-text .brand-tag {
    font-size: 0.68rem;
    color: var(--color-accent, #ffc107);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.btn-host-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #60a5fa;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-host-header:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: #60a5fa;
    color: #fff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

/* Tech Hero Styles */
.hero-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 999px;
    padding: 0.28rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.8px;
    margin-bottom: 0.42rem;
}

.pulse-tech-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #06b6d4;
    box-shadow: 0 0 10px #06b6d4;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #60a5fa 10%, #06b6d4 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-services-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.52rem;
    margin-top: 0.32rem;
}

.hero-strip-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 0.32rem 0.75rem;
    font-size: 0.76rem;
    color: #cbd5e1;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.hero-strip-pill:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-strip-pill.pill-ciso {
    border-color: rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.hero-strip-pill.pill-ciso:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    color: #fff;
}

.btn-ransom-link {
    background: transparent;
    border: 1px dashed rgba(239, 68, 68, 0.45);
    color: #ef4444;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.28rem;
    font-family: inherit;
}

.btn-ransom-link:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #fca5a5;
}

/* =========================================
   COMPUGRAF 2026 - DYNAMIC ECOSYSTEM HUB & SHOWCASE
   ========================================= */


.ecosystem-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
    padding: 0.5rem;
    background: rgba(10, 25, 47, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(14px);
}

.eco-pill {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.eco-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.eco-pill.active {
    background: rgba(0, 74, 142, 0.5);
    border-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.25);
}

.ecosystem-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: ecoFadeIn 0.4s ease forwards;
}

@keyframes ecoFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ecosystem-card.hidden {
    display: none !important;
}

.card-top-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.2rem;
}

.card-badge {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-badge.badge-cyber {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.card-badge.badge-ciso {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.card-badge.badge-dev {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.card-badge.badge-qr {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
}

.card-badge.badge-host {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.35);
}

.card-badge.badge-support {
    background: rgba(100, 116, 139, 0.2);
    color: #cbd5e1;
    border: 1px solid rgba(100, 116, 139, 0.35);
}

.card-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.2rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: #fff;
    margin-top: 1.5rem;
}

.card-btn-action:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.card-btn-action.btn-accent-glow {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.25));
    border-color: rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

.card-btn-action.btn-accent-glow:hover {
    background: #f59e0b;
    color: #000;
}

/* Spotlight Banner for CISO Web inside Homepage */
.ciso-home-spotlight {
    margin-top: 4rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 18, 35, 0.92));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 18px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(245, 158, 11, 0.12);
}

.ciso-spotlight-content {
    max-width: 680px;
}

.ciso-spotlight-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.6rem;
    font-family: var(--font-sans);
}

.ciso-spotlight-content p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Cyber Diagnostic Report Modals (Envato Cyber Aesthetic) --- */
.cyber-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999998;
    background: rgba(2, 6, 18, 0.92);
    backdrop-filter: blur(14px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem 1rem;
    overflow-y: auto;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.cyber-modal-card {
    background: linear-gradient(145deg, rgba(13, 23, 44, 0.96) 0%, rgba(5, 11, 24, 0.98) 100%);
    border: 1px solid rgba(0, 240, 255, 0.28);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 960px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 240, 255, 0.12);
    position: relative;
    margin: auto;
    animation: cyberModalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cyberModalSlideIn {
    from {
        transform: translateY(25px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.cyber-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.25s ease;
    z-index: 10;
}

.cyber-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
    transform: rotate(90deg);
}

