/* Sesión 1: Introducción al Ecosistema CooBook */
.coobook-section.intro-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background: #ffffff;
  padding: 6rem min(6vw, 5rem) 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(3, 19, 32, 0.05);
}

.intro-grid {
  max-width: 980px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-badge {
  width: fit-content;
  background: rgba(0, 102, 255, 0.07);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: #003366;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.intro-title {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #0b1723;
  font-weight: 700;
  max-width: 820px;
}

.intro-title span {
  color: #0066ff;
  background: linear-gradient(90deg, #0066ff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro-text {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(6, 15, 23, 0.75);
}

.intro-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.intro-pill {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(0, 76, 255, 0.15);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.75rem;
  color: #06151f;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
}

/* orbes decorativos futuristas */
.intro-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.8;
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  top: -90px;
  right: -60px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(4px);
}

.orb-2 {
  width: 190px;
  height: 190px;
  bottom: -40px;
  right: 20%;
  background: radial-gradient(circle, rgba(0, 218, 255, 0.33) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(3px);
}

/* responsive */
@media (max-width: 960px) {
  .coobook-section.intro-section {
    padding: 5rem 1.5rem 3.5rem;
  }
  .intro-title {
    font-size: clamp(2.25rem, 7vw, 3rem);
  }
  .intro-text {
    max-width: 100%;
  }
  .orb-1 {
    right: -120px;
    top: -60px;
  }
  .orb-2 {
    right: -40px;
  }
}

@media (max-width: 560px) {
  .intro-meta {
    gap: 0.5rem;
  }
  .intro-pill {
    font-size: 0.7rem;
  }
  .coobook-section.intro-section {
    min-height: auto;
  }
}
/* Sesión 2: modo red */
.coobook-section.tech-overview.network {
  position: relative;
  width: 100%;
  background: #ffffff;
  padding: 6rem min(6vw, 5rem);
  overflow: hidden;
}

/* fondo de red tipo malla */
.network-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 95, 255, 0.08) 1px, transparent 0);
  background-size: 90px 90px;
  opacity: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 25px rgba(0, 120, 255, 0.2));
  z-index: 1;
}

.tech-container {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.tech-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0b1723;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.tech-title span {
  background: linear-gradient(90deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* grid principal */
.tech-grid.network-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.8rem;
  justify-items: center;
}

/* líneas que conectan (capa por encima del fondo y por debajo de los nodos) */
.tech-grid.network-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(0, 102, 255, 0.28) 0, transparent 50%),
    linear-gradient(210deg, rgba(0, 212, 255, 0.25) 0, transparent 55%);
  opacity: 0.9;
  filter: blur(20px);
  z-index: -1;
}

/* cada nodo */
.tech-item {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: 16px;
  padding: 1.1rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #001a33;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  min-width: 180px;
}

/* puntito de unión en cada card */
.tech-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle, #00d4ff 0%, #0066ff 70%);
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(0, 106, 255, 0.6);
  transform: translateY(-50%);
}

/* hover como si activara el nodo */
.tech-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.55);
  box-shadow: 0 12px 35px rgba(0, 102, 255, 0.15);
  background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, rgba(255, 255, 255, 0.85) 60%);
}

/* posiciones "más de red" en desktop */
@media (min-width: 992px) {
  .network-grid {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }

  /* con esto simulamos conexiones diagonales dibujando líneas con pseudo-elementos en algunos nodos */
  .node-1,
  .node-2,
  .node-3,
  .node-4,
  .node-5,
  .node-6 {
    overflow: visible;
  }

  .node-1::before,
  .node-2::before,
  .node-4::before,
  .node-5::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.7), rgba(0, 212, 255, 0));
    transform: translateY(-50%);
    pointer-events: none;
  }

  /* líneas diagonales hacia abajo */
  .node-2::before {
    top: 120%;
    left: 60%;
    width: 140px;
    transform: rotate(28deg);
    transform-origin: left;
  }

  .node-4::before {
    top: -20%;
    left: 70%;
    width: 140px;
    transform: rotate(-30deg);
  }

  .node-5::before {
    top: 130%;
    left: 80%;
    width: 120px;
    transform: rotate(18deg);
  }

  /* quitamos el puntito para el último de la fila */
  .node-3::after,
  .node-6::after,
  .node-9::after {
    display: none;
  }
}

