/* Landing page — Social Lab (formato Series Lab) */

/* Locale switcher — paridad Series Lab */
.locale-switcher {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.locale-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid hsl(var(--border) / 0.4);
  border-radius: 8px;
  background: transparent;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.locale-trigger:hover {
  color: var(--brand-blue);
  border-color: hsl(var(--primary) / 0.45);
  background: hsl(var(--surface) / 0.5);
}

.locale-globe {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.85;
}

.locale-trigger-code {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.locale-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 10.5rem;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid hsl(var(--border) / 0.55);
  background: hsl(var(--card) / 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px hsl(0 0% 0% / 0.18);
  z-index: 10300;
}

.locale-menu[hidden] {
  display: none;
}

.locale-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: hsl(var(--foreground));
  font-size: 13px;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.locale-menu-item:hover,
.locale-menu-item.is-active {
  background: hsl(var(--primary) / 0.12);
  color: var(--brand-blue);
}

.hero {
  padding: 2rem 0 1rem;
  text-align: left;
}

.hero--geo {
  position: relative;
  overflow: hidden;
}

.hero__glow {
  pointer-events: none;
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 55% 45% at 30% 20%, hsl(var(--primary) / 0.14), transparent 65%),
    radial-gradient(ellipse 40% 35% at 85% 10%, hsl(var(--primary) / 0.08), transparent 60%);
  z-index: 0;
}

.hero--geo > .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem 3rem;
  }
}

.hero__copy .badge {
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: none;
  margin: 0 0 1rem;
  text-align: left;
}

.hero__sub {
  font-size: 1.0625rem;
  color: hsl(var(--muted-foreground));
  max-width: 34rem;
  margin: 0 0 1.5rem;
  line-height: 1.75;
  text-align: left;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.hero__cta .btn-primary {
  color: #1a1a1a;
}

.hero__cta .btn-primary:hover {
  color: #1a1a1a;
}

.hero__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  max-width: 34rem;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  text-align: left;
}

.hero__bullets li {
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.hero__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-emerald);
  font-weight: 700;
}

.hero__demo {
  width: 100%;
  min-width: 0;
}

/* Panel motor en vivo — estilo Series Lab */
.live-panel {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid hsl(var(--border) / 0.55);
  background: hsl(var(--card) / 0.92);
  box-shadow: var(--panel-shadow);
  overflow: hidden;
  text-align: left;
}

.live-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid hsl(var(--border) / 0.4);
  background: hsl(var(--surface) / 0.45);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}

.live-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.live-panel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-emerald);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.live-panel__title strong {
  color: hsl(var(--foreground));
  font-weight: 700;
}

.live-panel__badge {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.35);
  background: hsl(var(--primary) / 0.08);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  transition: opacity 0.35s ease;
}

.live-panel__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid hsl(var(--border) / 0.35);
  background: hsl(var(--card) / 0.5);
}

@media (max-width: 520px) {
  .live-panel__kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

.live-kpi {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border) / 0.45);
  background: hsl(var(--surface) / 0.35);
  transition: opacity 0.35s ease;
}

.live-kpi span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 4px;
}

.live-kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.2;
  transition: opacity 0.35s ease;
}

.live-kpi--status strong {
  font-size: 0.8125rem;
  color: var(--brand-emerald);
}

.live-panel__stage {
  position: relative;
  min-height: 268px;
  background: hsl(var(--card));
}

.live-slide {
  position: absolute;
  inset: 0;
  padding: 8px 12px 4px;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.live-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.live-slide svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 252px;
}

.live-panel__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 12px 14px 14px;
  border-top: 1px solid hsl(var(--border) / 0.4);
  background: hsl(var(--surface) / 0.35);
}

.live-panel__tab {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border) / 0.5);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--card) / 0.6);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  overflow: hidden;
}

.live-panel__tab:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--primary) / 0.4);
}

.live-panel__tab.is-active {
  border-color: hsl(var(--primary) / 0.55);
  color: #fff;
  background: var(--brand-blue);
}

.live-panel__tab-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0 2px 0 0;
}

.live-panel__tab:not(.is-active) .live-panel__tab-progress {
  display: none;
}

/* legacy tabs in other sections */
.live-panel__head .live-panel__tabs {
  display: none;
}

.live-panel__body {
  display: block;
}

.live-panel__graph {
  padding: 16px;
  min-height: 200px;
}

