/* ===========================================================
   SYSTEMINFORMATIC - DESCARGAS PROGRAMAS GRATIS
   Modern Software Download Library Design
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ⚠️ OVERRIDE: Anular el grid de WebSite X5 */
#imContent {
  display: block !important;
  grid-template: none !important;
  -ms-grid-columns: none !important;
  -ms-grid-rows: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

#imContentGraphics {
  display: none !important;
}

/* Ocultar todas las celdas WX5 y page rows */
#imPageRow_1, #imPageRow_2, #imPageRow_3, #imPageRow_4,
#imCell_22, #imCell_23, #imCell_24, #imCell_25,
#imCell_26, #imCell_27, #imCell_28, #imCell_29,
#imCell_30, #imCell_31, #imCell_32, #imCell_33,
#imCell_34, #imCell_35, #imCell_36,
#imCellStyleGraphics_22, #imCellStyleBorders_22, #imCellStyleTitle_22,
#imCellStyleGraphics_23, #imCellStyleBorders_23, #imCellStyleTitle_23,
#imCellStyleGraphics_24, #imCellStyleBorders_24, #imCellStyleTitle_24,
#imCellStyleGraphics_25, #imCellStyleBorders_25, #imCellStyleTitle_25,
#imCellStyleGraphics_26, #imCellStyleBorders_26,
#imCellStyleGraphics_27, #imCellStyleBorders_27, #imCellStyleTitle_27,
#imCellStyleGraphics_28, #imCellStyleBorders_28, #imCellStyleTitle_28,
#imCellStyleGraphics_29, #imCellStyleBorders_29, #imCellStyleTitle_29,
#imCellStyleGraphics_30, #imCellStyleBorders_30, #imCellStyleTitle_30,
#imCellStyleGraphics_31, #imCellStyleBorders_31,
#imCellStyleGraphics_32, #imCellStyleBorders_32,
#imCellStyleGraphics_33, #imCellStyleBorders_33, #imCellStyleTitle_33,
#imCellStyleGraphics_34, #imCellStyleBorders_34, #imCellStyleTitle_34,
#imCellStyleGraphics_35, #imCellStyleBorders_35, #imCellStyleTitle_35,
#imCellStyleGraphics_36, #imCellStyleBorders_36, #imCellStyleTitle_36,
#imPageRowGraphics_1, #imPageRowGraphics_2,
#imPageRowGraphics_3, #imPageRowGraphics_4,
#imTextObject_6_22, #imTextObject_6_23, #imTextObject_6_24, #imTextObject_6_25,
#imTextObject_6_26, #imTextObject_6_27, #imTextObject_6_28, #imTextObject_6_29,
#imTextObject_6_30, #imTextObject_6_31, #imTextObject_6_32, #imTextObject_6_33,
#imTextObject_6_34, #imTextObject_6_35, #imTextObject_6_36,
#imPageRow_1, #imPageRow_2, #imPageRow_3, #imPageRow_4,
#imPageRowGraphics_1, #imPageRowGraphics_2,
#imPageRowGraphics_3, #imPageRowGraphics_4 {
  display: none !important;
}

/* === SMOOTH SCROLL === */
html {
  scroll-behavior: smooth;
}

/* === CONTENEDOR PRINCIPAL === */
#descargas-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #e0e0e0;
  line-height: 1.6;
  background: #06080d;
}

.dg-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.dg-section {
  padding: 70px 0;
}

/* ===========================================================
   HERO
   =========================================================== */
.dg-hero {
  position: relative;
  background: linear-gradient(160deg, #05080f 0%, #0a1020 30%, #0d1528 60%, #061220 100%);
  padding: 100px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,229,255,0.08);
}

.dg-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center, rgba(0,229,255,0.06) 0%, rgba(79,195,247,0.03) 30%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dg-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(241,194,50,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Animated grid lines in background */
.dg-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.dg-hero-content {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.dg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #4fc3f7;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(79,195,247,0.2);
  box-shadow: 0 4px 20px rgba(0,229,255,0.1);
}

.dg-hero-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.dg-hero-title span {
  background: linear-gradient(135deg, #00e5ff, #4fc3f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dg-hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 560px;
}

.dg-hero-stats {
  display: flex;
  gap: 36px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.dg-hero-stat-item {
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px 24px;
  min-width: 110px;
}

.dg-hero-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: #f1c232;
  line-height: 1;
}

.dg-hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dg-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.dg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.2);
}

.dg-btn-primary {
  background: linear-gradient(135deg, #1a73e8, #1557b0);
  color: #fff;
  box-shadow: 0 6px 24px rgba(26,115,232,0.4), 0 2px 8px rgba(0,0,0,0.15);
}

.dg-btn-primary:hover {
  background: linear-gradient(135deg, #1c84f7, #1a73e8);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26,115,232,0.5), 0 4px 12px rgba(0,0,0,0.2);
  color: #fff;
}

.dg-btn-outline {
  background: rgba(255,255,255,0.04);
  color: #4fc3f7;
  border: 1.5px solid rgba(79,195,247,0.3);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(79,195,247,0.08);
}

.dg-btn-outline:hover {
  background: rgba(79,195,247,0.08);
  border-color: rgba(79,195,247,0.5);
  color: #00e5ff;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(79,195,247,0.15);
}

/* ===========================================================
   SECTION HEADER
   =========================================================== */
.dg-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.dg-section-icon {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}

.dg-section-label {
  display: inline-block;
  background: rgba(0,229,255,0.08);
  color: #4fc3f7;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(0,229,255,0.15);
}

.dg-section-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.2;
}

.dg-section-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===========================================================
   PROGRAMS GRID - Main card layout
   =========================================================== */
.dg-programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dg-programs-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.dg-programs-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
  margin: 0 auto;
}

