.hero {
  position: relative;
  padding: 2rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 1.25rem 0 1rem;
}

.hero p.lead {
  font-size: 1.0625rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.75rem;
}

.hero-stats {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.stat span {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

.hero-card {
  padding: 1.5rem;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero-card-header strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.preview-chart {
  height: 260px;
  border-radius: var(--radius-lg);
  background: hsl(var(--surface) / 0.5);
  border: 1px solid hsl(var(--border) / 0.5);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.preview-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.preview-pill {
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 6px 12px;
  border-radius: 999px;
  background: hsl(var(--surface));
  color: hsl(var(--muted-foreground));
  border: 1px solid hsl(var(--border) / 0.5);
  cursor: pointer;
  transition: all 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.preview-pill:hover {
  background: hsl(var(--primary) / 0.08);
  color: var(--brand-blue);
  border-color: hsl(var(--primary) / 0.3);
}

.preview-pill.active {
  background: var(--brand-blue);
  color: var(--brand-black);
  border-color: var(--brand-blue-hover);
}

.preview-pill:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  border-block: 1px solid hsl(var(--border) / 0.4);
  background: hsl(var(--card) / 0.4);
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head .section-subtitle {
  margin: 0 auto;
}

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

.feature-card {
  padding: 1.75rem;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: hsl(var(--primary) / 0.1);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step-card {
  padding: 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: var(--brand-black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.step-card p {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.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);
}

/* Plan Pro — destacado dorado (paridad Encuestas PLN) */
.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;
}

.cta-band {
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-band p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer-links {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid hsl(var(--border) / 0.4);
}

.site-footer-links p,
.site-footer-links a {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

.site-footer-links a:hover {
  color: var(--brand-blue);
}

.site-footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.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-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;
}

/* —— Landing alineada al demo GameLab —— */

.gl-landing-layout {
  padding: 1.25rem 1.5rem 1.5rem;
  margin-bottom: 2rem;
}

.gl-landing-layout-head {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 1rem;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}

.gl-landing-layout-head .gl-landing-step-center {
  text-align: center;
}

.gl-landing-layout-head .gl-landing-step:last-child {
  text-align: right;
}

.gl-landing-layout-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: stretch;
}

.gl-landing-col {
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.45);
  background: hsl(var(--surface) / 0.35);
  padding: 1rem;
  min-height: 220px;
}

.gl-landing-col-left .gl-landing-mini-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.gl-landing-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: var(--brand-black);
  font-size: 11px;
  font-weight: 800;
}

.gl-landing-cat-sample {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gl-landing-cat-sample span {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid hsl(var(--border) / 0.4);
  color: hsl(var(--muted-foreground));
}

.gl-landing-cat-sample span.is-active {
  background: hsl(var(--primary) / 0.12);
  border-color: hsl(var(--primary) / 0.35);
  color: var(--brand-blue);
  font-weight: 600;
}

.gl-landing-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.gl-landing-metric {
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid hsl(var(--border) / 0.35);
  text-align: center;
}

.gl-landing-metric strong {
  display: block;
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
  margin-bottom: 4px;
}

.gl-landing-metric span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-blue);
}

.gl-landing-chart-mock {
  height: 88px;
  border-radius: 10px;
  border: 1px dashed hsl(var(--border) / 0.5);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.06), transparent 60%);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  margin-bottom: 10px;
}

.gl-landing-terms-mock {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.gl-landing-method-sample {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gl-landing-method-item {
  font-size: 11px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid hsl(var(--border) / 0.4);
}

.gl-landing-method-item.is-active {
  background: hsl(var(--success) / 0.1);
  border-color: hsl(var(--success) / 0.35);
  font-weight: 600;
}

.gl-landing-run-btn {
  margin-top: 10px;
  width: 100%;
  font-size: 11px;
  padding: 8px;
  border-radius: 8px;
  border: none;
  background: hsl(var(--success));
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
}

.gl-landing-taxonomy-inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.gl-landing-cat-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gl-landing-cat-btn {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid hsl(var(--border) / 0.4);
  background: hsl(var(--surface) / 0.4);
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.gl-landing-cat-btn:hover {
  border-color: hsl(var(--primary) / 0.35);
}

.gl-landing-cat-btn.active {
  background: hsl(var(--primary) / 0.1);
  border-color: var(--brand-blue);
}

.gl-landing-cat-btn-icon {
  font-size: 16px;
}

.gl-landing-cat-btn-label {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
}

.gl-landing-cat-btn-count {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: hsl(var(--muted) / 0.35);
  color: hsl(var(--muted-foreground));
}

.gl-landing-cat-btn.active .gl-landing-cat-btn-count {
  background: var(--brand-blue);
  color: var(--brand-black);
}

.gl-landing-cat-detail {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.45);
  background: hsl(var(--surface) / 0.25);
}

.gl-landing-cat-head {
  display: flex;
  gap: 14px;
  margin-bottom: 1.25rem;
}

.gl-landing-cat-icon {
  font-size: 2rem;
  line-height: 1;
}

.gl-landing-cat-head h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.gl-landing-cat-desc {
  margin: 0;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

.gl-landing-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gl-landing-cat-block h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  margin: 0 0 8px;
}

.gl-landing-tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gl-landing-tags li {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border) / 0.45);
  color: hsl(var(--muted-foreground));
}

.gl-landing-terms {
  margin: 0;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.gl-landing-methods h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.gl-landing-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: var(--brand-black);
  font-size: 11px;
  font-weight: 800;
}

.gl-landing-method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gl-landing-method-card {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid hsl(var(--border) / 0.4);
  background: hsl(var(--card) / 0.35);
}

.gl-landing-method-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.gl-landing-method-head strong {
  font-size: 13px;
  font-family: var(--font-display);
}

.gl-landing-chart-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.1);
  color: var(--brand-blue);
  white-space: nowrap;
}