.live-panel__graph + .live-panel__kpis {
  display: none;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .hero-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .hero-pillars {
    grid-template-columns: 1fr;
  }

  .hero-pillar {
    text-align: left;
  }
}

.hero-pillar {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid hsl(var(--primary) / 0.22);
  background:
    linear-gradient(160deg, hsl(var(--primary) / 0.06) 0%, transparent 42%),
    hsl(var(--card) / 0.72);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px hsl(var(--border) / 0.35),
    var(--panel-shadow);
  text-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pillar > * {
  position: relative;
  z-index: 1;
}

.hero-pillar:hover {
  transform: translateY(-3px);
  border-color: hsl(var(--primary) / 0.45);
  box-shadow: 0 16px 48px hsl(var(--primary) / 0.12);
}

.hero-pillar__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

.hero-pillar .hero-pillar__subtitle {
  display: block;
  font-family: var(--font-display), "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0 0 8px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.light .hero-pillar .hero-pillar__subtitle {
  color: #0f172a;
}

html.dark .hero-pillar .hero-pillar__subtitle {
  color: #f8fafc;
}

.hero-pillar__text {
  margin: 0;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.tagline-strip {
  text-align: center;
  padding: 1.25rem 1rem;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  border-top: 1px solid hsl(var(--border) / 0.3);
  border-bottom: 1px solid hsl(var(--border) / 0.3);
  background: hsl(var(--surface) / 0.35);
}

.tagline-strip .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.tagline-strip .chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border) / 0.45);
  font-size: 10px;
  font-weight: 600;
  color: hsl(var(--foreground));
  background: hsl(var(--card) / 0.5);
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: hsl(var(--surface) / 0.4);
  border-top: 1px solid hsl(var(--border) / 0.3);
  border-bottom: 1px solid hsl(var(--border) / 0.3);
}

.section__eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.section__header {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.section__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.15;
}

.section__header p {
  color: hsl(var(--muted-foreground));
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

/* Ventaja técnica */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

.tech-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid hsl(var(--primary) / 0.22);
  background:
    linear-gradient(160deg, hsl(var(--primary) / 0.06) 0%, transparent 42%),
    hsl(var(--card) / 0.72);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px hsl(var(--border) / 0.35),
    var(--panel-shadow);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.4);
}

.tech-card > * {
  position: relative;
  z-index: 1;
}

.tech-card__tool {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-blue);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.tech-card h3 {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
}

.tech-card p {
  margin: 0 0 12px;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.tech-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-card__chips span {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid hsl(var(--border) / 0.45);
  background: hsl(var(--surface) / 0.4);
  color: hsl(var(--muted-foreground));
}

/* Galería producto — estilo Series Lab */
.product-gallery {
  position: relative;
  margin-top: 2.5rem;
}

.product-gallery__viewport {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-gallery__viewport::before,
.product-gallery__viewport::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(24px, 6vw, 72px);
  z-index: 2;
}

.product-gallery__viewport::before {
  left: 2.5rem;
  background: linear-gradient(90deg, hsl(var(--surface) / 0.55), transparent);
}

.product-gallery__viewport::after {
  right: 2.5rem;
  background: linear-gradient(270deg, hsl(var(--surface) / 0.55), transparent);
}

.product-gallery__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.85);
  color: hsl(var(--foreground));
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.product-gallery__arrow:hover {
  border-color: hsl(var(--primary) / 0.55);
  background: hsl(var(--primary) / 0.12);
  box-shadow: 0 8px 28px hsl(var(--primary) / 0.18);
  transform: scale(1.06);
}

.product-gallery__track {
  flex: 1;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1rem;
  scrollbar-width: none;
}

.product-gallery__track::-webkit-scrollbar {
  display: none;
}

.product-gallery__card {
  flex: 0 0 min(88vw, 360px);
  scroll-snap-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.35rem 1.1rem;
  border-radius: var(--radius-xl);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.55);
  cursor: pointer;
  overflow: hidden;
  opacity: 0.72;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-gallery__card.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: hsl(var(--primary) / 0.5);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.15),
    0 20px 56px hsl(var(--primary) / 0.14);
}

.product-gallery__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-gallery__step {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  font-family: var(--font-display);
}

.product-gallery__icon {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 4px 12px hsl(var(--primary) / 0.25));
}

.product-gallery__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.product-gallery__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
}

