/* Landing Terminales AI */

body.ta-page {
  background: var(--bg);
  --ta-nav-offset: 58px;
  --ta-promo-h: 0px;
}

body.mnav-page:has(.mnav-promo).ta-page {
  --ta-nav-offset: 104px;
  --ta-promo-h: 46px;
}

/* Hero con imagen de fondo */
.ta-page .hero-booh.ta-hero.fade-in,
.ta-page .hero-booh.ta-hero.fade-in.visible {
  opacity: 1;
  transform: none;
}

.ta-page .hero-booh.ta-hero {
  /* Proporción 1920×720 */
  --ta-hero-w: 1920;
  --ta-hero-h: 720;
  height: clamp(380px, calc(100vw * var(--ta-hero-h) / var(--ta-hero-w)), 720px);
  max-height: none;
  padding: calc(48px + var(--ta-promo-h)) 6% 28px;
}

.ta-page .hero-booh.ta-hero .hero-bg.base {
  object-position: center center;
}

.ta-page .hero-booh.ta-hero .hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(5, 8, 14, 0.94) 0%,
    rgba(5, 8, 14, 0.72) 34%,
    rgba(0, 40, 90, 0.18) 58%,
    transparent 82%
  );
}

.ta-page .hero-booh.ta-hero .hero-content.left h1 {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #e7f1ff !important;
  color: #e7f1ff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.ta-page .hero-booh.ta-hero .hero-tagline {
  color: rgba(231, 241, 255, 0.9);
}

.ta-hero__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5ae0a0;
  background: rgba(90, 224, 160, 0.12);
  border: 1px solid rgba(90, 224, 160, 0.35);
}

.ta-btn {
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ta-btn--primary {
  background: linear-gradient(45deg, #00c8ff, #d200ff);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.ta-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e7f1ff;
}

.ta-btn:hover {
  transform: translateY(-2px);
}

.ta-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.ta-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 20px;
}

.ta-section--alt {
  background: rgba(8, 14, 24, 0.45);
  max-width: none;
}

.ta-section--alt > .ta-section__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.ta-section-head {
  text-align: center;
  margin-bottom: 36px;
}

.ta-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #e7f1ff;
  margin: 0 0 12px;
}

.ta-section-head p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.ta-problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin-inline: auto;
}

.ta-problem-list li:nth-child(-n + 3) {
  grid-column: span 2;
}

.ta-problem-list li:nth-child(4) {
  grid-column: 2 / 4;
}

.ta-problem-list li:nth-child(5) {
  grid-column: 4 / 6;
}

.ta-problem-list li {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 80, 80, 0.06);
  border: 1px solid rgba(255, 120, 120, 0.2);
  color: rgba(231, 241, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.45;
}

.ta-problem-list li::before {
  content: "✕ ";
  color: #ff8a8a;
  font-weight: 700;
}

.ta-flow-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.ta-flow-bar__item {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(1, 191, 254, 0.12);
  border: 1px solid rgba(1, 191, 254, 0.3);
  color: #9fe8ff;
}

.ta-flow-bar__item--hub {
  background: linear-gradient(45deg, rgba(0, 200, 255, 0.2), rgba(210, 0, 255, 0.2));
  border-color: rgba(210, 0, 255, 0.4);
  color: #fff;
}

.ta-flow-bar__arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.9rem;
}

.ta-terminal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(1, 191, 254, 0.1);
}

.ta-terminal:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ta-terminal--has-visual {
  gap: 56px;
}

.ta-terminal--reverse .ta-terminal__content {
  order: 2;
}

.ta-terminal--reverse .ta-terminal__side {
  order: 1;
}

.ta-terminal__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fe8ff;
  background: rgba(1, 191, 254, 0.12);
  border: 1px solid rgba(1, 191, 254, 0.3);
}

.ta-terminal__content h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: #e7f1ff;
  margin: 0 0 10px;
}

.ta-terminal__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #5ae0a0;
  margin-bottom: 14px;
}

.ta-terminal__desc {
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 18px;
}

