/* ==========================================================================
   💻 TIAGOTECH THEME SPECIFIC STYLING (TECH-THEME.CSS)
   ========================================================================== */

/* Toggle Visibility based on State */
.tech-section {
  display: block;
  opacity: 1;
  transition: opacity var(--transition-speed) var(--transition-ease);
}


/* ==================== 💻 HERO SECTION ==================== */
#hero-tech-sec {
  padding-top: 80px; /* Compensa la barra fija sin crear espacio muerto */
}

.hero-tech {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  min-height: calc(100vh - 80px);
  margin-top: 0;
  padding: 20px 0;
}

.hero-tech-content {
  flex: 1.2;
}

.hero-tech-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tech-tagline {
  color: var(--accent-primary);
  font-family: var(--font-code);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tech-tagline::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  box-shadow: var(--glow-shadow);
  animation: pulse 1.5s infinite;
}

.hero-title-tech {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-tech {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 540px;
}

/* Coding Console Mockup */
.console-mockup {
  width: 100%;
  max-width: 450px;
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--glow-shadow);
  font-family: var(--font-code);
  text-align: left;
}

.console-header {
  background: var(--bg-tertiary);
  padding: 10px var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.15);
}

.console-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.console-dot.red { background: #FF5F56; }
.console-dot.yellow { background: #FFBD2E; }
.console-dot.green { background: #27C93F; }

.console-title {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: auto;
  margin-right: auto;
}

.console-body {
  padding: var(--spacing-sm);
  font-size: 14px;
  color: #a5d6ff;
  min-height: 200px;
  line-height: 1.7;
}

.console-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #22C55E;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.console-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 6px #22C55E;
  animation: pulseLiveDot 1.5s infinite;
}

@keyframes pulseLiveDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.console-time {
  color: var(--text-muted);
  font-size: 11px;
  margin-right: 8px;
  flex-shrink: 0;
  font-family: var(--font-code);
}

.console-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 8px;
  flex-shrink: 0;
}

.tag-pos { background: rgba(0, 132, 255, 0.18); color: #38BDF8; border: 1px solid rgba(0, 132, 255, 0.3); }
.tag-stock { background: rgba(251, 191, 36, 0.15); color: #FBBF24; border: 1px solid rgba(251, 191, 36, 0.3); }
.tag-qr { background: rgba(34, 197, 94, 0.15); color: #4ADE80; border: 1px solid rgba(34, 197, 94, 0.3); }
.tag-citas { background: rgba(168, 85, 247, 0.15); color: #C084FC; border: 1px solid rgba(168, 85, 247, 0.3); }
.tag-caja { background: rgba(14, 165, 233, 0.18); color: #38BDF8; border: 1px solid rgba(14, 165, 233, 0.3); }

.console-msg {
  color: var(--text-primary);
  font-size: 12px;
  line-height: 1.4;
}

.console-highlight {
  background: rgba(var(--accent-rgb), 0.08);
  border-left: 2px solid var(--accent-secondary);
  padding: 6px 10px;
  border-radius: 4px;
  margin-top: 6px;
}

.console-line {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
}

.console-prompt {
  color: var(--accent-primary);
  margin-right: 10px;
  user-select: none;
}

.console-comment {
  color: var(--text-muted);
}

.console-output {
  color: var(--text-primary);
}

/* ==================== 💼 SHOWROOM DE SISTEMAS ==================== */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
}

.system-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  background: rgba(10, 20, 36, 0.95) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  contain: content;
}

/* ==========================================================================
   T-BOT PRODUCT BANNERS EN TARJETAS DE SISTEMAS (ULTRA OPTIMIZADO)
   ========================================================================== */
.system-card-banner {
  position: relative;
  width: 100%;
  height: 195px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: #060e1c;
  border: 1px solid rgba(0, 132, 255, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: block;
  contain: paint;
}

.system-card-banner picture,
.system-card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.system-card:hover .system-card-banner-img {
  transform: scale(1.04);
}

.system-card-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(6, 13, 26, 0.85) 100%);
  pointer-events: none;
}

.system-card-banner .popular-badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  margin-bottom: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.tbot-role-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(10, 20, 36, 0.92);
  border: 1px solid rgba(0, 132, 255, 0.35);
  color: #E2E8F0;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.3px;
}

.tbot-role-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-secondary);
  box-shadow: 0 0 8px var(--accent-secondary);
}