.product-gallery__visual {
  position: relative;
  min-height: 96px;
  border-radius: 12px;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--surface) / 0.35);
  overflow: hidden;
}

.product-gallery__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-gallery__pill {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.08);
  color: var(--brand-blue);
}

.product-gallery__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: hsl(var(--border) / 0.5);
  opacity: 0;
  transition: opacity 0.25s;
}

.product-gallery__card.is-active .product-gallery__progress {
  opacity: 1;
}

.product-gallery__progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary) / 0.6));
  animation: productGalleryProgress var(--pg-cycle, 6s) linear forwards;
}

@keyframes productGalleryProgress {
  from { width: 0; }
  to { width: 100%; }
}

.product-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.product-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: hsl(var(--border));
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.product-gallery__dot.is-active {
  background: hsl(var(--primary));
  transform: scale(1.25);
}

/* Visuales mini — Social Lab */
.pg-ingest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.65rem;
  font-size: 9px;
}

.pg-file {
  grid-column: 1 / -1;
  padding: 6px 8px;
  border-radius: 6px;
  background: hsl(var(--primary) / 0.12);
  border: 1px dashed hsl(var(--primary) / 0.4);
  font-weight: 700;
  color: var(--brand-blue);
}

.pg-col {
  padding: 5px 6px;
  border-radius: 5px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}

.pg-col--src { border-color: hsl(142 70% 45% / 0.5); }
.pg-col--dst { border-color: hsl(var(--primary) / 0.5); }

.pg-map {
  padding: 0.45rem 0.5rem;
  overflow-x: auto;
}

.pg-map__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 7.5px;
  line-height: 1.2;
  table-layout: fixed;
}

.pg-map__table th,
.pg-map__table td {
  padding: 4px 3px;
  text-align: left;
  border: 1px solid hsl(var(--border) / 0.55);
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pg-map__table th {
  font-weight: 800;
  text-transform: lowercase;
  background: hsl(var(--card) / 0.9);
  color: hsl(var(--foreground) / 0.65);
}

.pg-map__table td {
  background: hsl(var(--card) / 0.5);
}

.pg-map__hi {
  background: hsl(var(--primary) / 0.14) !important;
  color: var(--brand-blue) !important;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px hsl(var(--primary) / 0.28);
}

.pg-map__table thead .pg-map__hi {
  background: hsl(var(--primary) / 0.22) !important;
  color: var(--brand-blue) !important;
  position: relative;
}

.pg-map__table thead .pg-map__hi::after {
  content: "mapeado";
  display: block;
  font-size: 5.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 1px;
}

.pg-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0.55rem;
  align-content: flex-start;
}

.pg-chip {
  font-size: 8px;
  padding: 3px 6px;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.15);
  border: 1px solid hsl(var(--primary) / 0.35);
  font-weight: 700;
}

.pg-spark {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  height: 28px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.pg-spark span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: hsl(var(--primary) / 0.55);
  animation: pgSpark 2.4s ease-in-out infinite alternate;
}

.pg-spark span:nth-child(2) { height: 45%; animation-delay: 0.15s; }
.pg-spark span:nth-child(3) { height: 70%; animation-delay: 0.3s; }
.pg-spark span:nth-child(4) { height: 55%; animation-delay: 0.45s; }
.pg-spark span:nth-child(5) { height: 85%; animation-delay: 0.6s; }
.pg-spark span:nth-child(6) { height: 60%; animation-delay: 0.75s; }

@keyframes pgSpark {
  from { opacity: 0.55; transform: scaleY(0.92); }
  to { opacity: 1; transform: scaleY(1.08); }
}

.pg-graph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem 0.5rem;
}

.pg-graph__svg {
  width: 100%;
  height: 72px;
}

.pg-graph--communities .pg-graph__svg {
  height: 80px;
}

.pg-graph--layers {
  gap: 0.25rem;
}

.pg-graph__svg--layers {
  height: 58px;
}

.pg-layers-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.6rem;
  width: 100%;
  padding: 0.35rem 0.25rem 0;
  font-size: 7px;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
}

.pg-layers-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pg-leg {
  display: inline-block;
  width: 14px;
  height: 0;
  border-top-width: 2px;
  border-top-style: solid;
}

.pg-leg--ally {
  border-color: #10B981;
}

.pg-leg--info {
  border-color: #6CAED1;
}

.pg-leg--conflict {
  border-color: #EF4444;
  border-top-style: dashed;
}

