/* =====================================
   VARIABLES GLOBALES DAIM
   Tema claro por defecto (Apple-like)
===================================== */
:root {
  /* Colores base */
  --bg: #ffffff;
  --bg-secondary: #f5f5f7;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #9c93b8;

  /* Acentos púrpura */
  --accent: #9b4dff;
  --accent-light: #b47fff;
  --accent-dark: #7c3aed;

  /* Bordes y sombras */
  --border-color: rgba(155, 77, 255, 0.3);
  --border-subtle: rgba(155, 77, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);

  /* Componentes */
  --navbar-bg: rgba(255, 255, 255, 0.85);
  --navbar-border: rgba(155, 77, 255, 0.2);
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-bg-hover: rgba(255, 255, 255, 0.9);
  --button-bg: rgba(155, 77, 255, 0.08);
  --button-hover: rgba(155, 77, 255, 0.15);

  /* Hero visual */
  --ring-color: #9b4dff;
--ring-shadow: 
  0 0 15px rgba(155, 77, 255, 0.9),
  0 0 40px rgba(155, 77, 255, 0.7),
  0 0 80px rgba(155, 77, 255, 0.5),
  0 0 130px rgba(155, 77, 255, 0.3),
  0 0 200px rgba(155, 77, 255, 0.15);
--network-color: rgba(155, 77, 255, 0.5);
--floor-glow: rgba(155, 77, 255, 0.8);


  /* Roadmap */
  --roadmap-line: rgba(155, 77, 255, 0.25);
  --node-bg: rgba(255, 255, 255, 0.9);
  --node-border: rgba(155, 77, 255, 0.35);
  --node-shadow: 0 0 12px rgba(155, 77, 255, 0.1);

  /* Manifiesto */
  --manifesto-bg: rgba(255, 255, 255, 0.6);
}

/* =====================================
   TEMA OSCURO (alternativo)
===================================== */
:root[data-theme="dark"] {
  --bg: #030308;
  --bg-secondary: #0a0a10;
  --text-primary: #ffffff;
  --text-secondary: #d8d4e6;
  --text-muted: #9c93b8;

  --accent: #9b4dff;
  --accent-light: #d7a7ff;
  --accent-dark: #b47fff;

  --border-color: rgba(155, 77, 255, 0.35);
  --border-subtle: rgba(155, 77, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);

  --navbar-bg: rgba(3, 3, 8, 0.92);
  --navbar-border: rgba(155, 77, 255, 0.28);
  --card-bg: rgba(8, 6, 16, 0.48);
  --card-bg-hover: rgba(12, 10, 20, 0.7);
  --button-bg: rgba(155, 77, 255, 0.12);
  --button-hover: rgba(155, 77, 255, 0.22);

  --ring-color: #ffffff;
  --ring-shadow: 
  0 0 15px white,
  0 0 40px var(--accent-light),
  0 0 80px var(--accent),
  0 0 130px rgba(155, 77, 255, 0.6),
  0 0 200px rgba(155, 77, 255, 0.3);
  --network-color: rgba(220, 180, 255, 0.5);
  --floor-glow: rgba(155, 77, 255, 0.7);

  --roadmap-line: rgba(215, 167, 255, 0.25);
  --node-bg: radial-gradient(circle, rgba(155, 77, 255, 0.2), rgba(10, 5, 20, 0.85));
  --node-border: rgba(155, 77, 255, 0.35);
  --node-shadow: 0 0 22px rgba(155, 77, 255, 0.25), inset 0 0 22px rgba(155, 77, 255, 0.18);

  --manifesto-bg: linear-gradient(to bottom, rgba(8, 6, 16, 0.35), rgba(8, 6, 16, 0.55));
}

