/* ========================================================
   A-LAB PRO LANDING - ENTERPRISE SAAS THEME
   Estilo: Dark Mode, Neon Green Accent, Glassmorphism
   ======================================================== */

:root {
  /* Paleta de Colores Pro */
  --bg-dark: #050A10;
  /* Fondo principal ultra oscuro */
  --bg-card: #0F151C;
  /* Fondo de tarjetas (fallback) */
  --bg-card-alt: #131b24;
  /* Fondo alternativo para cajas */

  --primary: #00FF88;
  /* Verde "Cancha" / Wyscout */
  --primary-glow: rgba(0, 255, 136, 0.4);
  --primary-dim: rgba(0, 255, 136, 0.1);

  --text-main: #FFFFFF;
  --text-sec: #9CA3AF;
  /* Gris azulado suave */
  --text-muted: #6B7280;

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 255, 136, 0.5);

  /* Glassmorphism Variables */
  --glass-bg: rgba(15, 21, 28, 0.65);
  --glass-border: rgba(255, 255, 255, 0.1);
  --blur-amt: blur(16px);

  /* Layout & Tipografía */
  --max-w: 1200px;
  --nav-h: 70px;
  --radius: 12px;
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* --- RESET & BASE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

button,
input,
select,
textarea {
  font: inherit;
  border: none;
  outline: none;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* --- BACKGROUND FX (Capas base) --- */
.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.12;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.bg-glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle at center, rgba(0, 255, 136, 0.06), transparent 70%);
  filter: blur(60px);
  animation: pulseGlow 12s infinite ease-in-out alternate;
  z-index: 2;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.4;
  }

  100% {
    transform: scale(1.1) translate(-20px, 20px);
    opacity: 0.7;
  }
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-dark) 120%);
  z-index: 3;
}

/* --- ESCUDOS BACKGROUND --- */
.bg-escudos {
  position: absolute;
  inset: -50%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 40px;
  opacity: 0.07;
  transform: rotate(-12deg) scale(1.1);
  filter: grayscale(100%);
  z-index: 1;
  mix-blend-mode: screen;
}

.bg-escudo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  transform: rotate(var(--r, 0deg)) scale(var(--s, 1));
  opacity: var(--o, 0.5);
}

/* --- TYPOGRAPHY UTILS --- */
h1,
h2,
h3 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-sec);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.btn.primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.25);
}

.btn.primary:hover {
  background: #33ff99;
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--text-sec);
}

.btn.ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn.ghost-border {
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
}

.btn.ghost-border:hover {
  border-color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

/* --- PAGE LOADER --- */
.pageLoader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.pageLoader.is-hide {
  opacity: 0;
  visibility: hidden;
}

.pl-inner {
  text-align: center;
  width: 180px;
}

.pl-logo {
  height: 48px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.2));
}

.pl-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.pl-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40%;
  background: var(--primary);
  animation: loadingBar 1.2s infinite ease-in-out;
}

@keyframes loadingBar {
  0% {
    left: -40%;
  }

  100% {
    left: 100%;
  }
}

.pl-text {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-sec);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- TOPBAR --- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(5, 10, 16, 0.75);
  backdrop-filter: var(--blur-amt);
  -webkit-backdrop-filter: var(--blur-amt);
  border-bottom: 1px solid var(--border);
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 32px;
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--text-sec);
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.nav {
  display: none;
  gap: 32px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sec);
  position: relative;
}

.nav a:hover {
  color: #fff;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-cta .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}

@media (min-width: 992px) {
  .nav {
    display: flex;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr;
}

/* Hero Left */
.heroPillTop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--primary);
  border: 1px solid rgba(0, 255, 136, 0.15);
  margin-bottom: 24px;
  font-weight: 500;
}

.heroPillDot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--primary);
}

/* AJUSTE 1: Título más chico (de 3.8rem a 3rem) */
.heroTitlePro {
  font-size: 3rem;
  margin-bottom: 24px;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.heroSubPro {
  font-size: 1.25rem;
  color: var(--text-sec);
  margin-bottom: 32px;
  font-weight: 400;
  max-width: 540px;
}

.heroBadgesPro {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hBadgePro {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-sec);
  border: 1px solid var(--border);
}

/* AJUSTE 2: Foto más arriba (Margin top negativo) */
.heroShot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  background: #000;
  margin-top: 20px;
  /* Reducido para que suba */
}