/* responsive */
@media (max-width: 768px) {
  .tech-title {
    margin-bottom: 2.4rem;
  }
  .tech-grid.network-grid {
    gap: 1.1rem;
  }
  .tech-item {
    width: 100%;
    max-width: 360px;
  }
  /* en mobile quitamos las líneas laterales para que no se vea cargado */
  .tech-item::after,
  .network-grid::before {
    display: none;
  }
}
/* Sesión 3: Kimiary Smart Chain (KSC) */
.coobook-section.ksc-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: #020b13;
  overflow: hidden;
  padding: 6rem min(6vw, 5rem);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #eaf4ff;
}

/* fondo animado estilo red */
.ksc-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(0, 132, 255, 0.2), transparent 70%),
              radial-gradient(circle at 20% 80%, rgba(0, 218, 255, 0.18), transparent 70%);
  z-index: 1;
  animation: pulseNetwork 8s ease-in-out infinite alternate;
  filter: blur(20px);
}

@keyframes pulseNetwork {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.ksc-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  text-align: left;
}

.ksc-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.ksc-title span {
  background: linear-gradient(90deg, #00c3ff, #0066ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ksc-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(230, 240, 255, 0.85);
  max-width: 760px;
  margin-bottom: 1.4rem;
}

/* diagrama tipo bloques conectados */
.ksc-diagram {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
  justify-items: center;
  position: relative;
}

.block {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 198, 255, 0.25);
  border-radius: 18px;
  padding: 1.5rem 1rem;
  text-align: center;
  font-weight: 600;
  color: #eaf4ff;
  position: relative;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0, 174, 255, 0.1);
  transition: all 0.3s ease;
}

.block span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(185, 225, 255, 0.8);
  margin-top: 0.4rem;
}

/* efecto conectado */
.block::before,
.block::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.6), rgba(0, 102, 255, 0));
  height: 1px;
  width: 60px;
  top: 50%;
  transform: translateY(-50%);
}

.block::before { left: -60px; }
.block::after { right: -60px; }

.block:hover {
  background: linear-gradient(160deg, rgba(0, 136, 255, 0.15), rgba(0, 212, 255, 0.1));
  box-shadow: 0 0 25px rgba(0, 174, 255, 0.25);
  transform: translateY(-5px);
}

/* limitamos las líneas laterales en extremos */
.block-1::before { display: none; }
.block-5::after { display: none; }

/* responsive */
@media (max-width: 900px) {
  .ksc-text { max-width: 100%; }
  .ksc-diagram {
    grid-template-columns: 1fr;
  }
  .block::before,
  .block::after {
    display: none;
  }
}
/* Sesión 4: Core Nodes Especializados */
.coobook-section.core-nodes-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 40%, #e6f2ff 100%);
  width: 100%;
  padding: 6rem min(6vw, 5rem);
  overflow: hidden;
}

.core-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 122, 255, 0.12), transparent 70%),
              radial-gradient(circle at 20% 80%, rgba(0, 200, 255, 0.15), transparent 70%);
  z-index: 1;
  filter: blur(20px);
  animation: nodeGlow 8s ease-in-out infinite alternate;
}

@keyframes nodeGlow {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}

