/* ===========================
   VARIABLES Y BASE
   =========================== */
.ksc-hero-v2-wrapper {
  --ksc-bg: #ffffff;
  --ksc-blue-deep: #02142f;
  --ksc-blue-main: #0051ff;
  --ksc-blue-soft: #e6edff;
  --ksc-blue-mid: #1b3f8b;
  --ksc-grey-soft: #f4f6fb;
  --ksc-text-main: #0b1020;
  --ksc-text-muted: #6a7084;
  --ksc-border-soft: rgba(3, 24, 60, 0.12);
  --ksc-radius-xl: 26px;
  --ksc-radius-full: 999px;
  --ksc-shadow-soft: 0 24px 45px rgba(3, 24, 60, 0.18);
  --ksc-transition-fast: 0.18s ease-out;
  --ksc-transition-med: 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  width: 100%;
  background: var(--ksc-bg);
}

/* ===========================
   HERO LAYOUT
   =========================== */
.ksc-hero-v2 {
  position: relative;
  padding: 6rem min(8vw, 5rem) 4.5rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 81, 255, 0.1), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(2, 20, 47, 0.18), transparent 55%),
    var(--ksc-bg);
  overflow: hidden;
}

.ksc-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(250, 250, 255, 0.24),
      rgba(250, 250, 255, 0.05)
    ),
    repeating-linear-gradient(
      to right,
      rgba(0, 0, 0, 0.03) 0,
      rgba(0, 0, 0, 0.03) 1px,
      transparent 1px,
      transparent 22px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.03) 0,
      rgba(0, 0, 0, 0.03) 1px,
      transparent 1px,
      transparent 22px
    );
  opacity: 0.45;
  pointer-events: none;
}

.ksc-hero-v2-grid {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.4fr);
  gap: 3.5rem;
  align-items: center;
}

/* ===========================
   COLUMNA TEXTO
   =========================== */
.ksc-hero-v2-text {
  position: relative;
  color: var(--ksc-text-main);
}

.ksc-hero-v2-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.9rem;
  border-radius: var(--ksc-radius-full);
  border: 1px solid rgba(0, 81, 255, 0.3);
  background: radial-gradient(circle at 0 0, rgba(0, 81, 255, 0.16), transparent 65%),
    rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ksc-blue-mid);
}

.ksc-hero-v2-chip-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: var(--ksc-radius-full);
  background: radial-gradient(circle at 30% 20%, #ffffff, var(--ksc-blue-main));
  box-shadow: 0 0 0 4px rgba(0, 81, 255, 0.24);
}

.ksc-hero-v2-title {
  margin-top: 1.7rem;
  margin-bottom: 1.1rem;
  font-size: clamp(2.35rem, 3.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ksc-blue-deep);
}

.ksc-hero-v2-title span {
  display: inline-block;
  background: linear-gradient(120deg, var(--ksc-blue-main), var(--ksc-blue-deep));
  -webkit-background-clip: text;
  color: transparent;
  position: relative;
}

.ksc-hero-v2-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 2px;
  border-radius: var(--ksc-radius-full);
  background: linear-gradient(
    90deg,
    rgba(0, 81, 255, 0),
    rgba(0, 81, 255, 0.7),
    rgba(0, 81, 255, 0)
  );
  animation: ksc-hero-v2-underline 3.3s ease-in-out infinite;
}

.ksc-hero-v2-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ksc-text-muted);
  max-width: 33rem;
  margin-bottom: 1.6rem;
}

.ksc-hero-v2-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.ksc-hero-v2-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ksc-text-muted);
  margin-bottom: 0.5rem;
}

.ksc-hero-v2-list li span {
  flex-shrink: 0;
  margin-top: 0.4rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--ksc-radius-full);
  background: radial-gradient(circle at 30% 20%, #ffffff, var(--ksc-blue-main));
  box-shadow: 0 0 0 3px rgba(0, 81, 255, 0.2);
}

/* BOTONES */
.ksc-hero-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.ksc-hero-v2-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--ksc-radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--ksc-transition-fast),
    box-shadow var(--ksc-transition-fast),
    background var(--ksc-transition-fast),
    color var(--ksc-transition-fast),
    border-color var(--ksc-transition-fast);
}

.ksc-hero-v2-btn-primary {
  background: linear-gradient(120deg, var(--ksc-blue-main), var(--ksc-blue-deep));
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 81, 255, 0.4);
}

.ksc-hero-v2-btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3),
    transparent,
    rgba(255, 255, 255, 0.05)
  );
  transform: translateX(-40%);
  opacity: 0;
  transition: opacity var(--ksc-transition-med), transform var(--ksc-transition-med);
}

.ksc-hero-v2-btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ksc-blue-deep);
  border-color: rgba(0, 81, 255, 0.25);
  box-shadow: 0 12px 24px rgba(2, 20, 47, 0.08);
}

.ksc-hero-v2-btn:hover {
  transform: translateY(-1px);
}

.ksc-hero-v2-btn-primary:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.ksc-hero-v2-meta {
  font-size: 0.84rem;
  color: var(--ksc-text-muted);
}

.ksc-hero-v2-meta strong {
  color: var(--ksc-blue-deep);
}

/* ===========================
   COLUMNA VISUAL
   =========================== */
.ksc-hero-v2-visual {
  display: flex;
  justify-content: flex-end;
}

.ksc-hero-v2-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: var(--ksc-radius-xl);
  background:
    radial-gradient(circle at 0 0, rgba(0, 81, 255, 0.3), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(2, 20, 47, 0.85), transparent 70%),
    linear-gradient(145deg, #020814, #071327);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--ksc-shadow-soft);
  color: #eaf0ff;
  overflow: hidden;
}

/* CABECERA TARJETA */
.ksc-hero-v2-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ksc-hero-v2-card-logo img {
  height: 32px;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}

.ksc-hero-v2-card-labels {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.ksc-hero-v2-label {
  padding: 0.2rem 0.75rem;
  border-radius: var(--ksc-radius-full);
  border: 1px solid rgba(230, 237, 255, 0.4);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ksc-hero-v2-label-soft {
  border-color: rgba(230, 237, 255, 0.2);
  opacity: 0.8;
}

/* RED BLOCKCHAIN */
.ksc-hero-v2-network {
  position: relative;
  border-radius: 20px;
  padding: 1.4rem 1.2rem;
  margin-bottom: 1.2rem;
  background: radial-gradient(circle at 10% 0, rgba(0, 81, 255, 0.35), transparent 70%),
    radial-gradient(circle at 90% 100%, rgba(0, 0, 0, 0.85), transparent 65%),
    #020815;
  overflow: hidden;
}

/* GRID DE FONDO */
.ksc-hero-v2-network-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    ),
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 20px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 20px
    );
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: ksc-hero-v2-grid-move 18s linear infinite;
}

/* NODOS */
.ksc-node {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, var(--ksc-blue-main));
  box-shadow: 0 0 0 0 rgba(0, 81, 255, 0.7);
  animation: ksc-hero-v2-node-pulse 4.5s ease-out infinite;
}

.ksc-node-main {
  width: 20px;
  height: 20px;
}

.ksc-node-small {
  width: 12px;
  height: 12px;
  animation-duration: 6s;
}

/* Posiciones nodos */
.ksc-node-1 {
  left: 18%;
  top: 55%;
  animation-delay: 0.3s;
}
.ksc-node-2 {
  left: 48%;
  top: 26%;
  animation-delay: 0.9s;
}
.ksc-node-3 {
  right: 10%;
  top: 60%;
  animation-delay: 1.4s;
}
.ksc-node-4 {
  left: 10%;
  top: 22%;
  animation-delay: 0.6s;
}
.ksc-node-5 {
  left: 36%;
  bottom: 14%;
  animation-delay: 1.2s;
}
.ksc-node-6 {
  right: 28%;
  top: 72%;
  animation-delay: 1.8s;
}
.ksc-node-7 {
  right: 6%;
  top: 30%;
  animation-delay: 2.4s;
}