.heroShotBg {
  width: 100%;
  height: auto;
  opacity: 0.7;
  transition: 0.5s;
}

.heroShot:hover .heroShotBg {
  opacity: 0.9;
  transform: scale(1.02);
}

.heroShotOverlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--blur-amt);
  -webkit-backdrop-filter: var(--blur-amt);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.heroShotTitle {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #fff;
}

.heroShotSub {
  font-size: 0.9rem;
  color: var(--text-sec);
  margin-bottom: 16px;
}

.heroShotBadges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shotBadge {
  font-size: 0.75rem;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #fff;
}

/* Hero Right (Formulario) */
.hero-card {
  background: rgba(20, 26, 35, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.hc-title {
  font-weight: 700;
  font-size: 1.2rem;
}

.tag {
  font-size: 0.7rem;
  background: #25D366;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.hcProof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hcPill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--primary-dim);
  color: var(--primary);
  font-weight: 500;
}

.hcDot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.4;
  }
}

.hcPill.muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 8px;
  color: var(--text-sec);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.1);
}

.field textarea {
  height: 100px;
  resize: none;
}

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.cta-row.end {
  justify-content: center;
}

.cta-row .btn {
  flex: 1;
}

.mini {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.mini a {
  color: var(--text-sec);
  text-decoration: underline;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    align-items: start;
  }

  .heroTitlePro {
    font-size: 2.8rem;
  }

  /* Ajuste fino desktop */
}

/* --- ESCUDOS STRIP --- */
.escudosStrip {
  padding: 24px 0;
}

.escudosHead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.escudosKicker {
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.escudosSub {
  font-size: 0.85rem;
  color: var(--text-sec);
  border-left: 1px solid var(--border);
  padding-left: 12px;
}

.escudosMarquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.escudosMarquee::before,
.escudosMarquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.escudosMarquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark), transparent);
}

.escudosMarquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-dark), transparent);
}

.escudosTrack {
  display: inline-block;
  animation: scroll 60s linear infinite;
}

.escudoItem {
  display: inline-block;
  margin: 0 24px;
  vertical-align: middle;
}

.escudoItem img {
  height: 64px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: 0.3s;
}

.escudoItem img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --- AJUSTE 3: SECCIONES EN CAJAS (Boxed) --- */
.section {
  padding: 60px 0;
}

.section-boxed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 40px;
  margin: 40px auto;
  /* Espacio entre secciones */
  max-width: var(--max-w);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Fondo alternativo para romper la monotonía */
.section-boxed.alt-bg {
  background: var(--bg-card-alt);
}

/* Ajuste Mobile para las cajas */
@media (max-width: 768px) {
  .section-boxed {
    padding: 40px 20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin: 0;
  }
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-head h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: #fff;
}

.section-head .lead {
  font-size: 1.1rem;
  color: var(--text-sec);
}

.section-head .pill {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- DEMO ROWS --- */
.demoRow {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-bottom: 0;
}

/* Reset margin bottom en boxed */
.demoRow--reverse .demoInfo {
  order: -1;
}

.videoFrame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  aspect-ratio: 16/9;
  transition: transform 0.3s;
}

.videoFrame:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}

.autoVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.videoBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  opacity: 0;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
}

.videoFrame:hover .videoBtn,
.videoFrame.is-paused .videoBtn {
  opacity: 1;
}

.videoBtn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.demoKicker {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
}

.demoTitle {
  font-size: 2rem;
  margin-bottom: 20px;
}

.demoText {
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
  color: var(--text-sec);
}

.advGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.advChip {
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-sec);
  font-size: 0.85rem;
  cursor: default;
  border: 1px solid var(--border);
  transition: 0.2s;
}

.advChip:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(0, 255, 136, 0.05);
}

.demoCtas {
  display: flex;
  gap: 16px;
}

