/* landing.css */
:root {
    --bg-color: #0f172a;
    --primary: #38bdf8; /* Azul claro / Celeste */
    --primary-glow: rgba(56, 189, 248, 0.5);
    --secondary: #f97316; /* Naranja corporativo Labinfos */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body, html {
    margin: 0; padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; position: fixed; top: 0; width: 90%; z-index: 1000;
    background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo { font-size: 1.8rem; font-weight: 900; letter-spacing: -1px; color: white;}

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

.btn-login {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.6rem 1.5rem; border-radius: 50px; font-weight: 700;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 0 25px var(--primary-glow); color: white !important; }

/* Nav Tabs Específicas */
.nav-tab-link.active {
    color: #fff !important;
    background: rgba(56, 189, 248, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}
#navLinkSeguridad.active {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}
#navLinkDesarrollo.active {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

/* Hero */
.hero {
    min-height: 100vh; display: flex; align-items: flex-start; justify-content: flex-start;
    padding: 8.5rem 5% 4rem 5%; position: relative; overflow: hidden; background-color: var(--bg-color);
    flex-direction: column;
}

/* Hero Switcher Superior (Pestañas de Solución) */
.hero-top-switcher {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 3rem auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    z-index: 10;
}
.switcher-tab {
    flex: 1;
    min-width: 280px;
    background: rgba(30, 41, 59, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #94a3b8;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.switcher-tab:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
    color: #fff;
}
.switcher-tab.active {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    border: 2px solid var(--primary);
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.35);
    color: #fff;
    transform: translateY(-2px) scale(1.02);
}
.switcher-tab .tab-icon {
    font-size: 2.4rem;
    background: rgba(255,255,255,0.05);
    width: 55px; height: 55px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.switcher-tab.active .tab-icon {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    transform: scale(1.05);
}
.switcher-tab .tab-text strong { display: block; font-size: 1.15rem; margin-bottom: 3px; color: #fff; }
.switcher-tab .tab-text small { font-size: 0.82rem; opacity: 0.75; color: #cbd5e1; display: block; }

#tabBtnSeguridad:hover { border-color: rgba(249, 115, 22, 0.4); }
#tabBtnSeguridad.active {
    border-color: #f97316;
    box-shadow: 0 0 35px rgba(249, 115, 22, 0.35);
}
#tabBtnSeguridad.active .tab-icon {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.4);
}

#tabBtnDesarrollo:hover { border-color: rgba(168, 85, 247, 0.4); }
#tabBtnDesarrollo.active {
    border-color: #a855f7;
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.35);
}
#tabBtnDesarrollo.active .tab-icon {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.4);
}

.hero-tab-pane {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInTab 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-bg-glow {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: -200px; left: -200px; z-index: -1;
}

.hero-content { flex: 1; min-width: 320px; max-width: 520px; z-index: 1; }

.badge {
    display: inline-block; padding: 0.4rem 1rem; border-radius: 50px;
    background: rgba(56, 189, 248, 0.1); border: 1px solid var(--primary);
    color: var(--primary); font-size: 0.9rem; font-weight: 700; margin-bottom: 1.5rem;
}

.hero h1 { font-size: 4rem; line-height: 1.1; margin: 0 0 1.5rem 0; font-weight: 900; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; line-height: 1.6; }

.hero-actions { display: flex; gap: 1rem; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; border: none; padding: 1rem 2rem; border-radius: 50px;
    font-size: 1.1rem; font-weight: 700; cursor: pointer; text-decoration: none;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4); transition: 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(249, 115, 22, 0.6); }

.btn-secondary {
    background: transparent; color: var(--text-main); border: 2px solid var(--glass-border);
    padding: 1rem 2rem; border-radius: 50px; font-size: 1.1rem; font-weight: 700;
    text-decoration: none; transition: 0.3s;
}
.btn-secondary:hover { background: var(--glass-border); }

/* Mockup */
.mockup-card {
    width: 350px; height: 450px; background: linear-gradient(145deg, rgba(30,41,59,0.9), rgba(15,23,42,0.9));
    border-radius: 20px; border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s; display: flex; flex-direction: column;
}
.mockup-card:hover { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); }