/* LÍNEAS (CONEXIONES) */
.ksc-link {
  position: absolute;
  background: linear-gradient(
    90deg,
    rgba(0, 81, 255, 0),
    rgba(0, 179, 255, 0.9),
    rgba(0, 81, 255, 0)
  );
  opacity: 0.75;
  filter: drop-shadow(0 0 6px rgba(0, 179, 255, 0.9));
  transform-origin: left center;
  animation: ksc-hero-v2-link-flow 3.2s linear infinite;
}

.ksc-link-1 {
  left: 18%;
  top: 55%;
  width: 32%;
  height: 2px;
  transform: rotate(-24deg);
  animation-delay: 0s;
}
.ksc-link-2 {
  left: 48%;
  top: 27%;
  width: 30%;
  height: 2px;
  transform: rotate(26deg);
  animation-delay: 0.6s;
}
.ksc-link-3 {
  left: 36%;
  bottom: 17%;
  width: 34%;
  height: 2px;
  transform: rotate(12deg);
  animation-delay: 1s;
}
.ksc-link-4 {
  left: 12%;
  top: 24%;
  width: 40%;
  height: 2px;
  transform: rotate(18deg);
  animation-delay: 1.4s;
}

/* FOOTER TARJETA */
.ksc-hero-v2-card-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  font-size: 0.72rem;
}

.ksc-hero-v2-footer-item {
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(4, 22, 61, 0.92),
    rgba(5, 32, 85, 0.96)
  );
  border: 1px solid rgba(230, 237, 255, 0.12);
}

.ksc-hero-v2-footer-label {
  display: block;
  opacity: 0.7;
  margin-bottom: 0.15rem;
}

.ksc-hero-v2-footer-value {
  font-weight: 600;
  color: #ffffff;
}

.ksc-hero-v2-card-glow {
  position: absolute;
  inset: auto;
  left: -15%;
  right: -15%;
  bottom: -45px;
  height: 70px;
  background: radial-gradient(circle at 50% 0, rgba(0, 179, 255, 0.7), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

/* ===========================
   ANIMACIONES
   =========================== */
@keyframes ksc-hero-v2-underline {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.06);
  }
}

@keyframes ksc-hero-v2-grid-move {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-24px, -18px, 0);
  }
}

@keyframes ksc-hero-v2-node-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 179, 255, 0.85);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(0, 179, 255, 0);
    transform: scale(1.06);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 179, 255, 0);
    transform: scale(1);
  }
}

@keyframes ksc-hero-v2-link-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 960px) {
  .ksc-hero-v2 {
    padding: 4.2rem 1.9rem 3.3rem;
  }

  .ksc-hero-v2-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .ksc-hero-v2-visual {
    justify-content: flex-start;
  }

  .ksc-hero-v2-card {
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .ksc-hero-v2 {
    padding: 3.4rem 1.4rem 3rem;
  }

  .ksc-hero-v2-title {
    font-size: 2rem;
  }

  .ksc-hero-v2-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ksc-hero-v2-card-footer {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   SECCIÓN 2 – ¿QUÉ ES KSC?
   =========================== */

.ksc-section-what {
  position: relative;
  padding: 4.5rem min(8vw, 5rem) 4.8rem;
  background:
    linear-gradient(to bottom, #ffffff 0%, #f8f9ff 60%, #ffffff 100%);
  overflow: hidden;
}

.ksc-section-what-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* CABECERA */
.ksc-section-what-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.ksc-section-what-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 81, 255, 0.25);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1b3f8b;
  background: rgba(255, 255, 255, 0.9);
}

.ksc-section-what-title {
  margin-top: 1.4rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  letter-spacing: -0.03em;
  color: #02142f;
}

.ksc-section-what-title span {
  background: linear-gradient(120deg, #0051ff, #02142f);
  -webkit-background-clip: text;
  color: transparent;
}

.ksc-section-what-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #6a7084;
}

/* LAYOUT PRINCIPAL */
.ksc-section-what-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: flex-start;
}

/* PILLS */
.ksc-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.ksc-pill {
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 81, 255, 0.2);
  background: linear-gradient(
    135deg,
    rgba(0, 81, 255, 0.08),
    rgba(255, 255, 255, 0.95)
  );
  color: #1b3f8b;
}

/* GRID FEATURES */
.ksc-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.4rem;
}

.ksc-feature {
  position: relative;
  padding: 1.1rem 1.05rem 1.15rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(3, 24, 60, 0.06);
  box-shadow: 0 16px 32px rgba(3, 24, 60, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out,
    border-color 0.2s ease-out;
}

.ksc-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(0, 81, 255, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.ksc-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px rgba(3, 24, 60, 0.12);
  border-color: rgba(0, 81, 255, 0.4);
}

.ksc-feature:hover::before {
  opacity: 1;
}

/* ICONOS ABSTRACTOS */
.ksc-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  margin-bottom: 0.7rem;
  position: relative;
  overflow: hidden;
}

.ksc-feature-icon::before,
.ksc-feature-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.ksc-feature-icon-1 {
  background: radial-gradient(circle at 30% 20%, #ffffff, #0051ff);
}
.ksc-feature-icon-1::before {
  width: 16px;
  height: 16px;
  left: 60%;
  top: -4px;
  background: rgba(2, 20, 47, 0.75);
}
.ksc-feature-icon-1::after {
  width: 10px;
  height: 10px;
  left: -2px;
  bottom: 2px;
  background: #6d9dff;
}

.ksc-feature-icon-2 {
  background: linear-gradient(135deg, #02142f, #0051ff);
}
.ksc-feature-icon-2::before {
  width: 18px;
  height: 18px;
  left: -4px;
  top: 10px;
  background: rgba(255, 255, 255, 0.3);
}
.ksc-feature-icon-2::after {
  width: 8px;
  height: 8px;
  right: 4px;
  top: 4px;
  background: #ffffff;
}

.ksc-feature-icon-3 {
  background: radial-gradient(circle at 0 0, #6d9dff, #02142f);
}
.ksc-feature-icon-3::before {
  width: 14px;
  height: 14px;
  right: -4px;
  bottom: 6px;
  background: rgba(255, 255, 255, 0.35);
}
.ksc-feature-icon-3::after {
  width: 9px;
  height: 9px;
  left: 6px;
  top: 6px;
  background: #ffffff;
}

.ksc-feature-icon-4 {
  background: linear-gradient(135deg, #02142f, #3b7bff);
}
.ksc-feature-icon-4::before {
  width: 18px;
  height: 18px;
  left: 10px;
  top: -6px;
  background: rgba(255, 255, 255, 0.28);
}
.ksc-feature-icon-4::after {
  width: 8px;
  height: 8px;
  right: 3px;
  bottom: 3px;
  background: #9cc4ff;
}

.ksc-feature h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
  color: #02142f;
}

.ksc-feature p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6a7084;
}

/* LADO DERECHO – TARJETA CADENA DE BLOQUES */
.ksc-section-what-visual {
  display: flex;
  justify-content: flex-end;
}

.ksc-chain-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 1.4rem 1.3rem 1.2rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0, rgba(0, 81, 255, 0.35), transparent 65%),
    radial-gradient(circle at 90% 100%, rgba(0, 0, 0, 0.85), transparent 70%),
    linear-gradient(145deg, #020814, #071327);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 26px 48px rgba(2, 20, 47, 0.4);
  color: #eaf0ff;
  overflow: hidden;
}

/* CABECERA TARJETA */
.ksc-chain-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.ksc-chain-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #00b3ff);
  box-shadow: 0 0 0 0 rgba(0, 179, 255, 0.9);
  animation: ksc-chain-dot-pulse 3.6s ease-out infinite;
}

.ksc-chain-header-text {
  display: flex;
  flex-direction: column;
}

.ksc-chain-header-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.ksc-chain-header-sub {
  font-size: 0.76rem;
  opacity: 0.7;
}

/* PILA DE BLOQUES */
.ksc-chain-stack {
  position: relative;
  padding: 0.4rem 0 1.2rem;
}

