/* ==========================================================================
   PRUEBA CERO - DESIGN SYSTEM & HIGH-END STYLESHEET (PROPUESTA A - DEEP SLATE)
   Vibe: Ultra-Modern, Cyber-Glow, Dark Slate Premium Tech-Legal
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    /* Color Palette - Dark Slate Theme */
    --primary-color: #0066FF;       /* Vibrant Tech Blue (Logo 'CERO' and rings) */
    --primary-hover: #0052CC;
    --primary-glow: rgba(0, 102, 255, 0.4);
    
    --secondary-color: #1E2022;     /* Charcoal Grey (Logo 'PRUEBA') */
    --secondary-dark: #070A10;      /* Near Black / Deep Space */
    --bg-dark-slate: #0B0F19;       /* Deep Slate Blue (Main Page Background) */
    --bg-card-dark: #111625;        /* Translucent Dark Blue-Gray for cards */
    
    --accent-color: #00E5FF;        /* Cyan/Aqua (Logo nodes and center of 'O') */
    --accent-glow: rgba(0, 229, 255, 0.25);
    
    /* Backgrounds */
    --bg-glass: rgba(11, 15, 25, 0.8);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 102, 255, 0.3);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --text-main: #94A3B8;           /* Slate 400 for high readability on dark */
    --text-light: #64748B;          /* Slate 500 */
    --text-white: #FFFFFF;          /* Pure White for titles */
    --text-muted: #475569;

    /* Spacing & Borders */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;
    
    /* Shadows & Transitions */
    --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 20px 50px rgba(0, 102, 255, 0.12);
    --shadow-neon: 0 0 25px rgba(0, 229, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark-slate);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 2. Cyber Background Decoration */
.glow-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    -webkit-filter: blur(140px);
    opacity: 0.18;
    mix-blend-mode: screen;
}

.glow-sphere-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: glow-drift 20s ease-in-out infinite alternate;
}

.glow-sphere-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: glow-drift 25s ease-in-out infinite alternate-reverse;
}

.glow-sphere-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    opacity: 0.08;
}

.cyber-grid-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    mask-image: radial-gradient(ellipse at 50% 50%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black, transparent 80%);
}

@keyframes glow-drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 20px) scale(1.05); }
    100% { transform: translate(-15px, -30px) scale(0.95); }
}

/* 3. Layout & Typography Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, #0088FF 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 800;
    line-height: 1.15;
}

/* 4. Navbar (Floating Glassmorphism Dark) */
.main-header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    background-color: rgba(11, 15, 25, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 0 24px;
    box-shadow: var(--shadow-subtle);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
}

.main-header.scrolled {
    top: 10px;
}

.main-header.scrolled .navbar {
    background-color: var(--bg-glass);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
    height: 64px;
}

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

.main-header.scrolled .logo-img {
    height: 34px;
}

.nav-menu {
    display: none;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.03);
}

.nav-link.active::after {
    transform: scaleX(1);
    background-color: var(--primary-color);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-glow:hover {
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.25);
    transform: translateY(-2px);
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition);
    border-radius: 2px;
}

/* Mobile Nav Styles (Dark Glass) */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(11, 15, 25, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        padding: 100px 24px 30px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        border-left: 1px solid var(--border-glass);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .nav-cta-mobile {
        margin-top: auto;
        width: 100%;
    }
    .nav-cta-mobile .btn {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .nav-menu {
        display: flex;
        gap: 6px;
    }
    .nav-cta-desktop {
        display: block;
    }
    .menu-toggle {
        display: none;
    }
    .nav-cta-mobile {
        display: none;
    }
}

/* 5. Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    position: relative;
    z-index: 2;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    order: 1;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    order: 2;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 60px;
    }
    .hero-content {
        order: 1;
        padding-right: 20px;
    }
    .hero-visual {
        order: 2;
    }
}

/* Glassmorphism Badge */
.badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
    padding: 8px 16px;
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--accent-color);
    animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px var(--accent-color); }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--accent-color); }
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--text-white);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.8rem;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    width: 100%;
}


