/**
 * JELODA - Hoja de Estilos: Software Contable NIIF Colombia (p/software-contable/dom/index.css)
 * Clean Code: 100% Estilos Externos - Sin estilos embebidos - Vista Desktop Exclusiva
 */

/* ── 1. Variables & Tematización Contabilidad & Finanzas ── */
:root {
  --contab-emerald: #10b981;
  --contab-emerald-light: #34d399;
  --contab-emerald-dark: #047857;
  --contab-indigo: #6366f1;
  --contab-indigo-light: #818cf8;
  --contab-bg-card: rgba(18, 24, 38, 0.75);
  --contab-border: rgba(16, 185, 129, 0.22);
  --contab-border-subtle: rgba(255, 255, 255, 0.08);
  --contab-glow: rgba(16, 185, 129, 0.15);
}

.product-page-wrapper {
  padding-top: 160px !important;
  padding-bottom: 120px !important;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
.relative-z { position: relative; z-index: 2; }

.product-bg-wave {
  position: absolute; top: 5%; right: -250px; width: 800px; height: auto;
  opacity: 0.3; z-index: 1; pointer-events: none;
  animation: floatSlow 15s infinite ease-in-out;
}
.product-bg-wave img { width: 100%; height: auto; }

.deco-shapes .shape {
  position: absolute; opacity: 0.5;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.deco-shapes .shape:hover { opacity: 0.8; transform: scale(1.15) rotate(5deg); }
.shape-hexa    { top: 15%; left: 6%; width: 110px; animation: floatSlow 9s infinite ease-in-out; }
.shape-diamond { bottom: 25%; right: 5%; width: 130px; animation: floatSlow 8s infinite ease-in-out 1.5s; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

/* ── 2. Badges & Tipografía Especial ── */
.badge-contab-premium,
span.badge.badge-contab-premium,
span.badge {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 8px 20px !important;
  border-radius: 999px !important;
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #34d399 !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  height: auto !important;
  line-height: 1.4 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  text-align: center !important;
  word-break: break-word !important;
  margin: 0 auto 15px auto !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.badge-contab-premium:hover,
span.badge.badge-contab-premium:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.7) !important;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35) !important;
  color: #ffffff !important;
}

.badge-contab-premium i,
span.badge.badge-contab-premium i {
  font-size: 18px !important;
  color: #10b981 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
  margin-right: 0 !important;
}

.mac-status-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contab-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #ffffff;
}

/* ── 3. Hero Stats ── */
.hero-stats-wrapper {
  margin-top: 30px;
}

.stat-item-premium {
  background: rgba(18, 24, 38, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item-premium:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.15);
}

.stat-number-premium {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: -0.5px;
}

.stat-label-premium {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 4px;
}

/* ── 4. Mac Window Mockup (Desktop Exclusivo) ── */
.browser-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.mac-window-frame {
  background: #0f172a;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px rgba(16, 185, 129, 0.12);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.mac-window-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -12px rgba(0, 0, 0, 0.95), 0 0 45px rgba(16, 185, 129, 0.22);
}