@media (min-width: 992px) {
  .demoRow {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

/* --- SHOTS --- */
.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border);
  transition: all 0.3s;
  background: #000;
}

.shot:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.shot img {
  width: 100%;
  height: auto;
  transition: 0.3s;
}

.shot:hover img {
  opacity: 0.8;
}

.shot .cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  font-weight: 600;
  text-align: center;
  color: #fff;
  transform: translateY(100%);
  transition: 0.3s;
}

.shot:hover .cap {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .shots {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- CARDS & GRIDS --- */
.cards,
.solutionsGrid,
.pricing,
.statsRow {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {

  .cards,
  .solutionsGrid,
  .pricing {
    grid-template-columns: repeat(3, 1fr);
  }

  .statsRow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card,
.solCard,
.plan,
.stat {
  background: rgba(255, 255, 255, 0.02);
  /* Fondo más sutil dentro de caja */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover,
.solCard:hover,
.plan:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.card h3,
.solCard h3,
.plan h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.solTop {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.solIcon {
  font-size: 2.5rem;
  line-height: 1;
}

.solList {
  list-style: none;
  margin-bottom: 32px;
}

.solList li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-sec);
}

.solList li::before {
  content: '→';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.plan.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(0, 255, 136, 0.05), rgba(255, 255, 255, 0.02));
}

.featured-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.plan .for {
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan ul {
  margin-bottom: 32px;
  min-height: 140px;
}

.plan ul li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-sec);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

.plan .hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

.stat {
  text-align: center;
  padding: 40px 20px;
}

.statNum {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  background: linear-gradient(to bottom, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.statLabel {
  color: var(--text-sec);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- FAQ --- */
.faq {
  display: grid;
  gap: 24px;
}

@media(min-width: 768px) {
  .faq {
    grid-template-columns: 1fr 1fr;
  }
}

details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

details[open] {
  border-color: var(--text-sec);
  background: rgba(255, 255, 255, 0.05);
}

summary {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

summary::-webkit-details-marker {
  display: none;
}

.chev {
  transition: 0.3s;
  color: var(--text-sec);
}

details[open] .chev {
  transform: rotate(180deg);
  color: var(--primary);
}

.ans {
  padding: 0 20px 24px;
  color: var(--text-sec);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: -10px;
  padding-top: 20px;
}

/* --- FOOTER CTA --- */
.final-cta {
  text-align: center;
  background: radial-gradient(circle at center, rgba(20, 30, 40, 0.9), var(--bg-card));
  padding: 80px 20px;
  border-radius: 24px;
  border: 1px solid var(--border);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

/* --- ANIMATIONS --- */
.reveal,
.stagger>* {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform, filter;
}

.reveal.on,
.stagger.on>* {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Stagger Delays para listas y grillas */
.stagger>*:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger>*:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger>*:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger>*:nth-child(4) {
  transition-delay: 0.4s;
}

.stagger>*:nth-child(5) {
  transition-delay: 0.5s;
}

.stagger>*:nth-child(6) {
  transition-delay: 0.6s;
}

/* --- MODAL --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: visible;
  opacity: 1;
  transition: 0.3s;
}

.modal[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  transition: 0.2s;
}

.modal-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

/* Ocultar botón de Play manual */
.videoBtn {
  display: none !important;
}

/* Opcional: Quitar el cursor pointer si ya no hay botón */
.videoFrame {
  cursor: default;
}

/* --- ESTILOS DE LA SECCIÓN PRODUCTO (GRID PRO) --- */

.shots {
  display: grid;
  grid-template-columns: 1fr;
  /* 1 columna en móvil */
  gap: 30px;
  margin-top: 40px;
}

/* En tablet/desktop hacemos grid de 2x2 */
@media (min-width: 768px) {
  .shots {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shot {
  position: relative;
  border-radius: 12px;
  background: #1a1f26;
  /* Fondo de la "ventana" */
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

/* Efecto Hover: sube un poco */
.shot:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.1);
}

/* Barra de título estilo ventana (Mac/Windows) */
.shot-header {
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 6px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

/* Contenedor de la imagen */
.shot-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  /* Mantiene el formato rectangular */
  background: #000;
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Llena el espacio sin deformarse */
  object-position: top center;
  /* Muestra la parte de arriba */
  transition: transform 0.5s ease;
  display: block;
}

/* Zoom suave en la imagen al pasar el mouse */
.shot:hover img {
  transform: scale(1.03);
}

/* Etiqueta flotante abajo */
.cap {
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  /* Para que el click pase a través si fuera necesario */
}

.cap-icon {
  font-size: 1rem;
}

/* --- CORRECCIÓN DE VISIBILIDAD --- */

/* Forzar que el contenedor tenga altura aunque la imagen no cargue */
.shot-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  /* Mantiene la forma rectangular */
  background: #2d333b;
  /* Color de fondo visible si falla la imagen */
  overflow: hidden;
  display: flex;
  /* Centrar mensaje de error si lo hubiera */
  align-items: center;
  justify-content: center;
}

/* Asegurar que la imagen ocupe todo */
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ajuste del Grid */
.shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .shots {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- CORRECCIÓN DE ANIMACIÓN (IMPORTANTE) --- */

/* Esto conecta la animación del padre (.stagger) con los hijos (las imágenes) */
.stagger.on>* {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Si esto sigue fallando, este bloque de seguridad las muestra sí o sí */
.shots {
  opacity: 1 !important;
  visibility: visible !important;
}

.shot {
  opacity: 1;
  /* Por defecto visible */
  transform: translateY(0);
}

/* ========================================= */
/* ⬇️ NUEVO HERO: IMAGEN IZQ + TÍTULO + FORM DER ⬇️ */
/* ========================================= */

/* 1. Pastilla Verde Alineada a la Izquierda */
.hero-pill-left {
  display: flex;
  justify-content: flex-start;
  /* Alinea a la izquierda */
  margin-bottom: 20px;
}

/* 2. Estilo del Nuevo Título Corto */
.hero-short-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  color: #fff;
}

/* Ajuste del Grid */
.hero-grid-visual {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid-visual {
    grid-template-columns: 1.2fr 0.8fr;
    /* Imagen más ancha */
    align-items: start;
    /* Alineación superior para que título y form queden parejos */
  }
}

/* Contenedor de la Imagen Izquierda */
.visual-card {
  position: relative;
  /* Necesario para las pills flotantes */
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  /* Efecto 3D sutil */
  transform: perspective(1000px) rotateY(2deg);
  transition: transform 0.5s ease;
}

.visual-card:hover {
  transform: perspective(1000px) rotateY(0deg);
  border-color: var(--primary-dim);
}

.visual-img {
  width: 100%;
  height: auto;
  display: block;
}

.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--primary);
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
}

/* 3. Estilos de Pills Flotantes (Sobre la imagen) */
.floating-pills-container {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 2;
}

.float-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(15, 21, 28, 0.85);
  /* Fondo oscuro semi-transparente */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  50% {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.15);
  }
}

.float-pill:nth-child(2) {
  animation-delay: 1.2s;
}

.float-pill:nth-child(3) {
  animation-delay: 2.4s;
}

.fp-icon {
  font-size: 1rem;
}

/* Ajustes Móvil */
@media (max-width: 768px) {
  .visual-card {
    transform: none;
    margin-bottom: 20px;
  }

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

/* Color de énfasis para el título */
.text-highlight {
  color: var(--primary);
  /* Verde A-LAB */
  position: relative;
  display: inline-block;
}

/* Opcional: Un subrayado sutil o brillo */
.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--primary);
  opacity: 0.2;
  z-index: -1;
  transform: skewX(-10deg);
}

/* --- CORRECCIÓN FINAL DE LA GRILLA (FORZADA) --- */

.solutionsGrid {
  display: grid !important;
  width: 100% !important;
  gap: 30px !important;
  /* Por defecto en celular: 1 columna */
  grid-template-columns: 1fr !important;
}

/* A partir de 992px (PC/Laptop) se obliga a usar 3 columnas */
@media (min-width: 992px) {
  .solutionsGrid {
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: stretch !important;
  }
}

/* Ajuste para los nuevos íconos en los chips */
.advChip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Espacio entre el ícono y el texto */
  padding: 8px 16px;
  /* El resto de estilos ya los tenés, esto solo asegura la alineación */
}

.advChip svg {
  flex-shrink: 0;
  /* Para que el ícono no se aplaste si el texto es largo */
}

/* ========================================================
   CORRECCIONES FINALES DE LAYOUT Y CAJAS
   ======================================================== */

/* 1. Arreglo de los Chips (Videos) */
.advChip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Espacio entre icono y texto */
  padding: 8px 14px;
}

.advChip svg {
  flex-shrink: 0;
}

/* 2. Forzar Grilla de 3 Columnas (Soluciones y Beneficios) */
@media (min-width: 992px) {

  .solutionsGrid,
  .cards,
  .pricing {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    align-items: stretch !important;
  }
}

/* 3. Forzar Grilla de 4 Columnas (Cobertura) */
@media (min-width: 992px) {
  .statsRow {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }
}

/* 4. Arreglar texto "Federal A" que se rompe */
.statNum {
  white-space: nowrap;
  /* Obliga a mantenerse en una línea */
  font-size: 2.5rem;
  /* Ajuste leve para que entre cómodo */
}

/* 5. Uniformidad de altura en las cajas */
.solCard,
.card,
.stat,
.plan {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.extra-info {
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  margin-top: 5px;
}

.badge-pop {
  background: var(--primary);
  color: #000;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px;
  border-radius: 4px 4px 0 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* Asegurar que la tarjeta popular tenga borde verde */
.plan.popular {
  border-color: var(--primary);
  position: relative;
  /* Para posicionar el badge */
  padding-top: 40px;
  /* Espacio para el badge */
}

/* ========================================= */
/* 🛠️ CORRECCIÓN DE TARJETAS DE PRECIOS 🛠️ */
/* ========================================= */

/* 1. Asegurar que la tarjeta organice el contenido verticalmente */
.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  /* Un poco más de aire */
  height: 100%;
  /* Para que todas midan lo mismo */
}

/* 2. El encabezado (Título y Precio) sí va centrado */
.plan-header {
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Línea sutil separadora */
  padding-bottom: 20px;
}

/* 3. La lista de características: ALINEADA A LA IZQUIERDA */
.plan-features {
  text-align: left;
  /* Clave: todo a la izquierda */
  padding: 0;
  margin: 0 0 30px 0;
  list-style: none;
  flex-grow: 1;
  /* Esto empuja el botón hacia abajo */
}

/* 4. Cada renglón de la lista */
.plan-features li {
  display: flex;
  /* Para que el ✅ quede al lado del texto */
  align-items: flex-start;
  /* Alineado arriba si el texto es largo */
  justify-content: flex-start;
  /* SIEMPRE al inicio (evita que se separen) */
  gap: 12px;
  /* Espacio entre el ✅ y el texto */
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ddd;
}

/* 5. Corrección específica para que "(DT, AC...)" no se vaya lejos */
.plan-features li strong {
  color: #fff;
  /* Destacar la parte importante */
  font-weight: 600;
}

/* 6. El botón siempre abajo de todo */
.plan .btn {
  margin-top: auto;
  /* Magia: empuja el botón al fondo de la tarjeta */
  width: 100%;
}

/* === CORRECCIÓN PARA ALINEAR BOTONES EN SOLUCIONES === */

/* Aseguramos que la tarjeta sea flexible (ya lo tenés, pero reforzamos) */
.solCard {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* IMPORTANTE: Empuja el botón al fondo de la tarjeta */
.solCard .btn {
  margin-top: auto;
}

/* Opcional: Si la lista queda muy pegada, damos aire abajo */
.solList {
  margin-bottom: 24px;
}

/* ========================================================
   REAJUSTE PROFESIONAL PARA MÓVILES (Media Queries)
   ======================================================== */

@media (max-width: 768px) {

  /* 1. SECCIONES: Menos margen lateral para que el texto respire */
  .section-boxed {
    padding: 30px 15px !important;
    margin: 20px 10px !important;
    border-radius: 16px !important;
  }

  /* 2. HERO: Imagen arriba, Formulario abajo */
  .hero-grid-visual {
    grid-template-columns: 1fr !important;
    /* Una sola columna */
    gap: 30px !important;
    text-align: center;
  }

  .hero-pill-left {
    justify-content: center !important;
    /* Centramos la pastilla verde */
  }

  .hero-short-title {
    font-size: 1.8rem !important;
    /* Achicamos un poco el título */
    line-height: 1.2;
  }

  /* 3. GRILLAS: Forzamos 1 sola columna en todo lo que sea tarjetas */
  .solutionsGrid,
  .cards,
  .pricing,
  .statsRow,
  .shots {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* 4. VISUAL: Quitamos el efecto 3D que en móvil se ve torcido */
  .visual-card {
    transform: none !important;
    margin-bottom: 0;
  }

  /* 5. HEADER: Achicamos el logo para que no choque con los botones */
  .logo-img {
    height: 24px !important;
  }

  .brand-sub {
    display: none;
    /* Escondemos el lema en móvil para ganar espacio */
  }

  /* 6. BOTONES FLOTANTES (Pills): Los acomodamos para que no tapen la imagen */
  .floating-pills-container {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    justify-content: center;
    margin-top: 15px;
  }

  .float-pill {
    font-size: 0.75rem !important;
    padding: 6px 10px !important;
  }

  /* 7. FORMULARIO: Que los campos ocupen todo el ancho */
  .grid2 {
    grid-template-columns: 1fr !important;
  }

  /* 8. FOOTER: Alineación al centro */
  .final-cta h2 {
    font-size: 1.8rem !important;
  }

  .cta-row.end {
    flex-direction: column;
    /* Botones uno arriba del otro */
    gap: 10px;
  }

  .cta-row.end .btn {
    width: 100%;
  }
}

/* ========================================================
   AESTHETIC UPGRADE — PREMIUM POLISH
   ======================================================== */

/* Gradient headings for all section titles */
.section-head h2 {
  background: linear-gradient(135deg, #ffffff 0%, #c0c7d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Enhanced primary button glow */
.btn.primary {
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3), 0 0 40px rgba(0, 255, 136, 0.1);
  position: relative;
  overflow: hidden;
  /* Evita que el overflow de pseudo-elementos modifique el flujo base, usado aquí para sweep si lo agregamos futuro, aunque ahora usaremos box-shadow avanzado */
}

/* Sweep Highlight */
.btn.primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: 0s;
  z-index: 2;
  /* encima del botón */
  pointer-events: none;
}

.btn.primary:hover::after {
  left: 150%;
  transition: 0.6s ease-in-out;
}

.btn.primary::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.4), transparent 60%);
  border-radius: inherit;
  z-index: 1;
  /* por debajo del sweep */
  opacity: 0;
  transition: opacity 0.3s;
}

.btn.primary:hover::before {
  opacity: 1;
}

.btn.primary:hover {
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5), 0 0 60px rgba(0, 255, 136, 0.15);
}

/* Premium card hover glow border */
.card::before,
.solCard::before,
.plan::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), transparent 50%, rgba(0, 255, 136, 0.1));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::before,
.solCard:hover::before,
.plan:hover::before {
  opacity: 1;
}