.ksc-block {
  position: relative;
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(145deg, #040f23, #0a1934);
  border: 1px solid rgba(230, 237, 255, 0.2);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.ksc-block-1 {
  transform: translateX(-8px);
  animation: ksc-block-float-1 8s ease-in-out infinite;
}
.ksc-block-2 {
  transform: translateX(8px);
  animation: ksc-block-float-2 8s ease-in-out infinite;
}
.ksc-block-3 {
  transform: translateX(-4px);
  animation: ksc-block-float-3 8s ease-in-out infinite;
}

.ksc-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.ksc-block-tag {
  font-size: 0.78rem;
  color: #c7d6ff;
}

.ksc-block-led {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #00b3ff);
  box-shadow: 0 0 0 0 rgba(0, 179, 255, 0.85);
  animation: ksc-led-pulse 2.8s ease-out infinite;
}

.ksc-block-body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.ksc-line {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #24457f, #5aa5ff);
  opacity: 0.85;
}

.ksc-line-short {
  width: 70%;
}

.ksc-line-faint {
  opacity: 0.45;
}

/* CONEXIONES ENTRE BLOQUES */
.ksc-chain-links {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ksc-chain-link {
  position: absolute;
  left: 14%;
  width: 72%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 179, 255, 0),
    rgba(0, 179, 255, 0.9),
    rgba(0, 179, 255, 0)
  );
  filter: drop-shadow(0 0 8px rgba(0, 179, 255, 0.9));
  background-size: 200% 100%;
  animation: ksc-chain-link-flow 3.1s linear infinite;
}

.ksc-chain-link-1 {
  top: 34%;
}
.ksc-chain-link-2 {
  top: 61%;
  animation-delay: 1.1s;
}

/* FOOTER TARJETA */
.ksc-chain-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  font-size: 0.72rem;
}

.ksc-chain-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ksc-chain-footer-label {
  opacity: 0.68;
}

.ksc-chain-footer-chip {
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(
    145deg,
    rgba(4, 22, 61, 0.96),
    rgba(5, 32, 85, 0.98)
  );
  border: 1px solid rgba(230, 237, 255, 0.25);
}

/* GLOW INFERIOR */
.ksc-chain-glow {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -40px;
  height: 65px;
  background: radial-gradient(circle at 50% 0, rgba(0, 179, 255, 0.7), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

/* ANIMACIONES */
@keyframes ksc-chain-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 179, 255, 0.9);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(0, 179, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 179, 255, 0);
  }
}

@keyframes ksc-led-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 179, 255, 0.9);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 179, 255, 0);
  }
}

@keyframes ksc-block-float-1 {
  0%,
  100% {
    transform: translateX(-8px) translateY(0);
  }
  50% {
    transform: translateX(-6px) translateY(-4px);
  }
}
@keyframes ksc-block-float-2 {
  0%,
  100% {
    transform: translateX(8px) translateY(0);
  }
  50% {
    transform: translateX(10px) translateY(4px);
  }
}
@keyframes ksc-block-float-3 {
  0%,
  100% {
    transform: translateX(-4px) translateY(0);
  }
  50% {
    transform: translateX(-2px) translateY(-3px);
  }
}

@keyframes ksc-chain-link-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .ksc-section-what {
    padding: 3.8rem 1.8rem 4rem;
  }

  .ksc-section-what-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.6rem;
  }

  .ksc-section-what-visual {
    justify-content: flex-start;
  }

  .ksc-chain-card {
    margin-inline: auto;
  }
}

@media (max-width: 650px) {
  .ksc-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ksc-chain-footer {
    grid-template-columns: 1fr;
  }

  .ksc-section-what {
    padding: 3.2rem 1.4rem 3.5rem;
  }
}
/* ===========================
   BLOQUE 3 – PROBLEMAS QUE RESUELVE
   =========================== */

.ksc-section-problems {
  position: relative;
  padding: 4.6rem min(8vw, 5rem) 4.8rem;
  background:
    radial-gradient(circle at 0 100%, rgba(0, 81, 255, 0.06), transparent 60%),
    radial-gradient(circle at 100% 0, rgba(2, 20, 47, 0.08), transparent 60%),
    #ffffff;
  overflow: hidden;
}

.ksc-section-problems-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* Cabecera */
.ksc-section-problems-header {
  max-width: 720px;
  margin-bottom: 3.1rem;
}

.ksc-section-problems-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 81, 255, 0.25);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1b3f8b;
  background: rgba(255, 255, 255, 0.96);
}

.ksc-section-problems-title {
  margin-top: 1.4rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.9rem, 2.7vw, 2.4rem);
  letter-spacing: -0.03em;
  color: #02142f;
}

.ksc-section-problems-title span {
  background: linear-gradient(120deg, #0051ff, #02142f);
  -webkit-background-clip: text;
  color: transparent;
}

.ksc-section-problems-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #6a7084;
}

/* Layout */
.ksc-section-problems-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
  gap: 3rem;
  align-items: stretch;
}

/* Tarjetas problemas */
.ksc-problems-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.3rem;
}

.ksc-problem-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
}

.ksc-problem-card-border {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(0, 81, 255, 0.9), rgba(109, 157, 255, 0.15)),
    linear-gradient(300deg, rgba(2, 20, 47, 0.9), rgba(0, 81, 255, 0.1));
  background-size: 200% 200%;
  opacity: 0.8;
  filter: blur(0.4px);
  animation: ksc-problem-border-shift 12s linear infinite;
}

.ksc-problem-card-inner {
  position: relative;
  margin: 1px;
  border-radius: 17px;
  padding: 1.05rem 1.05rem 1.1rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(244, 247, 255, 0.98)
  );
  box-shadow: 0 18px 36px rgba(3, 24, 60, 0.12);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out,
    background 0.2s ease-out;
}

.ksc-problem-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(0, 81, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
  pointer-events: none;
}

.ksc-problem-card-inner h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
  color: #02142f;
}

.ksc-problem-card-inner p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #6a7084;
}

.ksc-problem-card:hover .ksc-problem-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(3, 24, 60, 0.2);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(238, 244, 255, 1)
  );
}

.ksc-problem-card:hover .ksc-problem-card-inner::before {
  opacity: 1;
}

/* Visual – Radar de riesgos */
.ksc-problems-visual {
  display: flex;
  justify-content: flex-end;
}

.ksc-problems-radar-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 1.4rem 1.3rem 1.2rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0, rgba(0, 81, 255, 0.35), transparent 65%),
    radial-gradient(circle at 90% 100%, rgba(0, 0, 0, 0.9), transparent 70%),
    linear-gradient(145deg, #020814, #08152b);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 50px rgba(2, 20, 47, 0.5);
  color: #eaf0ff;
  overflow: hidden;
}

/* Cabecera radar */
.ksc-problems-radar-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.ksc-radar-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #00b3ff);
  box-shadow: 0 0 0 0 rgba(0, 179, 255, 0.9);
  animation: ksc-radar-dot-pulse 3.4s ease-out infinite;
}

.ksc-radar-title {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ksc-radar-sub {
  font-size: 0.76rem;
  opacity: 0.7;
}

/* Radar */
.ksc-radar {
  position: relative;
  margin: 0 auto 1.2rem;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, #02142f 0%, #010812 60%, #000000 100%);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(230, 237, 255, 0.18),
    0 0 40px rgba(0, 179, 255, 0.55);
}

/* Anillos */
.ksc-radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(230, 237, 255, 0.18);
}

.ksc-radar-ring-1 {
  inset: 14%;
}
.ksc-radar-ring-2 {
  inset: 28%;
}
.ksc-radar-ring-3 {
  inset: 42%;
}

/* Barrido */
.ksc-radar-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg,
    rgba(0, 179, 255, 0),
    rgba(0, 179, 255, 0.8),
    rgba(0, 179, 255, 0)
  );
  animation: ksc-radar-sweep-rotate 6s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* Nodos de riesgo */
.ksc-radar-node {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.7rem;
}