@media (max-width: 480px) {
  .system-card-banner {
    height: 175px;
  }
}

/* Tarjeta Destacada "El Más Popular" */
.system-card.popular-card {
  border: 1.5px solid var(--accent-primary);
  background: linear-gradient(180deg, rgba(0, 132, 255, 0.09) 0%, rgba(10, 20, 36, 0.85) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 132, 255, 0.22);
}

.system-card.popular-card:hover {
  border-color: var(--accent-secondary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 35px rgba(34, 197, 94, 0.35);
}

.popular-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0084FF 0%, #22C55E 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(0, 132, 255, 0.55), 0 0 10px rgba(34, 197, 94, 0.35);
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: glowPulseBadge 2.8s infinite alternate ease-in-out;
  will-change: transform, opacity;
}

@keyframes glowPulseBadge {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.92;
  }
  100% {
    transform: translate3d(0, -1px, 0) scale(1.02);
    opacity: 1;
  }
}

.system-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 24px;
  margin-bottom: var(--spacing-sm);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.05);
}

.system-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.system-description {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.system-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--spacing-md);
}

.tech-badge {
  font-family: var(--font-code);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.system-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.system-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ==================== 🧠 FEED DE NOTICIAS DE IA ==================== */
.ai-news-section {
  background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.02) 50%, transparent);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-code);
}

.news-badge {
  font-family: var(--font-code);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid var(--card-border);
  color: var(--accent-primary);
}

.news-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  line-height: 1.4;
  color: var(--text-primary);
}

.news-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.news-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.news-link:hover {
  gap: 10px;
}

/* ==================== 🛠️ SKILLS PANEL ==================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.skill-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  text-align: center;
  transition: all 0.3s ease;
}

.skill-pill svg {
  width: 38px;
  height: 38px;
  margin-bottom: var(--spacing-xs);
  color: var(--accent-primary);
  stroke: currentColor;
  fill: none;
  transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.skill-pill:hover svg {
  color: var(--accent-secondary);
  transform: scale(1.12);
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.6));
}

.skill-pill span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Mobile Styling */
@media (max-width: 992px) {
  .hero-tech {
    flex-direction: column-reverse;
    text-align: center;
    justify-content: center;
    padding-top: var(--spacing-md);
    min-height: auto;
  }
  
  .hero-subtitle-tech {
    margin-left: auto;
    margin-right: auto;
  }
  
  .console-mockup {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-title-tech {
    font-size: 32px !important;
    line-height: 1.2;
  }
  
  .hero-subtitle-tech {
    font-size: 15px;
    margin-bottom: var(--spacing-md);
  }
  
  .console-body {
    font-size: 12px;
    min-height: auto;
    padding: var(--spacing-xs);
  }
  
  .pos-modal-content {
    padding: 30px 16px;
    border-radius: var(--border-radius-md);
    max-height: 95vh;
  }
  
  .pos-modal-features-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .modal-pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .modal-price-card {
    min-height: auto;
    padding: var(--spacing-sm);
  }
}

/* ==================== 💻 INTERACTIVE POS SYSTEM MODAL ==================== */
.pos-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pos-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.pos-modal-content {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 45px 35px;
  background: rgba(10, 16, 28, 0.85);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(var(--accent-rgb), 0.15);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pos-modal-overlay.active .pos-modal-content {
  transform: translateY(0);
}

/* Close button */
.pos-modal-close {
  position: absolute;
  top: 15px;
  right: 22px;
  background: transparent;
  border: none;
  font-size: 32px;
  font-weight: 300;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.pos-modal-close:hover {
  color: var(--accent-primary);
  text-shadow: var(--glow-shadow);
  transform: scale(1.1);
}

/* Feature grid inside modal */
.pos-modal-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-top: 30px;
  text-align: left;
}

.pos-feature-item {
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
}

.pos-feature-item:hover {
  background: rgba(var(--accent-rgb), 0.05);
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-2px);
}

.pos-feature-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  flex-shrink: 0;
}