.core-container {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.core-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0b1723;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.core-title span {
  background: linear-gradient(90deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.core-text {
  max-width: 760px;
  margin: 0 auto 1.4rem;
  font-size: 1.05rem;
  color: rgba(10, 25, 40, 0.8);
  line-height: 1.7;
}

/* red de nodos */
.core-network {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 4rem auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* nodo central */
.central-node {
  position: absolute;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, #0066ff, #00d4ff);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(0, 102, 255, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.central-node .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.4);
  animation: pulse 2.5s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* órbitas y nodos externos */
.orbit {
  position: absolute;
  border: 1px dashed rgba(0, 122, 255, 0.2);
  border-radius: 50%;
  animation: rotateOrbit linear infinite;
  transform-origin: center;
}

.orbit .node {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
  background: white;
  color: #003366;
  border-radius: 50%;
  border: 2px solid rgba(0, 122, 255, 0.4);
  width: 80px;
  height: 80px;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.1);
  transition: all 0.4s ease;
}

.orbit .node:hover {
  background: linear-gradient(145deg, rgba(0, 122, 255, 0.12), rgba(0, 212, 255, 0.08));
  border-color: rgba(0, 122, 255, 0.6);
  transform: translate(-50%, -50%) scale(1.1);
}

/* tamaños de órbitas y velocidades */
.orbit-1 { width: 180px; height: 180px; animation-duration: 14s; }
.orbit-2 { width: 240px; height: 240px; animation-duration: 18s; }
.orbit-3 { width: 310px; height: 310px; animation-duration: 22s; }
.orbit-4 { width: 370px; height: 370px; animation-duration: 26s; }

@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* responsive */
@media (max-width: 700px) {
  .core-network {
    width: 300px;
    height: 300px;
  }
  .orbit .node {
    width: 65px;
    height: 65px;
    font-size: 0.7rem;
  }
  .core-text {
    font-size: 0.95rem;
  }
}
/* Sesión 5: Plugins CooBook – Arquitectura Modular */
.coobook-section.plugins-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 50%, #e9f3ff 100%);
  padding: 6rem min(6vw, 5rem);
  overflow: hidden;
}

/* fondo tipo cuadrícula dinámica */
.plugins-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 102, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.08) 1px, transparent 1px);
  background-size: 90px 90px;
  animation: moveGrid 16s linear infinite;
  z-index: 1;
}

@keyframes moveGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 90px 90px, 90px 90px; }
}

.plugins-container {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.plugins-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0b1723;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.plugins-title span {
  background: linear-gradient(90deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plugins-text {
  max-width: 800px;
  margin: 0 auto 1.4rem;
  font-size: 1.05rem;
  color: rgba(10, 25, 40, 0.8);
  line-height: 1.7;
}

/* grid modular */
.plugins-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  position: relative;
}

.plugin-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 106, 255, 0.25);
  border-radius: 20px;
  padding: 1.4rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #002244;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.4s ease;
}

.plugin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0, rgba(0, 132, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.plugin-card:hover::before {
  opacity: 1;
}

.plugin-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 132, 255, 0.45);
  box-shadow: 0 15px 40px rgba(0, 132, 255, 0.2);
  color: #0044aa;
}

/* interconexiones animadas */
.plugins-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0, 132, 255, 0.1) 1px, transparent 0),
    radial-gradient(circle at 80% 60%, rgba(0, 212, 255, 0.1) 1px, transparent 0);
  background-size: 120px 120px;
  filter: blur(6px);
  animation: pulseGrid 6s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes pulseGrid {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.03); }
}

/* responsive */
@media (max-width: 768px) {
  .plugin-card {
    font-size: 0.95rem;
    padding: 1.2rem;
  }
  .plugins-grid {
    gap: 1rem;
  }
}
/* Sesión 6: Algoritmo de Consenso Kimiary */
.coobook-section.consensus-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: linear-gradient(180deg, #020b13 0%, #081e2f 80%);
  color: #e6f5ff;
  padding: 6rem min(6vw, 5rem);
  overflow: hidden;
}

.consensus-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 132, 255, 0.18), transparent 70%),
              radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.12), transparent 70%);
  animation: bgPulse 10s ease-in-out infinite alternate;
  filter: blur(25px);
  z-index: 1;
}

@keyframes bgPulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.consensus-container {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.consensus-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2rem;
}

.consensus-title span {
  background: linear-gradient(90deg, #00c3ff, #0066ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.consensus-text {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  color: rgba(230, 245, 255, 0.85);
  line-height: 1.7;
}

/* diagrama vertical animado */
.consensus-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  gap: 2.2rem;
}

.layer {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 198, 255, 0.3);
  border-radius: 16px;
  padding: 1.4rem 2rem;
  width: 340px;
  text-align: center;
  font-weight: 600;
  color: #eaf4ff;
  box-shadow: 0 0 25px rgba(0, 198, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

.layer span {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(185, 225, 255, 0.8);
  margin-top: 0.3rem;
}

/* línea de flujo animada */
.flow-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 174, 255, 0) 0%, rgba(0, 174, 255, 0.8) 50%, rgba(0, 174, 255, 0) 100%);
  animation: dataFlow 4s linear infinite;
  opacity: 0.6;
}