.ksc-radar-node-pulse {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  margin: 0 auto 0.45rem;
  background: radial-gradient(circle at 30% 20%, #ffffff, #00b3ff);
  box-shadow: 0 0 0 0 rgba(0, 179, 255, 0.9);
  animation: ksc-radar-node-pulse 2.8s ease-out infinite;
}

.ksc-radar-node-label {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(5, 32, 85, 0.95);
  border: 1px solid rgba(230, 237, 255, 0.3);
}

/* Posición de nodos */
.ksc-radar-node-1 {
  top: 18%;
  left: 30%;
}
.ksc-radar-node-2 {
  top: 32%;
  right: 18%;
}
.ksc-radar-node-3 {
  bottom: 24%;
  left: 26%;
}
.ksc-radar-node-4 {
  bottom: 14%;
  right: 26%;
}

/* Footer radar */
.ksc-radar-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  font-size: 0.72rem;
}

.ksc-radar-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ksc-radar-footer-label {
  opacity: 0.7;
}

.ksc-radar-footer-value {
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(
    145deg,
    rgba(4, 22, 61, 0.96),
    rgba(5, 32, 85, 0.98)
  );
  border: 1px solid rgba(230, 237, 255, 0.25);
}

/* Glow inferior */
.ksc-problems-radar-glow {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -40px;
  height: 70px;
  background: radial-gradient(circle at 50% 0, rgba(0, 179, 255, 0.7), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

/* Animaciones */
@keyframes ksc-problem-border-shift {
  0% {
    background-position: 0% 50%, 100% 50%;
  }
  50% {
    background-position: 100% 50%, 0% 50%;
  }
  100% {
    background-position: 0% 50%, 100% 50%;
  }
}

@keyframes ksc-radar-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 179, 255, 0.9);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(0, 179, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 179, 255, 0);
  }
}

@keyframes ksc-radar-sweep-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes ksc-radar-node-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 179, 255, 0.9);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 179, 255, 0);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .ksc-section-problems {
    padding: 3.8rem 1.8rem 4rem;
  }

  .ksc-section-problems-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.8rem;
  }

  .ksc-problems-visual {
    justify-content: flex-start;
  }

  .ksc-problems-radar-card {
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .ksc-problems-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .ksc-radar-footer {
    grid-template-columns: 1fr;
  }

  .ksc-section-problems {
    padding: 3.3rem 1.4rem 3.6rem;
  }
}
/* ===========================
   SESIÓN 4 – ARQUITECTURA GENERAL
   =========================== */

.ksc-architecture {
  position: relative;
  padding: 4.8rem min(8vw, 5rem) 5.2rem;
  background:
    radial-gradient(circle at 0 0, rgba(0,81,255,0.08), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(2,20,47,0.10), transparent 60%),
    #ffffff;
  overflow: hidden;
}

.ksc-arch-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* HEADER */
.ksc-arch-header {
  max-width: 720px;
  margin-bottom: 3.2rem;
}

.ksc-arch-tag {
  display: inline-flex;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,81,255,0.25);
  background: rgba(255,255,255,0.96);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #1b3f8b;
}

.ksc-arch-title {
  margin-top: 1.4rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.9rem,2.7vw,2.4rem);
  letter-spacing: -0.03em;
  color: #02142f;
}

.ksc-arch-title span {
  background: linear-gradient(120deg,#0051ff,#02142f);
  -webkit-background-clip: text;
  color: transparent;
}

.ksc-arch-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #6a7084;
}

/* LAYOUT */
.ksc-arch-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(0, 3.2fr);
  gap: 3.2rem;
  align-items: center;
}

/* ===========================
      HOLOGRAMA 3D
   =========================== */

.ksc-arch-visual {
  display: flex;
  justify-content: center;
}

.ksc-holo {
  position: relative;
  width: 320px;
  height: 440px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 100%, rgba(0, 179, 255, 0.15), transparent 70%),
    linear-gradient(145deg, #020814, #08152b);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 26px 50px rgba(2,20,47,0.5);
  overflow: hidden;
  transform-style: preserve-3d;
}

/* ANILLOS */
.ksc-holo-ring {
  position: absolute;
  left: 50%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(0,179,255,0.35);
  transform: translateX(-50%);
  animation: holo-ring-spin 14s linear infinite;
  pointer-events: none;
}

.ksc-holo-ring-1 {
  top: 40px;
}
.ksc-holo-ring-2 {
  top: 140px;
  animation-duration: 18s;
}

/* BARRIDO */
.ksc-holo-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg,
    rgba(0,179,255,0),
    rgba(0,179,255,0.65),
    rgba(0,179,255,0)
  );
  mix-blend-mode: screen;
  animation: holo-sweep-spin 6s linear infinite;
  opacity: 0.65;
}

/* PLATAFORMAS */
.ksc-holo-layer {
  position: absolute;
  left: 50%;
  width: 240px;
  height: 52px;
  border-radius: 12px;
  transform: translateX(-50%);
  background: linear-gradient(145deg,#030a18,#0c1a31);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 14px 28px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: holo-layer-float 5s ease-in-out infinite;
}

.holo-layer-1 { top: 80px; animation-delay: 0s; }
.holo-layer-2 { top: 150px; animation-delay: 1s; }
.holo-layer-3 { top: 220px; animation-delay: 2s; }
.holo-layer-4 { top: 290px; animation-delay: 3s; }

.holo-label {
  position: absolute;
  top: -22px;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(5,32,85,0.95);
  border: 1px solid rgba(230,237,255,0.3);
  color: #eaf0ff;
}

.holo-core {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #00b3ff);
  box-shadow: 0 0 20px rgba(0,179,255,0.8);
}

.holo-core-1 { animation: core-pulse 2.2s infinite; }
.holo-core-2 { animation: core-pulse 2.5s infinite; }
.holo-core-3 { animation: core-pulse 2.8s infinite; }
.holo-core-4 { animation: core-pulse 3.1s infinite; }

/* CONEXIONES */
.ksc-holo-link {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 50px;
  background: linear-gradient(
    rgba(0,179,255,0),
    rgba(0,179,255,1),
    rgba(0,179,255,0)
  );
  transform: translateX(-50%);
  animation: link-glow 3s ease-in-out infinite;
}

.link-1 { top: 115px; }
.link-2 { top: 185px; animation-delay: 1s; }
.link-3 { top: 255px; animation-delay: 2s; }

/* ===========================
      BLOQUES DE TEXTO
   =========================== */

.ksc-arch-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.ksc-arch-block {
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(3,24,60,0.06);
  box-shadow: 0 16px 32px rgba(3,24,60,0.06);
  transition: transform .2s, box-shadow .2s;
}

.ksc-arch-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(3,24,60,0.12);
}

.ksc-arch-block h3 {
  font-size: 1rem;
  color: #02142f;
  margin-bottom: 0.45rem;
}

.ksc-arch-block p {
  font-size: 0.92rem;
  color: #6a7084;
  line-height: 1.65;
}

/* ===========================
      ANIMACIONES
   =========================== */

@keyframes holo-ring-spin {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(360deg); }
}

@keyframes holo-sweep-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes holo-layer-float {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

@keyframes core-pulse {
  0%,100% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(0,179,255,0.8);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 28px rgba(0,179,255,1);
  }
}

@keyframes link-glow {
  0%,100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ===========================
      RESPONSIVE
   =========================== */

@media (max-width: 960px) {
  .ksc-arch-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ksc-holo {
    margin: 0 auto;
  }
}
/* ===========================
   SESIÓN 5 – CORE NODES
   =========================== */

.ksc-core-nodes {
  position: relative;
  padding: 4.8rem min(8vw, 5rem) 5rem;
  background:
    radial-gradient(circle at 100% 0, rgba(0,81,255,0.08), transparent 60%),
    radial-gradient(circle at 0 100%, rgba(2,20,47,0.12), transparent 60%),
    #ffffff;
  overflow: hidden;
}

.ksc-core-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* HEADER */
.ksc-core-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.ksc-core-tag {
  display: inline-flex;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,81,255,0.25);
  background: rgba(255,255,255,0.96);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #1b3f8b;
}