.pos-feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--font-accent);
}

.pos-feature-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Pricing inside Modal */
.pos-modal-pricing-section {
  margin-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--spacing-md);
  text-align: center;
}

.pos-modal-pricing-section h3 {
  font-family: var(--font-accent);
  font-size: 22px;
  color: #fff;
  margin-bottom: 6px;
}

.pos-modal-pricing-section > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.modal-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-md);
  max-width: 680px;
  margin: 0 auto;
}

.modal-price-card {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  transition: all 0.3s ease;
}

.modal-price-card.featured {
  border-color: var(--accent-primary);
  background: rgba(var(--accent-rgb), 0.04);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.1);
}

.modal-price-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.modal-price-card.featured:hover {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-shadow);
}

.modal-price-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-accent);
}

.modal-price-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
  flex-grow: 1;
}

.m-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--btn-gradient);
  color: #fff;
  padding: 3px 10px;
  font-size: 9px;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: 0.5px;
  font-family: var(--font-accent);
}

.m-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-primary);
  font-family: var(--font-code);
  margin: 10px 0;
}

.m-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  font-family: var(--font-main);
}

/* ==================== 💬 BOTONES DE WHATSAPP DIRECTO ==================== */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--border-radius-sm);
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
  filter: brightness(1.08);
  color: #fff !important;
}

.btn-whatsapp-sm {
  padding: 8px 16px;
  font-size: 12px;
  gap: 6px;
}

.btn-whatsapp .btn-whatsapp-icon,
.btn-whatsapp img {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.btn-whatsapp-sm .btn-whatsapp-icon,
.btn-whatsapp-sm img {
  width: 18px;
  height: 18px;
}

/* ==================== 🛡️ FRANJA DE CONFIANZA Y GARANTÍAS ==================== */
.trust-strip {
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  background: rgba(10, 15, 26, 0.6);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-md);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
}

.trust-item h5 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--font-accent);
}

.trust-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ==================== 💳 MÉTODOS DE PAGO ACEPTADOS ==================== */
.payment-methods-box {
  text-align: center;
  margin: var(--spacing-md) 0;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(var(--accent-rgb), 0.3);
}

.payment-methods-title {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-family: var(--font-accent);
}

.payment-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-code);
  transition: all 0.25s ease;
}

.payment-badge:hover {
  background: rgba(var(--accent-rgb), 0.15);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

/* ==================== 🧪 MICRO-DEMOS INTERACTIVAS ==================== */
.micro-demo-box {
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid var(--accent-primary);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--glow-shadow);
  margin: var(--spacing-lg) auto;
  max-width: 750px;
}

.micro-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: var(--spacing-sm);
}

.micro-demo-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
}

.micro-demo-tag {
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--accent-primary);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-code);
  font-weight: 700;
}

/* Single Tier Pricing Card Container */
.modal-pricing-grid.single-plan {
  max-width: 480px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

/* ==================== 💬 WIDGET FLOTANTE PERMANENTE DE CANALES (WHATSAPP & TELEGRAM) ==================== */
.floating-wa-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.floating-buttons-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.floating-tg-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0a101f;
  border: 2px solid #2AABEE;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(42, 171, 238, 0.5), 0 0 15px rgba(42, 171, 238, 0.25);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  padding: 0 !important;
  box-sizing: border-box;
}

.floating-tg-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 28px rgba(42, 171, 238, 0.85), 0 0 25px rgba(42, 171, 238, 0.45);
  border-color: #38BDF8;
}

.floating-tg-btn img,
.floating-tg-btn .floating-tg-avatar,
.floating-tg-avatar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.floating-tg-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #2AABEE;
  opacity: 0.8;
  animation: tg-pulse-ring 2.5s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
  pointer-events: none;
}