@keyframes dataFlow {
  0% { background-position: 0 0; }
  100% { background-position: 0 400px; }
}

.layer:hover {
  transform: scale(1.03);
  border-color: rgba(0, 198, 255, 0.6);
  box-shadow: 0 0 40px rgba(0, 198, 255, 0.25);
}

/* responsive */
@media (max-width: 768px) {
  .layer { width: 90%; padding: 1.2rem; }
}

/* Sesión 7: Criptomoneda KYMIAR */
.kymiar-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  padding: 6rem min(6vw, 5rem);
  overflow: hidden;
}

.kymiar-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(0, 132, 255, 0.12), transparent 70%),
              radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15), transparent 70%);
  filter: blur(20px);
  animation: kymiar-bg-float 10s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes kymiar-bg-float {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 1; }
}

.kymiar-container {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.kymiar-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0b1723;
  margin-bottom: 2rem;
}

.kymiar-title span {
  background: linear-gradient(90deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kymiar-text {
  max-width: 760px;
  margin: 0 auto 1.4rem;
  font-size: 1.05rem;
  color: rgba(10, 25, 40, 0.8);
  line-height: 1.7;
}

/* contenedor de la moneda */
.kymiar-demo {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* moneda 3D */
.coin-3d {
  position: relative;
  width: 180px;
  height: 180px;
  transform-style: preserve-3d;
  animation: coin-spin 6s linear infinite;
  perspective: 900px;
}

@keyframes coin-spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

/* caras */
.face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  background: transparent;
  box-shadow: 0 0 20px rgba(0, 132, 255, 0.15); /* leve resplandor */
  display: flex;
  justify-content: center;
  align-items: center;

}

.face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.face.back {
  transform: rotateY(180deg);
}

/* cuadro de info */
.coin-info {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 106, 255, 0.2);
  border-radius: 16px;
  padding: 1.2rem 2rem;
  color: #002244;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
  animation: coin-info-up 1.2s ease forwards;
  opacity: 0;
}

@keyframes coin-info-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* responsive */
@media (max-width: 768px) {
  .coin-3d {
    width: 140px;
    height: 140px;
  }
  .coin-info {
    width: 90%;
    padding: 1rem;
  }
}





}
/* Sesión 8: eReaders CooBook – Validadores Físicos */
.coobook-section.ereader-section {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #eff4ff 100%);
  padding: 6rem min(6vw, 5rem);
  overflow: hidden;
}

.ereader-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(0, 132, 255, 0.16), transparent 70%),
              radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.12), transparent 70%);
  filter: blur(25px);
  animation: ereaderGlow 10s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes ereaderGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}

.ereader-container {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 3.5rem;
  align-items: center;
  justify-content: space-between;
  max-width: 1150px;
  margin: 0 auto;
}

.ereader-content {
  flex: 1 1 50%;
}

.ereader-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0b1723;
  margin-bottom: 1.6rem;
}

.ereader-title span {
  background: linear-gradient(90deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ereader-text {
  font-size: 1.03rem;
  line-height: 1.7;
  color: rgba(10, 25, 40, 0.78);
  margin-bottom: 1.1rem;
  max-width: 520px;
}

.ereader-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.badge {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 106, 255, 0.4);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #003366; /* texto más oscuro y legible */
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3); /* para contraste suave */
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(0, 132, 255, 0.15);
  color: #001a33;
  border-color: rgba(0, 132, 255, 0.6);
}