.ta-terminal__features {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.ta-terminal__features li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: rgba(231, 241, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ta-terminal__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5ae0a0;
  font-weight: 700;
}

.ta-terminal__ideal {
  font-size: 0.88rem;
  color: #9fe8ff;
  font-style: italic;
}

/* Visual del terminal (imagen de producto) */
.ta-terminal__visual {
  position: relative;
  margin: 0;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(1, 191, 254, 0.14), transparent 70%),
    linear-gradient(165deg, rgba(8, 16, 32, 0.95) 0%, rgba(4, 8, 18, 0.98) 100%);
  border: 1px solid rgba(1, 191, 254, 0.28);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.ta-terminal__visual-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(1, 191, 254, 0.22), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.ta-terminal__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.45));
}

.ta-flow-steps--inline {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ta-flow-steps--inline li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(1, 191, 254, 0.06);
  border: 1px solid rgba(1, 191, 254, 0.16);
}

.ta-flow-steps--inline strong {
  font-size: 0.82rem;
}

.ta-flow-steps--inline span {
  font-size: 0.8rem;
}

.ta-terminal__card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(6, 14, 28, 0.85);
  border: 1px solid rgba(1, 191, 254, 0.25);
}

.ta-terminal__card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(0, 175, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ta-terminal__card-icon img {
  width: 36px;
  height: 36px;
}

.ta-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ta-flow-steps li {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ta-flow-steps strong {
  display: block;
  color: #e7f1ff;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.ta-flow-steps span {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.ta-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.ta-channel {
  padding: 22px 20px;
  border-radius: 16px;
  background: rgba(8, 14, 24, 0.85);
  border: 1px solid rgba(1, 191, 254, 0.22);
  text-align: center;
}

.ta-channel__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fe8ff;
  margin-bottom: 8px;
}

.ta-channel p {
  margin: 0;
  color: rgba(231, 241, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ta-pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.ta-cta-band {
  text-align: center;
  padding: 64px 20px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.ta-cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #e7f1ff;
  margin: 0 0 12px;
}

.ta-cta-band p {
  color: var(--text-muted);
  margin: 0 0 24px;
  line-height: 1.55;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 860px) {
  .ta-page .hero-booh.ta-hero {
    height: auto;
    min-height: max(320px, calc(100vw * var(--ta-hero-h, 720) / var(--ta-hero-w, 1920)));
    max-height: none;
    padding: 24px 20px 36px;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .ta-page .hero-booh.ta-hero .hero-content.left {
    width: 100%;
    max-width: none;
  }

  .ta-page .hero-booh.ta-hero .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 8, 14, 0.94) 0%,
      rgba(5, 8, 14, 0.72) 38%,
      rgba(5, 8, 14, 0.42) 68%,
      rgba(0, 40, 90, 0.12) 100%
    );
  }

  .ta-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-sizing: border-box;
  }

  .ta-section {
    padding: 40px 16px;
  }

  .ta-section--alt > .ta-section__inner {
    padding: 0 4px;
  }

  .ta-problem-list {
    grid-template-columns: 1fr;
    max-width: none;
    width: 100%;
  }

  .ta-problem-list li:nth-child(-n + 5) {
    grid-column: auto;
  }

  .ta-terminal,
  .ta-terminal--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 56px;
    padding-bottom: 56px;
  }

  .ta-terminal--reverse .ta-terminal__content,
  .ta-terminal--reverse .ta-terminal__side {
    order: unset;
  }

  .ta-terminal--has-visual .ta-terminal__side {
    order: -1;
  }

  .ta-terminal__content,
  .ta-terminal__side {
    min-width: 0;
  }

  .ta-terminal__visual {
    padding: 12px;
    border-radius: 22px;
  }

  .ta-terminal__img {
    border-radius: 14px;
  }

  .ta-flow-steps--inline {
    grid-template-columns: 1fr;
  }

  .ta-terminal__card {
    padding: 18px 16px;
  }

  .ta-flow-bar__arrow {
    display: none;
  }

  .ta-channels {
    grid-template-columns: 1fr;
  }

  .ta-cta-band {
    padding: 48px 16px 64px;
  }
}