.pg-export {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  font-size: 10px;
  font-weight: 800;
}

.pg-export span {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

@media (max-width: 720px) {
  .product-gallery__arrow {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

/* Casos de uso — showcase interactivo */
.use-cases-section {
  padding: 4rem 0;
}

.use-showcase-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .use-showcase-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2.5rem;
  }

  .use-showcase-panel {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}

.use-showcase-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.use-showcase-card {
  width: 100%;
  padding: 1rem 1.15rem 0.85rem;
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1rem;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(6px);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.use-showcase-card:hover:not(.is-active) {
  border-color: hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.04);
}

.use-showcase-card.is-active {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--primary) / 0.1);
  box-shadow: 0 0 24px -8px hsl(var(--primary) / 0.45);
}

.use-showcase-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.use-showcase-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  font-size: 1.25rem;
  background: hsl(var(--primary) / 0.1);
  transition: background 0.28s ease;
}

.use-showcase-card.is-active .use-showcase-icon {
  background: var(--brand-blue);
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.35);
}

.use-showcase-card-copy {
  min-width: 0;
  flex: 1;
}

.use-showcase-card-copy h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.use-showcase-card-copy p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
}

.use-showcase-active-dot {
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
}

.use-showcase-card.is-active .use-showcase-active-dot {
  display: inline-block;
}

.use-showcase-progress {
  margin-top: 0.75rem;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: hsl(var(--border) / 0.4);
}

.use-showcase-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--brand-blue);
  border-radius: inherit;
}

.use-showcase-card.is-active .use-showcase-progress-fill {
  animation: useShowcaseProgress 5.5s linear forwards;
}

@keyframes useShowcaseProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.use-showcase-panel-shell {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid hsl(var(--primary) / 0.25);
  background:
    linear-gradient(145deg, hsl(var(--card) / 0.92) 0%, hsl(var(--background) / 0.82) 55%, hsl(var(--primary) / 0.05) 100%);
  box-shadow: 0 0 40px -12px hsl(var(--primary) / 0.35);
}

.use-showcase-demo {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 380px;
  animation: useShowcaseFadeIn 0.35s ease;
}

.use-showcase-demo.is-active {
  display: flex;
}

@keyframes useShowcaseFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.use-showcase-demo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.use-showcase-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-emerald);
}

.use-showcase-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-emerald);
  animation: pulse-dot 2s ease-in-out infinite;
}

.use-showcase-demo-tag {
  font-size: 11px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.use-showcase-demo-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.use-showcase-demo-metrics > div {
  padding: 0.55rem 0.5rem;
  border-radius: 0.6rem;
  border: 1px solid hsl(var(--border) / 0.45);
  background: hsl(var(--surface) / 0.35);
  text-align: center;
}

.use-showcase-demo-metrics strong {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2px;
}

.use-showcase-demo-metrics span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.use-showcase-demo-visual {
  flex: 1;
  min-height: 200px;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.2);
  background:
    linear-gradient(hsl(var(--border) / 0.35) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border) / 0.35) 1px, transparent 1px),
    hsl(var(--background) / 0.5);
  background-size: 24px 24px, 24px 24px, auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.use-showcase-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.use-showcase-demo-visual--graph {
  min-height: 240px;
  padding: 0.5rem 0.6rem;
}

.use-showcase-demo-visual--osc {
  min-height: 310px;
  padding: 0.35rem 0.5rem;
}

.use-showcase-svg--lg {
  max-width: 100%;
  width: 100%;
  height: 210px;
}

.use-showcase-svg--xl {
  max-width: 100%;
  width: 100%;
  height: 280px;
}

/* Grafo OSC — flujo en aristas */
.osc-edge-flow {
  stroke-dasharray: 8 18;
  stroke-linecap: round;
  opacity: 0.75;
}

.osc-edge-flow--in {
  animation: oscFlowIn 2.4s linear infinite;
}

.osc-edge-flow--out {
  animation: oscFlowOut 2.4s linear infinite;
}

.osc-edge-flow--d1 { animation-delay: 0.3s; }
.osc-edge-flow--d2 { animation-delay: 0.6s; }
.osc-edge-flow--d3 { animation-delay: 0.9s; }
.osc-edge-flow--d4 { animation-delay: 1.2s; }

@keyframes oscFlowIn {
  from { stroke-dashoffset: 52; }
  to { stroke-dashoffset: 0; }
}

