:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #10b981;
    --dark: #0f172a;
    --text: #334155;
    --bg-mesh: #f8fafc;
    --orange-clip: #ff6900;
}

* { box-sizing: border-box; outline: none; }
body { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); background-color: var(--bg-mesh); overflow-x: hidden; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* LAYOUT & NAVBAR */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 80px 0; }
.bg-white { background: white; }
.navbar.glass { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.3); padding: 16px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.4rem; color: var(--dark); }
.dot { color: var(--primary); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.link-highlight { color: var(--primary) !important; }

/* BOTONES */
.btn { padding: 12px 24px; border-radius: 10px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border: none; font-size: 0.95rem; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid #e2e8f0; background: white; color: var(--dark); }
.btn-white { background: white; color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text); }
.shadow-glow { box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3); }
.full { width: 100%; }

/* HERO */
.hero { padding-top: 140px; padding-bottom: 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pill-badge { background: white; border: 1px solid #e2e8f0; padding: 6px 12px; border-radius: 30px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.dot-indicator { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
h1 { font-size: 3.5rem; line-height: 1.1; color: var(--dark); letter-spacing: -1.5px; margin: 0 0 20px 0; }
.gradient-text { background: linear-gradient(135deg, var(--primary), #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }

/* TRUST BAR */
.trust-bar { margin-top: 20px; }
.trust-label { font-size: 0.8rem; color: #94a3b8; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.logos-grid { display: flex; gap: 20px; align-items: center; font-size: 1.5rem; color: #cbd5e1; }
.icon-brand:hover { color: var(--dark); }
.text-brand { font-size: 0.9rem; font-weight: 700; color: #cbd5e1; }

/* HERO IMAGE */
.hero-image-wrapper { position: relative; height: 450px; display: flex; justify-content: center; align-items: center; }
.blob-bg { position: absolute; width: 400px; height: 400px; background: #e0e7ff; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; z-index: -1; animation: morph 8s ease-in-out infinite; }
@keyframes morph { 0%, 100% { border-radius: 40% 60% 70% 30%; } 50% { border-radius: 60% 40% 30% 70%; } }
.person-img { width: 100%; max-width: 400px; mask-image: linear-gradient(to bottom, black 85%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%); }
.float-card { position: absolute; bottom: 40px; right: 20px; background: rgba(255,255,255,0.9); padding: 12px 20px; border-radius: 12px; display: flex; gap: 12px; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,0.1); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.status-icon { background: #dcfce7; color: var(--accent); padding: 8px; border-radius: 8px; }
.status-text { display: flex; flex-direction: column; font-size: 0.8rem; line-height: 1.3; }

/* VALUE PROP */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 40px; }
.value-item .icon-box { font-size: 2rem; margin-bottom: 15px; background: #f1f5f9; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.value-item h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--dark); }
.value-item p { color: #64748b; font-size: 1rem; }

/* PRICING */
.section-title { text-align: center; margin-bottom: 50px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.plan-card { background: white; border-radius: 20px; padding: 32px; border: 1px solid #f1f5f9; position: relative; transition: 0.3s; }
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--primary); }
.plan-card.featured { border: 2px solid var(--primary); background: #fdfcff; }
.pop-tag { position: absolute; top: 12px; right: 12px; background: #e0e7ff; color: var(--primary); font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.price { font-size: 2.5rem; font-weight: 800; color: var(--dark); margin: 10px 0; }
.price span { font-size: 1rem; color: #94a3b8; font-weight: 500; }
hr { border: 0; border-top: 1px solid #f1f5f9; margin: 20px 0; }
.plan-card ul li { margin-bottom: 10px; display: flex; gap: 8px; font-size: 0.95rem; }
.plan-card ul li::before { content: "✓"; color: var(--primary); font-weight: bold; }

/* COTIZADOR CALCULATOR */
.calc-box { background: white; border-radius: 24px; border: 1px solid white; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: 1.5fr 1fr; }
.calc-controls { padding: 40px; }
.control-row { margin-bottom: 30px; }
.control-row label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; color: var(--dark); }
.ios-switch-wrapper { display: flex; align-items: center; gap: 16px; background: #f8fafc; padding: 8px 16px; border-radius: 12px; width: fit-content; }
.ios-switch { position: relative; width: 50px; height: 28px; display: inline-block; }
.ios-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(22px); }
.label-off.active, .label-on.active { color: var(--dark); font-weight: 700; }
.label-off, .label-on { color: #94a3b8; font-size: 0.85rem; }
.label-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.badge-count { background: var(--primary); color: white; padding: 2px 10px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; }
.modern-range { -webkit-appearance: none; width: 100%; height: 8px; border-radius: 5px; background: #e2e8f0; }
.modern-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); cursor: pointer; border: 3px solid white; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); }
.range-ticks { display: flex; justify-content: space-between; font-size: 0.75rem; color: #94a3b8; margin-top: 5px; }
.security-selector { display: flex; gap: 16px; }
.sec-option { flex: 1; cursor: pointer; }
.sec-option input { display: none; }
.box { border: 2px solid #e2e8f0; border-radius: 12px; padding: 15px; text-align: center; transition: 0.2s; font-weight: 600; font-size: 0.9rem; display: flex; flex-direction: column; gap: 5px; }
.box .icon { font-size: 1.2rem; }
.sec-option input:checked + .box { border-color: var(--primary); background: #eef2ff; color: var(--primary); }
.calc-result { background: var(--dark); padding: 40px; color: white; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc-result::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; background: var(--primary); filter: blur(80px); opacity: 0.4; border-radius: 50%; }
.result-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.big-price { font-size: 3.5rem; font-weight: 800; margin: 10px 0; }
.mt-auto { margin-top: auto; }

/* === MODAL STYLES (EL BUENO QUE TE GUSTÓ) === */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px); z-index: 2000; display: none; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s; }
.modal-overlay.active { display: flex; opacity: 1; }

/* Diseño limpio y amplio */
.modal-content { background: white; width: 90%; max-width: 500px; border-radius: 24px; padding: 30px; position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 2rem; cursor: pointer; color: #94a3b8; }
.modal-header { text-align: center; margin-bottom: 25px; }
.modal-header h3 { font-size: 1.5rem; margin-bottom: 5px; }
.highlight-text { color: var(--primary); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 10px; font-size: 0.9rem; }

/* El toggle que te gustó */
.radio-toggle { display: flex; gap: 10px; margin-bottom: 15px; }
.radio-toggle label { flex: 1; text-align: center; border: 1px solid #e2e8f0; padding: 10px; border-radius: 8px; cursor: pointer; transition: 0.2s; font-weight: 500; }
.radio-toggle input { display: none; }
.radio-toggle label:has(input:checked) { border-color: var(--primary); background: #eef2ff; color: var(--primary); }
.form-input { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; font-size: 1rem; }

/* El box de Upsell verde */
.upsell-box { background: #f0fdf4; border: 1px solid #bbf7d0; padding: 15px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.upsell-header { display: flex; align-items: center; gap: 12px; }
.upsell-header .text strong { display: block; font-size: 0.9rem; color: #166534; }
.upsell-header .text p { font-size: 0.8rem; color: #15803d; margin: 0; }
.upsell-price { font-weight: 700; color: #166534; font-size: 0.9rem; margin-top: 5px; }

/* Switch del Upsell */
.switch-upsell { position: relative; display: inline-block; width: 40px; height: 24px; }
.switch-upsell input { opacity: 0; width: 0; height: 0; }
.switch-upsell .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .4s; border-radius: 34px; }
.switch-upsell .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
.switch-upsell input:checked + .slider { background-color: #166534; }
.switch-upsell input:checked + .slider:before { transform: translateX(16px); }

.modal-footer { border-top: 1px solid #f1f5f9; padding-top: 20px; text-align: center; }
.total-row { display: flex; justify-content: space-between; font-size: 1.2rem; margin-bottom: 10px; color: var(--dark); }
.btn-clip { background: var(--orange-clip); color: white; border: none; padding: 15px; width: 100%; border-radius: 8px; font-weight: 700; font-size: 1.1rem; cursor: pointer; margin-top: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.3s; }
.btn-clip:hover { background: #e65e00; transform: translateY(-2px); }
.secure-badge { font-size: 0.8rem; color: #94a3b8; margin-top: 15px; display: block; }

/* Mobile */
@media (max-width: 768px) {
    .hero-grid, .pricing-grid, .calc-grid { grid-template-columns: 1fr; }
    .hero { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-image-wrapper { height: 350px; margin-top: 40px; }
    .calc-result { min-height: 200px; text-align: center; border-radius: 0 0 24px 24px; }
    .nav-links { display: none; }
}

/* Estilos nuevos para el Modal Mejorado */

.input-wrapper { position: relative; margin-bottom: 15px; }

/* Mensajes de Dominio */
.domain-msg { font-size: 0.85rem; margin-top: 8px; font-weight: 600; display: flex; align-items: center; gap: 5px; min-height: 20px; }
.domain-msg.searching { color: #64748b; }
.domain-msg.available { color: #10b981; } /* Verde */
.domain-msg.taken { color: #ef4444; } /* Rojo */

/* Animación de carga */
.spinner { width: 12px; height: 12px; border: 2px solid #cbd5e1; border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Selector de Registrar */
.registrar-wrapper { margin-top: 15px; animation: fadeIn 0.3s ease; }
.registrar-wrapper.hidden { display: none; }
.sub-label { font-size: 0.85rem; color: #64748b; margin-bottom: 5px; display: block; }
.form-select { width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: white; font-family: inherit; font-size: 0.95rem; color: var(--text); cursor: pointer; }
.form-select:focus { border-color: var(--primary); outline: none; }

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

.details-text { color: #94a3b8; display: block; margin-bottom: 15px; }

/* === NUEVA SECCIÓN AI TECH (DARK MODE) === */
.tech-section {
    background: #0f172a; /* Fondo oscuro profundo */
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo sutil */
.tech-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 70% 30%, #1e293b 0%, #0f172a 70%);
    z-index: 0;
}

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

/* Badge Animado */
.tech-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(99, 102, 241, 0.15); border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8; padding: 6px 14px; border-radius: 30px;
    font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 25px;
}
.pulse-dot { width: 8px; height: 8px; background: #818cf8; border-radius: 50%; box-shadow: 0 0 10px #818cf8; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* Texto Brillante */
.tech-text h2 { color: white; margin-bottom: 20px; font-size: 2.8rem; }
.text-glow {
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(129, 140, 248, 0.3));
}
.tech-text p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 40px; }

/* Items */
.tech-features { display: flex; flex-direction: column; gap: 30px; }
.tech-item { display: flex; gap: 20px; }
.tech-icon {
    width: 50px; height: 50px; background: rgba(255,255,255,0.05);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; border: 1px solid rgba(255,255,255,0.1);
}
.tech-item h4 { margin: 0 0 5px 0; font-size: 1.1rem; color: white; }
.tech-item p { margin: 0; font-size: 0.95rem; }

/* === VISUALIZACIÓN HUD (LA PANTALLA TIPO IRON MAN) === */
.tech-visual { position: relative; }
.hud-container {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 25px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: relative; z-index: 2;
    overflow: hidden;
}

.hud-header {
    display: flex; justify-content: space-between; font-family: monospace;
    font-size: 0.8rem; color: #64748b; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px; margin-bottom: 20px; letter-spacing: 1px;
}
.blink { animation: blink 1s infinite; color: #10b981; }
@keyframes blink { 50% { opacity: 0; } }

/* Cuerpo del HUD con scanline */
.hud-body { display: flex; flex-direction: column; gap: 15px; position: relative; margin-bottom: 25px; }
.scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(to right, transparent, #818cf8, transparent);
    box-shadow: 0 0 10px #818cf8;
    animation: scan 3s linear infinite; z-index: 10; opacity: 0.5;
}
@keyframes scan { 0% { top: 0; } 100% { top: 100%; } }

.threat-row {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.03); padding: 12px; border-radius: 8px;
    font-family: monospace; font-size: 0.9rem;
}
.threat-row span:first-child { color: #cbd5e1; }
.status-ok { color: #10b981; font-weight: bold; }
.status-block { color: #f43f5e; font-weight: bold; text-shadow: 0 0 10px rgba(244, 63, 94, 0.5); }
.danger { border: 1px solid rgba(244, 63, 94, 0.3); background: rgba(244, 63, 94, 0.05); }

.hud-stats { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.hud-stats div { text-align: center; flex: 1; }
.hud-stats small { display: block; color: #64748b; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 5px; }
.hud-stats strong { font-size: 1.5rem; color: white; display: block; }

/* Brillo detrás */
.glow-effect {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 300px; height: 300px; background: #6366f1;
    filter: blur(100px); opacity: 0.2; z-index: 1; pointer-events: none;
}

/* Mobile */
@media (max-width: 768px) {
    .tech-grid { grid-template-columns: 1fr; gap: 40px; }
    .tech-text { text-align: center; }
    .tech-features { align-items: center; text-align: left; }
    .tech-item { max-width: 400px; }
}

/* === NUEVA SECCIÓN AI (Clean Style) === */
.relative { position: relative; overflow: hidden; }

/* Decoración de fondo difusa */
.bg-decoration-circle {
    position: absolute; left: -10%; top: 20%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: -1; animation: pulse-soft 5s infinite alternate;
}
@keyframes pulse-soft { from { transform: scale(1); } to { transform: scale(1.1); } }

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

/* Texto */
.tag-pill {
    display: inline-block; background: #e0e7ff; color: var(--primary);
    font-weight: 700; font-size: 0.8rem; padding: 6px 14px; border-radius: 20px;
    margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px;
}
.ai-text h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--dark); line-height: 1.2; }
.ai-text p { color: #64748b; margin-bottom: 30px; font-size: 1.1rem; }
.ai-features { list-style: none; padding: 0; }
.ai-features li { display: flex; align-items: start; gap: 15px; margin-bottom: 20px; font-size: 1rem; color: var(--text); }
.check-icon { background: #dcfce7; color: var(--accent); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* La Tarjeta Visual (Glass/Clean) */
.ai-visual { position: relative; padding: 20px; }
.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid white;
    border-radius: 24px;
    box-shadow: 0 20px 60px -10px rgba(99, 102, 241, 0.2); /* Sombra suave morada */
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.card-header {
    background: #f8fafc; padding: 15px 20px; border-bottom: 1px solid #e2e8f0;
    display: flex; align-items: center; gap: 8px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; } .yellow { background: #f59e0b; } .green { background: #10b981; }
.header-title { margin-left: auto; font-size: 0.75rem; color: #94a3b8; font-weight: 600; font-family: monospace; }

.card-body { padding: 25px; position: relative; }

/* Animación Escáner */
.scanner-bar {
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    z-index: 10; opacity: 0.7;
    animation: scan-vertical 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    box-shadow: 0 0 15px var(--primary);
}
@keyframes scan-vertical { 0% { top: 60px; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 220px; opacity: 0; } }

/* Filas de Email simulado */
.email-row {
    display: flex; align-items: center; gap: 15px; padding: 12px;
    background: white; border: 1px solid #f1f5f9; border-radius: 12px; margin-bottom: 12px;
    transition: 0.3s;
}
.email-row:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.danger-row { border-color: #fecaca; background: #fef2f2; position: relative; overflow: hidden; }
/* Efecto de bloqueo rojo suave */
.danger-row::after {
    content: ''; position: absolute; inset: 0; background: rgba(239, 68, 68, 0.05); pointer-events: none;
}

.avatar-icon { width: 40px; height: 40px; background: #f1f5f9; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.avatar-icon.warning { background: #fee2e2; }

.email-info { flex: 1; display: flex; flex-direction: column; }
.subject { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.meta { font-size: 0.75rem; color: #94a3b8; }

.badge-safe { color: #10b981; font-size: 0.8rem; font-weight: 700; background: #dcfce7; padding: 4px 10px; border-radius: 8px; }
.badge-blocked { color: #ef4444; font-size: 0.8rem; font-weight: 700; background: white; padding: 4px 10px; border-radius: 8px; box-shadow: 0 2px 5px rgba(239, 68, 68, 0.1); }

/* Estadística flotante */
.stat-floating {
    position: absolute; bottom: 20px; right: -20px;
    background: white; padding: 15px 20px; border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex; align-items: center; gap: 15px; border: 1px solid #f1f5f9;
    animation: float 4s ease-in-out infinite reverse;
}
.stat-floating .icon { font-size: 1.8rem; background: #e0e7ff; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.stat-floating strong { display: block; font-size: 1.2rem; color: var(--dark); line-height: 1; }
.stat-floating small { font-size: 0.75rem; color: #64748b; text-transform: uppercase; font-weight: 600; }

/* === CORRECCIÓN DEL FOOTER (Centrado Perfecto) === */
footer {
    background: #f8fafc;
    padding: 60px 0 30px; /* Más espacio arriba */
    border-top: 1px solid #e2e8f0;
    margin-top: 50px;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center; /* ESTO CENTRA HORIZONTALMENTE */
    justify-content: center;
    text-align: center; /* ESTO CENTRA EL TEXTO */
}
footer p {
    margin: 5px 0;
    color: #94a3b8;
    font-size: 0.9rem;
}
footer a { color: var(--primary); font-weight: 600; }

/* Mobile */
@media (max-width: 768px) {
    .ai-grid { grid-template-columns: 1fr; gap: 40px; }
    .ai-grid { display: flex; flex-direction: column-reverse; } /* Pone la imagen abajo en móvil */
    .stat-floating { right: 0; bottom: -15px; }
}

/* === SECTION HEADERS === */
.section-header-center { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.pill-label { 
    display: inline-block; background: #f1f5f9; color: var(--text); 
    font-size: 0.8rem; font-weight: 700; padding: 6px 16px; border-radius: 30px; 
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.section-header-center h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--dark); line-height: 1.2; }
.section-header-center p { font-size: 1.1rem; color: #64748b; }

/* === BENTO GRID LAYOUT === */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columnas */
    gap: 30px;
}

/* Estilo Base de Tarjeta Bento */
.bento-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Iconos con forma */
.icon-shape {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
}
.purple-shape { background: #eef2ff; color: var(--primary); }
.green-shape { background: #ecfdf5; color: var(--accent); }
.blue-shape { background: #eff6ff; color: #3b82f6; }

.bento-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--dark); }
.bento-card p { font-size: 0.95rem; color: #64748b; line-height: 1.6; margin-bottom: 30px; }

/* === DETALLES VISUALES DENTRO DE LAS CARDS === */

/* Card 1: Badge Visual */
.visual-badge {
    background: #f8fafc; border-radius: 12px; padding: 15px;
    border: 1px solid #e2e8f0;
}
.badge-row { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #94a3b8; margin-bottom: 8px; font-family: monospace; }
.badge-row.success { color: var(--dark); font-weight: 700; margin-bottom: 0; }
.cross { color: #ef4444; }
.check { color: #10b981; }

/* Card 2: Mapa Abstracto */
.card-mex { position: relative; }
.map-decoration {
    height: 60px; width: 100%; position: relative;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 10px 10px; opacity: 0.5;
    border-radius: 12px;
}
.server-dot {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 12px; height: 12px; background: var(--accent); border-radius: 50%;
    z-index: 2; box-shadow: 0 0 0 4px white;
}
.radar-ping {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; border: 2px solid var(--accent); border-radius: 50%;
    opacity: 0; animation: ping 2s infinite;
}
@keyframes ping { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(2); opacity: 0; } }

/* Card 3: Avatares */
.support-avatars { display: flex; align-items: center; }
.avatar {
    width: 40px; height: 40px; border-radius: 50%; border: 3px solid white;
    object-fit: cover; margin-right: -10px; position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.avatar.a3 { background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card { min-height: auto; }
}