/* bloque del dispositivo */
.ereader-device {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.device-frame {
  position: relative;
  width: 270px;
  height: 400px;
  border-radius: 26px;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #dce8ff 100%);
  box-shadow: 0 28px 70px rgba(0, 46, 116, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.device-img {
  width: 90%;
  height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.12));
}

/* pulso que indica que valida */
.device-pulse {
  position: absolute;
  width: 110%;
  height: 110%;
  border: 2px solid rgba(0, 130, 255, 0.35);
  border-radius: 30px;
  animation: pulseDevice 2.7s ease-out infinite;
  z-index: 1;
}

@keyframes pulseDevice {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* nodos alrededor del dispositivo */
.device-node {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(0, 135, 255, 0.35);
  border-radius: 14px;
  padding: 0.4rem 0.9rem;
  font-size: 0.7rem;
  color: #003a6f;
  box-shadow: 0 8px 25px rgba(0, 68, 126, 0.1);
  animation: floatNode 4.5s ease-in-out infinite alternate;
}

@keyframes floatNode {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.node-1 { top: 4%; right: 15%; animation-delay: 0s; }
.node-2 { bottom: 6%; right: 3%; animation-delay: 0.3s; }
.node-3 { top: 20%; left: 5%; animation-delay: 0.6s; }
.node-4 { bottom: 12%; left: 15%; animation-delay: 0.9s; }

/* líneas de conexión simuladas */
.ereader-device::before,
.ereader-device::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px dashed rgba(0, 122, 255, 0.12);
  border-radius: 50%;
  z-index: 0;
  animation: rotateCircle 12s linear infinite;
}

.ereader-device::after {
  width: 520px;
  height: 520px;
  animation-duration: 18s;
}

@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* responsive */
@media (max-width: 980px) {
  .ereader-container {
    flex-direction: column;
  }
  .ereader-content {
    text-align: left;
  }
  .ereader-device {
    margin-top: 2.5rem;
  }
}

@media (max-width: 560px) {
  .ereader-device::before,
  .ereader-device::after {
    display: none;
  }
  .device-frame {
    width: 230px;
    height: 350px;
  }
  .device-node {
    font-size: 0.65rem;
  }
}
/* Sesión 9: IA de Clasificación (diseño 2) */
.coobook-section.ai-pipeline {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: #ffffff;
  padding: 6rem min(6vw, 5rem);
  overflow: hidden;
}

.ai-shape {
  position: absolute;
  background: linear-gradient(120deg, rgba(0, 118, 255, 0.16), rgba(255, 255, 255, 0));
  filter: blur(0);
  pointer-events: none;
  z-index: 1;
}

.ai-shape-1 {
  width: 46%;
  height: 120%;
  top: -10%;
  right: -10%;
  border-radius: 80px 0 0 80px;
}

.ai-shape-2 {
  width: 26%;
  height: 80%;
  bottom: -5%;
  left: -12%;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.12), rgba(255, 255, 255, 0));
}

.ai-wrap {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  justify-content: space-between;
}

.ai-left {
  flex: 1 1 48%;
}

.ai-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0b1723;
  margin-bottom: 1.5rem;
}

.ai-title span {
  background: linear-gradient(90deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-paragraph {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(10, 25, 40, 0.8);
  margin-bottom: 1.1rem;
}

.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.ai-tags span {
  background: rgba(0, 119, 255, 0.05);
  border: 1px solid rgba(0, 106, 255, 0.15);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
  color: #003a6e;
  font-weight: 600;
}

/* panel derecho tipo pipeline */
.ai-right {
  position: relative;
  flex: 1 1 42%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 106, 255, 0.06);
  border-radius: 26px;
  padding: 2.5rem 2.25rem 2.5rem 3.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.03);
  min-height: 420px;
  overflow: hidden;
}

.step {
  position: relative;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.4rem;
  animation: riseStep 5s ease-in-out infinite alternate;
}

.step-1 { animation-delay: 0s; }
.step-2 { animation-delay: 0.3s; }
.step-3 { animation-delay: 0.6s; }
.step-4 { animation-delay: 0.9s; }
.step-5 { animation-delay: 1.2s; }

@keyframes riseStep {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.step-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle, #00c3ff 0%, #0066ff 75%);
  box-shadow: 0 0 12px rgba(0, 119, 255, 0.6);
  position: relative;
  flex: 0 0 16px;
}

.step-content h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b1723;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.78rem;
  color: rgba(7, 18, 26, 0.7);
}