@keyframes tg-pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.floating-channel-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #0084FF;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  font-family: var(--font-code);
  padding: 2px 5px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #080C14;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  line-height: 1;
}

.floating-channel-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: rgba(10, 16, 28, 0.95);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-family: var(--font-accent);
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  z-index: 10;
}

.floating-channel-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent rgba(10, 16, 28, 0.95) transparent transparent;
}

.floating-tg-btn:hover .floating-channel-tooltip,
.floating-wa-btn:hover .floating-channel-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.floating-wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.floating-wa-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65);
}

.floating-wa-btn img {
  width: 34px;
  height: 34px;
  display: block;
}

.floating-wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: wa-pulse-ring 2s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
  pointer-events: none;
}

@keyframes wa-pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.floating-wa-popup {
  background: rgba(13, 18, 30, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--border-radius-md);
  padding: 12px 14px;
  max-width: 250px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(37, 211, 102, 0.12);
  backdrop-filter: blur(14px);
  position: relative;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-wa-popup.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.wa-popup-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.wa-popup-close:hover {
  color: #fff;
}

.wa-popup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.wa-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
  animation: pulse 1.5s infinite;
}

.wa-status-text {
  font-size: 10px;
  font-family: var(--font-code);
  font-weight: 700;
  color: #25D366;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wa-popup-msg {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.wa-popup-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-accent);
  transition: all 0.25s ease;
  width: 100%;
  justify-content: center;
}

.wa-popup-action:hover {
  background: #25D366;
  color: #080C14;
}

.wa-popup-action img {
  width: 14px;
  height: 14px;
}

.floating-wa-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #FF3B30;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-code);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #080C14;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  animation: bounce 2s infinite;
}

@media (max-width: 768px) {
  .floating-wa-container {
    bottom: 16px;
    left: 16px;
  }
  .floating-wa-popup {
    max-width: 230px;
    padding: 10px 12px;
  }
  .floating-wa-btn {
    width: 50px;
    height: 50px;
  }
  .floating-wa-btn img {
    width: 28px;
    height: 28px;
  }
  .floating-tg-btn {
    width: 48px;
    height: 48px;
    padding: 0 !important;
  }
  .floating-tg-btn img,
  .floating-tg-btn .floating-tg-avatar,
  .floating-tg-avatar {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }
  .floating-channel-tooltip {
    display: none;
  }
}

/* ==================== 🧭 WIZARD / COTIZADOR INTERACTIVO ==================== */
.wizard-box {
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid var(--accent-primary);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--glow-shadow);
  max-width: 820px;
  margin: 0 auto;
}

.wizard-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wizard-step-node {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.wizard-step-node.active {
  color: var(--accent-primary);
}

.wizard-step-node.done {
  color: #27C93F;
}

.wizard-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: var(--font-code);
}

.wizard-step-node.active .wizard-step-num {
  background: rgba(var(--accent-rgb), 0.2);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.45);
}

.wizard-step-node.done .wizard-step-num {
  background: rgba(34, 197, 94, 0.2);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.wizard-step-content {
  display: none;
}

.wizard-step-content.active {
  display: block;
  animation: fadeIn 0.35s ease forwards;
}

.wizard-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: var(--spacing-md) 0;
}

.wizard-choice-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-primary);
}

.wizard-choice-btn:hover {
  border-color: var(--accent-primary);
  background: rgba(var(--accent-rgb), 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.wizard-choice-btn.selected {
  border-color: var(--accent-primary);
  background: rgba(var(--accent-rgb), 0.15);
  box-shadow: var(--glow-shadow);
}

.wizard-choice-icon {
  font-size: 26px;
}

.wizard-choice-title {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-accent);
}

.wizard-choice-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.wizard-result-box {
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid var(--accent-primary);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  text-align: center;
  margin-top: 15px;
}

/* ==================== ❓ PREGUNTAS FRECUENTES (FAQ) ==================== */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
}

.faq-item.open {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), var(--glow-shadow);
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-accent);
  user-select: none;
}

