:root {
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 25, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-cyan: #00f0ff;
    --accent-orange: #ff5722;
    --accent-pink: #f06292;
    --accent-blue: #448aff;
    --text-main: #ffffff;
    --text-muted: #a0a0ab;
    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Inter", sans-serif;
}
html { scroll-behavior: smooth; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-body); margin: 0; padding: 0; overflow-x: hidden; }
h1, h2, h3, h4, .logo { font-family: var(--font-heading); margin: 0; }
.highlight { color: var(--accent-cyan); text-shadow: 0 0 20px rgba(0, 240, 255, 0.4); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- FLOATING GLASS PILL NAVIGATION --- */
.glass-pill-nav { position: fixed; top: 25px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1000px; z-index: 100; background: rgba(15, 15, 20, 0.4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(0, 240, 255, 0.15); border-radius: 50px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.05); transition: all 0.4s ease; }
.glass-pill-nav:hover { border-color: rgba(0, 240, 255, 0.3); box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 10px 30px; }
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 100px; width: auto; object-fit: contain; transition: all 0.3s ease; mix-blend-mode: screen; transform: scale(1.2); }
.logo-img:hover { filter: drop-shadow(0 0 8px rgba(0,240,255,0.6)); }
.nav-links { list-style: none; display: flex; gap: 35px; padding: 0; margin: 0; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s ease; letter-spacing: 0.5px; }
.nav-links a:hover { color: var(--text-main); text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.btn-primary { background: var(--text-main); color: var(--bg-dark); padding: 10px 24px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: all 0.3s ease; }
.btn-primary.glow { background: var(--accent-cyan); }
.cta-pill { padding: 12px 28px !important; border-radius: 30px !important; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

/* CONTENEDOR HERO */
.hero-section { padding-top: 150px; padding-bottom: 80px; position: relative; background: #000; display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero-text-content { position: relative; z-index: 40; max-width: 800px; padding: 0 20px; margin-bottom: 20px; }
.hero-headline { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 5px 15px rgba(0,0,0,0.8); }

.cinematic-stage {
    position: relative; 
    width: 90vw; 
    max-width: 1100px; 
    aspect-ratio: 16 / 9;
    height: auto;
    margin-top: 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.3);
    z-index: 10;
}

/* HERO VIDEO STYLES */
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
}

/* Flying Messages (WhatsApp Style) */
.message-node { 
    position: absolute; 
    background: rgba(0, 92, 75, 0.7); /* WhatsApp Dark Mode Green with 70% opacity */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e9edef; 
    padding: 15px 20px; 
    border-radius: 15px; 
    border-top-left-radius: 0; /* Tail shape */
    font-size: 1.4rem; 
    font-weight: 500;
    z-index: 30; 
    opacity: 0; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.message-node::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: rgba(0, 92, 75, 0.7);
    border-top: 0;
    border-bottom: 20px solid transparent;
}
.msg-1 { top: 15%; left: 10%; } 
.msg-2 { top: 25%; right: 10%; border-top-left-radius: 15px; border-top-right-radius: 0; } 
.msg-2::after { left: auto; right: -10px; border-right-color: transparent; border-left-color: rgba(0, 92, 75, 0.7); }
.msg-3 { top: 40%; left: 10%; } 
.msg-4 { top: 50%; right: 10%; border-top-left-radius: 15px; border-top-right-radius: 0; }
.msg-4::after { left: auto; right: -10px; border-right-color: transparent; border-left-color: rgba(0, 92, 75, 0.7); }
.msg-5 { bottom: 25%; left: 15%; }
.msg-6 { bottom: 15%; right: 15%; border-top-left-radius: 15px; border-top-right-radius: 0; }
.msg-6::after { left: auto; right: -10px; border-right-color: transparent; border-left-color: rgba(0, 92, 75, 0.7); }

.trust-bar { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: rgba(10, 10, 10, 0.5); padding: 20px 0; display: flex; justify-content: space-around; flex-wrap: wrap; position: relative; z-index: 50;}
.trust-item { display: flex; align-items: center; gap: 15px; }
.trust-item .icon { font-size: 1.5rem; color: var(--accent-cyan); }
.trust-item p { margin: 0; font-weight: 600; color: var(--text-muted); }
.agents-section { padding: 100px 0; position: relative; z-index: 50; background: var(--bg-dark); }
.agents-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.agent-card { 
    background: rgba(10, 15, 20, 0.4); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 240, 255, 0.2); 
    border-radius: 16px; 
    padding: 30px; 
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.agent-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 5px 30px rgba(0, 240, 255, 0.2);
}
.agent-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; transition: all 0.4s ease; }
.agent-avatar-img { 
    width: 65px; 
    height: 65px; 
    border-radius: 12px; 
    object-fit: cover; 
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    background-color: #000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 10;
    transform-origin: left center;
}
.agent-avatar-img:hover {
    transform: scale(2.2);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
    z-index: 50;
    border-radius: 6px;
}