/* HIGH-FIDELITY CSS AUDIT TERMINAL CONSOLE */
.terminal-container {
    width: 100%;
    max-width: 560px;
    background-color: rgba(7, 10, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.5), 
        0 0 40px rgba(0, 102, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.terminal-container:hover {
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.6), 
        0 0 40px rgba(0, 229, 255, 0.1);
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    background-color: #0E121F;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 16px;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dots .dot.red { background-color: #EF4444; }
.terminal-dots .dot.yellow { background-color: #F59E0B; }
.terminal-dots .dot.green { background-color: #10B981; }

.terminal-title {
    color: var(--text-light);
    font-family: 'Consolas', 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    font-weight: 500;
}

.terminal-badge {
    font-size: 0.65rem;
    color: var(--accent-color);
    background-color: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.terminal-body {
    padding: 28px;
    height: 410px;
    overflow: hidden !important;
    position: relative;
    font-family: 'Consolas', 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #E2E8F0;
    text-align: left;
}

.terminal-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease-out;
    width: 100%;
}

.terminal-line {
    line-height: 1.5;
    word-break: break-all;
}

.cmd-prompt {
    color: var(--accent-color);
    font-weight: 700;
    margin-right: 6px;
}

.text-info { color: #38BDF8; }
.text-success { color: #34D399; }
.text-warning { color: #FBBF24; }
.text-danger { color: #F87171; }

.terminal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
    background-color: #0E121F;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 16px;
    color: var(--text-muted);
    font-family: 'Consolas', 'Courier New', Courier, monospace;
    font-size: 0.72rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent-color);
}

.status-indicator.active {
    animation: status-pulse 1.5s infinite alternate;
}

@keyframes status-pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

.status-label {
    color: var(--text-light);
    font-weight: 600;
}

.section-divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
    margin-top: 100px;
    width: 100%;
}

/* 6. Services Section (El Modelo Dual) */
.services-section {
    padding: 120px 0 0 0;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.section-subtitle {
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    z-index: 2;
    position: relative;
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Glassmorphic Cyber Dark Card */
.service-card {
    background: rgba(17, 22, 37, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Interactive light glow border */
.card-border-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.15;
    transition: var(--transition);
}

.service-card:hover .card-border-line {
    opacity: 1;
    height: 6px;
}

/* Mouse hover spotlight effect */
.card-glow-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), var(--accent-glow), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover .card-glow-element {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 102, 255, 0.25);
    background: rgba(17, 22, 37, 0.85);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 229, 255, 0.08) 100%);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-bottom: 28px;
    transition: var(--transition);
    z-index: 2;
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

.service-icon {
    width: 28px;
    height: 28px;
}

.card-badge {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 12px;
    z-index: 2;
}

.card-title {
    font-size: 1.7rem;
    margin-bottom: 16px;
    z-index: 2;
    color: var(--text-white);
}

.card-description {
    color: var(--text-main);
    font-size: 0.98rem;
    margin-bottom: 32px;
    line-height: 1.65;
    z-index: 2;
}

.card-list {
    list-style: none;
    margin-bottom: 40px;
    width: 100%;
    z-index: 2;
}

.card-list li {
    display: flex;
    align-items: center;
    font-size: 0.92rem;
    color: var(--text-white);
    margin-bottom: 14px;
    font-weight: 600;
}

.list-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 14px;
    box-shadow: 0 0 8px var(--accent-color);
}

.card-link {
    margin-top: auto;
    text-decoration: none;
    color: var(--accent-color);
    font-size: 0.98rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    z-index: 2;
}

.card-link span {
    position: relative;
}

.card-link span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.card-link:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.card-link:hover .arrow-icon {
    transform: translateX(6px);
}

/* 7. Authority & Diferenciador (Engineering + Rigor) */
.authority-section {
    padding: 120px 0 0 0;
}

.features-box-container {
    position: relative;
    padding-left: 20px;
}

.glowing-timeline-bar {
    position: absolute;
    top: 22px;
    left: 42px;
    bottom: 22px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
    opacity: 0.2;
}

.features-box {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.feature-num-container {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-num-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 229, 255, 0.05);
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.05);
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--accent-color);
    z-index: 2;
}

.feature-item:hover .feature-num-glow {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
    background-color: rgba(0, 229, 255, 0.1);
}

.feature-txt h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

.feature-txt p {
    color: var(--text-main);
    font-size: 0.98rem;
    line-height: 1.6;
}

.authority-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-desc-large {
    font-size: 1.35rem;
    color: var(--text-white);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 24px;
}

.section-desc-secondary {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 44px;
}

.authority-stat-row {
    display: flex;
    gap: 48px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 40px;
}

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

.stat-number-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-color);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
}

/* 8. Call To Action Form Section */
.cta-section {
    padding: 120px 0 40px;
}

/* Cyber Glassmorphism Dark Card */
.cta-card {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, #111522 100%);
    border-radius: var(--border-radius-lg);
    padding: 80px 48px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Neon glows drifting inside CTA */
.cta-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    -webkit-filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
}

.cta-bg-glow.glow-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -150px;
    right: -100px;
}

.cta-bg-glow.glow-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    bottom: -120px;
    left: -80px;
}