/* Badge "MÁS ELEGIDO" glow */
.badge-pop {
  animation: badgeGlow 3s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
  0% {
    box-shadow: 0 0 0 rgba(0, 255, 136, 0);
  }

  100% {
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
  }
}

/* ========================================================
   ROADMAP SECTION — COBERTURA VISUAL TIMELINE
   ======================================================== */

/* Stats bar */
.roadmap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

.rm-stat {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}

.rm-stat:hover {
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.03);
}

.rm-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  background: linear-gradient(180deg, #ffffff 30%, #8b95a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rm-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Timeline Container */
.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 50px;
}

/* Connecting line */
.rm-line {
  position: absolute;
  top: 74px;
  left: 80px;
  right: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  z-index: 0;
}

.rm-line-progress {
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, var(--primary), rgba(0, 255, 136, 0.3));
  border-radius: 2px;
  position: relative;
}

.rm-line-progress::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary);
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

/* Node */
.rm-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Dot indicator */
.rm-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}

.rm-node:hover .rm-dot {
  transform: scale(1.15);
}

/* Done dot */
.rm-done .rm-dot {
  background: var(--primary);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5), 0 0 40px rgba(0, 255, 136, 0.2);
}

/* Progress dot */
.rm-progress .rm-dot {
  background: rgba(255, 180, 0, 0.2);
  border: 2px solid #FFB400;
}

