* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #0a0f2c;
  --bg-panel: #101844;
  --bg-panel-dark: #0e153a;
  --bg-header: #111a56;
  --bg-black: #000000;
  --border: #2b3a80;
  --border-strong: #3a4db0;
  --text-main: #d6d6d6;
  --text-soft: #9fb3ff;
  --text-white: #ffffff;
  --text-cyan: #7fdfff;
  --text-green: #6eff6e;
  --text-yellow: #ffd86e;
  --text-red: #ff6e6e;
  --hover-blue: #2c3fa8;
  --btn-gray: #4d4d4d;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: "Share Tech Mono", monospace;
  font-size: 15px;
  line-height: 1.45;
}

a {
  color: var(--text-cyan);
  text-decoration: none;
}

a:hover {
  color: var(--text-white);
}

.hidden {
  display: none !important;
}

.mt-16 {
  margin-top: 16px;
}

/* CONTENEDOR GENERAL */
.bios-shell {
  width: min(1350px, calc(100% - 24px));
  margin: 16px auto;
  border: 2px solid var(--border);
  background: var(--bg-panel);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}

/* HEADER */
.bios-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-header);
}

.header-inner {
  padding: 10px 22px 12px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
}

.header-left {
  color: var(--text-white);
  font-size: 14px;
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.header-lang-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 170px;
  max-width: 170px;
}

.header-lang-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  white-space: nowrap;
}

.lang-label {
  color: var(--text-white);
  font-size: 14px;
  line-height: 1;
}

.lang-btn,
.lang-btn:visited,
.lang-btn:hover,
.lang-btn:active,
.lang-btn:focus {
  color: var(--text-yellow) !important;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.header-logo-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.header-logo-small {
  display: block;
  width: 100%;
  max-width: 170px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.header-main {
  margin-top: 18px;
}

.header-main h1 {
  font-size: 32px;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 700;
}

.header-sub {
  font-size: 14px;
  color: var(--text-white);
}

/* MAIN */
.bios-main {
  padding: 18px 22px 22px;
}

/* PANELES */
.bios-panel {
  border: 1px solid var(--border-strong);
  background: var(--bg-panel-dark);
  margin-bottom: 18px;
}

.panel-title {
  background: #202c80;
  color: var(--text-white);
  padding: 8px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-strong);
  text-transform: uppercase;
}

.intro-content {
  padding: 14px;
}

.intro-line {
  color: var(--text-main);
  margin-bottom: 6px;
}

.bios-form {
  margin-top: 18px;
}

.bios-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

.input-row {
  display: flex;
  align-items: center;
  background: var(--bg-black);
  border: 1px solid #444;
  min-height: 40px;
}

.input-prefix {
  color: var(--text-cyan);
  padding: 0 10px;
  white-space: nowrap;
}

.bios-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 15px;
  padding-right: 10px;
}

.bios-input::placeholder {
  color: #8e8e8e;
}

.action-row {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 0;
}

.bios-btn {
  background: #1f3294;
  color: var(--text-white);
  border: 1px solid var(--border-strong);
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  text-transform: uppercase;
}

.bios-btn:hover {
  background: var(--hover-blue);
}

.bios-btn.alt {
  background: var(--btn-gray);
  border-color: #8b8b8b;
}

.bios-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* LOADING */
.loading-content {
  padding: 14px;
}

.loading-status {
  color: var(--text-soft);
  margin-bottom: 10px;
}

.progress-frame {
  width: 100%;
  height: 14px;
  border: 1px solid #555;
  background: var(--bg-black);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--text-cyan);
}

.progress-text {
  margin-top: 6px;
  color: var(--text-main);
}

.scan-log {
  margin-top: 12px;
  background: var(--bg-black);
  border: 1px solid #333;
  padding: 10px;
  min-height: 130px;
  max-height: 220px;
  overflow: auto;
  font-size: 13px;
  color: var(--text-main);
}

/* LAYOUT REPORTE */
.report-layout {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  gap: 14px;
  padding: 14px;
}

.report-menu,
.report-content,
.report-help {
  border: 1px solid var(--border-strong);
  background: var(--bg-panel-dark);
}

.menu-title,
.help-title {
  background: #202c80;
  color: var(--text-white);
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-strong);
  font-size: 14px;
}

#reportTabs {
  list-style: none;
  padding: 6px;
}

#reportTabs li {
  padding: 10px 12px;
  cursor: pointer;
  color: var(--text-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#reportTabs li.active,
#reportTabs li:hover {
  background: #1f3294;
  color: var(--text-white);
}

.report-content {
  padding: 12px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.section-heading {
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-cyan);
  text-transform: uppercase;
}

.report-grid.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.report-box {
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.06);
  margin-bottom: 14px;
}

.report-box-title {
  background: transparent;
  color: var(--text-white);
  padding: 10px 12px 8px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-strong);
  text-transform: uppercase;
}