.ksc-core-title {
  margin-top: 1.4rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.9rem, 2.7vw, 2.4rem);
  letter-spacing: -0.03em;
  color: #02142f;
}

.ksc-core-title span {
  background: linear-gradient(120deg,#0051ff,#02142f);
  -webkit-background-clip: text;
  color: transparent;
}

.ksc-core-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #6a7084;
}

/* LAYOUT */
.ksc-core-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.7fr) minmax(0, 3.3fr);
  gap: 3.2rem;
  align-items: center;
}

/* ===========================
   VISUAL – RED DE NODOS
   =========================== */

.ksc-core-visual {
  display: flex;
  justify-content: center;
}

.ksc-core-card {
  position: relative;
  width: 340px;
  height: 420px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0, rgba(0,81,255,0.35), transparent 65%),
    radial-gradient(circle at 90% 100%, rgba(0,0,0,0.9), transparent 70%),
    linear-gradient(145deg,#020814,#08152b);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 26px 50px rgba(2,20,47,0.5);
  overflow: hidden;
}

/* Malla de fondo */
.ksc-core-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05),rgba(255,255,255,0.02)),
    repeating-linear-gradient(
      to right,
      rgba(255,255,255,0.1) 0,
      rgba(255,255,255,0.1) 1px,
      transparent 1px,
      transparent 22px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.1) 0,
      rgba(255,255,255,0.1) 1px,
      transparent 1px,
      transparent 22px
    );
  opacity: 0.28;
  mix-blend-mode: screen;
  animation: ksc-core-grid-move 18s linear infinite;
}

/* Nodo central */
.ksc-core-node-main {
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
}

.ksc-core-node {
  position: absolute;
  color: #eaf0ff;
  text-align: center;
  font-size: 0.76rem;
}

.ksc-core-node-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #00b3ff);
  box-shadow: 0 0 0 0 rgba(0,179,255,0.9);
  animation: ksc-core-node-pulse 3s ease-out infinite;
}

.ksc-core-node-pulse.small {
  animation-duration: 3.4s;
}

.ksc-core-node-inner {
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  border: 1px solid rgba(230,237,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Nodos especializados */
.ksc-core-node-usuarios {
  top: 20%;
  left: 18%;
  width: 72px;
  height: 72px;
}
.ksc-core-node-compras {
  top: 18%;
  right: 14%;
  width: 72px;
  height: 72px;
}
.ksc-core-node-pdfs {
  bottom: 34%;
  left: 54%;
  width: 72px;
  height: 72px;
}

.ksc-core-node-label {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 0.4rem);
  white-space: nowrap;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: rgba(5,32,85,0.96);
  border: 1px solid rgba(230,237,255,0.3);
}

/* Conexiones estáticas */
.ksc-core-link {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0,179,255,0),
    rgba(0,179,255,0.85),
    rgba(0,179,255,0)
  );
  opacity: 0.7;
  filter: drop-shadow(0 0 8px rgba(0,179,255,0.9));
}

.core-link-1 {
  left: 27%;
  top: 26%;
  width: 120px;
  transform: rotate(18deg);
}
.core-link-2 {
  right: 24%;
  top: 26%;
  width: 120px;
  transform: rotate(-18deg);
}
.core-link-3 {
  left: 38%;
  top: 40%;
  width: 130px;
  transform: rotate(35deg);
}

/* Pulsos animados sobre las conexiones */
.ksc-core-pulse-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0,179,255,0),
    rgba(0,179,255,1),
    rgba(0,179,255,0)
  );
  background-size: 200% 100%;
  filter: drop-shadow(0 0 8px rgba(0,179,255,1));
  animation: ksc-core-pulse-flow 2.8s linear infinite;
}

.pulse-line-1 {
  left: 27%;
  top: 26%;
  width: 120px;
  transform: rotate(18deg);
}
.pulse-line-2 {
  right: 24%;
  top: 26%;
  width: 120px;
  transform: rotate(-18deg);
  animation-delay: 0.5s;
}
.pulse-line-3 {
  left: 38%;
  top: 40%;
  width: 130px;
  transform: rotate(35deg);
  animation-delay: 1s;
}

/* Banda inferior – flujo de validación */
.ksc-core-flow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.4rem;
  padding: 0.7rem 0.8rem 0.8rem;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(
    to top,
    rgba(2,20,47,0.98),
    rgba(2,20,47,0.85)
  );
  border-top: 1px solid rgba(230,237,255,0.18);
}

.ksc-core-flow-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.ksc-core-flow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #00b3ff);
  box-shadow: 0 0 0 0 rgba(0,179,255,0.9);
  animation: ksc-core-flow-dot 3s ease-out infinite;
}

.ksc-core-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  font-size: 0.7rem;
}

.ksc-core-flow-step {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.35rem;
  border-radius: 999px;
  background: rgba(5,32,85,0.95);
  border: 1px solid rgba(230,237,255,0.28);
}

.ksc-core-flow-badge {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(230,237,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.ksc-core-flow-text {
  white-space: nowrap;
}

/* ===========================
   TEXTO
   =========================== */

.ksc-core-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.ksc-core-block {
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(3,24,60,0.06);
  box-shadow: 0 16px 32px rgba(3,24,60,0.06);
  transition: transform .2s, box-shadow .2s;
}

.ksc-core-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(3,24,60,0.12);
}

.ksc-core-block h3 {
  font-size: 1rem;
  color: #02142f;
  margin-bottom: 0.45rem;
}

.ksc-core-block p {
  font-size: 0.92rem;
  color: #6a7084;
  line-height: 1.65;
}

/* ===========================
   ANIMACIONES
   =========================== */

@keyframes ksc-core-grid-move {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-24px,-18px,0); }
}

@keyframes ksc-core-node-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0,179,255,0.9);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(0,179,255,0);
    transform: scale(1.06);
  }
}

@keyframes ksc-core-pulse-flow {
  0% { background-position: 0% 50%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { background-position: 200% 50%; opacity: 0; }
}

@keyframes ksc-core-flow-dot {
  0% { box-shadow: 0 0 0 0 rgba(0,179,255,0.9); }
  50% { box-shadow: 0 0 0 12px rgba(0,179,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,179,255,0); }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .ksc-core-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ksc-core-card {
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .ksc-core-nodes {
    padding: 3.8rem 1.6rem 4.2rem;
  }

  .ksc-core-flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.5rem;
  }

  .ksc-core-flow-text {
    white-space: normal;
  }
}
/* ===========================
   SESIÓN 6 – SEGURIDAD Y CRIPTOGRAFÍA
   =========================== */

.ksc-crypto {
  padding: 4.8rem min(8vw, 5rem) 5.2rem;
  background:
    radial-gradient(circle at 0% 20%, rgba(0,81,255,0.08), transparent 70%),
    radial-gradient(circle at 100% 80%, rgba(2,20,47,0.15), transparent 70%),
    #ffffff;
}

.ksc-crypto-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* HEADER */
.ksc-crypto-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.ksc-crypto-tag {
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,81,255,0.25);
  background: rgba(255,255,255,0.96);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1b3f8b;
}

.ksc-crypto-title {
  margin: 1.4rem 0 0.8rem;
  font-size: clamp(1.9rem,2.7vw,2.4rem);
  letter-spacing: -0.03em;
  color: #02142f;
}

.ksc-crypto-title span {
  background: linear-gradient(120deg,#0051ff,#02142f);
  -webkit-background-clip: text;
  color: transparent;
}

.ksc-crypto-subtitle {
  color: #6a7084;
  line-height: 1.7;
  font-size: 0.98rem;
}

/* LAYOUT */
.ksc-crypto-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(0, 3.2fr);
  gap: 3rem;
  align-items: center;
}

/* ===========================
   PANEL VISUAL
   =========================== */

.ksc-crypto-visual {
  display: flex;
  justify-content: center;
}

