@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Space+Grotesk:wght@500;700&display=swap');

/* High-Performance Modular Tech Design System */
:root {
  --color-bg: #000000;
  --color-section: #050505;
  --color-card: rgba(255, 255, 255, 0.02);
  --color-accent: #ff0000;
  --color-accent-hover: #cc0000;
  --color-accent-dim: rgba(255, 0, 0, 0.15);
  --color-text-main: #ffffff;
  --color-text-muted: #888888;
  --color-border-ghost: rgba(255, 255, 255, 0.05);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1200px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-border-ghost);
  border-radius: 100px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--color-text-main);
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-links li a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--color-text-main);
}

/* Buttons */
.btn-accent,
.btn-white {
  padding: 1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  display: inline-flex;
  border: 1px solid transparent;
}

.btn-accent {
  background: linear-gradient(135deg, #ff3333 0%, #b30000 100%);
  color: #fff;
  box-shadow: 0 0 20px var(--color-accent-dim);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #ff4d4d 0%, #cc0000 100%);
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-white {
  background-color: transparent;
  color: var(--color-text-main);
  border-color: var(--color-text-muted);
}

.btn-white:hover {
  border-color: var(--color-text-main);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: radial-gradient(circle at 50% 0%, var(--color-accent-dim), transparent 60%);
}

.hero-overlay {
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 3.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Red Central Estilo iUROP (Órbitas y Monedas) */
.iurop-hero-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 400px;
  margin: 3rem auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.01);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 300px;
  height: 300px;
}

.ring-2 {
  width: 500px;
  height: 500px;
}

.ring-3 {
  width: 700px;
  height: 700px;
}

.iurop-center-logo {
  position: relative;
  z-index: 10;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 20, 20, 1) 0%, rgba(0, 0, 0, 1) 80%);
  box-shadow: 0 0 50px rgba(255, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.logo-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
  animation: corePulse 2s infinite alternate ease-in-out;
}

@keyframes corePulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.4);
    opacity: 1;
    box-shadow: 0 0 60px rgba(255, 0, 0, 0.4);
  }
}