@keyframes oscFlowOut {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -52; }
}

.use-showcase-demo-visual--territory .use-showcase-svg--lg {
  height: 230px;
}

.use-showcase-demo-visual--inclusion {
  flex-direction: column;
  gap: 0.75rem;
}

.use-inc-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  height: 120px;
}

.use-inc-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.use-inc-bar span {
  font-size: 8px;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
}

.use-inc-bar i {
  display: block;
  width: 100%;
  max-width: 36px;
  height: var(--h, 50%);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--brand-blue), hsl(var(--primary) / 0.35));
}

.use-inc-bar:nth-child(1) i { background: linear-gradient(180deg, #EC4899, #EC489988); }
.use-inc-bar:nth-child(2) i { background: linear-gradient(180deg, #6CAED1, #6CAED188); }
.use-inc-bar:nth-child(3) i { background: linear-gradient(180deg, #10B981, #10B98188); }
.use-inc-bar:nth-child(4) i { background: linear-gradient(180deg, #F59E0B, #F59E0B88); }
.use-inc-bar:nth-child(5) i { background: linear-gradient(180deg, #8B5CF6, #8B5CF688); }

.use-inc-legend {
  font-size: 9px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.use-showcase-demo-insight {
  margin: 0;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

@media (max-width: 720px) {
  .use-showcase-demo-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-showcase-panel-shell {
    min-height: 360px;
  }
}

/* Catálogo de métodos — estilo Series Lab */
.methods-section {
  position: relative;
  overflow: hidden;
}

.methods-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 10% 20%, hsl(var(--primary) / 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 95% 75%, hsl(var(--primary) / 0.05), transparent 50%);
  pointer-events: none;
}

.methods-section > .container {
  position: relative;
  z-index: 1;
}

.methods-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -0.5rem 0 1.75rem;
}

.methods-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border) / 0.45);
  background: hsl(var(--surface) / 0.45);
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

.methods-stat strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-blue);
}

.methods-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.75rem;
}

.plan-pill {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border) / 0.4);
}

.plan-pill--demo {
  background: hsl(var(--muted) / 0.15);
  color: hsl(var(--muted-foreground));
}

.plan-pill--plus {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.35);
  color: var(--brand-blue);
}

.plan-pill--pro {
  background: rgba(245, 200, 66, 0.1);
  border-color: rgba(245, 200, 66, 0.35);
  color: #c49a3f;
}

html.light .plan-pill--pro {
  color: #a67c00;
}

.methods-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .methods-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .methods-catalog {
    grid-template-columns: 1fr;
  }
}

.method-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid hsl(var(--border) / 0.55);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.method-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.method-card--plus {
  border-color: hsl(var(--primary) / 0.32);
  background:
    linear-gradient(165deg, hsl(var(--primary) / 0.08) 0%, transparent 52%),
    hsl(var(--card) / 0.88);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.08),
    0 8px 32px -8px hsl(var(--primary) / 0.22);
}

.method-card--plus::before {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, transparent 45%);
}

.method-card--plus:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.45);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.12),
    0 14px 44px -6px hsl(var(--primary) / 0.28);
}

.method-card--pro {
  border-color: rgba(212, 160, 23, 0.38);
  background:
    linear-gradient(165deg, rgba(245, 200, 66, 0.09) 0%, transparent 52%),
    hsl(var(--card) / 0.88);
  box-shadow:
    0 0 0 1px rgba(245, 200, 66, 0.1),
    0 8px 32px -8px rgba(245, 200, 66, 0.2);
}

.method-card--pro::before {
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.06) 0%, transparent 45%);
}

.method-card--pro:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 23, 0.55);
  box-shadow:
    0 0 0 1px rgba(245, 200, 66, 0.15),
    0 14px 44px -6px rgba(245, 200, 66, 0.28);
}

.method-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.method-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.method-card--plus .method-card__icon {
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.22);
}

.method-card--pro .method-card__icon {
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.28);
}

.method-card__tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.method-card__tag--plus {
  background: hsl(var(--primary) / 0.12);
  color: var(--brand-blue);
  border: 1px solid hsl(var(--primary) / 0.25);
}

.method-card__tag--pro {
  background: rgba(245, 200, 66, 0.14);
  color: #e8c547;
  border: 1px solid rgba(245, 200, 66, 0.35);
}

html.light .method-card__tag--pro {
  color: #a67c00;
}