.cta-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.cta-tag {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.cta-title {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-desc {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 44px;
    line-height: 1.7;
}

/* Form Styles */
.cta-form {
    width: 100%;
}

.form-inputs-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .form-inputs-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 18px 24px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cta-form .btn {
    width: 100%;
    justify-content: center;
    padding: 18px;
}

.form-note {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.5);
    margin-top: 14px;
    text-align: center;
}

.form-message {
    font-size: 0.9rem;
    margin-top: 18px;
    text-align: left;
    display: none;
    padding: 14px 20px;
    border-radius: var(--border-radius-md);
    line-height: 1.5;
}

.form-message.error {
    display: block;
    background-color: rgba(248, 113, 113, 0.06);
    color: #FCA5A5;
    border: 1px solid rgba(248, 113, 113, 0.1);
}

.form-message.success {
    display: block;
    background-color: rgba(52, 211, 153, 0.06);
    color: #A7F3D0;
    border: 1px solid rgba(52, 211, 153, 0.1);
}

/* 9. Footer */
.main-footer {
    background-color: var(--secondary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.3fr 0.7fr;
        align-items: center;
    }
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.92rem;
    max-width: 400px;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 576px) {
    .footer-nav {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-menu, .footer-legal-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    text-decoration: none;
    color: #94A3B8; /* Slate 400 - High contrast accessible B2B gray */
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.footer-bottom {
    padding-top: 40px;
}

.copyright {
    color: rgba(148, 163, 184, 0.5); /* Slate 400 at 50% opacity - accessible */
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    line-height: 1.6;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
}

.footer-email-link {
    color: rgba(148, 163, 184, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-email-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

@media (max-width: 576px) {
    .copyright {
        flex-direction: column;
        gap: 6px;
    }
    .footer-divider {
        display: none; /* Hide vertical dividers on stacked mobile view */
    }
}

/* ==========================================================================
   B2B CONVERSION & TRUST FEATURES (NEW)
   ========================================================================== */

/* Trust Belt */
.trust-belt {
    padding: 36px 0;
    background-color: rgba(17, 22, 37, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.trust-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 992px) {
    .trust-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.trust-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.12em;
}

.trust-logos {
    display: flex;
    flex-wrap: nowrap; /* Force single line on desktop/tablet */
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
}

@media (max-width: 992px) {
    .trust-logos {
        gap: 28px;
        overflow-x: auto;
        padding: 8px 0;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide for Firefox */
    }
    .trust-logos::-webkit-scrollbar {
        display: none; /* Hide for Chrome, Safari, Opera */
    }
}

.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94A3B8;
    opacity: 0.75;
    transition: var(--transition);
    height: 40px;
    flex-shrink: 0; /* Avoid shrinking on mobile scroll container */
}

.trust-logo-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.trust-icon {
    width: 28px;
    height: 28px;
    color: #94A3B8;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.trust-logo-item:hover .trust-icon {
    color: var(--accent-color);
}

.trust-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trust-badge-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}

.trust-badge-desc {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    margin-top: 1px;
}

/* Methodology Horizontal Cards Row */
.methodology-steps-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
    position: relative;
    width: 100%;
}

@media (min-width: 992px) {
    .methodology-steps-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.methodology-card {
    background: rgba(17, 22, 37, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.methodology-card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.15;
    transition: var(--transition);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.methodology-card:hover .methodology-card-border {
    opacity: 1;
    height: 5px;
}

.methodology-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: var(--shadow-hover);
}

.methodology-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
    line-height: 1;
}

.step-tag-pill {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.step-card-desc {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.6;
}

/* Horizontal connecting lines on desktop */
@media (min-width: 992px) {
    .methodology-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 48px; /* Aligned with number center */
        right: -24px;
        width: 16px;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
        opacity: 0.3;
        z-index: 10;
        pointer-events: none;
    }
}

/* Floating Triage Button (WhatsApp) */
@keyframes float-triage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.triage-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    text-decoration: none;
    animation: float-triage 4s ease-in-out infinite;
}

.triage-icon-container {
    width: 60px;
    height: 60px;
    background-color: rgba(17, 22, 37, 0.9);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--accent-color); /* Cian icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}

.triage-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.triage-tooltip {
    position: absolute;
    right: 76px;
    background-color: rgba(7, 10, 18, 0.95);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: var(--border-radius-md);
    padding: 10px 18px;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    opacity: 1; /* Permanent tooltip */
    transform: translateX(0);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
    transition: var(--transition);
}

.triage-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #EF4444;
    margin-bottom: 2px;
    letter-spacing: 0.05em;
}

.triage-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: #E2E8F0;
}

