/* ==========================================================================
   BLINDAJE360 - SYSTEM DESIGN & PREMIUM STYLE SHEET
   Estilo: Futurista, Corporativo Premium, Minimalista y Tecnológico (Tesla/Palantir)
   ========================================================================== */

/* 1. VARIABLES & CONFIGURACIÓN BASE */
:root {
    --bg-deep: #030306;
    --bg-card: rgba(15, 17, 26, 0.7);
    --bg-card-hover: rgba(22, 25, 38, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 82, 255, 0.3);
    
    --primary: #0052FF;
    --primary-glow: rgba(0, 82, 255, 0.5);
    --cyan: #00F0FF;
    --cyan-glow: rgba(0, 240, 255, 0.4);
    --emerald: #00E676;
    --emerald-glow: rgba(0, 230, 118, 0.3);
    --red: #FF3366;
    --red-glow: rgba(255, 51, 102, 0.3);
    --orange: #FF9900;
    --orange-glow: rgba(255, 153, 0, 0.3);
    
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --text-dark: #64748B;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
}

/* 2. GLOWING BACKGROUNDS */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -2;
    filter: blur(150px);
    opacity: 0.12;
}

.glow-primary {
    top: 5%;
    right: -100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-secondary {
    top: 45%;
    left: -200px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

/* 3. UTILITIES & CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--text-main) 30%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-emerald { color: var(--emerald); }
.text-red { color: var(--red); }
.text-orange { color: var(--orange); }
.text-blue { color: var(--primary); }

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

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* 4. BUTTONS & ACTIONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #003db3 100%);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
    pointer-events: none;
}

.btn-glow:hover::after {
    transform: scale(1);
}

.btn-icon {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

/* 5. NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 3, 6, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: var(--transition-fast);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.logo-shield {
    color: var(--cyan);
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.logo-shield svg {
    filter: drop-shadow(0 0 8px var(--cyan-glow));
}

.logo .highlight {
    color: var(--cyan);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 4px;
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-deep);
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    padding: 40px;
}

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

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.mobile-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-btn {
    margin-top: 16px;
}

/* 6. HERO SECTION */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    z-index: 5;
}

.badge-tech {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(0, 82, 255, 0.1);
    border: 1px solid rgba(0, 82, 255, 0.3);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--cyan);
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
    box-shadow: 0 0 8px var(--cyan);
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.metric-number {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* 7. CYBER DASHBOARD PREVIEW */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.cyber-dashboard-preview {
    width: 100%;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dash-header {
    background: rgba(15, 17, 26, 0.9);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.dash-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red { background-color: var(--red); }
.dot.yellow { background-color: var(--orange); }
.dot.green { background-color: var(--emerald); }

.dash-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.dash-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.status-pulse {
    width: 6px;
    height: 6px;
    background-color: var(--cyan);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.dash-body {
    padding: 16px;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.dash-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
}

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

.card-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 80px;
    padding: 0 10px;
    margin-bottom: 8px;
}

.chart-bar {
    width: 14%;
    height: var(--height);
    background: rgba(0, 82, 255, 0.2);
    border: 1px solid rgba(0, 82, 255, 0.4);
    border-radius: 3px 3px 0 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.chart-bar.active {
    background: linear-gradient(to top, var(--primary), var(--cyan));
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.chart-bar span {
    position: absolute;
    bottom: -18px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dark);
}

.chart-legend {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    text-align: center;
}

.sub-metric {
    display: flex;
    flex-direction: column;
}

.sub-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
}

.sub-desc {
    font-size: 0.6rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

.guard-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.guard-row {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    gap: 8px;
}

.guard-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
}

.badge-active {
    background: rgba(0, 230, 118, 0.1);
    color: var(--emerald);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.badge-alert {
    background: rgba(255, 51, 102, 0.1);
    color: var(--red);
    border: 1px solid rgba(255, 51, 102, 0.3);
}

.guard-name {
    color: var(--text-main);
    font-weight: 500;
}

.dash-console {
    background: rgba(3, 3, 6, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.console-line {
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-tag {
    color: var(--primary);
}

/* 8. EL PROBLEMA SECTION */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-smooth);
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 51, 102, 0.3);
    box-shadow: 0 12px 30px rgba(255, 51, 102, 0.05);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon.error-color {
    background: rgba(255, 51, 102, 0.1);
    color: var(--red);
    border: 1px solid rgba(255, 51, 102, 0.3);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Stats Showcase */
.stats-showcase {
    background: linear-gradient(135deg, rgba(15, 17, 26, 0.7) 0%, rgba(20, 10, 10, 0.4) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.stats-showcase-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.stats-showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.stat-info span {
    color: var(--text-muted);
}

.stat-info strong {
    font-family: var(--font-mono);
    color: var(--red);
}

.stat-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.stat-progress-bar .fill {
    height: 100%;
    background: linear-gradient(to right, rgba(255, 51, 102, 0.5), var(--red));
    border-radius: 4px;
}

/* 9. LA SOLUCIÓN SECTION */
.solution-flow {
    margin-top: 60px;
    position: relative;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.flow-steps::after {
    content: '';
    position: absolute;
    top: 54px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--cyan));
    z-index: 1;
    opacity: 0.3;
}

.flow-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 82, 255, 0.2);
    transition: var(--transition-smooth);
}

.flow-step:hover .step-icon {
    transform: scale(1.1);
    border-color: var(--cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.flow-step h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.flow-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0 10px;
}

/* 10. SPRINT 30D (Interactive Timeline) */
.timeline-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
    margin-top: 60px;
}

.timeline-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.timeline-tab.active {
    background: rgba(0, 82, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 82, 255, 0.15);
}

.timeline-tab.active .tab-days {
    color: var(--cyan);
}

.tab-days {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.tab-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.timeline-display {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.phase-content {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.phase-content.active {
    display: block;
}

.phase-meta {
    margin-bottom: 24px;
}

.phase-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(0, 82, 255, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(0, 82, 255, 0.2);
    margin-bottom: 12px;
}

.alert-badge {
    background: rgba(255, 153, 0, 0.1);
    color: var(--orange);
    border: 1px solid rgba(255, 153, 0, 0.2);
}

.success-badge {
    background: rgba(0, 230, 118, 0.1);
    color: var(--emerald);
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.phase-meta h3 {
    font-size: 1.8rem;
    font-weight: 800;
}

.phase-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.phase-deliverables h4 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-main);
    margin-bottom: 16px;
}

.phase-deliverables ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phase-deliverables li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.phase-deliverables li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Comparison Showcase */
.comparison-showcase {
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.comparison-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comp-box {
    border-radius: 12px;
    padding: 32px;
}

.comp-before {
    background: rgba(255, 51, 102, 0.02);
    border: 1px solid rgba(255, 51, 102, 0.15);
}

.comp-after {
    background: rgba(0, 230, 118, 0.02);
    border: 1px solid rgba(0, 230, 118, 0.15);
}

.comp-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.comp-before h4 { color: var(--red); }
.comp-after h4 { color: var(--emerald); }

.comp-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comp-box li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.comp-box li svg {
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.comp-before li svg { color: var(--red); }

/* 11. INTERACTIVE BOT & DASHBOARD SHOWCASE */
.bot-dashboard-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 32px;
    align-items: center;
    margin-top: 60px;
}

.simulator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    height: 520px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

/* Smartphone Simulator */
.mobile-simulator {
    max-width: 320px;
    justify-self: center;
    border-radius: 36px;
    border: 8px solid rgba(255,255,255,0.06);
    padding: 0;
    background: #030306;
}

.device-header {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #000;
}

.device-header .speaker {
    width: 60px;
    height: 4px;
    background: #222;
    border-radius: 2px;
}

.device-header .camera {
    width: 6px;
    height: 6px;
    background: #111;
    border-radius: 50%;
}

.chat-app {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #0c0d14;
}

.chat-header {
    background: #121420;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
}

.bot-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    box-shadow: 0 0 10px var(--primary-glow);
}

.bot-avatar svg {
    width: 16px;
    height: 16px;
}

.chat-info {
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.chat-status {
    font-size: 0.65rem;
    color: var(--emerald);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pulse-emerald {
    width: 5px;
    height: 5px;
    background-color: var(--emerald);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.05) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.05);
}

.message {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.8rem;
    line-height: 1.4;
}

.system-msg {
    align-self: center;
    background: rgba(255,255,255,0.02);
    color: var(--text-dark);
    font-size: 0.65rem;
    font-family: var(--font-mono);
    border: 1px solid var(--border-color);
}

.bot-msg {
    align-self: flex-start;
    background: #181b28;
    color: var(--text-main);
    border-bottom-left-radius: 2px;
    border: 1px solid var(--border-color);
}

.user-msg {
    align-self: flex-end;
    background: var(--primary);
    color: var(--text-main);
    border-bottom-right-radius: 2px;
}

.typing-msg {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
    display: inline-block;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.chat-quick-actions {
    padding: 12px;
    background: #0f111a;
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.quick-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 8px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.quick-btn:hover {
    background: var(--primary);
    border-color: var(--cyan);
}

.quick-btn svg {
    width: 14px;
    height: 14px;
}

/* Dashboard Simulator (Command Center) */
.dashboard-simulator {
    padding: 20px;
    background: #090a0f;
    border-color: rgba(0, 82, 255, 0.2);
}

.dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.dashboard-head .dash-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-head svg {
    width: 18px;
    height: 18px;
}

.live-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--emerald);
    background: rgba(0,230,118,0.08);
    border: 1px solid rgba(0,230,118,0.2);
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-dot {
    width: 5px;
    height: 5px;
    background-color: var(--emerald);
    border-radius: 50%;
}

.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.dashboard-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-stat {
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.mini-label {
    font-size: 0.65rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

.mini-val {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 4px;
}

.activity-feed {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    overflow: hidden;
}

.feed-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    flex: 1;
}

.feed-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    padding-bottom: 8px;
    animation: slideUp 0.3s ease-out;
}

.feed-time {
    font-family: var(--font-mono);
    color: var(--text-dark);
    flex-shrink: 0;
}

.feed-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.feed-icon.success { background: rgba(0,230,118,0.1); color: var(--emerald); }
.feed-icon.info { background: rgba(0,82,255,0.1); color: var(--primary); }
.feed-icon.alert { background: rgba(255,51,102,0.1); color: var(--red); }

.feed-icon svg {
    width: 10px;
    height: 10px;
}

.feed-text {
    color: var(--text-muted);
}

.feed-text strong {
    color: var(--text-main);
}

/* Escalation Panel */
.escalation-alert-panel {
    background: rgba(255,51,102,0.03);
    border: 1px solid rgba(255, 51, 102, 0.3);
    border-radius: 8px;
    padding: 12px;
    animation: pulseGlowRed 2s infinite alternate;
    transition: var(--transition-smooth);
}

.escalation-alert-panel.hidden {
    display: none;
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 8px;
}

.alert-header svg {
    width: 16px;
    height: 16px;
}

.alert-body {
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alert-row {
    color: var(--text-muted);
}

.protocol-code {
    font-family: var(--font-mono);
    color: var(--cyan);
    background: rgba(0,240,255,0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* 12. BENEFICIOS GRID */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 12px 30px rgba(0, 82, 255, 0.05);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0, 82, 255, 0.1);
    border: 1px solid rgba(0, 82, 255, 0.3);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 13. TESTIMONIOS */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #FFD700;
}

.testimonial-rating svg {
    width: 16px;
    height: 16px;
}

.fill-gold {
    fill: #FFD700;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

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

.author-title {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* 14. PRICING SECTION */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 60px auto 0;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 16px 40px rgba(0, 82, 255, 0.1);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 4px;
}

.featured-badge {
    color: var(--cyan);
    background: rgba(0, 82, 255, 0.2);
    border: 1px solid rgba(0, 82, 255, 0.4);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    min-height: 50px;
}

.plan-price {
    margin-bottom: 32px;
}

.price-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    background: linear-gradient(135deg, #FFF 30%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-features li svg {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.plan-btn {
    text-align: center;
}

/* 15. CTA & FORM SECTION */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.cta-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-trust-badges {
    display: flex;
    gap: 24px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-badge-item svg {
    width: 18px;
    height: 18px;
}

/* Form Styling */
.form-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 82, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 16px 45px rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.form-header-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-header-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(3, 3, 6, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.form-group select option {
    background: #0c0d14;
    color: var(--text-main);
}

.form-footer-notice {
    font-size: 0.7rem;
    color: var(--text-dark);
    text-align: center;
    margin-top: 12px;
}

/* 16. FOOTER */
.footer {
    background: #020204;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--cyan);
}

.contact-info-footer {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-footer svg {
    width: 16px;
    height: 16px;
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    font-size: 0.8rem;
    color: var(--text-dark);
}

/* 17. ANIMATIONS & RESPONSIVE DESIGNS */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 240, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

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

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

@keyframes pulseGlowRed {
    0% {
        box-shadow: 0 0 10px rgba(255, 51, 102, 0.1);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 51, 102, 0.25);
    }
}

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
}

/* Scroll Animation Classes (triggered by JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* RESPONSIVE RESPONSIVENESS */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-metrics {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-trust-badges {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .timeline-container {
        grid-template-columns: 1fr;
    }
    
    .timeline-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .timeline-tab {
        flex-shrink: 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .bot-dashboard-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mobile-simulator {
        order: 1;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .flow-steps {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .flow-steps::after {
        display: none;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .flow-steps {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 16px;
    }
    
    .divider {
        display: none;
    }
}

/* ==========================================================================
   18. ARTÍCULOS & MODAL STYLES
   ========================================================================== */
.articles-section {
    background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(15, 17, 26, 0.4) 100%);
    position: relative;
}

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

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    transition: var(--transition-smooth);
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 12px 30px rgba(0, 82, 255, 0.05);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.8rem;
}

.article-category {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
}

.article-date {
    color: var(--text-dark);
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-main);
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 6, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-card {
    background: #0c0d14;
    border: 1px solid rgba(0, 82, 255, 0.25);
    border-radius: 16px;
    width: 90%;
    max-width: 680px;
    max-height: 85vh;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.modal-category {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
}

.modal-date {
    color: var(--text-dark);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 24px;
}

.modal-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.modal-body p {
    margin-bottom: 20px;
}

.modal-body h4 {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 28px 0 12px;
}