.gl-landing-method-card p {
  margin: 0 0 8px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  line-height: 1.45;
}

.gl-landing-method-terms {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.gl-landing-method-terms li {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: hsl(var(--muted) / 0.25);
  color: hsl(var(--muted-foreground));
}

/* —— Ventas GameLab —— */

.hero-outcomes {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-outcomes li {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  padding-left: 1.25rem;
  position: relative;
}

.hero-outcomes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: hsl(var(--success));
  font-weight: 700;
}

.gl-trust-strip {
  padding: 1.25rem 0 2rem;
}

.gl-trust-inner {
  text-align: center;
}

.gl-trust-label {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  margin: 0 0 12px;
}

.gl-trust-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.gl-trust-tags span {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid hsl(var(--border) / 0.45);
  background: hsl(var(--surface) / 0.35);
  color: hsl(var(--foreground));
}

.gl-use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gl-use-case {
  padding: 1.35rem 1.25rem;
}

.gl-use-case-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 10px;
}

.gl-use-case h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  font-family: var(--font-display);
}

.gl-use-case p {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  margin: 0;
  line-height: 1.55;
}

.gl-viz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gl-viz-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.45);
  background: hsl(var(--surface) / 0.3);
  transition: border-color 0.15s, transform 0.15s;
}

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

.gl-viz-card span {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 6px;
}

.gl-viz-card strong {
  display: block;
  font-size: 13px;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.gl-viz-card p {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  margin: 0;
  line-height: 1.45;
}

.gl-taxonomy-cta {
  text-align: center;
  margin-top: 1.75rem;
}

.gl-taxonomy-cta p {
  margin: 10px 0 0;
  font-size: 13px;
  color: hsl(var(--muted-foreground));
}

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

.gl-cta-band {
  padding: 3rem 2rem;
}

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

.gl-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .gl-landing-layout-head,
  .gl-landing-layout-grid,
  .gl-landing-taxonomy-inner {
    grid-template-columns: 1fr;
  }

  .gl-landing-layout-head .gl-landing-step,
  .gl-landing-layout-head .gl-landing-step-center {
    text-align: left;
  }

  .gl-landing-cat-grid,
  .gl-landing-method-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .features-grid,
  .steps,
  .pricing-grid,
  .gl-use-cases-grid,
  .gl-viz-grid,
  .site-footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .hero-grid,
  .features-grid,
  .steps,
  .pricing-grid,
  .gl-use-cases-grid,
  .gl-viz-grid,
  .plan-compare-grid,
  .site-footer-links {
    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.25rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .cta-band {
    padding: 2.5rem 1.25rem;
  }
}