/* Hover and Pulsate States */
.triage-float:hover .triage-icon-container {
    transform: scale(1.08) rotate(10deg);
    background-color: var(--accent-color);
    color: #0B0F19; /* Invert to dark background color */
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.4);
}

@media (max-width: 576px) {
    .triage-float {
        bottom: 20px;
        right: 20px;
    }
    .triage-icon-container {
        width: 54px;
        height: 54px;
    }
    .triage-icon {
        width: 24px;
        height: 24px;
    }
    .triage-tooltip {
        display: none; /* Hide tooltip on mobile to avoid overlap */
    }
}

/* 10. Scroll Reveal Base & Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* 11. Terminal OSINT Visual */
.osint-terminal {
    background-color: #05070C;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #A5F3FC;
    text-align: left;
    max-height: 200px;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
    box-shadow: inset 0 0 15px rgba(0, 229, 255, 0.05), 0 8px 30px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

.osint-terminal::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.terminal-line {
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(5px);
    animation: fadeInLine 0.3s forwards ease;
}

.terminal-line.success {
    color: #10B981;
}

.terminal-line.error {
    color: #EF4444;
}

.terminal-line.info {
    color: #38BDF8;
}

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

/* ==========================================================================
   MODAL DIALOGS (Aviso de Privacidad)
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    background-color: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 2010;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2020;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    color: #94a3b8;
    text-align: left;
}

.modal-body h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.modal-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, #0052cc, transparent);
    margin-bottom: 24px;
}

.modal-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #02fcfb;
    margin-top: 24px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.modal-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    margin-top: 16px;
    margin-bottom: 8px;
}

.modal-body p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #94a3b8;
}

.modal-body ul {
    margin-top: 0;
    margin-bottom: 16px;
    padding-left: 20px;
}

.modal-body li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
    color: #94a3b8;
    list-style-type: disc;
}

.modal-body a {
    color: #007bfc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.modal-body a:hover {
    color: #02fcfb;
    text-decoration: underline;
}

.modal-footer-divider {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-top: 32px;
    margin-bottom: 16px;
}

.modal-last-update {
    font-size: 12px;
    color: #64748b;
    text-align: right;
    margin-bottom: 0;
}

/* Custom Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE ADJUSTMENTS
   ========================================================================== */

/* Breakpoint for Tablets and Mobile (under 992px) */
@media (max-width: 991px) {
    /* Header & Navbar mobile optimization (decongestion) */
    .main-header {
        top: 0 !important; /* Remove floating gap to save height */
    }
    
    .navbar {
        height: 56px !important;
        padding: 0 16px !important;
        border-radius: 0 !important; /* Full width fits mobile screens much cleaner */
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
    }
    
    .logo-img {
        height: 26px !important; /* Scale down logo to avoid crowding */
    }
    
    .main-header.scrolled {
        top: 0 !important;
    }
    
    .main-header.scrolled .navbar {
        height: 56px !important;
    }
    
    .main-header.scrolled .logo-img {
        height: 26px !important;
    }
    
    .nav-menu {
        padding: 80px 24px 30px !important; /* Offset for the smaller 56px header */
    }

    /* Section Padding Adjustments */
    .hero-section {
        padding-top: 110px; /* Reduced from 140px since header height is now smaller */
        padding-bottom: 60px;
    }
    
    .services-section,
    .authority-section,
    .cta-section {
        padding-top: 60px;
    }
    
    /* Card Padding Reductions to maximize usable width */
    .service-card {
        padding: 32px 20px;
    }
    
    .methodology-card {
        padding: 24px 20px;
    }
    
    .cta-card {
        padding: 40px 20px;
    }
    
    /* Terminal Console Height Optimization */
    .terminal-body {
        height: 300px;
        padding: 16px;
    }
}

/* Breakpoint for Mobile Devices (under 768px) */
@media (max-width: 767px) {
    /* Typography Scaling for smaller viewports */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 28px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 14px;
    }
    
    .section-desc-large {
        font-size: 1.15rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }
    
    /* Forms structure optimization */
    .form-inputs-row {
        gap: 12px;
    }
    
    .form-input {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .cta-form .btn {
        padding: 16px;
    }
    
    /* Center text alignments on mobile where grids collapse */
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

/* Breakpoint for small viewports & Modal paddings (under 576px) */
@media (max-width: 575px) {
    .modal-body {
        padding: 24px 16px;
    }
    
    .modal-close {
        top: 12px;
        right: 12px;
    }
}

/* Breakpoint for extremely small mobile screens (under 400px) */
@media (max-width: 399px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .cta-card {
        padding: 24px 16px;
    }
    
    .methodology-card {
        padding: 20px 16px;
    }
    
    /* Reduce terminal height further on very small screens */
    .terminal-body {
        height: 260px;
    }
    
    /* Trust logos padding adjustment */
    .trust-logos {
        gap: 16px;
    }
}

/* ==========================================================================
   12. DESTRUCTOR DE PRUEBAS - WIZARD PERICIAL DE IMPUGNACIÓN
   ========================================================================== */
.destructor-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(5, 7, 12, 0.9) 100%);
}