.crypto-panel {
  position: relative;
  width: 350px;
  height: 430px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0, rgba(0,81,255,0.35), transparent 65%),
    radial-gradient(circle at 90% 100%, rgba(0,0,0,0.85), transparent 70%),
    linear-gradient(145deg,#020814,#08152b);
  border: 1px solid rgba(255,255,255,0.22);
  overflow: hidden;
  box-shadow: 0 26px 50px rgba(2,20,47,0.55);
}

/* Bits animados */
.crypto-bits {
  position: absolute;
  inset: 0;
  background-size: 12px;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  opacity: 0.18;
  mix-blend-mode: screen;
}

.crypto-bits-1 { animation: bits-move-1 22s linear infinite; }
.crypto-bits-2 { animation: bits-move-2 18s linear infinite; }

/* Túnel */
.crypto-tunnel {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crypto-ring {
  position: absolute;
  border-radius: 999px;
  border: 2px solid rgba(0,179,255,0.3);
  width: 200px;
  height: 200px;
  animation: crypto-ring-spin 8s linear infinite;
}
.ring-2 {
  width: 260px;
  height: 260px;
  animation-duration: 12s;
}
.ring-3 {
  width: 140px;
  height: 140px;
  animation-duration: 10s;
  animation-direction: reverse;
}
.ring-4 {
  width: 320px;
  height: 320px;
  animation-duration: 16s;
}

/* Hexágonos */
.crypto-hex {
  position: absolute;
  width: 58px;
  height: 32px;
  background: rgba(0,179,255,0.22);
  border: 1px solid rgba(0,179,255,0.45);
  clip-path: polygon(
    25% 0%, 75% 0%, 100% 50%,
    75% 100%, 25% 100%, 0% 50%
  );
  animation: hex-float 6s ease-in-out infinite;
}

.hex-1 { top: 16%; left: 22%; animation-delay: 0s; }
.hex-2 { top: 58%; left: 12%; animation-delay: 1s; }
.hex-3 { top: 34%; right: 14%; animation-delay: 2s; }

/* Módulo */
.crypto-module {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1rem 1.2rem;
  background: linear-gradient(to top, rgba(2,20,47,0.98), rgba(2,20,47,0.7));
  border-top: 1px solid rgba(230,237,255,0.2);
  border-radius: 0 0 24px 24px;
}

.crypto-module-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #eaf0ff;
}

.crypto-led {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #00b3ff);
  animation: crypto-led-pulse 3s ease-out infinite;
}

.crypto-module-lines {
  margin: 0.8rem 0;
  display: flex;
  gap: 0.35rem;
}

.crypto-module-lines span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg,#24457f,#5aa5ff);
  opacity: 0.85;
  animation: module-scan 2.4s linear infinite;
}

.crypto-module-info {
  font-size: 0.75rem;
  color: #c7d6ff;
  line-height: 1.45;
  opacity: 0.9;
}

/* ===========================
   BLOQUES DE TEXTO
   =========================== */

.ksc-crypto-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.crypto-block {
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(3,24,60,0.06);
  box-shadow: 0 16px 32px rgba(3,24,60,0.06);
  transition: transform .2s, box-shadow .2s;
}

.crypto-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(3,24,60,0.12);
}

.crypto-block h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: #02142f;
}

.crypto-block p {
  font-size: 0.92rem;
  color: #6a7084;
  line-height: 1.65;
}

/* ===========================
   ANIMACIONES
   =========================== */

@keyframes bits-move-1 {
  0% { transform: translate(0,0); }
  100% { transform: translate(-40px,-30px); }
}

@keyframes bits-move-2 {
  0% { transform: translate(0,0); }
  100% { transform: translate(40px,30px); }
}

@keyframes crypto-ring-spin {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes hex-float {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-8px) translateX(4px); }
}

@keyframes crypto-led-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,179,255,0.9); }
  50% { box-shadow: 0 0 0 12px rgba(0,179,255,0); }
}

@keyframes module-scan {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 960px) {
  .ksc-crypto-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .crypto-panel {
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .ksc-crypto {
    padding: 3.8rem 1.6rem 4.2rem;
  }
}

/* ===========================
   SESIÓN 7 – PRIVACIDAD
   =========================== */

.ksc-privacy {
  position: relative;
  padding: 4.8rem min(8vw, 5rem) 5.2rem;
  background:
    radial-gradient(circle at 0 100%, rgba(0,81,255,0.06), transparent 60%),
    radial-gradient(circle at 100% 0, rgba(2,20,47,0.12), transparent 60%),
    #ffffff;
  overflow: hidden;
}

.ksc-privacy-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* CABECERA */

.ksc-privacy-header {
  max-width: 720px;
  margin-bottom: 3.1rem;
}

.ksc-privacy-tag {
  display: inline-flex;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,81,255,0.25);
  background: rgba(255,255,255,0.96);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1b3f8b;
}

.ksc-privacy-title {
  margin-top: 1.4rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.9rem, 2.7vw, 2.4rem);
  letter-spacing: -0.03em;
  color: #02142f;
}

.ksc-privacy-title span {
  background: linear-gradient(120deg,#0051ff,#02142f);
  -webkit-background-clip: text;
  color: transparent;
}

.ksc-privacy-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #6a7084;
}

/* LAYOUT */

.ksc-privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.8fr);
  gap: 3.2rem;
  align-items: center;
}

/* BLOQUES DE TEXTO */

.ksc-privacy-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.privacy-block {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(3,24,60,0.06);
  box-shadow: 0 16px 32px rgba(3,24,60,0.06);
  transition: transform .2s ease-out, box-shadow .2s ease-out;
}

.privacy-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(3,24,60,0.12);
}

.privacy-block-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

/* Iconos nuevos, diferentes a bloques anteriores */

.privacy-block-icon::before,
.privacy-block-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.privacy-block-icon-1 {
  background: linear-gradient(135deg,#0051ff,#02142f);
}
.privacy-block-icon-1::before {
  inset: 6px;
  border: 1px solid rgba(255,255,255,0.7);
}
.privacy-block-icon-1::after {
  width: 8px;
  height: 8px;
  left: 4px;
  top: 4px;
  background: #ffffff;
}

.privacy-block-icon-2 {
  background: radial-gradient(circle at 0 0,#6d9dff,#02142f);
}
.privacy-block-icon-2::before {
  width: 18px;
  height: 18px;
  right: -4px;
  bottom: 2px;
  background: rgba(255,255,255,0.3);
}
.privacy-block-icon-2::after {
  width: 9px;
  height: 9px;
  left: 7px;
  top: 7px;
  background: #ffffff;
}

.privacy-block-icon-3 {
  background: linear-gradient(135deg,#02142f,#3b7bff);
}
.privacy-block-icon-3::before {
  width: 18px;
  height: 18px;
  left: -4px;
  top: 8px;
  background: rgba(255,255,255,0.28);
}
.privacy-block-icon-3::after {
  width: 10px;
  height: 10px;
  right: 4px;
  top: 4px;
  background: #9cc4ff;
}

.privacy-block-icon-4 {
  background: radial-gradient(circle at 30% 20%,#ffffff,#0051ff);
}
.privacy-block-icon-4::before {
  inset: 5px;
  border: 1px solid rgba(3,24,60,0.5);
}
.privacy-block-icon-4::after {
  width: 6px;
  height: 16px;
  left: 13px;
  top: 8px;
  background: rgba(3,24,60,0.9);
}

.privacy-block-body h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #02142f;
}

.privacy-block-body p {
  font-size: 0.92rem;
  color: #6a7084;
  line-height: 1.65;
}

/* COLUMNA VISUAL – ESCUDO */

.ksc-privacy-visual {
  display: flex;
  justify-content: flex-end;
}

.privacy-shield-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 1.4rem 1.3rem 1.2rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0, rgba(0,81,255,0.33), transparent 65%),
    radial-gradient(circle at 90% 100%, rgba(0,0,0,0.9), transparent 70%),
    linear-gradient(145deg,#020814,#08152b);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 26px 50px rgba(2,20,47,0.5);
  color: #eaf0ff;
  overflow: hidden;
}

/* Escudo */

.privacy-shield {
  position: relative;
  margin: 0 auto 1.5rem;
  width: 210px;
  height: 250px;
}

/* Forma base del escudo */
.privacy-shield-core {
  position: absolute;
  inset: 18px 26px;
  background: linear-gradient(145deg,#020814,#062041);
  clip-path: polygon(
    50% 0%,
    90% 18%,
    96% 40%,
    80% 82%,
    50% 100%,
    20% 82%,
    4% 40%,
    10% 18%
  );
  border: 1px solid rgba(230,237,255,0.4);
  box-shadow: 0 0 25px rgba(0,179,255,0.5);
}

/* Contorno */
.privacy-shield-outline {
  position: absolute;
  inset: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,179,255,0.6);
  filter: blur(1px);
  mix-blend-mode: screen;
  animation: shield-breathe 6s ease-in-out infinite;
}

/* Ondas de protección */

.privacy-wave {
  position: absolute;
  inset: 32px 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,179,255,0.35);
  opacity: 0.6;
  animation: privacy-wave-pulse 5s ease-out infinite;
}

.wave-1 {
  animation-delay: 0s;
}
.wave-2 {
  animation-delay: 1.4s;
}

/* Línea de escaneo */

.privacy-scan-line {
  position: absolute;
  top: 22px;
  bottom: 22px;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(0,179,255,0),
    rgba(0,179,255,0.8),
    rgba(0,179,255,0)
  );
  box-shadow: 0 0 16px rgba(0,179,255,0.7);
  animation: privacy-scan-move 3.4s linear infinite;
}