.method-card h3 {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.method-card__benefit {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.method-card__desc {
  margin: 0 0 10px;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  flex: 1;
  position: relative;
  z-index: 1;
}

.method-card__ideal {
  margin: 0 0 12px;
  font-size: 11px;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  line-height: 1.45;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.method-card__terms {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.method-card__terms li {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: hsl(var(--muted) / 0.22);
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.02em;
}

.methods-footer {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.methods-footer p {
  margin: 0 0 1rem;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.methods-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cap-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.cap-cta p {
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  margin-bottom: 14px;
}

.cap-cta .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Flujo de trabajo — estilo Series Lab */
.workflow-section {
  position: relative;
  overflow: hidden;
}

.workflow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, hsl(var(--primary) / 0.07), transparent 65%),
    radial-gradient(ellipse 40% 30% at 90% 80%, hsl(var(--primary) / 0.04), transparent 60%);
  pointer-events: none;
}

.workflow-section > .container {
  position: relative;
  z-index: 1;
}

.workflow {
  position: relative;
}

.workflow__rail {
  position: absolute;
  top: 2.65rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsl(var(--primary) / 0.15) 8%,
    var(--brand-blue) 50%,
    hsl(var(--primary) / 0.15) 92%,
    transparent 100%
  );
  z-index: 0;
}

.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.workflow-step {
  position: relative;
  padding: 1.5rem 1.35rem 1.65rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.workflow-step:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.45);
  box-shadow: 0 12px 40px hsl(var(--primary) / 0.1);
}

.workflow-step__marker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}

.workflow-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--brand-blue), hsl(var(--primary) / 0.85));
  color: #1a1a1a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow:
    0 0 0 3px hsl(var(--background)),
    0 0 0 4px hsl(var(--primary) / 0.25),
    0 4px 14px hsl(var(--primary) / 0.25);
}

.workflow-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  font-size: 1.1rem;
  line-height: 1;
}

.workflow-step__label {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
}

.workflow-step__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.workflow-step h3 {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.25;
}

.workflow-step p {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.workflow-step--finale {
  border-color: hsl(var(--primary) / 0.35);
  background:
    linear-gradient(160deg, hsl(var(--primary) / 0.06) 0%, transparent 55%),
    hsl(var(--card) / 0.85);
}

.workflow-step--finale .workflow-step__num {
  background: linear-gradient(145deg, #f5c842, var(--brand-blue));
  box-shadow:
    0 0 0 3px hsl(var(--background)),
    0 0 0 4px rgba(245, 200, 66, 0.28),
    0 4px 14px rgba(245, 200, 66, 0.22);
}

.workflow-footer {
  margin-top: 2.25rem;
  padding: 1.35rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.workflow-footer p {
  margin: 0;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  max-width: 36rem;
}

.workflow-footer p strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.workflow-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.workflow-cta-demo {
  color: #1a1a1a;
}

.workflow-cta-demo:hover {
  color: #1a1a1a;
}

@media (max-width: 1024px) {
  .workflow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .workflow__rail {
    display: none;
  }
}

@media (max-width: 640px) {
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .workflow-footer__actions {
    justify-content: center;
  }
}

/* Planes — paridad Series Lab */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.price-card {
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.3), 0 8px 32px hsl(var(--primary) / 0.12);
}

.price-card-pro {
  border-color: rgba(212, 160, 23, 0.55);
  box-shadow:
    0 0 0 1px rgba(245, 200, 66, 0.32),
    0 8px 40px rgba(212, 160, 23, 0.2),
    0 0 56px rgba(212, 160, 23, 0.1);
  position: relative;
  overflow: hidden;
}

.price-card-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(245, 200, 66, 0.09) 0%, transparent 42%);
  pointer-events: none;
}

.price-card-pro .price-tier {
  color: #e8c547;
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-card-pro .price-tier::after {
  content: "👑";
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.price-card-pro .price-amount {
  color: #f5c842;
  text-shadow: 0 0 24px rgba(245, 200, 66, 0.25);
}

html.light .price-card-pro {
  border-color: rgba(184, 134, 11, 0.45);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.28),
    0 8px 32px rgba(184, 134, 11, 0.12);
}

html.light .price-card-pro .price-tier {
  color: #a67c00;
}

html.light .price-card-pro .price-amount {
  color: #b8860b;
  text-shadow: none;
}

.price-card-pro .price-card-pro-cta {
  width: 100%;
  min-height: 38px;
}

#plan-pro:target {
  border-color: rgba(245, 200, 66, 0.65);
  box-shadow:
    0 0 0 2px rgba(245, 200, 66, 0.45),
    0 8px 40px rgba(212, 160, 23, 0.22);
  scroll-margin-top: 7rem;
}