.destructor-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(239, 68, 68, 0.1);
    backdrop-filter: blur(12px);
    max-width: 920px;
    margin: 0 auto;
}

.badge-red-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.red-dot {
    width: 8px;
    height: 8px;
    background-color: #EF4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #EF4444;
}

.destructor-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 16px;
}

.text-gradient-red {
    background: linear-gradient(135deg, #EF4444 0%, #F87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.destructor-subtitle {
    font-size: 1.05rem;
    color: #94A3B8;
    max-width: 760px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
}

/* Wizard Steps Indicator */
.wizard-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.step-dot {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748B;
    background: rgba(30, 41, 59, 0.6);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
}

.step-dot.active {
    color: #FFFFFF;
    background: rgba(239, 68, 68, 0.2);
    border-color: #EF4444;
}

.step-dot.completed {
    color: #10B981;
    background: rgba(16, 185, 129, 0.15);
    border-color: #10B981;
}

.dot-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.75rem;
}

.step-dot.active .dot-num {
    background: #EF4444;
    color: #FFFFFF;
}

.step-line {
    width: 40px;
    height: 2px;
    background: rgba(148, 163, 184, 0.2);
}

/* Step Content & Options */
.wizard-step {
    animation: fadeInStep 0.4s ease forwards;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-question {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 24px;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

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

.option-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.option-card:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.option-card input[type="radio"] {
    accent-color: #EF4444;
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.option-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.option-info strong {
    display: block;
    color: #F8FAFC;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.option-info small {
    display: block;
    color: #94A3B8;
    font-size: 0.82rem;
    line-height: 1.4;
}

.wizard-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-danger-glow {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    color: #FFFFFF;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35);
    transition: all 0.3s ease;
}

.btn-danger-glow:hover {
    background: linear-gradient(135deg, #B91C1C 0%, #DC2626 100%);
    box-shadow: 0 6px 24px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

/* Loading & Barrier Box */
.analysis-loading {
    text-align: center;
    padding: 40px 20px;
}

.spinner-glow {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(239, 68, 68, 0.2);
    border-top-color: #EF4444;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Outfit', sans-serif;
    color: #FCA5A5;
    font-size: 1.05rem;
    font-weight: 600;
}

.vulnerability-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-left: 5px solid #EF4444;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 28px;
}

.alert-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.alert-content h4 {
    font-family: 'Outfit', sans-serif;
    color: #FEE2E2;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.alert-content p {
    color: #FCA5A5;
    font-size: 0.9rem;
    line-height: 1.45;
}

.destructor-form {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    padding: 24px;
}

.destructor-form .form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .destructor-form .form-row {
        flex-direction: column;
        gap: 12px;
    }
}

.destructor-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.destructor-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 6px;
    display: block;
}

.destructor-form input[type="text"],
.destructor-form input[type="email"],
.destructor-form input[type="tel"] {
    width: 100%;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #F8FAFC;
    font-family: inherit;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.destructor-form input[type="text"]:focus,
.destructor-form input[type="email"]:focus,
.destructor-form input[type="tel"]:focus {
    outline: none;
    background: rgba(30, 41, 59, 0.9);
    border-color: #EF4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.destructor-form input::placeholder {
    color: #64748B;
}

.destructor-form .field-help {
    font-size: 0.78rem;
    color: #64748B;
    margin-top: 4px;
}

.form-instruction {
    color: #E2E8F0;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Micro-leyenda Hero */
.hero-micro-note {
    font-size: 0.83rem;
    color: #94A3B8;
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.micro-note-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.micro-note-line1 {
    color: #E2E8F0;
    font-weight: 600;
    font-size: 0.85rem;
}

.micro-note-line2 {
    color: #94A3B8;
    font-size: 0.8rem;
}

/* Footer Social Proof Trust Bar */
.footer-trust-bar {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    padding: 16px 0;
    margin-top: 24px;
    margin-bottom: 24px;
    background: rgba(15, 23, 42, 0.4);
}

.footer-trust-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #CBD5E1;
    font-weight: 500;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