.mac-window-header {
  height: 38px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot-red { background: #ff5f56; }
.mac-dot-yellow { background: #ffbd2e; }
.mac-dot-green { background: #27c93f; }

.mac-window-title {
  color: #94a3b8;
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace, sans-serif;
  letter-spacing: 0.3px;
}

.product-feature-img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* ── 5. Answer-First Boxes ── */
.answer-first-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid #10b981;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  border-right: 1px solid rgba(16, 185, 129, 0.15);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 0 12px 12px 0;
  padding: 18px 24px;
  color: #e2e8f0;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.answer-first-box strong {
  color: #34d399;
}

/* ── 6. Listas de Verificación ── */
.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.5;
}

.feature-check-list li i {
  color: #10b981;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 7. Bento Grid Contable (Desktop) ── */
.bento-section {
  padding: 60px 0;
}

.bento-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(16, 185, 129, 0.15);
}

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-icon-box i {
  color: #34d399;
  font-size: 28px;
}

.bento-card h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.bento-img-preview {
  margin-top: auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.bento-img-preview img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.bento-card:hover .bento-img-preview img {
  transform: scale(1.03);
}

/* ── 8. Pestañas de Módulos Contables ── */
.accounting-tabs-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.accounting-tab-btn {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.accounting-tab-btn:hover {
  background: rgba(51, 65, 85, 0.9);
  color: #f1f5f9;
  border-color: rgba(16, 185, 129, 0.3);
}

.accounting-tab-btn.active {
  background: #10b981;
  color: #ffffff;
  border-color: #34d399;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.accounting-tab-panel {
  display: none;
}

.accounting-tab-panel.active {
  display: flex;
  animation: fadeIn 0.35s ease-out;
}

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

.accounting-feature-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  height: 100%;
  transition: all 0.25s ease;
}

.accounting-feature-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-3px);
}

.accounting-card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.accounting-card-icon-box i {
  color: #34d399;
  font-size: 24px;
}

.accounting-feature-card h5 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.accounting-feature-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ── 9. Tabla Comparativa NIIF ── */
.comparison-section {
  padding: 60px 0;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #0f172a;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.95rem;
  color: #cbd5e1;
}

.comparison-table th {
  background: #1e293b;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

.comparison-table tr:hover {
  background: rgba(30, 41, 59, 0.5);
}

.comparison-table .col-highlight {
  background: rgba(16, 185, 129, 0.08);
  border-left: 2px solid #10b981;
  border-right: 2px solid #10b981;
  font-weight: 600;
  color: #ffffff;
}

.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34d399;
  font-weight: 600;
}

.badge-cross {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f87171;
  font-weight: 500;
}

/* ── 10. Pricing Banner ── */
.pricing-banner-section {
  padding: 50px 0;
}

.pricing-banner-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 24px;
  padding: 45px 35px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
}

.price-tag-big {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
}

.price-tag-big span {
  font-size: 1.2rem;
  font-weight: 500;
  color: #94a3b8;
}

.price-breakdown-text {
  color: #34d399;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 14px;
}

/* ── 11. FAQ Accordions ── */
.faq-section {
  padding: 60px 0;
}

.faq-item-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

.faq-header-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  color: #10b981;
  font-size: 24px;
  transition: transform 0.25s ease;
}

.faq-body-text {
  display: none;
  padding: 0 24px 22px 24px;
  color: #94a3b8;
  font-size: 0.96rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 5px;
  padding-top: 16px;
}

/* ── 12. Responsive Design para Móviles y Tablets ── */
@media (max-width: 992px) {
  .product-page-wrapper {
    padding-top: 130px !important;
    padding-bottom: 90px !important;
  }
}