.faq-icon-arrow {
  font-size: 20px;
  color: var(--accent-primary);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
  display: inline-block;
  font-weight: 800;
}

.faq-item.open .faq-icon-arrow {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding: 0 20px 20px 20px;
}

/* ==================== 🚀 FORM SUCCESS CARD ==================== */
.form-success-card {
  text-align: center;
  padding: var(--spacing-md) var(--spacing-sm);
  animation: fadeIn 0.4s ease forwards;
}

.form-success-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: inline-block;
  animation: bounceGently 2.2s infinite ease-in-out;
}

@keyframes bounceGently {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.form-success-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  font-family: var(--font-accent);
}

.form-success-text {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 460px;
  margin: 0 auto var(--spacing-md) auto;
  line-height: 1.6;
}

.form-success-wa-box {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--border-radius-sm);
  padding: 18px;
  margin-bottom: 12px;
}

.form-success-wa-hint {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ==================== 🛡️ SECCIÓN GARANTÍA TOTAL & CERO RIESGO ==================== */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.guarantee-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--border-radius-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  will-change: transform;
  transform: translateZ(0);
}

.guarantee-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 132, 255, 0.45);
  box-shadow: 0 12px 30px rgba(0, 132, 255, 0.15);
}

.guarantee-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.guarantee-card-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  font-family: var(--font-accent);
  letter-spacing: -0.3px;
}

.guarantee-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.guarantee-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-code);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent-primary);
  border: 1px solid rgba(0, 132, 255, 0.3);
  background: rgba(0, 132, 255, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.guarantee-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  background: rgba(5, 8, 17, 0.65);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: var(--border-radius-sm);
  margin-top: 10px;
}

.guarantee-strip-item {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.guarantee-strip-check {
  color: var(--accent-secondary);
  font-weight: 800;
  font-size: 15px;
}

.guarantee-strip-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

@media (max-width: 640px) {
  .guarantee-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  .guarantee-strip-divider {
    display: none;
  }
}

/* ==================== 📱 PWA INSTALL PILL & PROMPT ==================== */
.pwa-install-pill {
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.2), rgba(34, 197, 94, 0.15));
  border: 1px solid rgba(0, 132, 255, 0.4);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: var(--font-main);
  box-shadow: 0 0 12px rgba(0, 132, 255, 0.2);
  outline: none;
}

.pwa-install-pill:hover {
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.35), rgba(34, 197, 94, 0.3));
  border-color: var(--accent-secondary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.35);
}

/* ==========================================================================
   2-COLUMN SAAS HERO CON T-BOT SHOWCASE (PÁGINAS DE SISTEMAS)
   ========================================================================== */
.system-hero-container {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  align-items: center;
  gap: var(--spacing-lg);
  text-align: left;
  padding: var(--spacing-sm) 0 var(--spacing-md) 0;
}

.system-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.system-hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-accent);
}

.system-hero-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 var(--spacing-md) 0;
  max-width: 620px;
}

.system-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.system-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tbot-hero-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(0, 132, 255, 0.14) 0%, rgba(10, 20, 36, 0.95) 100%);
  border: 1px solid rgba(0, 132, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 132, 255, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  contain: paint;
}

.tbot-hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-secondary);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(34, 197, 94, 0.28);
}

.tbot-hero-card picture,
.tbot-hero-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.tbot-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 65%, rgba(6, 13, 26, 0.9) 100%);
  pointer-events: none;
}

.tbot-hero-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(10, 20, 36, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 132, 255, 0.4);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.3px;
}

.tbot-hero-badge .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 8px var(--accent-secondary);
  display: inline-block;
  margin-right: 6px;
}

@media (max-width: 992px) {
  .system-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-md);
  }
  .system-hero-content {
    align-items: center;
    text-align: center;
  }
  .system-hero-content p {
    margin: 0 auto var(--spacing-md) auto;
  }
  .system-hero-actions {
    justify-content: center;
  }
  .tbot-hero-card {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .system-hero-content h1 {
    font-size: 32px;
  }
  .tbot-hero-card {
    max-width: 270px;
  }
}