.dg-programs-grid.cols-1 {
  grid-template-columns: 1fr;
  max-width: 450px;
  margin: 0 auto;
}

/* ===========================================================
   PROGRAM CARD
   =========================================================== */
.dg-program-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.dg-program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.25), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dg-program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 50px rgba(0,229,255,0.04);
  border-color: rgba(0,229,255,0.18);
}

.dg-program-card:hover::before {
  opacity: 1;
}

.dg-card-img-wrap {
  background: linear-gradient(180deg, #c8d9e8 0%, #b0c7db 50%, #a0bcd4 100%);
  padding: 32px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.dg-card-img-wrap img {
  max-height: 80px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.dg-program-card:hover .dg-card-img-wrap img {
  transform: scale(1.05);
}

.dg-card-body {
  padding: 0 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dg-card-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  text-align: center;
  line-height: 1.3;
}

.dg-card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 18px;
  line-height: 1.65;
  text-align: center;
  flex: 1;
}

.dg-card-footer {
  text-align: center;
}

.dg-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
  background: linear-gradient(135deg, #f1c232, #e2a900);
  color: #0a0a0a;
  box-shadow: 0 4px 18px rgba(241,194,50,0.25);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.dg-btn-download:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(241,194,50,0.4);
  color: #000;
}

.dg-btn-download.external {
  background: linear-gradient(135deg, #4fc3f7, #0097a7);
  box-shadow: 0 4px 18px rgba(0,229,255,0.25);
}

.dg-btn-download.external:hover {
  box-shadow: 0 8px 30px rgba(0,229,255,0.4);
}

/* Platform badges */
.dg-platform-badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  margin: 4px 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dg-card-platforms {
  text-align: center;
  margin-bottom: 14px;
}

/* ===========================================================
   FEATURED PROGRAM (highlighted)
   =========================================================== */
.dg-program-card.featured {
  border-color: rgba(241,194,50,0.25);
  background: linear-gradient(145deg, rgba(241,194,50,0.06), rgba(241,194,50,0.01));
}

.dg-program-card.featured::before {
  opacity: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f1c232, transparent);
}

.dg-featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #f1c232, #e2a900);
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 8px;
  letter-spacing: 1px;
  z-index: 2;
}

/* ===========================================================
   SECTION BACKGROUNDS
   =========================================================== */
.dg-section-dark {
  background: linear-gradient(180deg, #06080d 0%, #0a0f1a 50%, #06080d 100%);
  position: relative;
  overflow: hidden;
}

.dg-section-dark::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,229,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dg-section-alt {
  background: linear-gradient(180deg, #080c16 0%, #0a1020 50%, #080c16 100%);
  position: relative;
  overflow: hidden;
}

.dg-section-alt::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79,195,247,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ===========================================================
   CATEGORY TABS / FILTER BAR
   =========================================================== */
.dg-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.dg-cat-btn {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.dg-cat-btn:hover,
.dg-cat-btn.active {
  background: rgba(0,229,255,0.1);
  border-color: rgba(0,229,255,0.3);
  color: #4fc3f7;
}

/* ===========================================================
   CTA SECTION
   =========================================================== */
.dg-cta {
  background: linear-gradient(135deg, #0d1528 0%, #0a1628 50%, #0d1528 100%);
  text-align: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0,229,255,0.06);
}

.dg-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,229,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dg-cta h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin: 0 0 10px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.dg-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.dg-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  color: #0097a7;
  text-decoration: none;
  padding: 14px 36px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.dg-cta-phone:hover {
  color: #00bcd4;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.4);
}

/* ===========================================================
   SAFETY / DISCLAIMER BAR
   =========================================================== */
.dg-safety-bar {
  background: linear-gradient(135deg, rgba(241,194,50,0.08), rgba(241,194,50,0.02));
  border-top: 1px solid rgba(241,194,50,0.15);
  border-bottom: 1px solid rgba(241,194,50,0.15);
  padding: 16px 0;
  text-align: center;
}

.dg-safety-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.dg-safety-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
}

.dg-safety-icon {
  font-size: 18px;
  line-height: 1;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .dg-programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dg-programs-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .dg-hero-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dg-section {
    padding: 50px 0;
  }
  .dg-hero {
    padding: 70px 0 60px;
  }
  .dg-hero-stats {
    gap: 16px;
  }
  .dg-programs-grid,
  .dg-programs-grid.cols-3,
  .dg-programs-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .dg-programs-grid.cols-1 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .dg-categories {
    gap: 6px;
    margin-bottom: 30px;
  }
  .dg-cat-btn {
    padding: 8px 14px;
    font-size: 11px;
  }
  .dg-card-img-wrap {
    padding: 22px 16px 16px;
    min-height: 120px;
  }
  .dg-card-img-wrap img {
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  .dg-programs-grid,
  .dg-programs-grid.cols-3,
  .dg-programs-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .dg-hero {
    padding: 50px 0 40px;
  }
  .dg-hero-stats {
    gap: 10px;
  }
  .dg-hero-stat-item {
    padding: 10px 16px;
    min-width: auto;
  }
  .dg-hero-stat-value {
    font-size: 20px;
  }
  .dg-card-body {
    padding: 0 12px 14px;
  }
  .dg-card-name {
    font-size: 15px;
  }
  .dg-card-desc {
    font-size: 12px;
  }
  .dg-btn-download {
    padding: 8px 18px;
    font-size: 11px;
  }
  .dg-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}