.center-img-logo {
  width: 70%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.hero-particle {
  position: absolute;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dollar-red,
.dollar-green {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dollar-red {
  color: #ff3333;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.dollar-green {
  color: #00ff66;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

/* Incoming red dollars */
.incoming {
  opacity: 0;
  animation: orbitIn 6s linear infinite;
}

.p-1 {
  animation-delay: 0s;
  --y-start: -50px;
  --y-curve: 80px;
  --y-end: 0px;
  --dir: 1;
  top: 30%;
}

.p-2 {
  animation-delay: 3s;
  --y-start: 100px;
  --y-curve: 140px;
  --y-end: 20px;
  --dir: -1;
  top: 40%;
}

.p-3 {
  animation-delay: 1.5s;
  --y-start: 0px;
  --y-curve: 50px;
  --y-end: -20px;
  --dir: 1;
  top: 60%;
}

.p-4 {
  animation-delay: 4.5s;
  --y-start: -80px;
  --y-curve: 30px;
  --y-end: 10px;
  --dir: -1;
  top: 20%;
}

@keyframes orbitIn {
  0% {
    transform: translateX(calc(50vw * var(--dir) * -1)) translateY(var(--y-start)) scale(0.6);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  50% {
    transform: translateX(calc(15vw * var(--dir) * -1)) translateY(var(--y-curve)) scale(1);
    opacity: 1;
  }

  80% {
    opacity: 0.5;
  }

  100% {
    transform: translateX(0px) translateY(var(--y-end)) scale(0);
    opacity: 0;
  }
}

/* Outgoing green dollars */
.outgoing {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: floatOutDown 3s ease-out infinite;
}

.o-1 {
  animation-delay: 0.5s;
  --x-drift: -50px;
}

.o-2 {
  animation-delay: 1.5s;
  --x-drift: 0px;
}

.o-3 {
  animation-delay: 2.5s;
  --x-drift: 50px;
}

@keyframes floatOutDown {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }

  20% {
    opacity: 1;
    transform: translate(calc(-50% + var(--x-drift)), 40px) scale(1.2);
  }

  80% {
    opacity: 0.7;
  }

  100% {
    transform: translate(calc(-50% + (var(--x-drift) * 2)), 250px) scale(0.5);
    opacity: 0;
  }
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 20;
  position: relative;
}

/* Secciones Generales */
section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-dark {
  background-color: var(--color-section);
  border-top: 1px solid var(--color-border-ghost);
  border-bottom: 1px solid var(--color-border-ghost);
  max-width: 100%;
}

.section-dark>div {
  max-width: 1400px;
  margin: 0 auto;
}

/* Slider de marcas */
.marcas {
  overflow: hidden;
  background-color: var(--color-bg);
  padding: 4rem 0;
  border-top: 1px solid var(--color-border-ghost);
}

.marcas-track {
  display: flex;
  gap: 8rem;
  animation: scrollMarcas 30s linear infinite;
  align-items: center;
}

.marcas-track img {
  height: 40px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.3);
  transition: all 0.5s ease;
}

.marcas-track img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes scrollMarcas {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Grilla Bento Premium */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.protocol-card {
  background: var(--color-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-ghost);
  border-radius: 32px;
  padding: 3rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.protocol-card:hover {
  transform: scale(0.98);
  border-color: rgba(255, 0, 0, 0.2);
}

.protocol-card.large {
  grid-column: span 2;
}

.protocol-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.protocol-card p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .protocol-grid {
    grid-template-columns: 1fr;
  }

  .protocol-card.large {
    grid-column: span 1;
  }
}

/* BENTO GRIDS (iUROP Style) */
.bento-grid-problemas,
.bento-grid-soluciones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-top: 3rem;
}

/* Specific Layout Adjustments */
.bento-grid-problemas {
  grid-template-areas:
    "large large topright"
    "large large bottomright";
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.bento-grid-soluciones {
  grid-template-areas:
    "left right1"
    "left right2";
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: 1fr 1fr;
}

@media (max-width: 900px) {

  .bento-grid-problemas,
  .bento-grid-soluciones {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    display: flex;
    flex-direction: column;
  }
}

.bento-card {
  background: var(--color-card);
  border: 1px solid var(--color-border-ghost);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.feature-large {
  grid-area: large;
}

/* Content Area inside Bento */
.bento-content {
  padding: 2rem;
  z-index: 2;
  position: relative;
  background: linear-gradient(to top, var(--color-card) 60%, transparent);
}

.bento-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.bento-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Graphics Container */
.bento-graphic {
  position: relative;
  width: 100%;
  flex-grow: 1;
  min-height: 200px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.feature-large .bento-graphic {
  min-height: 350px;
}

/* Graphic 1: ROAS / Line Chart */
.graphic-roas {
  position: relative;
}

.chart-line {
  width: 90%;
  height: 80%;
  position: absolute;
  top: 10%;
  left: 5%;
}

.chart-line .path-red {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 4s ease-out infinite;
}

.chart-line .path-white {
  stroke-dasharray: 200;
  opacity: 0.5;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 200;
  }

  50%,
  100% {
    stroke-dashoffset: 0;
  }
}

.tag-roas {
  position: absolute;
  top: 15%;
  right: 15%;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: var(--color-accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  animation: blinkFast 2s infinite;
}

/* Graphic 2: Likes to Zero */
.graphic-likes .like-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.like-heart {
  width: 30px;
  height: 30px;
  background: #fff;
  clip-path: polygon(50% 100%, 0 50%, 0 0, 50% 25%, 100% 0, 100% 50%);
  animation: heartbeatLoss 2s ease-in-out infinite;
  opacity: 0.5;
}

.zero-conversion {
  position: absolute;
  bottom: 20%;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

@keyframes heartbeatLoss {

  0%,
  20% {
    transform: scale(1);
    opacity: 0.8;
    background: #fff;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
    background: var(--color-accent);
  }

  60% {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Graphic 3: Pie Chart */
.pie-chart-container {
  width: 100px;
  height: 100px;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.pie-slice.red {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 50%;
  background: var(--color-accent);
  transform-origin: 0% 100%;
  animation: squeezeMargin 3s infinite alternate ease-in-out;
}

@keyframes squeezeMargin {
  0% {
    transform: rotate(0deg) skewY(20deg);
  }

  100% {
    transform: rotate(0deg) skewY(-60deg);
    opacity: 0.3;
  }
}

.tag-margin {
  position: absolute;
  bottom: 15%;
  font-size: 0.8rem;
  color: var(--color-accent);
  border: 1px solid rgba(255, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: 30px;
}

/* Graphic 4: Funnel */
.bento-grid-soluciones .feature-tall {
  grid-area: left;
}

.graphic-funnel {
  position: relative;
}

.funnel-glass {
  width: 120px;
  height: 140px;
  clip-path: polygon(0 0, 100% 0, 65% 100%, 35% 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 0, 0, 0.1));
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.particle {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: -20px;
  animation: dropIn 2s infinite ease-in;
}

.p1 {
  left: 20%;
  animation-delay: 0s;
}

.p2 {
  left: 50%;
  animation-delay: 0.5s;
}

.p3 {
  left: 80%;
  animation-delay: 1.2s;
}

.p4 {
  left: 35%;
  animation-delay: 1.8s;
  background: var(--color-accent);
}

@keyframes dropIn {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    transform: translateY(120px) scale(0.5);
    opacity: 1;
  }

  100% {
    transform: translateY(140px) scale(0);
    opacity: 0;
  }
}

.whatsapp-badge {
  position: absolute;
  bottom: 10%;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 10px #25D366;
  animation: blinkFast 1s infinite alternate;
}

/* Graphic 5: Radar */
.bento-grid-soluciones>.bento-card:nth-child(2) {
  grid-area: right1;
}

.graphic-radar .radar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 0, 0.3);
  position: relative;
  background: radial-gradient(circle, transparent 40%, rgba(255, 0, 0, 0.05) 100%);
}

.radar-sweep {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 50%;
  background: linear-gradient(to right, transparent, rgba(255, 0, 0, 0.4));
  transform-origin: 0% 100%;
  animation: sweep 3s infinite linear;
}

@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

.radar-target {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 0 10px #fff;
  animation: targetBlink 3s infinite;
}

.t1 {
  top: 30%;
  left: 30%;
  animation-delay: 1s;
}

.t2 {
  bottom: 30%;
  right: 20%;
  animation-delay: 2.5s;
  background: var(--color-accent);
}

@keyframes targetBlink {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

/* Graphic 6: Script / Code Lines */
.bento-grid-soluciones>.bento-card:nth-child(3) {
  grid-area: right2;
}

.script-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 70%;
}

.script-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.w-100 {
  width: 100%;
}

.w-80 {
  width: 80%;
}

.w-70 {
  width: 70%;
}

.w-40 {
  width: 40%;
}

.highlight-line {
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
  animation: highlightGlow 2s infinite alternate;
}

@keyframes highlightGlow {
  from {
    opacity: 0.5;
    width: 40%;
  }

  to {
    opacity: 1;
    width: 60%;
  }
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border-ghost);
  border-radius: 16px;
  margin-bottom: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-item:hover {
  background: #222222;
}

.faq-pregunta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

/* Calculadora Interactiva */
.calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 3rem auto 0;
  background: var(--color-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-ghost);
  border-radius: 32px;
  padding: 4rem;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-group {
  margin-bottom: 2.5rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: 2px solid #000;
  transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.3);
  background: var(--color-accent);
}

.calc-result {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.calc-result:hover {
  box-shadow: inset 0 0 60px rgba(0, 255, 102, 0.05);
  border-color: rgba(0, 255, 102, 0.2);
}

.resultado-numero {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  margin-top: 1rem;
  letter-spacing: -0.04em;
}

@media (max-width: 768px) {
  .calc-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.metric-label {
  font-size: 1rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* CTA final */
.section-cta {
  text-align: center;
  padding: var(--spacing-section) 2rem;
  background-color: var(--color-base);
}

.section-cta h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem;
  background-color: #0a0a0a;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border-ghost);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

/* Animaciones */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal Galería */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  background-color: var(--color-base);
  padding: 3rem;
  border: 1px solid var(--color-border-ghost);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--color-text-main);
}

.galeria-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.galeria-videos video {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s;
  border: 1px solid var(--color-border-ghost);
}

.galeria-videos video:hover {
  filter: grayscale(0%);
}

/* ==================================================== */
/* 📟 CALCULADORA INTERACTIVA DE ESCALABILIDAD */
/* ==================================================== */
.calc-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--color-card);
  border: 1px solid var(--color-border-ghost);
  border-radius: 20px;
  padding: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.calc-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.cyber-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cyber-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
}

.cyber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  cursor: pointer;
  transition: transform 0.2s;
}

.cyber-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.calc-results-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding-left: 1rem;
}

.result-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box-title {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.box-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dim-number {
  color: #888;
}

.glow-green {
  color: #00ff66;
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
}

.glow-pulse {
  animation: textFlash 0.5s ease-out;
}

@keyframes textFlash {
  0% {
    text-shadow: 0 0 40px #00ff66;
    transform: scale(1.05);
  }

  100% {
    text-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
    transform: scale(1);
  }
}

.text-green {
  color: #00ff66 !important;
}

.highlight-box {
  background: rgba(0, 255, 102, 0.03);
  border-color: rgba(0, 255, 102, 0.2);
  box-shadow: inset 0 0 30px rgba(0, 255, 102, 0.05);
}

.profit-badge {
  margin-top: 1rem;
  background: rgba(0, 255, 102, 0.1);
  color: #00ff66;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 255, 102, 0.3);
}

.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-text-muted);
  font-weight: 700;
  font-family: var(--font-display);
}

.vs-line {
  height: 1px;
  width: 30%;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .calc-bento {
    grid-template-columns: 1fr;
  }

  .calc-controls-panel {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .calc-results-panel {
    padding-left: 0;
  }
}

/* ==================================================== */
/* ⏱️ TIMELINE ANIMADO (PROCESO) */
/* ==================================================== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 3rem;
}

.timeline-line {
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  transition: height 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-step {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-indicator {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 20px;
  display: flex;
  justify-content: center;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #333;
  border: 2px solid #555;
  transition: all 0.5s ease;
}

.step-dot.active {
  background: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 0 15px var(--color-accent);
}

.step-content {
  background: var(--color-card);
  border: 1px solid var(--color-border-ghost);
  padding: 2rem;
  border-radius: 16px;
  transition: transform 0.3s;
}

.step-content:hover {
  transform: translateX(10px);
  border-color: rgba(255, 255, 255, 0.1);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  right: 20px;
  top: 10px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==================================================== */
/* 🌌 BACKGROUND CYBER-DUST GLOBAL */
/* ==================================================== */
.cyber-dust-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255, 0, 0, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  background-color: var(--color-base);
}

.cyber-dust-bg::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(1000px) rotateX(60deg) translateY(-100px);
  animation: bgGridMove 20s linear infinite;
  opacity: 0.3;
}

@keyframes bgGridMove {
  0% {
    transform: perspective(1000px) rotateX(60deg) translateY(0);
  }

  100% {
    transform: perspective(1000px) rotateX(60deg) translateY(50px);
  }
}

/* ==================================================== */
/* ✨ BORDES MÁGICOS (OFERTA) */
/* ==================================================== */
.magic-border {
  position: relative;
  overflow: hidden;
  border: none !important;
  background: var(--color-card);
}

.magic-border .border-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, transparent, transparent, var(--color-accent));
  animation: borderRotate 4s linear infinite;
  z-index: 0;
}