.data-list,
.alerts-list {
  list-style: none;
  padding: 8px 12px 10px;
}

.data-list li,
.alerts-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.18);
}

.data-list li:last-child,
.alerts-list li:last-child {
  border-bottom: none;
}

.data-list li span {
  color: var(--text-main);
}

.data-list li strong {
  color: var(--text-white);
  text-align: right;
  max-width: 55%;
  word-break: break-word;
  font-weight: normal;
}

.alerts-list li {
  display: block;
  color: var(--text-main);
}

.report-help .help-box {
  padding: 12px;
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.5;
}

/* CONTENIDO SEO / ARTÍCULOS */
.intro-content h1,
.intro-content h2,
.intro-content h3 {
  color: var(--text-main);
  line-height: 1.25;
  margin-top: 20px;
  margin-bottom: 10px;
}

.intro-content h1 {
  font-size: 22px;
}

.intro-content h2 {
  font-size: 18px;
}

.intro-content h3 {
  font-size: 16px;
}

.intro-content p {
  margin-bottom: 12px;
  color: var(--text-main);
}

.intro-content ul,
.intro-content ol {
  margin: 8px 0 16px 0;
  padding-left: 24px;
  list-style-position: outside;
}

.intro-content ul li,
.intro-content ol li {
  margin-bottom: 6px;
  padding-left: 0;
}

.intro-content ul li::marker,
.intro-content ol li::marker {
  color: var(--text-main);
}

.intro-content a {
  color: var(--text-cyan);
}

.intro-content a:hover {
  color: var(--text-white);
}

/* BOTÓN CTA RETRO */
a.cta-tool,
a.cta-tool:visited,
a.cta-tool:hover,
a.cta-tool:active,
a.cta-tool:focus {
  display: inline-block !important;
  position: relative;
  background: #00cfff !important;
  color: #001018 !important;
  padding: 12px 22px !important;
  margin-top: 14px;
  margin-bottom: 14px;
  border: 2px solid #7feaff !important;
  font-weight: bold !important;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none !important;
  box-shadow:
    0 0 0 1px #002c38,
    0 0 10px rgba(0, 207, 255, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  overflow: hidden;
  animation: ctaPulse 1.4s infinite alternate;
}

a.cta-tool::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 35%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.18) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg);
  animation: ctaScan 2.2s linear infinite;
  pointer-events: none;
}

a.cta-tool::after {
  content: "_";
  display: inline-block;
  margin-left: 8px;
  color: #003847;
  animation: ctaCursor 0.8s steps(1) infinite;
}

a.cta-tool:hover {
  background: #86ecff !important;
  color: #000a10 !important;
  border-color: #d7fbff !important;
  box-shadow:
    0 0 0 1px #002c38,
    0 0 18px rgba(0, 207, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

@keyframes ctaPulse {
  from {
    box-shadow:
      0 0 0 1px #002c38,
      0 0 8px rgba(0, 207, 255, 0.45),
      inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  }
  to {
    box-shadow:
      0 0 0 1px #002c38,
      0 0 18px rgba(0, 207, 255, 0.95),
      inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  }
}

@keyframes ctaScan {
  0% {
    left: -120%;
  }
  100% {
    left: 140%;
  }
}

@keyframes ctaCursor {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* COLORES DE ESTADO */
.ok {
  color: var(--text-green) !important;
}

.warn {
  color: var(--text-yellow) !important;
}

.bad {
  color: var(--text-red) !important;
}

/* FOOTER */
.bios-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-main);
}

.footer-line {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 14px;
  color: var(--text-soft);
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .report-layout {
    grid-template-columns: 220px 1fr;
  }

  .report-help {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .bios-shell {
    width: calc(100% - 12px);
    margin: 6px auto;
  }

  .header-inner {
    padding: 10px 14px 12px;
  }

  .bios-main {
    padding: 12px 14px 16px;
  }

  .header-top {
    flex-wrap: wrap;
  }

  .header-right {
    width: 100%;
    justify-content: flex-end;
  }

  .header-lang-wrap {
    width: 140px;
    max-width: 140px;
  }

  .header-logo-small {
    max-width: 140px;
    max-height: 34px;
  }

  .report-layout {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .report-grid.two-cols {
    grid-template-columns: 1fr;
  }

  .data-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .data-list li strong {
    max-width: 100%;
    text-align: left;
  }

  .header-main h1 {
    font-size: 24px;
  }

  .header-sub,
  .header-left,
  .lang-label,
  .lang-btn {
    font-size: 13px;
  }

  .intro-content ul,
  .intro-content ol {
    padding-left: 18px;
  }
  
  .seo-bottom-text {
  width: 100%;
  padding: 60px 20px;
  color: #ffffff;
}

.seo-bottom-inner {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.6;
}

.seo-bottom-inner h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.seo-bottom-inner p {
  font-size: 14px;
  margin-bottom: 10px;
}
  
  
}