/* KARDEX BOCANOS 2026 - EXECUTIVE CORPORATE CSS */
:root {
    --bg-dark: #0F172A; /* Azul corporativo profundo (Dark mode) */
    --bg-card: rgba(30, 41, 59, 0.7); /* Azul slate */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(56, 189, 248, 0.3);
    
    --neon-cyan: #38BDF8; /* Azul claro corporativo */
    --neon-blue: #2563EB; /* Azul primario corporativo */
    --neon-purple: #8B5CF6; /* Púrpura sutil */
    --neon-red: #EF4444; /* Rojo alerta */
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    
    --font-heading: 'Inter', sans-serif;
    --font-code: 'Inter', sans-serif;
}

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

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

/* Background Canvas Particles */
#cyber-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 2rem;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-badge {
    background: rgba(0, 255, 159, 0.15);
    color: var(--neon-cyan);
    font-family: var(--font-code);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-glow);
    font-weight: 700;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.brand-name .highlight {
    color: var(--neon-cyan);
}

.sync-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
}

.pulse-orb {
    width: 8px;
    height: 8px;
    background-color: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 159, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(0, 255, 159, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 159, 0); }
}

.status-text {
    font-size: 0.75rem;
    font-family: var(--font-code);
    color: var(--neon-blue);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.btn-primary-sm {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #000 !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 800 !important;
    box-shadow: 0 0 15px rgba(0, 255, 159, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 255, 159, 0.7);
}

/* Hero Section */
.hero-section {
    padding: 10rem 2rem 5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 90vh;
}

.badge-tag {
    display: inline-block;
    background: rgba(123, 44, 191, 0.15);
    border: 1px solid rgba(123, 44, 191, 0.3);
    color: #D8B4FE;
    font-family: var(--font-code);
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-glow {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #000;
    text-decoration: none;
    font-weight: 800;
    padding: 0.9rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 255, 159, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 255, 159, 0.7);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    padding: 0.9rem 1.75rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(12px);
}

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

.stat-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--neon-cyan);
    font-family: var(--font-code);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 35px;
    background: var(--border-glass);
}

/* Hero Visual Device */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.device-frame-glow {
    position: relative;
    width: 100%;
    max-width: 420px;
    border-radius: 28px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(0, 255, 159, 0.3), rgba(123, 44, 191, 0.3));
    box-shadow: 0 0 50px rgba(0, 255, 159, 0.2);
    transition: transform 0.5s ease;
}

.device-frame-glow:hover {
    transform: translateY(-8px) scale(1.02);
}

.device-frame-glow img {
    width: 100%;
    border-radius: 22px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(10, 12, 20, 0.85);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    padding: 0.6rem 1rem;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.badge-top {
    top: -15px;
    right: -20px;
    border-color: rgba(0, 255, 159, 0.4);
}

.badge-bottom {
    bottom: -15px;
    left: -20px;
    border-color: rgba(0, 210, 255, 0.4);
}

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

/* Section Layouts */
.section-container {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.tech-bg {
    background: radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.08) 0%, transparent 70%);
}

.section-header {
    margin-bottom: 3.5rem;
}

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

.sub-title {
    font-family: var(--font-code);
    color: var(--neon-cyan);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Module Tabs */
.module-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 0.85rem 1.5rem;
    border-radius: 14px;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tab-num {
    font-family: var(--font-code);
    color: var(--neon-blue);
    font-size: 0.85rem;
    background: rgba(0, 210, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 255, 159, 0.15), rgba(0, 210, 255, 0.15));
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 159, 0.2);
}

.tab-btn.active .tab-num {
    background: var(--neon-cyan);
    color: #000;
}

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

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

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

.module-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.mockup-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.mockup-card img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.module-tag {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--neon-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.module-info h3 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.module-info p {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check-icon {
    background: rgba(0, 255, 159, 0.15);
    color: var(--neon-cyan);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1px solid var(--border-glow);
}

/* Simulation Box */
.simulation-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 1rem;
    font-family: var(--font-code);
}

.sim-header {
    font-size: 0.75rem;
    color: var(--neon-cyan);
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.sim-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.sim-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.sim-item.checked {
    border-color: rgba(0, 255, 159, 0.3);
    background: rgba(0, 255, 159, 0.08);
    color: var(--neon-cyan);
}

.sim-check {
    width: 18px;
    height: 18px;
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.sim-item.checked .sim-check {
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    color: #000;
    font-weight: 900;
}

.sim-scanner-hud {
    position: relative;
    padding: 1rem;
    background: rgba(0, 210, 255, 0.05);
    border: 1px dashed var(--neon-blue);
    border-radius: 10px;
    overflow: hidden;
}

.barcode-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: scanLine 2s infinite alternate ease-in-out;
}

@keyframes scanLine {
    0% { top: 0; }
    100% { top: 100%; }
}

.scan-result {
    font-size: 0.8rem;
    color: var(--neon-cyan);
    font-weight: 700;
}

/* Architecture Section */
.arch-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.arch-card {
    flex: 1;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
}

.arch-card:hover {
    transform: translateY(-5px);
}

.highlight-card {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 159, 0.15);
}

.arch-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.arch-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;

}

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

.arch-connector {
    color: var(--neon-cyan);
    font-size: 1.5rem;
    font-family: var(--font-code);
}

/* Architecture Showcase Rows */
.architecture-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.arch-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.arch-row.reverse {
    flex-direction: row-reverse;
}

.arch-text {
    flex: 1;
}

.arch-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

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

.arch-image {
    flex: 1;
}

@media (max-width: 900px) {
    .arch-row, .arch-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
}

.tech-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: 16px;
}

.tech-box h5 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;

}

.tech-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Compare Table */
.table-responsive {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.compare-table th, .compare-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
}

.compare-table th {
    background: rgba(0, 0, 0, 0.4);
    font-size: 0.95rem;
    font-weight: 800;
}

.col-highlight {
    background: rgba(0, 255, 159, 0.05);
    border-left: 1px solid rgba(0, 255, 159, 0.2);
    border-right: 1px solid rgba(0, 255, 159, 0.2);
}

.text-green { color: var(--neon-cyan); font-weight: 700; }
.text-red { color: var(--neon-red); }
.text-yellow { color: #FACC15; }

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    font-family: var(--font-code);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Footer */
.footer-container {
    padding: 6rem 2rem 3rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 8, 0.95) 100%);
    border-top: 1px solid var(--border-glass);
}

.footer-content h2 {
    font-size: 2.25rem;
    font-weight: 900;
    margin: 1.5rem 0 1rem 0;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.footer-actions {
    margin-bottom: 4rem;
}

.footer-bottom {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }
    .hero-description {
        margin: 0 auto 2.5rem auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .module-grid {
        grid-template-columns: 1fr;
    }
    .arch-connector {
        display: none;
    }
    .tech-highlights-grid {
        grid-template-columns: 1fr;
    }
}