.magic-border .card-inner {
  position: absolute;
  inset: 2px;
  background: var(--color-card);
  border-radius: 30px;
  padding: 3rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

@keyframes borderRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Override MailerLite Form Styles to match High-End Tech */
#mlb2-34573803.ml-form-embedContainer .ml-form-embedWrapper {
  background-color: transparent !important;
}

#mlb2-34573803.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
  background-color: var(--color-base) !important;
  color: var(--color-text-main) !important;
  border: 1px solid var(--color-border-ghost) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  padding: 1.2rem !important;
  transition: border-color 0.3s;
}

#mlb2-34573803.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:focus {
  border-color: var(--color-accent) !important;
  outline: none;
}

#mlb2-34573803.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
  background: linear-gradient(135deg, #ff3333 0%, #b30000 100%) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  padding: 1.2rem !important;
}

#mlb2-34573803.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent h4 {
  color: var(--color-text-main) !important;
  font-family: var(--font-display) !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
}

/* ==================================================== */
/* 🎡 MARCAS / SOCIAL PROOF (MARQUEE) */
/* ==================================================== */
@keyframes scrollMarcas {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 2rem));
  }
}

.brand-link {
  display: inline-block;
  cursor: pointer;
  padding: 0 1rem;
}

.brand-link img {
  height: 40px;
  filter: grayscale(100%) opacity(0.5) drop-shadow(0 0 0 rgba(255, 0, 0, 0));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  object-fit: contain;
}

.brand-link:hover img {
  filter: grayscale(0%) opacity(1) drop-shadow(0 0 15px rgba(255, 0, 0, 0.6));
  transform: scale(1.15) translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero {
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  .iurop-hero-container {
    height: 250px;
    margin-top: 1rem;
  }

  .ring-1 {
    width: 250px;
    height: 250px;
  }

  .ring-2 {
    width: 400px;
    height: 400px;
  }

  .ring-3 {
    width: 550px;
    height: 550px;
  }

  .iurop-center-logo {
    width: 90px;
    height: 90px;
  }

  .navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-accent,
  .btn-white {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  section,
  .section-dark,
  .section-cta {
    padding: 4rem 1.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .protocol-card {
    padding: 2rem 1.5rem;
  }

  .metrics-grid {
    flex-direction: column;
    gap: 3rem !important;
  }

  .metric-num {
    font-size: 2.5rem !important;
  }

  .timeline-container {
    padding-left: 2rem;
  }

  .step-number {
    font-size: 2.2rem;
    top: 5px;
  }
}