/* línea central pulsante */
.line-pulse {
  position: absolute;
  left: 3.1rem;
  top: 2rem;
  width: 2px;
  height: calc(100% - 4rem);
  background: linear-gradient(180deg, rgba(0, 198, 255, 0) 0%, rgba(0, 124, 255, 0.5) 40%, rgba(0, 198, 255, 0) 100%);
  animation: lineFlow 3.5s linear infinite;
  opacity: 0.8;
}

@keyframes lineFlow {
  0% { background-position: 0 0; }
  100% { background-position: 0 280px; }
}

/* responsive */
@media (max-width: 980px) {
  .ai-wrap {
    flex-direction: column;
  }
  .ai-right {
    width: 100%;
    margin-top: 2rem;
  }
}

@media (max-width: 560px) {
  .ai-right {
    padding: 2.2rem 1.4rem 2.2rem 2.5rem;
  }
  .line-pulse {
    left: 2.2rem;
  }
}
/* Sesión 10: Klyper Crystal App – Capa de Integración */
.coobook-section.klyper-section {
  position: relative;
  width: 100%;
  min-height: 95vh;
  background: radial-gradient(circle at 50% 50%, #0a0f18 0%, #010305 100%);
  color: #e6f7ff;
  padding: 6rem min(6vw, 5rem);
  overflow: hidden;
}

.klyper-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 136, 255, 0.1) 0%, transparent 60%),
              radial-gradient(circle at 80% 60%, rgba(0, 200, 255, 0.12), transparent 70%);
  filter: blur(25px);
  animation: bgMove 14s linear infinite alternate;
  z-index: 1;
}

@keyframes bgMove {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 1; }
}

.klyper-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.klyper-left {
  flex: 1 1 55%;
}

.klyper-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.8rem;
}

.klyper-title span {
  background: linear-gradient(90deg, #00b3ff, #0066ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.klyper-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(220, 240, 255, 0.85);
  margin-bottom: 1.2rem;
  max-width: 540px;
}

/* panel de visualización */
.klyper-right {
  position: relative;
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screen {
  position: relative;
  width: 320px;
  height: 420px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 198, 255, 0.25);
  box-shadow: inset 0 0 30px rgba(0, 198, 255, 0.1),
              0 0 80px rgba(0, 198, 255, 0.15);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* líneas de datos animadas */
.data-flow {
  position: absolute;
  width: 3px;
  height: 100%;
  left: 50%;
  top: 0;
  background: linear-gradient(180deg, rgba(0, 198, 255, 0), rgba(0, 198, 255, 0.8), rgba(0, 198, 255, 0));
  animation: flowDown 3s linear infinite;
  transform: translateX(-50%);
}

@keyframes flowDown {
  0% { background-position: 0 0; }
  100% { background-position: 0 400px; }
}

/* bloques de datos */
.block-row {
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, rgba(0, 200, 255, 0.6), rgba(255, 255, 255, 0));
  border-radius: 10px;
  opacity: 0.2;
  animation: moveBlock 6s linear infinite;
}

.block-row.row-1 { top: 20%; animation-delay: 0s; }
.block-row.row-2 { top: 40%; animation-delay: 1s; }
.block-row.row-3 { top: 60%; animation-delay: 2s; }
.block-row.row-4 { top: 80%; animation-delay: 3s; }

@keyframes moveBlock {
  0% { transform: translateX(-100%); opacity: 0.3; }
  100% { transform: translateX(100%); opacity: 0.6; }
}

/* brillo externo */
.screen-glow {
  position: absolute;
  width: 360px;
  height: 460px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.2), transparent 70%);
  filter: blur(25px);
  animation: glowPulse 4s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes glowPulse {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.05); }
}

/* responsive */
@media (max-width: 960px) {
  .klyper-wrap {
    flex-direction: column;
  }
  .klyper-left {
    text-align: left;
  }
  .klyper-right {
    margin-top: 3rem;
  }
}
/* Sesión 11: Seguridad, Cifrado y Privacidad */
.coobook-section.security-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: linear-gradient(180deg, #030508 0%, #0b1723 100%);
  padding: 6rem min(6vw, 5rem);
  overflow: hidden;
  color: #ffffff;
}