/* Capas de etiquetas */

.privacy-layer {
  position: absolute;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.privacy-layer-label {
  display: inline-block;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: rgba(5,32,85,0.96);
  border: 1px solid rgba(230,237,255,0.35);
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.4;
  max-width: 80%;
  /* Permite cortes de línea coherentes */
  white-space: normal;
}

.privacy-layer-user {
  top: 12px;
}
.privacy-layer-app {
  top: 64px;
}
.privacy-layer-plugins {
  top: 118px;
}
.privacy-layer-ksc {
  top: 172px;
}

/* Pie de tarjeta */

.privacy-shield-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.65rem;
  font-size: 0.72rem;
}

.privacy-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.privacy-footer-label {
  opacity: 0.7;
}

.privacy-footer-value {
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(
    145deg,
    rgba(4,22,61,0.96),
    rgba(5,32,85,0.98)
  );
  border: 1px solid rgba(230,237,255,0.25);
  line-height: 1.4;
}

/* Halo inferior */

.privacy-shield-glow {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -40px;
  height: 70px;
  background: radial-gradient(circle at 50% 0, rgba(0,179,255,0.7), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

/* ANIMACIONES */

@keyframes shield-breathe {
  0%,100% {
    opacity: 0.7;
    box-shadow: 0 0 18px rgba(0,179,255,0.6);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 32px rgba(0,179,255,0.9);
  }
}

@keyframes privacy-wave-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

@keyframes privacy-scan-move {
  0% {
    transform: translateX(-50%) translateY(-4px);
  }
  50% {
    transform: translateX(-50%) translateY(4px);
  }
  100% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .ksc-privacy-layout {
    grid-template-columns: minmax(0,1fr);
    gap: 3rem;
  }

  .ksc-privacy-visual {
    justify-content: flex-start;
  }

  .privacy-shield-card {
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .ksc-privacy {
    padding: 3.8rem 1.6rem 4.2rem;
  }

  .privacy-shield-footer {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   SESIÓN 8 – INTEGRACIÓN CON PLUGINS
   =========================== */

.ksc-modules {
  padding: 5rem min(8vw, 5rem) 5.6rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faff 40%, #ffffff 100%);
  overflow: hidden;
}

.ksc-modules-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* HEADER */

.ksc-modules-header {
  max-width: 760px;
  margin-bottom: 3.3rem;
}

.ksc-modules-tag {
  display: inline-block;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,81,255,0.25);
  background: rgba(255,255,255,0.96);
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #1b3f8b;
  letter-spacing: 0.08em;
}

.ksc-modules-title {
  margin: 1.4rem 0 0.8rem;
  font-size: clamp(1.9rem,2.7vw,2.4rem);
  color: #02142f;
}

.ksc-modules-subtitle {
  font-size: 0.98rem;
  color: #6a7084;
  line-height: 1.7;
}

/* LAYOUT */

.ksc-modules-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(0, 3fr);
  gap: 3rem;
  align-items: center;
}

/* ===========================
   VISUAL ORBITAL
   =========================== */

.ksc-modules-visual {
  display: flex;
  justify-content: center;
}

.orbit-system {
  position: relative;
  width: 380px;
  height: 380px;
  margin: auto;
}

/* Núcleo KSC */

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: linear-gradient(145deg,#020814,#0b1d40);
  border: 1px solid rgba(0,179,255,0.4);
  box-shadow: 0 0 24px rgba(0,179,255,0.45);
  color: #eaf0ff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  position: absolute;
  overflow: hidden;
}

.core-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  animation: core-pulse 4.2s ease-in-out infinite;
  background: radial-gradient(circle,#00b3ff44, transparent 70%);
}

/* Círculos orbitales */

.orbit-circle {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(0,179,255,0.25);
  animation: orbit-spin linear infinite;
}

.circle-1 {
  width: 180px;
  height: 180px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 18s;
}

.circle-2 {
  width: 250px;
  height: 250px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 22s;
}

.circle-3 {
  width: 320px;
  height: 320px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 26s;
}

.circle-4 {
  width: 380px;
  height: 380px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(0,179,255,0.2);
  animation-duration: 30s;
}

/* ===========================
   NODOS DE PLUGINS
   =========================== */

.orbit-node {
  position: absolute;
  width: 110px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(145deg,#ffffff,#e8f1ff);
  border: 1px solid rgba(3,24,60,0.1);
  box-shadow: 0 8px 20px rgba(3,24,60,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  text-align: center;
  padding: 0.5rem;
  animation: orbit-node-move 12s ease-in-out infinite;
}

/* LABELS */

.orbit-label {
  display: inline-block;
  line-height: 1.3;
  white-space: normal;
  color: #02142f;
}

/* Posiciones orbitales */

.node-a { top: 0%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-c { top: 50%; left: 0%; transform: translateY(-50%); animation-delay: .8s; }
.node-g { top: 50%; right: 0%; transform: translateY(-50%); animation-delay: 1.6s; }
.node-h { bottom: 0%; left: 35%; animation-delay: 2.4s; }
.node-i { bottom: 12%; right: 24%; animation-delay: 3.2s; }

/* ANIMACIONES */

@keyframes core-pulse {
  0%,100% { opacity: .6; }
  50% { opacity: 1; }
}

@keyframes orbit-spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-node-move {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(6px,-6px); }
}

/* ===========================
   TEXTO
   =========================== */

.ksc-modules-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.module-block {
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(3,24,60,0.06);
  box-shadow: 0 16px 32px rgba(3,24,60,0.06);
  transition: transform .2s, box-shadow .2s;
}

.module-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(3,24,60,0.12);
}

.module-block h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #02142f;
}

.module-block p {
  font-size: 0.92rem;
  color: #6a7084;
  line-height: 1.65;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .ksc-modules-layout {
    grid-template-columns: 1fr;
  }
  .ksc-modules-visual {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 720px) {
  .ksc-modules {
    padding: 3.8rem 1.6rem 4.5rem;
  }
}
/* ===========================
   SESIÓN 9 – CASOS DE USO
   =========================== */

.ksc-usecases {
  padding: 5rem min(8vw,5rem) 6rem;
  background:
    radial-gradient(circle at 0 100%, rgba(0,81,255,0.06), transparent 60%),
    radial-gradient(circle at 100% 0, rgba(2,20,47,0.12), transparent 60%),
    #ffffff;
  overflow: hidden;
}

.ksc-usecases-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* HEADER */

.ksc-usecases-header {
  max-width: 760px;
  margin-bottom: 3.8rem;
}

.ksc-usecases-tag {
  display: inline-block;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,81,255,0.25);
  background: rgba(255,255,255,0.96);
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #1b3f8b;
  letter-spacing: 0.08em;
}

.ksc-usecases-title {
  margin: 1.4rem 0 0.8rem;
  font-size: clamp(1.9rem,2.7vw,2.4rem);
  color: #02142f;
}

.ksc-usecases-subtitle {
  font-size: 0.98rem;
  color: #6a7084;
  line-height: 1.7;
}

/* ===========================
   TIMELINE 3D
   =========================== */

.ksc-usecases-timeline {
  position: relative;
  margin-top: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Línea central de energía */

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(0,179,255,0),
    rgba(0,179,255,0.9),
    rgba(0,179,255,0)
  );
  box-shadow: 0 0 24px rgba(0,179,255,0.7);
  animation: line-pulse 5s ease-in-out infinite;
}

/* ===========================
   TARJETAS DE CASOS DE USO
   =========================== */

.usecase-card {
  position: relative;
  width: 360px;
  padding: 1.4rem 1.6rem;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(3,24,60,0.06);
  box-shadow: 0 14px 34px rgba(3,24,60,0.10);
  margin-bottom: 4rem;
  transition: transform .3s ease, box-shadow .3s ease;
}

.usecase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(3,24,60,0.16);
}

/* Tarjeta flotante (holográfica) */

.usecase-glow {
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(0,179,255,0.45), transparent 65%);
  opacity: 0;
  animation: glow-fade 4s infinite ease-in-out;
}