.rm-dot-pulse {
  width: 14px;
  height: 14px;
  background: #FFB400;
  border-radius: 50%;
  animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 180, 0, 0.4);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(255, 180, 0, 0);
  }
}

/* Future dot */
.rm-future .rm-dot {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

/* Card */
.rm-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  width: 100%;
  transition: all 0.4s;
  text-align: left;
}

.rm-done .rm-card {
  border-color: rgba(0, 255, 136, 0.2);
  background: rgba(0, 255, 136, 0.03);
}

.rm-progress .rm-card {
  border-color: rgba(255, 180, 0, 0.15);
}

.rm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.rm-done .rm-card:hover {
  border-color: rgba(0, 255, 136, 0.4);
}

.rm-progress .rm-card:hover {
  border-color: rgba(255, 180, 0, 0.3);
}

.rm-future .rm-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.rm-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.rm-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.rm-badge--done {
  background: rgba(0, 255, 136, 0.12);
  color: var(--primary);
}

.rm-badge--progress {
  background: rgba(255, 180, 0, 0.12);
  color: #FFB400;
}

.rm-badge--future {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-sec);
}

.rm-season {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rm-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.rm-desc {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Escudo clusters */
.rm-escudos {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.rm-escudo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.rm-escudo:hover {
  border-color: var(--primary);
  transform: scale(1.15);
}

.rm-escudo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.rm-escudo-more {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border);
  white-space: nowrap;
}

/* Feature tags */
.rm-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rm-feat {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-sec);
  border: 1px solid var(--border);
}

/* Future league list */
.rm-future-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.rm-future-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.rm-future-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.rm-future-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.rm-future-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rm-future-item strong {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
}

.rm-future-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Competition logos (prominent) */
.rm-comp-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.rm-comp-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 255, 136, 0.06), transparent 70%);
  pointer-events: none;
}