@media (max-width: 768px) {
  .product-page-wrapper {
    padding-top: 110px !important;
    padding-bottom: 70px !important;
  }

  /* Badges Responsive */
  .badge-contab-premium,
  span.badge.badge-contab-premium,
  span.badge {
    padding: 7px 16px !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.6px !important;
    border-radius: 24px !important;
    gap: 6px !important;
    max-width: 100% !important;
    line-height: 1.35 !important;
  }

  .badge-contab-premium i,
  span.badge.badge-contab-premium i {
    font-size: 16px !important;
  }

  /* Hero & Tipografía */
  .contab-hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.7rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px !important;
  }

  .product-feature-title {
    font-size: clamp(1.4rem, 4.5vw, 1.85rem) !important;
    line-height: 1.25 !important;
  }

  /* Hero Stats */
  .hero-stats-wrapper {
    margin-top: 24px !important;
    padding-top: 0 !important;
  }

  .stat-item-premium {
    padding: 16px 12px !important;
    border-radius: 14px !important;
    margin-bottom: 8px !important;
  }

  .stat-number-premium {
    font-size: 1.45rem !important;
  }

  .stat-label-premium {
    font-size: 0.78rem !important;
  }

  /* Mac Window Mockup */
  .mac-window-header {
    height: 34px !important;
    padding: 0 10px !important;
  }

  .mac-window-dots {
    gap: 5px !important;
  }

  .mac-dot {
    width: 8px !important;
    height: 8px !important;
  }

  .mac-window-title {
    font-size: 0.68rem !important;
    max-width: 170px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .mac-status-pill {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
    white-space: nowrap !important;
  }

  /* Secciones & Bento Cards */
  .bento-section,
  .puc-section,
  .comprobantes-section,
  .accounting-modules-section,
  .comparison-section,
  .pricing-banner-section,
  .faq-section {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
    margin-top: 25px !important;
  }

  .bento-card {
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }

  .bento-icon-box {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 14px !important;
  }

  .bento-icon-box i {
    font-size: 22px !important;
  }

  .bento-card h4 {
    font-size: 1.12rem !important;
  }

  .bento-card p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }

  /* Pestañas de Módulos */
  .accounting-tabs-container {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .accounting-tab-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
  }

  /* Pricing Banner */
  .pricing-banner-card {
    padding: 32px 18px !important;
    border-radius: 18px !important;
  }

  .price-tag-big {
    font-size: clamp(2.2rem, 8vw, 3.2rem) !important;
  }

  .answer-first-box {
    padding: 14px 16px !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    border-radius: 0 10px 10px 0 !important;
  }

  .feature-check-list li {
    font-size: 0.9rem !important;
    gap: 10px !important;
  }

  .feature-check-list li i {
    font-size: 1.2rem !important;
  }

  .faq-header-btn {
    padding: 16px 18px !important;
    font-size: 0.95rem !important;
  }

  .faq-body-text {
    padding: 0 18px 18px 18px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 576px) {
  /* Transformación de tabla comparativa a Tarjetas Interactivas en móvil */
  .comparison-table-wrapper {
    overflow-x: visible !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .comparison-table,
  .comparison-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .comparison-table thead {
    display: none !important;
  }
  .comparison-table tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    border-radius: 20px !important;
    padding: 18px 16px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
  }
  .comparison-table td {
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
  }
  .comparison-table td:first-child {
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    color: #34d399 !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .comparison-table td.col-highlight {
    border-radius: 14px !important;
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
    font-size: 0.95rem !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.05) 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #ffffff !important;
  }
  .comparison-table td.col-highlight::before {
    content: "★ JELODA TITANIUM (RECOMENDADO):";
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: #34d399;
  }
  .comparison-table td:nth-of-type(3),
  .comparison-table td:nth-of-type(4),
  .comparison-table td:nth-of-type(5) {
    border-radius: 12px !important;
    padding: 10px 12px !important;
    margin-bottom: 8px !important;
    font-size: 0.88rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    color: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
  }
  .comparison-table td:nth-of-type(3)::before {
    content: "Siigo Contabilidad:";
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
    margin-bottom: 4px;
    color: #94a3b8;
  }
  .comparison-table td:nth-of-type(4)::before {
    content: "World Office:";
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
    margin-bottom: 4px;
    color: #94a3b8;
  }
  .comparison-table td:nth-of-type(5)::before {
    content: "Planillas Excel:";
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
    margin-bottom: 4px;
    color: #94a3b8;
  }
}

@media (max-width: 480px) {
  .badge-contab-premium,
  span.badge.badge-contab-premium,
  span.badge {
    padding: 6px 12px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.4px !important;
    border-radius: 18px !important;
    gap: 5px !important;
  }

  .badge-contab-premium i,
  span.badge.badge-contab-premium i {
    font-size: 15px !important;
  }

  .mac-window-title {
    max-width: 120px !important;
  }

  .hero-section-product .btn-premium {
    width: 100% !important;
    max-width: 320px !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }

  .pricing-banner-section .btn-premium {
    width: 100% !important;
    max-width: 320px !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }
}