.mockup-header { padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; } .dot.yellow { background: #ffbd2e; } .dot.green { background: #27c93f; }

.mockup-body { padding: 30px; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;}
.mockup-temp { font-size: 4rem; font-weight: 900; background: linear-gradient(90deg, #fff, #38bdf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.mockup-line { width: 100%; height: 60px; margin-top: 30px; background: repeating-linear-gradient(90deg, rgba(56,189,248,0.2) 0, rgba(56,189,248,0.2) 2px, transparent 2px, transparent 10px); }

/* --- LIGHT THEME SECTIONS --- */
.light-theme {
    background: linear-gradient(135deg, #f0f9ff 0%, #fff7ed 100%);
    color: #1e293b;
}
.light-theme h2, .light-theme h3 { color: #0f172a; }
.light-theme p { color: #475569; }

/* Light Glassmorphism Cards */
.light-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Features */
.features { padding: 5rem 10%; text-align: center; }
.features h2 { font-size: 3rem; margin-bottom: 4rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card { padding: 3rem 2rem; text-align: left; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-10px); }
.feature-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card p { line-height: 1.6; }

/* --- PLATAFORMA DE MONITOREO 360 (BENTO SHOWCASE) --- */
.platform-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: left;
}
.platform-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    perspective: 1000px;
    height: 440px;
    position: relative;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.platform-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.8rem;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    overflow-y: auto;
}
.flip-card-front:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(56, 189, 248, 0.15);
}
.flip-card-back {
    transform: rotateY(180deg);
    background: #0f172a;
    border: 1px solid rgba(56, 189, 248, 0.4);
}
.flip-card-front h3, .flip-card-back h3 {
    font-size: 1.25rem;
    color: #fff !important;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.flip-card-front p, .flip-card-back p {
    color: #94a3b8 !important;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}
.mockup-badge-container {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}
.pulse-alarm-border .flip-card-front, .pulse-alarm-border .flip-card-back {
    animation: alarmPulse 1.5s infinite alternate;
}
@keyframes alarmPulse {
    0% { border-color: rgba(239, 68, 68, 0.4); box-shadow: 0 0 10px rgba(239, 68, 68, 0.2); }
    100% { border-color: rgba(239, 68, 68, 1); box-shadow: 0 0 25px rgba(239, 68, 68, 0.6); }
}
.btn-flip {
    margin-top: 1rem;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(2, 132, 199, 0.2));
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}
.btn-flip:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}
.btn-unflip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 10px;
    align-self: center;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-unflip:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
/* Estilos para tablas y elementos del dorso */
.demo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
    margin: 10px 0;
}
.demo-table th, .demo-table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    color: #cbd5e1;
}
.demo-table th {
    background: rgba(15, 23, 42, 0.8);
    color: #38bdf8;
    font-weight: bold;
}

/* Banner CTA (Estilo TTN) */
.cta-banner {
    /* Fondo azul semi-transparente sobre la imagen de la ciudad */
    background: linear-gradient(rgba(14, 165, 233, 0.6), rgba(2, 132, 199, 0.75)), url('./city.jpg') center/cover no-repeat;
    padding: 6rem 10%;
    text-align: center;
    color: white;
}
.cta-banner h2 {
    font-size: 3.5rem; letter-spacing: 5px; font-weight: 900; margin-bottom: 1rem; color: white;
}
.cta-banner p { font-size: 1.2rem; color: rgba(255,255,255,0.9); }

/* Contact */
.contact-section { padding: 5rem 10%; display: flex; justify-content: center; }
.contact-container { width: 100%; max-width: 600px; padding: 4rem; text-align: center; }
.contact-container h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-container p { margin-bottom: 2rem; }
.form-group { text-align: left; margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #475569; }
.form-group input, .form-group textarea {
    width: 100%; padding: 1rem; border-radius: 10px; 
    background: #ffffff;
    border: 1px solid #cbd5e1; color: #0f172a; font-family: 'Outfit', sans-serif;
    box-sizing: border-box; transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }

/* Footer */
footer { 
    text-align: center; padding: 2rem; 
    background-color: var(--bg-color); 
    color: var(--text-muted); 
    border-top: 1px solid var(--glass-border);
}

/* --- NUEVAS SECCIONES: RUBROS & DIAGRAMA DINÁMICO --- */

/* Sección Rubros (Ecosistema) */
.rubros-section {
    padding: 5rem 10%;
    background-color: #0b1120;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.rubros-section h2 { font-size: 2.8rem; margin-bottom: 1rem; color: #fff; }
.rubros-section .subtitle { color: var(--text-muted); font-size: 1.2rem; max-width: 700px; margin: 0 auto 3.5rem auto; }

.rubros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2.5rem;
}

.rubro-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: left;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.rubro-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.15);
}
.rubro-card.active-line {
    border-color: rgba(16, 185, 129, 0.4);
}
.rubro-card.active-line:hover {
    border-color: #10b981;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
}