/* --- CERO ALUCINACIONES --- */
.no-hallucination-section { padding: 100px 0; background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(10, 15, 25, 0.8) 100%); position: relative; z-index: 50; border-top: 1px solid var(--border-color); }
.split-layout { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.text-block { flex: 1; min-width: 300px; }
.text-block h2 { font-size: 2.5rem; margin-bottom: 20px; }
.text-block p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; line-height: 1.6; }
.check-list { list-style: none; padding: 0; }
.check-list li { margin-bottom: 15px; position: relative; padding-left: 30px; color: #ccc; }
.check-list li::before { content: '✔'; position: absolute; left: 0; top: 0; color: var(--accent-cyan); font-weight: bold; }
.check-list li strong { color: var(--text-main); }
.visual-block { flex: 1; min-width: 300px; display: flex; justify-content: center; align-items: center; }
.hud-container { position: relative; border-radius: 50%; padding: 20px; border: 1px solid rgba(0, 240, 255, 0.3); background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, transparent 70%); transition: all 0.4s ease; cursor: pointer; }
.hud-container:hover { border-color: var(--accent-cyan); box-shadow: 0 0 30px rgba(0, 240, 255, 0.2); }
.shield-image { width: 450px; max-width: 100%; border-radius: 20px; object-fit: contain; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.hud-container:hover .shield-image { transform: scale(1.1); }
.glow { filter: drop-shadow(0 0 15px var(--accent-cyan)); }

/* --- PLANES SAAS --- */
.pricing-section { padding: 100px 0; background: var(--bg-dark); position: relative; z-index: 50; }
.pricing-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.price-card { background: rgba(15, 20, 25, 0.6); backdrop-filter: blur(10px); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px 30px; flex: 1; min-width: 280px; max-width: 350px; text-align: center; transition: transform 0.3s ease, border-color 0.3s ease; position: relative; }
.price-card:hover { transform: translateY(-10px); border-color: rgba(255, 255, 255, 0.3); }
.price-card.popular { border-color: var(--accent-cyan); background: rgba(10, 25, 35, 0.8); transform: scale(1.05); }
.price-card.popular:hover { transform: scale(1.05) translateY(-10px); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-cyan); color: #000; padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; }
.price-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.price { font-size: 3rem; font-weight: 800; font-family: var(--font-heading); margin-bottom: 15px; color: var(--text-main); }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.plan-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; min-height: 40px; }
.features-list { list-style: none; padding: 0; margin: 0 0 30px 0; text-align: left; }
.features-list li { margin-bottom: 12px; font-size: 0.95rem; color: #ddd; position: relative; padding-left: 25px; }
.features-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent-cyan); }
.price-card .btn-primary { display: block; width: calc(100% - 48px); box-sizing: content-box; }