.price-tier {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.price-card h3 {
  font-size: 1.25rem;
  margin: 8px 0 12px;
  position: relative;
  z-index: 1;
}

.price-amount {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  position: relative;
  z-index: 1;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.price-card li {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  padding: 8px 0;
  border-bottom: 1px solid hsl(var(--border) / 0.4);
}

.price-card li::before {
  content: "✓ ";
  color: hsl(var(--success));
  font-weight: 600;
}

.price-card .btn {
  width: 100%;
  position: relative;
  z-index: 1;
}

.price-card .btn-primary {
  color: #1a1a1a;
}

.price-card .btn-primary:hover {
  color: #1a1a1a;
}

.plan-compare {
  padding: 1.5rem 1.75rem;
}

#comparar-planes .plan-compare {
  max-width: 56rem;
  margin: 0 auto;
}

.plan-compare__title {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.plan-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.plan-compare-col h4 {
  font-family: var(--font-display);
  margin: 0 0 10px;
  font-size: 1rem;
}

.plan-compare-lead {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  margin: 0 0 10px;
}

.plan-compare-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.plan-compare-col li.plan-compare-no {
  list-style: none;
  margin-left: -18px;
  opacity: 0.85;
}

.plan-compare-pro {
  border-left: 1px solid hsl(var(--border) / 0.4);
  padding-left: 1.5rem;
}

.plan-compare-cta {
  margin-top: 12px;
}

.plan-compare .btn-primary {
  color: #1a1a1a;
}

.plan-compare .btn-primary:hover {
  color: #1a1a1a;
}

.plans-footnote {
  margin: 1rem 0 0;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
}

.plans-footnote a {
  color: var(--brand-blue);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .pricing-grid,
  .plan-compare-grid {
    grid-template-columns: 1fr;
  }

  .plan-compare-pro {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid hsl(var(--border) / 0.4);
    padding-top: 1.5rem;
  }
}

/* Footer landing — paridad Series Lab */
.landing-footer {
  position: relative;
  z-index: 2;
  background: #0a0a0a;
  color: #94a3b8;
  margin-top: 0;
}

.landing-footer .container {
  width: min(80rem, calc(100% - 2rem));
}

.landing-footer__cta-wrap {
  padding: 2.5rem 0 2rem;
}

.landing-footer__cta {
  text-align: center;
  padding: 3.25rem 2rem;
  border-radius: 20px;
  background: #161616;
  border: none;
  box-shadow: none;
}

.landing-footer__cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.landing-footer__cta p {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}

.landing-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.landing-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.landing-footer__cta-btn:hover {
  background: var(--brand-blue-light);
  transform: translateY(-1px);
}

.landing-footer__cta-btn--outline {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-footer__cta-btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.landing-footer .site-footer-links {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem 3rem;
  padding: 2rem 0 2.5rem;
  align-items: start;
  border-top: none;
}

.landing-footer .footer-col {
  min-width: 0;
}

.landing-footer .logo-box.landing-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.landing-footer .logo-white-bg img {
  height: 28px;
}

.landing-footer__product-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #e2e8f0;
}

.landing-footer__product-line {
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
}

.landing-footer .footer-col__desc {
  margin: 0;
  max-width: 22rem;
  font-size: 14px;
  line-height: 1.65;
  color: #94a3b8;
}

.landing-footer .footer-col h4 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
  color: #cbd5e1;
}

.landing-footer .footer-col--lines p,
.landing-footer .footer-col--product p {
  margin: 0 0 10px;
  line-height: 1.5;
}

.landing-footer .footer-col a {
  color: #e2e8f0;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer .footer-col a:hover {
  color: var(--brand-blue-light);
}

.landing-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0a0a;
  padding: 20px 0;
}

.landing-footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.landing-footer__bar-inner p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}

.landing-footer__tagline {
  font-style: italic;
}

@media (max-width: 720px) {
  .landing-footer .site-footer-links {
    grid-template-columns: 1fr;
  }

  .landing-footer__cta {
    padding: 2.5rem 1.25rem;
  }

  .landing-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