.rubro-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-active { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.status-soon { background: rgba(249, 115, 22, 0.2); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.4); }

.rubro-icon { font-size: 3.5rem; margin-bottom: 1.5rem; display: inline-block; }
.rubro-card h3 { font-size: 1.6rem; color: #fff; margin-bottom: 1rem; }
.rubro-card p { color: var(--text-muted); line-height: 1.6; font-size: 1rem; margin-bottom: 1.5rem; }
.rubro-features { list-style: none; padding: 0; margin: 0 0 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1rem; }
.rubro-features li { color: #cbd5e1; font-size: 0.9rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 8px; }
.rubro-features li::before { content: "✓"; color: var(--primary); font-weight: bold; }

/* --- DIAGRAMA DINÁMICO DE FLUJO DE DATOS (HERO & SECCIÓN) --- */
.hero-diagram {
    flex: 1.5;
    min-width: 320px;
    max-width: 820px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
}

.diagram-title-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.8rem;
    background: rgba(30, 41, 59, 0.6);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-diagram-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    margin-bottom: 1.5rem;
}

/* Nodos del diagrama */
.diagram-node {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.diagram-node:hover, .diagram-node.active-node {
    transform: translateY(-5px) scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
    background: rgba(30, 41, 59, 0.95);
}

.node-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.node-icon-box {
    font-size: 2.5rem;
    margin: 8px 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce-subtle 3s infinite ease-in-out;
}
@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.diagram-node h4 { color: #fff; font-size: 1.05rem; margin: 0.4rem 0 0.2rem 0; font-weight: 700; }
.diagram-node p { color: #94a3b8; font-size: 0.8rem; margin: 0; line-height: 1.35; }

/* Flechas conectoras de ciclo */
.step-arrow {
    position: absolute;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    background: #0f172a;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
    z-index: 5;
}
.step-arrow.right {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
}
.step-arrow.down {
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
}
.step-arrow.left {
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
}

/* Paquetes de datos flotantes en tiempo real */
.live-packets-container {
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}
.floating-packet {
    position: absolute;
    top: 25%;
    left: 5%;
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    animation: packetTravel 8s infinite linear;
}
.floating-packet.p2 {
    background: rgba(249, 115, 22, 0.95);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.8);
    top: 65%;
    animation-delay: 2.6s;
}
.floating-packet.p3 {
    background: rgba(56, 189, 248, 0.95);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.8);
    top: 45%;
    animation-delay: 5.2s;
}
@keyframes packetTravel {
    0% { left: 5%; opacity: 0; transform: scale(0.5) translateY(-15px); }
    10% { opacity: 1; transform: scale(1) translateY(0); }
    45% { left: 45%; opacity: 1; }
    80% { left: 75%; opacity: 1; }
    90% { opacity: 1; transform: scale(1) translateY(0); }
    100% { left: 90%; opacity: 0; transform: scale(0.5) translateY(15px); }
}

/* Panel inferior interactivo de explicación en Hero */
.hero-detail-panel {
    margin: 1rem 0 0 0;
    padding: 1.2rem 1.5rem;
    background: rgba(9, 14, 26, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-align: left;
    min-height: 115px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.hero-detail-panel .detail-icon {
    font-size: 2.2rem;
    background: rgba(56, 189, 248, 0.1);
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.hero-detail-panel h4 { font-size: 1.1rem; color: #fff; margin: 0 0 0.3rem 0; font-weight: 700; }
.hero-detail-panel p { color: #cbd5e1; font-size: 0.85rem; line-height: 1.5; margin: 0; }

/* Responsive para celular/tablet */
@media (max-width: 1050px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 8.5rem 5% 4rem 5%;
        gap: 3rem;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-diagram {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 850px) {
    .hero-diagram-track {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .step-arrow.right, .step-arrow.left {
        top: auto;
        bottom: -18px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    .step-arrow.right::after, .step-arrow.left::after { content: " ⬇"; }
    .floating-packet { display: none; }
    .hero-detail-panel { flex-direction: column; text-align: center; }
}