/* Pricing Toggle */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 30px; font-size: 1.1rem; color: #fff; }
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border: 1px solid rgba(0, 240, 255, 0.3); }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 3px; bottom: 3px; background-color: var(--accent-cyan); transition: .4s; box-shadow: 0 0 10px rgba(0, 240, 255, 0.5); }
input:checked + .slider { background-color: rgba(0, 240, 255, 0.1); border-color: var(--accent-cyan); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }
.discount-badge { background: #00f0ff; color: #000; font-size: 0.8rem; font-weight: 800; padding: 3px 8px; border-radius: 20px; margin-left: 10px; position: relative; top: -2px; }

/* --- CTA & FOOTER --- */
.cta-section { padding: 100px 0; background: linear-gradient(0deg, #020202 0%, var(--bg-dark) 100%); text-align: center; border-bottom: 1px solid var(--border-color); position: relative; z-index: 50;}
.cta-container h2 { font-size: 3rem; margin-bottom: 20px; }
.cta-container p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto 40px auto; }
.large-btn { font-size: 1.2rem; padding: 15px 40px; border-radius: 12px; display: inline-block; }
footer { background: #020202; padding: 40px 0; position: relative; z-index: 50;}
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo .logo-img { height: 30px; filter: grayscale(100%) opacity(0.5); transition: all 0.3s; }
.footer-logo .logo-img:hover { filter: none; opacity: 1; }
.footer-content p { color: #555; margin: 0; font-size: 0.9rem; }
.footer-links a { color: #777; text-decoration: none; margin-left: 20px; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--text-main); }
/* --- BOTONES VER DEMO --- */
.btn-demo { margin-top: 20px; background: rgba(0, 240, 255, 0.1); border: 1px solid var(--accent-cyan); color: var(--accent-cyan); padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; width: 100%; font-weight: 600; font-family: 'Inter', sans-serif; }
.btn-demo:hover { background: var(--accent-cyan); color: #000; box-shadow: 0 0 15px var(--accent-cyan); }

/* --- SECCION FAQ --- */
.faq-section { padding: 80px 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: rgba(10, 15, 20, 0.6); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 15px; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: rgba(0, 240, 255, 0.3); }
.faq-question { width: 100%; background: none; border: none; color: var(--text-main); font-size: 1.1rem; font-weight: 600; padding: 20px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-icon { color: var(--accent-cyan); font-size: 1.5rem; transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; padding: 0 20px; opacity: 0; transition: all 0.4s ease; color: var(--text-muted); line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 200px; padding: 0 20px 20px; opacity: 1; }

/* --- WIDGET BOT FLOTANTE --- */
.floating-bot-widget { position: fixed; bottom: 30px; right: 30px; z-index: 1000; display: flex; align-items: center; gap: 15px; text-decoration: none; cursor: pointer; animation: float 3s ease-in-out infinite; }
.bot-tooltip { background: rgba(0, 0, 0, 0.8); border: 1px solid var(--accent-cyan); color: #fff; padding: 8px 15px; border-radius: 20px; font-size: 0.9rem; white-space: nowrap; box-shadow: 0 5px 15px rgba(0,0,0,0.5); position: relative; opacity: 0; transform: translateX(20px); transition: all 0.3s ease; pointer-events: none; }
.bot-tooltip::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent var(--accent-cyan); }
.floating-bot-widget img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--accent-cyan); object-fit: cover; box-shadow: 0 0 20px rgba(0, 240, 255, 0.4); }
.floating-bot-widget:hover .bot-tooltip { opacity: 1; transform: translateX(0); }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }

/* --- MODAL GLASSMORPHISM --- */
.glass-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.glass-modal.active { opacity: 1; pointer-events: all; }
.modal-content { background: rgba(10, 15, 20, 0.85); border: 1px solid var(--accent-cyan); border-radius: 20px; width: 90%; max-width: 1000px; max-height: 90vh; position: relative; transform: translateY(50px); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow: hidden; display: flex; flex-direction: column; }
.glass-modal.active .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; z-index: 10; opacity: 0.7; transition: opacity 0.3s; }
.close-modal:hover { opacity: 1; color: var(--accent-cyan); }
.modal-split { display: flex; flex-wrap: wrap; height: 100%; }

/* Simulador WhatsApp */
.whatsapp-simulator { flex: 1; min-width: 300px; background: #0b141a; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,0.1); height: 60vh; }
.wa-header { background: #202c33; padding: 10px 15px; display: flex; align-items: center; gap: 15px; }
.wa-header img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.wa-info h5 { margin: 0; font-size: 1rem; color: #e9edef; }
.wa-info span { font-size: 0.8rem; color: #8696a0; }
.wa-chat-body { flex: 1; padding: 20px; background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png'); background-color: #0b141a; background-size: cover; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.wa-msg { max-width: 80%; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; line-height: 1.4; color: #e9edef; position: relative; animation: popIn 0.3s ease forwards; }
.wa-msg.in { background: #202c33; align-self: flex-start; border-top-left-radius: 0; }
.wa-msg.out { background: #005c4b; align-self: flex-end; border-top-right-radius: 0; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.wa-footer { background: #202c33; padding: 10px 15px; display: flex; align-items: center; gap: 10px; }
.wa-input-pill { flex: 1; background: #2a3942; border-radius: 20px; padding: 10px 15px; color: #8696a0; font-size: 0.95rem; }
.wa-send-btn { width: 40px; height: 40px; background: #00a884; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-size: 1.2rem; }

/* Modal Info */
.modal-agent-info { flex: 1; min-width: 300px; padding: 40px; display: flex; flex-direction: column; justify-content: flex-start; position: relative; overflow-y: auto; max-height: 100%; }
.modal-info-top { display: flex; gap: 25px; align-items: center; margin-bottom: 20px; }
.modal-avatar-container { text-align: center; margin-bottom: 0; flex-shrink: 0; }
#modal-large-avatar { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent-cyan); box-shadow: 0 0 40px rgba(0, 240, 255, 0.4); }
.modal-text-wrap { flex: 1; }
.modal-text-wrap h3 { font-size: 2.5rem; margin-bottom: 5px; }
.modal-text-wrap h4 { font-size: 1.2rem; margin-bottom: 15px; }
.modal-text-wrap p { color: var(--text-muted); line-height: 1.6; margin-bottom: 0; }
.agent-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 40px; }
.stat-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 15px; border-radius: 12px; text-align: center; }
.stat-box strong { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }
.stat-box span { display: block; font-size: 1.1rem; color: var(--accent-cyan); font-weight: 600; margin-top: 5px; }
.cta-modal { text-align: center; width: fit-content; align-self: center; padding: 15px 60px; font-size: 1.1rem; }

/* Footer Logo Grande */
.footer-logo-img { height: 180px !important; margin-bottom: 20px; transform: scale(1.2); }
@media (max-width: 768px) {
    .modal-split { flex-direction: column; }
    .whatsapp-simulator { height: 40vh; }
    .modal-agent-info { padding: 20px; }
    .footer-logo-img { height: 120px !important; }
}

/* ==========================================================================
   B2B & GOBIERNO: FORMULARIO DE CONTACTO EJECUTIVO
   ========================================================================== */
.contact-wrapper {
    max-width: 850px;
    margin: 40px auto 0;
    background: rgba(15, 18, 24, 0.75);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.b2b-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 650px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        padding: 25px 20px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group label .req {
    color: var(--accent-cyan);
}

.form-input, .form-select, .form-textarea {
    background: rgba(5, 7, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-select option {
    background: #0a0f14;
    color: #fff;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
    background: rgba(10, 15, 22, 0.95);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-secondary-glow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary-glow:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
}

/* ==========================================================================
   MODALES LEGALES (AVISO DE PRIVACIDAD, TÉRMINOS, COOKIES)
   ========================================================================== */
.legal-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.legal-modal-container.active {
    opacity: 1;
    pointer-events: all;
}

.legal-modal-box {
    background: #0a0e14;
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.15);
    overflow: hidden;
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 20, 30, 0.9);
}

.legal-modal-header h3 {
    font-size: 1.3rem;
    color: var(--accent-cyan);
}

.legal-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.legal-modal-close:hover {
    color: #fff;
}

.legal-modal-body {
    padding: 30px;
    overflow-y: auto;
    color: #c0c4ce;
    font-size: 0.92rem;
    line-height: 1.7;
    text-align: left;
}

.legal-modal-body h4 {
    color: #fff;
    margin: 20px 0 10px;
    font-size: 1.05rem;
}

.legal-modal-body h4:first-child {
    margin-top: 0;
}

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

.legal-modal-body ul {
    margin: 10px 0 15px 20px;
    padding: 0;
}

.legal-modal-body li {
    margin-bottom: 8px;
}

/* ==========================================================================
   BANNER DE CONSENTIMIENTO DE COOKIES
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 900px;
    background: rgba(12, 16, 22, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 16px;
    padding: 20px 30px;
    z-index: 2500;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-text {
    font-size: 0.88rem;
    color: #a0a6b5;
    line-height: 1.5;
    margin: 0;
}

.cookie-text strong {
    color: #fff;
}

.cookie-text a {
    color: var(--accent-cyan);
    text-decoration: underline;
    cursor: pointer;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background: var(--accent-cyan);
    color: #050505;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.cookie-btn-accept:hover {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    transform: translateY(-1px);
}

.cookie-btn-minimal {
    background: transparent;
    color: #a0a6b5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.cookie-btn-minimal:hover {
    border-color: #fff;
    color: #fff;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        bottom: 15px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   SECCION COMPARATIVA: META AI GRATIS VS MATSUMOTO SYSTEMS
   ========================================================================== */
.comparison-section {
    padding: 90px 0;
    background: radial-gradient(circle at 50% 50%, rgba(10, 20, 30, 0.7) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 45;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 45px;
    align-items: stretch;
}

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

.comp-card {
    border-radius: 20px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comp-card.meta-card {
    background: rgba(18, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.comp-card.meta-card:hover {
    border-color: rgba(255, 100, 100, 0.3);
}

.comp-card.matsumoto-card {
    background: rgba(8, 22, 32, 0.85);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15), inset 0 0 20px rgba(0, 240, 255, 0.05);
    transform: scale(1.02);
}

@media (max-width: 850px) {
    .comp-card.matsumoto-card {
        transform: scale(1);
    }
}

.comp-card.matsumoto-card:hover {
    box-shadow: 0 15px 50px rgba(0, 240, 255, 0.25);
}

.comp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-header h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.comp-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comp-tag.meta-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #999;
}

.comp-tag.matsumoto-tag {
    background: rgba(0, 240, 255, 0.2);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.comp-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 0.92rem;
    line-height: 1.5;
}

.comp-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.comp-item-text strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
}

.meta-card .comp-item-text {
    color: #949aab;
}

.matsumoto-card .comp-item-text {
    color: #cdd4e2;
}

.comp-summary-box {
    margin-top: 30px;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.meta-card .comp-summary-box {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
}

.matsumoto-card .comp-summary-box {
    background: rgba(0, 240, 255, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}