/* =====================================
   CONFIGURACIÓN GLOBAL
===================================== */
html {
  scroll-behavior: smooth;
  transition: background-color 0.3s ease, color 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* =====================================
   NAVBAR DAIM
===================================== */
.navbar {
  width: 100%;
  height: 88px;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  z-index: 10;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: 0.35s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  height: 74px;
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
  box-shadow: var(--shadow-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--text-primary);
}

.brand-ring {
  width: 34px;
  height: 34px;
  border: 3px solid var(--text-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-light), 0 0 18px var(--accent), inset 0 0 12px rgba(155, 77, 255, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a,
.nav-button {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: color 0.2s ease;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover {
  color: var(--accent-light);
}

/* Enlace activo */
.nav-links a.active {
  color: var(--accent-light);
  text-shadow: 0 0 12px rgba(155, 77, 255, 0.5);
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.nav-button {
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  border-radius: 14px;
  background: var(--button-bg);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-button:hover {
  background: var(--button-hover);
  border-color: var(--accent-light);
}

/* Botón de cambio de tema */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 20px;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-left: 16px;
}

.theme-toggle:hover {
  background: var(--button-bg);
  border-color: var(--accent);
}

/* =====================================
   MENÚ MÓVIL
===================================== */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1100px) {
  .navbar {
    padding: 0 16px;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .brand {
    flex-shrink: 0;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 1001;
  }

  .theme-toggle,
  .menu-toggle {
    margin-left: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text-primary);
    font-size: 22px;
    flex-shrink: 0;
  }

  .menu-toggle {
    line-height: 1;
  }

  .nav-button {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: 0;
    width: min(320px, 82vw);
    height: auto;
    padding: 35px 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    transform: translateX(105%);
    transition: transform 0.35s ease;
    border-left: 1px solid var(--border-subtle);
    border-radius: 18px 0 0 18px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  body.menu-open .nav-links {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 7px 0;
    color: var(--text-primary);
  }
}

/* =====================================
   HERO PRINCIPAL DAIM
===================================== */
.hero {
  min-height: 100vh;
  padding: 120px 8% 40px;
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  align-items: center;
  position: relative;
}

.hero-content {
  z-index: 2;
}

.eyebrow {
  color: var(--accent-light);
  letter-spacing: 2px;
  font-size: 15px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(155, 77, 255, 0.08);
}

.hero h1 span {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(155, 77, 255, 0.5), 0 0 40px rgba(155, 77, 255, 0.2);
}

.hero-text {
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 21px;
  line-height: 1.65;
  margin: 28px 0 42px;
}

.vision-button {
  background: var(--button-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 28px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.vision-button:hover {
  background: var(--button-hover);
  border-color: var(--accent-light);
}

.play-icon {
  width: 25px;
  height: 25px;
  border: 1px solid var(--accent-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-light);
  font-size: 12px;
}

/* =====================================
   VISUAL DEL HERO / NÚCLEO DAIM
===================================== */
.hero-visual {
  height: 680px;
  position: relative;
  display: grid;
  place-items: center;
}

.main-ring {
  width: 390px;
  height: 390px;
  border-radius: 50%;
  border: 18px solid var(--ring-color);
  position: relative;
  z-index: 3;
  box-shadow: var(--ring-shadow);
  animation: pulseRing 3s ease-in-out infinite;
  background: transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.floor-glow {
  width: 520px;
  height: 70px;
  background: radial-gradient(ellipse, var(--floor-glow), transparent 68%);
  position: absolute;
  bottom: 108px;
  filter: blur(10px);
  opacity: 0.75;
  z-index: 1;
}

@media (max-width: 1100px) {
  .hero-visual {
    height: 520px;
  }

  .hero-visual .main-ring {
    width: 290px;
    height: 290px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 132px 8% 48px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    width: 100%;
    height: 440px;
    margin-top: -12px;
  }

  .hero-visual .main-ring {
    width: 310px;
    height: 310px;
    border-width: 15px;
  }

  .hero-visual .floor-glow {
    width: 420px;
    bottom: 68px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 112px 28px 36px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .hero-text {
    margin: 22px 0 30px;
    font-size: 18px;
  }

  .hero-visual {
    height: 360px;
  }

  .hero-visual .main-ring {
    width: 220px;
    height: 220px;
    border-width: 12px;
  }

  .hero-visual .floor-glow {
    width: 300px;
    bottom: 56px;
  }
}

.network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
  mask-image: radial-gradient(circle, black 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle, black 35%, transparent 82%);
}

@media (max-width: 1100px) {
  .network {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 520px;
  }
  .nav-actions {
  gap: 8px;
  margin-left: auto;
}

.nav-actions .nav-button {
  display: none;
}

.nav-actions .theme-toggle,
.nav-actions .menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

}

/* Animaciones */
@keyframes pulseRing {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.025); filter: brightness(1.1); }
}

@keyframes floatNetwork {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}

/* =====================================
   ROADMAP EVOLUCIÓN DAIM
===================================== */
.roadmap-section {
  padding: 80px 8% 120px;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title p {
  color: var(--accent-light);
  letter-spacing: 2px;
  font-size: 15px;
}

.section-title h2 {
  font-size: 42px;
  margin: 10px 0;
  color: var(--text-primary);
}

.section-title span {
  color: var(--text-secondary);
  font-size: 17px;
}

.roadmap {
  max-width: 1050px;
  margin: auto;
  position: relative;
}

.roadmap-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--roadmap-line), transparent);
  box-shadow: 0 0 20px rgba(155, 77, 255, 0.4);
}

.roadmap-item {
  width: 50%;
  min-height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 35px;
}

.roadmap-item.left {
  padding-right: 70px;
  justify-content: flex-end;
}

.roadmap-item.right {
  margin-left: 50%;
  padding-left: 70px;
}

.roadmap-item::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 72px;
  height: 1px;
  background: var(--roadmap-line);
}

.roadmap-item.left::before { right: 0; }
.roadmap-item.right::before { left: 0; }

.roadmap-item::after {
  content: "";
  position: absolute;
  top: calc(50% - 9px);
  width: 18px;
  height: 18px;
  background: var(--text-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent), 0 0 18px var(--accent-light), 0 0 35px var(--accent);
}

.roadmap-item.left::after { right: -9px; }
.roadmap-item.right::after { left: -9px; }

.node-icon {
  min-width: 105px;
  height: 105px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 42px;
  color: var(--text-primary);
  border: 1px solid var(--node-border);
  background: var(--node-bg);
  box-shadow: var(--node-shadow);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.node-content { max-width: 310px; }

.number {
  color: var(--accent-light);
  font-size: 23px;
  font-weight: 800;
}

.node-content h3 {
  margin: 8px 0 12px;
  font-size: 19px;
  color: var(--text-primary);
}

.node-content p {
  color: var(--text-secondary);
  line-height: 1.55;
  font-size: 15px;
}

.node-content small {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 13px;
  border-radius: 7px;
  background: rgba(155, 77, 255, 0.12);
  color: var(--accent-light);
  font-weight: 800;
}

.node-content small.locked {
  color: var(--text-secondary);
  background: rgba(155, 77, 255, 0.08);
}

.trimap-link {
  display: flex;
  align-items: center;
  gap: 28px;
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.trimap-node {
  cursor: pointer;
}

.trimap-node:hover .node-icon {
  border-color: var(--accent-light);
  box-shadow:
    0 0 20px var(--accent),
    0 0 45px rgba(155, 77, 255, 0.35);
  transform: scale(1.06);
}

.trimap-node:hover .node-content h3,
.trimap-node:hover .node-content small {
  color: var(--accent-light);
}

.trimap-node .node-icon {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.trimap-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
  border-radius: 12px;
}

/* Responsive roadmap */
@media (max-width: 900px) {
  .roadmap-line { left: 20px; }
  .roadmap-item, .roadmap-item.right, .roadmap-item.left {
    width: 100%;
    margin-left: 0;
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .roadmap-item::before { left: 20px; width: 40px; }
  .roadmap-item::after { left: 11px !important; }
}

/* =====================================
   ECOSISTEMA DAIM
===================================== */
.ecosystem-panel {
  width: 92%;
  max-width: 1380px;
  margin: 70px auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.eco-left, .eco-right {
  padding: 38px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eco-label {
  color: var(--accent-light);
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.eco-left h2, .eco-right h2 {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.35;
  max-width: 310px;
  color: var(--text-primary);
}

.eco-button {
  margin-top: 30px;
  width: fit-content;
  padding: 15px 24px;
  background: var(--button-bg);
  color: var(--text-primary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  transition: background 0.2s ease;
}

.eco-button:hover { background: var(--button-hover); }

.eco-center {
  position: relative;
  height: 310px;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(155, 77, 255, 0.05), transparent 45%),
    radial-gradient(circle, rgba(155, 77, 255, 0.25) 1px, transparent 1.5px);
  background-size: auto, 85px 85px;
}

.eco-center::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 5px solid var(--text-primary);
  z-index: 4;
  background: var(--card-bg);
  box-shadow: 0 0 12px var(--accent), 0 0 26px var(--accent-light), 0 0 52px var(--accent), inset 0 0 22px rgba(155, 77, 255, 0.5);
}

.connection {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 0;
  border-top: 1px dotted var(--roadmap-line);
  z-index: 2;
  transform-origin: left center;
  clip-path: inset(0 0 0 34px);
}

.c1 { width: 65px; transform: rotate(-90deg); }
.c2 { width: 93px; transform: rotate(-176deg); }
.c3 { width: 93px; transform: rotate(-4deg); }
.c4 { width: 90px; transform: rotate(132deg); }
.c5 { width: 90px; transform: rotate(48deg); }

.eco-node {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 31px;
  border: 1px solid var(--node-border);
  background: var(--node-bg);
  box-shadow: var(--node-shadow);
  z-index: 3;
  text-shadow: 0 0 8px var(--accent), 0 0 18px var(--accent-light);
}

.trimap { top: 28px; left: 50%; transform: translateX(-50%); }
.protocols { left: 110px; top: 113px; }
.parking { right: 110px; top: 118px; }
.aura { left: 160px; bottom: 32px; }
.flow { right: 160px; bottom: 32px; }

.coming-soon-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: 12px;
  background: var(--button-bg);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.coming-soon-box span {
  display: block;
  color: var(--accent-light);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
}

.coming-soon-box p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 12px;
}

@media (max-width: 768px) {
  .ecosystem-panel { display: flex; flex-direction: column; gap: 30px; width: 92%; padding: 34px 24px; overflow: hidden; }
  .eco-left, .eco-center, .eco-right { width: 100%; max-width: 100%; border: none; }
  .eco-left { order: 1; padding: 0; text-align: center; align-items: center; }
  .eco-left h2, .eco-right h2 { max-width: 100%; font-size: 24px; }
  .eco-center { order: 2; height: 340px; }
  .eco-right { order: 3; padding: 0; text-align: center; align-items: center; }
  .protocols { left: 60px; top: 115px; }
  .parking { right: 60px; top: 115px; }
  .aura { left: 100px; bottom: 35px; }
  .flow { right: 100px; bottom: 35px; }
}

/* =====================================
   INFRAESTRUCTURA ESCALABLE
===================================== */
.invest-section {
  width: 92%;
  max-width: 1400px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 260px 1fr 520px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.invest-chart {
  position: relative;
  height: 260px;
  border-right: 1px solid var(--border-subtle);
}

.chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
}

.chart-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(155, 77, 255, 0.4));
}

.invest-content { padding: 40px; }
.invest-label { color: var(--accent-light); font-size: 12px; letter-spacing: 2px; }
.invest-content h2 { margin-top: 12px; font-size: 34px; color: var(--text-primary); }
.invest-content p { margin-top: 20px; color: var(--text-secondary); line-height: 1.8; max-width: 650px; }
.invest-link { display: inline-block; margin-top: 25px; color: var(--accent-light); text-decoration: none; font-weight: 700; }

.invest-features {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 25px;
  border-left: 1px solid var(--border-subtle);
}

.feature { text-align: center; max-width: 120px; }
.feature-icon { font-size: 34px; color: var(--accent-light); margin-bottom: 15px; text-shadow: 0 0 12px rgba(155, 77, 255, 0.5); }
.feature span { font-size: 14px; line-height: 1.5; color: var(--text-primary); }

@media (max-width: 768px) {
  .invest-section { display: flex; flex-direction: column; width: 92%; margin: 70px auto; }
  .invest-chart { width: 100%; height: 190px; border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .invest-content { padding: 34px 26px; text-align: center; }
  .invest-content h2 { font-size: 26px; }
  .invest-content p { font-size: 15px; max-width: 280px; margin-left: auto; margin-right: auto; }
  .invest-features { width: 100%; padding: 30px 20px 36px; border-left: none; border-top: 1px solid var(--border-subtle); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .feature { max-width: none; }
}

/* =====================================
   MANIFIESTO DAIM
===================================== */
.daim-manifesto {
  width: 92%;
  max-width: 1400px;
  margin: 80px auto 40px;
  padding: 90px 80px 40px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--manifesto-bg);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.manifesto-content { text-align: center; }
.manifesto-content h2 { font-size: 42px; font-weight: 300; color: var(--text-secondary); margin-bottom: 15px; }
.manifesto-content h1 { font-size: 68px; font-weight: 800; line-height: 1.1; color: var(--accent-light); text-shadow: 0 0 15px rgba(155, 77, 255, 0.2); margin-bottom: 35px; }
.manifesto-content p { max-width: 720px; margin: auto; color: var(--text-secondary); font-size: 20px; line-height: 1.8; }

.manifesto-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 26px;
  text-align: center;
}

.legal-notice {
  max-width: 980px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.75;
  letter-spacing: 0.15px;
}

@media (max-width: 900px) {
  .daim-manifesto {
    padding: 60px 24px 30px;
  }

  .manifesto-content h2 {
    font-size: 20px;
  }

  .manifesto-content h1 {
    font-size: 52px;
  }

  .manifesto-content p {
    font-size: 15px;
    max-width: 300px;
    margin: 0 auto;
  }

  .manifesto-footer {
    padding-top: 22px;
  }

  .legal-notice {
    font-size: 9px;
    line-height: 1.65;
  }
}
/* =====================================
   ANIMACIONES DE ENTRADA
===================================== */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================
   UTILIDADES ADICIONALES
===================================== */
/* Foco visible para accesibilidad */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Transiciones globales para cambios de tema */
.navbar,
.hero,
section,
.roadmap-item,
.eco-node,
.feature,
.daim-manifesto {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

body.video-modal-open {
  overflow: hidden;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 3, 8, 0.82);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-dialog {
  position: relative;
  width: min(1000px, 100%);
  overflow: hidden;
  border: 1px solid rgba(180, 110, 255, 0.45);
  border-radius: 18px;
  background: #05050a;
  box-shadow: 0 0 30px rgba(155, 77, 255, 0.25);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.video-modal.is-open .video-dialog {
  transform: translateY(0) scale(1);
}

.video-dialog video {
  display: block;
  width: 100%;
  max-height: 78vh;
  background: #000;
}

.video-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(5, 5, 10, 0.75);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}

/* Acciones del header */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-links {
  margin-left: auto;
  margin-right: 24px;
  gap: 30px;
}

.nav-button {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 10px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 17px;
}

.menu-toggle {
  display: none;
}