.sec-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.sec-bg-1 {
  background: radial-gradient(circle at 15% 20%, rgba(0, 185, 255, 0.2), transparent 65%);
  filter: blur(25px);
  animation: secBreath 9s ease-in-out infinite alternate;
}

.sec-bg-2 {
  background: radial-gradient(circle at 90% 80%, rgba(0, 87, 255, 0.16), transparent 70%);
  filter: blur(28px);
  animation: secBreath 12s ease-in-out infinite alternate;
}

@keyframes secBreath {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}

.sec-wrap {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.sec-left {
  flex: 1 1 50%;
}

.sec-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}

.sec-title span {
  background: linear-gradient(90deg, #00c3ff, #0066ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(230, 244, 255, 0.85);
  margin-bottom: 1.1rem;
  max-width: 540px;
}

.sec-pillbox {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.sec-pill {
  background: rgba(3, 13, 24, 0.4);
  border: 1px solid rgba(0, 183, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #e9f7ff;
  backdrop-filter: blur(6px);
}

/* panel de capas de seguridad */
.sec-right {
  position: relative;
  flex: 1 1 45%;
  background: radial-gradient(circle, rgba(4, 26, 45, 0.35), rgba(3, 11, 19, 0));
  border: 1px solid rgba(0, 183, 255, 0.05);
  border-radius: 22px;
  padding: 2.5rem 2.25rem 2.5rem 4.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 70px rgba(0, 0, 0, 0.25);
  min-height: 420px;
  overflow: hidden;
}

.sec-layer {
  position: relative;
  background: rgba(4, 15, 24, 0.4);
  border: 1px solid rgba(0, 172, 255, 0.25);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.05rem;
  animation: secRise 5s ease-in-out infinite alternate;
  box-shadow: 0 12px 40px rgba(0, 168, 255, 0.12);
}

.sec-layer h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.sec-layer p {
  font-size: 0.78rem;
  color: rgba(215, 238, 255, 0.69);
}

.layer-1 { animation-delay: 0s; }
.layer-2 { animation-delay: 0.3s; }
.layer-3 { animation-delay: 0.6s; }
.layer-4 { animation-delay: 0.9s; }

@keyframes secRise {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* línea de flujo entre capas */
.sec-line {
  position: absolute;
  top: 2.2rem;
  left: 2.4rem;
  width: 2px;
  height: calc(100% - 4.4rem);
  background: linear-gradient(180deg, rgba(0, 199, 255, 0) 0%, rgba(0, 199, 255, 0.75) 45%, rgba(0, 199, 255, 0) 100%);
  animation: secFlow 3.2s linear infinite;
  opacity: 0.85;
}

@keyframes secFlow {
  0% { background-position: 0 0; }
  100% { background-position: 0 220px; }
}

/* responsive */
@media (max-width: 980px) {
  .sec-wrap {
    flex-direction: column;
  }
  .sec-right {
    width: 100%;
    margin-top: 2.3rem;
  }
}
/* Sesión 12: Visión Global del Ecosistema */
.coobook-section.vision-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  overflow: hidden;
  padding: 6rem min(6vw, 5rem);
}

.vision-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 20%, rgba(0, 122, 255, 0.1), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1), transparent 60%);
  animation: visionMove 10s ease-in-out infinite alternate;
  filter: blur(20px);
  z-index: 1;
}

@keyframes visionMove {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.05); opacity: 1; }
}

.vision-container {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.vision-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #0b1723;
  margin-bottom: 2rem;
}

.vision-title span {
  background: linear-gradient(90deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vision-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(10, 25, 40, 0.82);
  margin-bottom: 1.4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* grid resumen */
.vision-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.vision-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 132, 255, 0.15);
  border-radius: 16px;
  padding: 1.4rem 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.4s ease;
  animation: cardFloat 6s ease-in-out infinite alternate;
}

.vision-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 132, 255, 0.4);
  box-shadow: 0 18px 40px rgba(0, 132, 255, 0.2);
}

.vision-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 0.4rem;
}

.vision-card p {
  font-size: 0.9rem;
  color: rgba(0, 40, 80, 0.8);
}

@keyframes cardFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* responsive */
@media (max-width: 768px) {
  .vision-grid {
    gap: 1rem;
  }
}