.rm-done .rm-comp-logo {
  border-color: rgba(0, 255, 136, 0.15);
  background: rgba(0, 255, 136, 0.04);
}

.rm-progress .rm-comp-logo {
  border-color: rgba(255, 180, 0, 0.1);
  background: rgba(255, 180, 0, 0.03);
}

.rm-progress .rm-comp-logo::after {
  background: radial-gradient(circle at center, rgba(255, 180, 0, 0.06), transparent 70%);
}

.rm-comp-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.rm-card:hover .rm-comp-img {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 20px rgba(0, 255, 136, 0.25));
}

.rm-progress .rm-card:hover .rm-comp-img {
  filter: drop-shadow(0 6px 20px rgba(255, 180, 0, 0.25));
}

/* Future item logos (smaller but prominent) */
.rm-future-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
  margin-top: 2px;
}

.rm-future-item:hover .rm-future-logo {
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* ========================================================
   ROADMAP RESPONSIVE
   ======================================================== */
@media (max-width: 768px) {
  .roadmap-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .roadmap {
    grid-template-columns: 1fr !important;
    gap: 0;
    padding-top: 0;
    padding-left: 30px;
  }

  .rm-line {
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
    width: 3px;
    height: 100%;
  }

  .rm-line-progress {
    width: 100%;
    height: 45%;
  }

  .rm-line-progress::after {
    right: auto;
    bottom: 0;
    top: auto;
    left: -4px;
  }

  .rm-node {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 40px;
  }

  .rm-dot {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: 20px;
    margin-left: -50px;
  }

  .rm-card {
    padding: 20px 16px;
  }

  .rm-stat-num {
    font-size: 1.5rem;
  }
}