.usecase-card:hover .usecase-glow {
  opacity: .85;
}

.usecase-card h3 {
  font-size: 1.05rem;
  color: #02142f;
  margin-bottom: 0.4rem;
}

.usecase-card p {
  font-size: 0.92rem;
  color: #6a7084;
  line-height: 1.65;
}

/* Posiciones 3D alternadas */

.card-1 { left: 10%; }
.card-2 { left: 55%; }
.card-3 { left: 10%; }
.card-4 { left: 55%; }
.card-5 { left: 10%; }

/* ===========================
   ANIMACIONES
   =========================== */

@keyframes line-pulse {
  0%,100% {
    opacity: 0.5;
    box-shadow: 0 0 24px rgba(0,179,255,0.7);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 40px rgba(0,179,255,1);
  }
}

@keyframes glow-fade {
  0%,100% { opacity: 0; }
  50%     { opacity: 0.65; }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 960px) {
  .usecase-card {
    left: 50% !important;
    transform: translateX(-50%);
    width: 90%;
  }
}

@media (max-width: 720px) {
  .ksc-usecases {
    padding: 3.8rem 1.6rem 4.2rem;
  }
}
/* ===========================
   SESIÓN 10 – ROADMAP KSC
   =========================== */

.ksc-roadmap {
  position: relative;
  padding: 4.8rem min(8vw, 5rem) 5.4rem;
  background:
    radial-gradient(circle at 0 0, rgba(0,81,255,0.06), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(2,20,47,0.10), transparent 60%),
    #ffffff;
  overflow: hidden;
}

.ksc-roadmap-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* CABECERA */

.ksc-roadmap-header {
  max-width: 760px;
  margin-bottom: 3.1rem;
}

.ksc-roadmap-tag {
  display: inline-flex;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,81,255,0.25);
  background: rgba(255,255,255,0.96);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1b3f8b;
}

.ksc-roadmap-title {
  margin-top: 1.4rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.9rem, 2.7vw, 2.4rem);
  letter-spacing: -0.03em;
  color: #02142f;
}

.ksc-roadmap-title span {
  background: linear-gradient(120deg,#0051ff,#02142f);
  -webkit-background-clip: text;
  color: transparent;
}

.ksc-roadmap-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #6a7084;
}

/* LAYOUT */

.ksc-roadmap-layout {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.8fr);
  gap: 3.2rem;
  align-items: center;
}

/* COLUMNA TEXTO */

.ksc-roadmap-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.roadmap-text-block {
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(3,24,60,0.06);
  box-shadow: 0 16px 32px rgba(3,24,60,0.06);
  transition: transform .2s, box-shadow .2s;
}

.roadmap-text-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(3,24,60,0.12);
}

.roadmap-text-block h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #02142f;
}

.roadmap-text-block p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #6a7084;
}

/* COLUMNA VISUAL – TARJETA ROADMAP */

.ksc-roadmap-visual {
  display: flex;
  justify-content: flex-end;
}

.roadmap-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 1.4rem 1.3rem 1.3rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0, rgba(0,81,255,0.33), transparent 65%),
    radial-gradient(circle at 90% 100%, rgba(0,0,0,0.9), transparent 70%),
    linear-gradient(145deg,#020814,#08152b);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 26px 50px rgba(2,20,47,0.5);
  color: #eaf0ff;
  overflow: hidden;
}

/* HEADER TARJETA */

.roadmap-card-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.roadmap-header-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #00b3ff);
  box-shadow: 0 0 0 0 rgba(0,179,255,0.9);
  animation: roadmap-dot-pulse 3.4s ease-out infinite;
}

.roadmap-header-text {
  display: flex;
  flex-direction: column;
}

.roadmap-header-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-header-sub {
  font-size: 0.76rem;
  opacity: 0.7;
}

/* BARRA DE PROGRESO */

.roadmap-bar {
  margin-bottom: 1.4rem;
}

.roadmap-bar-track {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(3,24,60,0.85);
  overflow: hidden;
}

.roadmap-bar-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,#24457f,#5aa5ff,#00b3ff);
  background-size: 200% 100%;
  animation: roadmap-fill-move 4.2s linear infinite;
}

/* Puntos de fases sobre la barra */

.roadmap-bar-steps {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.roadmap-bar-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  font-size: 0.72rem;
}

.roadmap-bar-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #00b3ff;
  box-shadow: 0 0 10px rgba(0,179,255,0.9);
}

.roadmap-bar-step-label {
  opacity: 0.85;
}

/* ESCALONES DIAGONALES DE FASES */

.roadmap-steps {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.roadmap-step-card {
  position: relative;
  padding: 0.95rem 0.95rem 1rem;
  border-radius: 16px;
  background: linear-gradient(145deg,rgba(4,22,61,0.96),rgba(5,32,85,0.98));
  border: 1px solid rgba(230,237,255,0.26);
  box-shadow: 0 16px 32px rgba(0,0,0,0.55);
  overflow: hidden;
}

/* Cinta diagonal superior */

.roadmap-step-ribbon {
  position: absolute;
  top: 0.4rem;
  left: -0.6rem;
  padding: 0.18rem 1.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg,#0051ff,#00b3ff);
  color: #ffffff;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
}

/* Desplazamiento escalonado */

.step-1 {
  transform: translateX(0);
}
.step-2 {
  transform: translateX(10px);
}
.step-3 {
  transform: translateX(20px);
}

.roadmap-step-card h3 {
  margin-top: 1.3rem;
  margin-bottom: 0.35rem;
  font-size: 0.96rem;
  color: #ffffff;
}

.roadmap-step-card p {
  font-size: 0.84rem;
  line-height: 1.6;
  color: #c7d6ff;
}

/* GLOW INFERIOR */

.roadmap-card-glow {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -40px;
  height: 70px;
  background: radial-gradient(circle at 50% 0, rgba(0,179,255,0.7), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

/* ANIMACIONES */

@keyframes roadmap-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0,179,255,0.9);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(0,179,255,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0,179,255,0);
  }
}

@keyframes roadmap-fill-move {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .ksc-roadmap-layout {
    grid-template-columns: minmax(0,1fr);
    gap: 3rem;
  }

  .ksc-roadmap-visual {
    justify-content: flex-start;
  }

  .roadmap-card {
    margin-inline: auto;
  }

  .step-2 {
    transform: translateX(6px);
  }
  .step-3 {
    transform: translateX(12px);
  }
}

@media (max-width: 720px) {
  .ksc-roadmap {
    padding: 3.8rem 1.6rem 4.3rem;
  }

  .step-2,
  .step-3 {
    transform: translateX(0);
  }
}
