/* ============================================
   RMS Landing — Pxsol Web design-system components
   navbar · pageHeader · features cards · benefits ·
   testimonial · FAQ · CTA bottom · footer
   ============================================ */

/* ── RMS product color override ──
   Scopes #7c13cd (purple) as the accent for this landing page.
   Also fixes gradient-warm and glow tokens that hardcode #1C1183 (navy). */
.landing {
  --blue: #7c13cd;
  --light-blue: #f0e5fb;
  --gradient-warm: linear-gradient(268.24deg, #DC0001 -39.21%, #7c13cd 87.23%);
  --shadow-glow-blue: 0 0 20px 0 rgba(124, 19, 205, 0.30);
  --tipography-square: 'Work Sans', sans-serif;
}

/* ── Letter-spacing reset ──
   landing-styles.css applies -0.05em globally; new Pxsol blocks
   want the proper Work Sans letter-spacing. */
.px-nav,
.px-pageHeader,
.px-features,
.px-whatIs,
.px-benefits,
.px-testimonial,
.px-cta,
.px-faq,
.px-footer { letter-spacing: 0; }

.px-nav *,
.px-pageHeader *,
.px-features *,
.px-whatIs *,
.px-benefits *,
.px-testimonial *,
.px-cta *,
.px-faq *,
.px-footer * { letter-spacing: inherit; }


/* =============== Buttons (.px-btn) =============== */
.px-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 50px;
  background-color: var(--white);
  color: var(--dark-gray);
  font-family: var(--typography);
  font-size: 15px;
  font-weight: 500;
  line-height: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--gradient-border-wb) border-box;
  cursor: pointer;
  transition: background 240ms ease, box-shadow 240ms ease, color 240ms ease, transform 200ms ease;
  white-space: nowrap;
}
.px-btn > span { display: inline-flex; align-items: center; gap: 8px; }
.px-btn:hover {
  background: var(--gradient-warm);
  color: var(--white);
  box-shadow: var(--shadow-glow-blue);
}

.px-btn.--primary {
  background: var(--black-pxsol);
  color: var(--white);
  border: 1px solid transparent;
}
.px-btn.--primary:hover {
  background:
    radial-gradient(circle at center,
      rgba(180, 0, 0, 0.9) 0%,
      rgba(120, 0, 0, 0.9) 40%,
      rgba(40, 0, 60, 0.9) 75%,
      rgba(5, 0, 30, 1) 100%),
    linear-gradient(90deg,
      rgba(0, 0, 50, 1) 0%,
      rgba(120, 0, 0, 0.4) 50%,
      rgba(0, 0, 50, 1) 100%);
  background-blend-mode: overlay;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
  color: var(--white);
}
.px-btn.--secondary {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.0));
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.px-btn.--secondary:hover {
  background: var(--gradient-warm);
  border-color: transparent;
}


/* =============== Navbar (.px-nav) ================ */
.px-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-opacity);
  font-family: var(--typography);
}
.px-nav__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 32px;
}
.px-nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--dark-gray);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.px-nav__brand-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-2px);
}
.px-nav__brand-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--light-gray);
  padding-left: 10px;
  border-left: 1px solid var(--gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.px-nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.px-nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-gray);
  text-decoration: none;
  transition: color 160ms ease;
}
.px-nav__links a:hover { color: var(--red); }
.px-nav__actions {
  display: flex; align-items: center; gap: 12px;
  margin-left: auto;
}
.px-nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-gray);
  text-decoration: none;
  padding: 8px 12px;
}
.px-nav__cta {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
}

@media (max-width: 991px) {
  .px-nav__links { display: none; }
}


/* =============== Page Header (.px-pageHeader) ==== */
.px-pageHeader {
  background-color: var(--white);
  padding: 88px 32px 96px;
}
.px-pageHeader__inner {
  max-width: 1320px;
  margin: 0 auto;
}
.px-pageHeader__top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: flex-start;
}

/* 1 — Volanta pill */
.px-pageHeader__epigraph {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 18px 4px 4px;
  min-height: 40px;
  border-radius: var(--radius-pill);
  background-color: color-mix(in oklch, var(--product-color, var(--blue)) 10%, var(--white));
  border: 1px solid color-mix(in oklch, var(--product-color, var(--blue)) 14%, transparent);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 28px;
}
.px-pageHeader__epigraphIcon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--product-color, var(--blue));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

/* 2 — Title */
.px-pageHeader__title {
  font-family: var(--typography);
  font-size: 56px;
  line-height: 60px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dark-gray);
  margin: 0 0 20px;
  text-wrap: balance;
}
.px-pageHeader__title em {
  font-style: italic;
  font-family: var(--tipography-square);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--blue);
  font-size: 1.05em;
  line-height: 1;
  padding: 0 4px;
}

/* 3 — Subtitle (bajada) */
.px-pageHeader__subtitle {
  font-size: 28px;
  line-height: 34px;
  font-weight: 400;
  color: var(--dark-gray2);
  margin: 0 0 32px;
  max-width: 28ch;
}

/* 5 — Description right */
.px-pageHeader__description {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--dark-gray);
  padding-top: 76px;
}
.px-pageHeader__description p + p { margin-top: 16px; }
.px-pageHeader__description strong { color: var(--dark-gray); font-weight: 600; }

/* 4 — CTAs row */
.px-pageHeader__ctas {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-bottom: 8px;
}

/* social proof row (sumando hoteles) */
.px-pageHeader__proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--light-gray);
}
.px-pageHeader__proof strong { color: var(--dark-gray); font-weight: 600; }
.px-pageHeader__proof-divider {
  display: inline-block;
  width: 1px; height: 18px;
  background: var(--gray);
}
.px-pageHeader__proof-stars { display: inline-flex; gap: 2px; color: #f1c200; font-size: 14px; }

/* 6 — Media full-width (carries the existing animated hero canvas) */
.px-pageHeader__media {
  margin-top: 64px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-signature);
  background: var(--white);
  border: 1px solid var(--gray-opacity);
}

@media (max-width: 991px) {
  .px-pageHeader { padding: 56px 24px 64px; }
  .px-pageHeader__top { grid-template-columns: 1fr; gap: 32px; }
  .px-pageHeader__title { font-size: 38px; line-height: 42px; }
  .px-pageHeader__subtitle { font-size: 20px; line-height: 26px; }
  .px-pageHeader__description { padding-top: 0; font-size: 16px; line-height: 24px; }
  .px-pageHeader__media { margin-top: 40px; border-radius: 16px; }
}

/* ====================================================================
   El Problema — Sin RMS vs Con RMS comparison
   ==================================================================== */

/* Shared atmosphere wrapper — hero + problem share one gradient field */
.px-hero-problem-wrap {
  position: relative;
  background:
    /* Primary bloom — centred around the device mock */
    radial-gradient(ellipse 1700px 860px at 50% 680px,
      color-mix(in oklch, var(--blue) 9%, transparent),
      transparent 58%),
    /* Secondary bloom — extends into El Problema */
    radial-gradient(ellipse 1300px 620px at 52% 1400px,
      color-mix(in oklch, var(--blue) 6%, transparent),
      transparent 60%),
    /* Left accent */
    radial-gradient(ellipse 700px 500px at 6% 520px,
      color-mix(in oklch, var(--blue) 5%, transparent),
      transparent 65%),
    var(--white);
}
/* Hero uses the wrapper background — its own white would cover the glow */
.px-hero-problem-wrap .px-pageHeader { background: transparent; }
/* Problem section is also transparent — wrapper atmosphere shows through */
.px-hero-problem-wrap .px-problem    { background: transparent; }

.px-problem {
  padding: 96px 32px;
  letter-spacing: 0;
  position: relative;
  isolation: isolate;
}
.px-problem * { letter-spacing: inherit; }

.px-problem__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 72px;
  align-items: center;
}

/* Left copy */
.px-problem__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
}
.px-problem__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  min-height: 36px;
  border-radius: var(--radius-pill);
  background-color: color-mix(in oklch, var(--blue) 10%, var(--white));
  border: 1px solid color-mix(in oklch, var(--blue) 14%, transparent);
  font-family: var(--typography);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-gray);
  align-self: flex-start;
}
.px-problem__title {
  font-family: var(--typography);
  font-size: 56px;
  line-height: 1.04;
  font-weight: 600;
  color: var(--dark-gray);
  margin: 8px 0 0;
  text-wrap: balance;
}
.px-problem__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
  padding: 0 0.04em;
}
.px-problem__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--light-gray);
  margin: 0;
  max-width: 52ch;
}

/* Right compare cards */
.px-problem__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}
.px-problem__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 28px 32px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--gray-opacity);
  font-family: var(--typography);
  min-width: 0;
}
.px-problem__card--neg {
  border-color: color-mix(in oklch, var(--red) 26%, transparent);
  background: color-mix(in oklch, var(--red) 2.5%, var(--white));
}
.px-problem__card--pos {
  border-color: color-mix(in oklch, var(--green) 26%, transparent);
  background: color-mix(in oklch, var(--green) 2.5%, var(--white));
}
.px-problem__cardHead {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.px-problem__card--neg .px-problem__cardHead { color: var(--red); }
.px-problem__card--pos .px-problem__cardHead { color: var(--green); }
.px-problem__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.px-problem__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 16px;
  line-height: 1.4;
  color: var(--dark-gray);
}
.px-problem__mark {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.px-problem__mark--x     { color: var(--red); }
.px-problem__mark--check { color: var(--green); }

/* VS divider */
.px-problem__vs {
  align-self: center;
  width: 44px; height: 44px;
  margin: 0 -14px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-opacity);
  display: grid;
  place-items: center;
  font-family: var(--typography);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-gray);
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,23,0.06);
}

/* Responsive */
@media (max-width: 1100px) {
  .px-problem__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  .px-problem { padding: 64px 20px; }
  .px-problem__title { font-size: 36px; }
  .px-problem__compare { grid-template-columns: 1fr; gap: 16px; }
  .px-problem__vs { justify-self: center; margin: -8px 0; }
}

/* ====================================================================
   Social proof — logo carousel (px-clients)
   ==================================================================== */
.px-clients {
  width: 100%;
  padding: 32px 0 56px;
  background: transparent;
  letter-spacing: 0;
}

.px-hero-problem-wrap .px-clients { background: transparent; }

.px-clients__inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  align-items: center;
  gap: 36px;
}

.px-clients__hero {
  display: flex;
  align-items: center;
  gap: 18px;
}

.px-clients__avatars {
  width: 130px;
  height: 86px;
  object-fit: cover;
  border-radius: 999px;
  display: block;
  flex-shrink: 0;
}

.px-clients__copy {
  font-family: var(--typography);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--text);
}

.px-clients__copy .em {
  display: block;
  background: linear-gradient(90deg, #ff5b6e 0%, #ff7a59 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

/* Marquee track */
.px-clients__track {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.px-clients__rail {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: px-clients-scroll 36s linear infinite;
}

.px-clients__track:hover .px-clients__rail {
  animation-play-state: paused;
}

.px-clients__logo {
  flex-shrink: 0;
  height: 60px;
  display: grid;
  place-items: center;
}

.px-clients__logo img {
  height: 100%;
  max-height: 60px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.72);
  transition: filter 220ms ease;
}

.px-clients__logo:hover img {
  filter: grayscale(0) opacity(1);
}

@keyframes px-clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
  .px-clients__rail { animation: none; }
}

@media (max-width: 1100px) {
  .px-clients__inner { grid-template-columns: 1fr; gap: 24px; }
  .px-clients__hero { justify-content: flex-start; }
  .px-clients__logo { height: 48px; }
  .px-clients__logo img { max-height: 48px; max-width: 160px; }
  .px-clients__rail { gap: 48px; }
}

@media (max-width: 720px) {
  .px-clients { padding: 24px 0 48px; }
  .px-clients__inner { padding: 0 20px; }
  .px-clients__copy { font-size: 16px; }
}

/* ====================================================================
   Hero variants — device + editorial
   ==================================================================== */

/* ── Variant A · Wide device below copy split ───────────────────────── */
.px-pageHeader--device { padding-bottom: 120px; }
.px-pageHeader--device .px-pageHeader__top {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 72px;
}
.px-pageHeader--device .px-pageHeader__title { font-size: 60px; line-height: 1.02; }
.px-pageHeader--device .px-pageHeader__subtitle {
  font-size: 22px;
  line-height: 1.4;
}
.px-pageHeader--device .px-pageHeader__description { padding-top: 76px; }

/* Wide device full-bleed inside the inner */
.px-hero-wide {
  position: relative;
  width: 100%;
}
/* px-hero-wide::before intentionally removed —
   the .px-hero-problem-wrap handles the unified gradient atmosphere */
.px-hero-wide__device {
  position: relative;
  width: 100%;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid var(--gray-opacity);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 50px 120px -40px rgba(124, 19, 205, 0.28),
    0 100px 240px -80px rgba(0, 0, 23, 0.38);
  overflow: hidden;
  transform: translateY(28px) scale(0.92);
  transform-origin: 50% 50%;
  will-change: transform, border-radius;
}
.px-hero-wide__chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  background: oklch(0.985 0.002 293);
  border-bottom: 1px solid var(--gray-opacity);
}
.px-hero-wide__dots { display: inline-flex; gap: 7px; }
.px-hero-wide__dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: oklch(0.85 0.018 293);
}
.px-hero-wide__dots span:nth-child(1) { background: #ff5f57; }
.px-hero-wide__dots span:nth-child(2) { background: #febc2e; }
.px-hero-wide__dots span:nth-child(3) { background: #28c840; }
.px-hero-wide__url {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--light-gray);
  font-feature-settings: 'tnum';
}
.px-hero-wide__lock { font-size: 10px; color: var(--green); }
.px-hero-wide__live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: color-mix(in oklch, var(--green) 8%, transparent);
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.px-hero-wide__live .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: px-hero-pulse 1.6s ease-in-out infinite;
}
@keyframes px-hero-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1); }
}
.px-hero-wide__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--white);
}

/* ─── Hub mock (sidebar + header + content) ─────────────────────────── */
/* All oklch hues use 293 (hue of #7c13cd) */
.px-hub-mock {
  position: absolute; inset: 0;
  display: flex;
  background: oklch(0.985 0.002 293);
  font-family: var(--typography);
  letter-spacing: 0;
}
.px-hub-mock__rail {
  width: 72px;
  flex-shrink: 0;
  background: oklch(0.145 0.016 293);
  color: oklch(0.70 0.010 293);
  display: flex;
  flex-direction: column;
  border-right: 1px solid oklch(0.220 0.016 293);
}
.px-hub-mock__rail-logo {
  height: 52px;
  flex-shrink: 0;
  display: grid; place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid oklch(0.220 0.016 293);
}
.px-hub-mock__rail-items {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  flex: 1;
  gap: 2px;
  overflow: hidden;
}
.px-hub-mock__rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 4px;
  position: relative;
  cursor: default;
  flex-shrink: 0;
}
.px-hub-mock__rail-item.is-active { color: var(--white); }
.px-hub-mock__rail-item.is-active::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--product-color, var(--blue));
  border-radius: 0 2px 2px 0;
}
.px-hub-mock__rail-icon { font-size: 16px; line-height: 1; }
.px-hub-mock__rail-label { font-size: 9.5px; font-weight: 500; }
.px-hub-mock__rail-foot {
  flex-shrink: 0;
  border-top: 1px solid oklch(0.220 0.016 293);
  padding: 10px 0;
  display: flex;
  justify-content: center;
}
.px-hub-mock__rail-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--product-color, var(--blue));
  color: var(--white);
  display: grid; place-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.px-hub-mock__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.px-hub-mock__header {
  flex-shrink: 0;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-opacity);
}
.px-hub-mock__hotel { display: flex; align-items: center; gap: 10px; }
.px-hub-mock__hotel-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: oklch(0.92 0.012 293);
  color: oklch(0.30 0.060 293);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.px-hub-mock__hotel-meta { display: flex; flex-direction: column; line-height: 1.15; }
.px-hub-mock__hotel-name { font-size: 13px; font-weight: 600; color: var(--dark-gray); }
.px-hub-mock__hotel-sub { font-size: 11px; color: var(--light-gray); }
.px-hub-mock__plan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 100px;
  background: color-mix(in oklch, var(--product-color, var(--blue)) 10%, var(--white));
  color: var(--product-color, var(--blue));
  border: 1px solid color-mix(in oklch, var(--product-color, var(--blue)) 18%, transparent);
  white-space: nowrap;
}
.px-hub-mock__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--light-gray);
  white-space: nowrap;
}
.px-hub-mock__crumbs .sep { color: var(--gray); }
.px-hub-mock__crumbs .current { color: var(--dark-gray); font-weight: 600; }
.px-hub-mock__content {
  flex: 1;
  min-height: 0;
  position: relative;
  padding: 24px 28px;
  background: oklch(0.985 0.002 293);
}
.px-hub-mock__content .canvas {
  position: absolute !important;
  top: 24px !important; left: 28px !important;
  right: 28px !important; bottom: 24px !important;
  width: auto !important; height: auto !important;
  border-radius: 14px !important;
  border: 1px solid var(--gray-opacity) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  aspect-ratio: auto !important;
  background: var(--white) !important;
}
.px-hub-mock__content .agent-canvas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-rows: auto auto;
  column-gap: 28px;
  row-gap: 14px;
  padding: 60px 36px 40px;
  align-content: center;
}
.px-hub-mock__content .canvas-corner { top: 18px; left: 22px; font-size: 11px; }
.px-hub-mock__content .agent-trigger {
  grid-column: 1; grid-row: 1;
  padding: 14px 16px; gap: 12px; border-radius: 12px; min-width: 0;
}
.px-hub-mock__content .agent-trigger-icon { width: 36px; height: 36px; border-radius: 9px; font-size: 15px; }
.px-hub-mock__content .agent-trigger-text { font-size: 13px; line-height: 1.45; min-width: 0; }
.px-hub-mock__content .agent-trigger-time { font-size: 10.5px; white-space: nowrap; }
.px-hub-mock__content .agent-think { grid-column: 1; grid-row: 2; font-size: 12px; padding: 6px 0 0 6px; align-self: start; }
.px-hub-mock__content .agent-think-dots span { width: 5px; height: 5px; }
.px-hub-mock__content .agent-suggest {
  grid-column: 2; grid-row: 1 / span 2; align-self: start; min-width: 0;
  padding: 18px 20px; gap: 12px; border-radius: 14px;
  box-shadow: 0 6px 18px -8px rgba(0,0,23,0.12);
}
.px-hub-mock__content .agent-suggest-head { gap: 10px; flex-wrap: wrap; }
.px-hub-mock__content .agent-suggest-eyebrow { font-size: 10px; }
.px-hub-mock__content .agent-conf { font-size: 10px; padding: 3px 9px; white-space: nowrap; }
.px-hub-mock__content .agent-rate-flip { flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.px-hub-mock__content .agent-rate-old { font-size: 15px; white-space: nowrap; }
.px-hub-mock__content .agent-rate-new { font-size: 24px; line-height: 1; white-space: nowrap; }
.px-hub-mock__content .agent-rate-pct { font-size: 11px; padding: 3px 8px; white-space: nowrap; }
.px-hub-mock__content .agent-rate-arrow { font-size: 15px; }
.px-hub-mock__content .agent-reason { font-size: 12px; line-height: 1.5; }
.px-hub-mock__content .agent-suggest.show-reason .agent-reason { max-height: 160px; }
.px-hub-mock__content .agent-applied { font-size: 11.5px; padding-top: 4px; }

@media (max-width: 1100px) {
  .px-pageHeader--device .px-pageHeader__top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }
  .px-pageHeader--device .px-pageHeader__description { padding-top: 0; }
  .px-hero-wide__screen { aspect-ratio: 16 / 9; }
}
@media (max-width: 991px) {
  .px-pageHeader--device .px-pageHeader__title { font-size: 40px; }
  .px-pageHeader--device .px-pageHeader__subtitle { font-size: 18px; }
  .px-hero-wide__screen { aspect-ratio: 4 / 3; }
  .px-hero-wide__chrome { padding: 10px 14px; }
  .px-hero-wide__url { font-size: 11px; }
}
@media (max-width: 660px) {
  .px-pageHeader--device { padding-bottom: 60px; }
  .px-hero-wide__screen { aspect-ratio: 4 / 3; }
  .px-hub-mock__rail { width: 52px; }
  .px-hub-mock__rail-label { display: none; }
  .px-hub-mock__rail-logo { font-size: 11px; height: 44px; }
  .px-hub-mock__header { gap: 8px; padding: 0 14px; height: 44px; }
  .px-hub-mock__crumbs { display: none; }
}


/* =============== Section frame =================== */
.px-section {
  padding: 96px 32px;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}
.px-section.--dark {
  max-width: none;
  padding-left: 0; padding-right: 0;
  background: var(--black-pxsol);
  color: var(--white);
}
.px-section.--dark .px-section__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 32px;
}
.px-section__head {
  text-align: left;
  margin-bottom: 56px;
  max-width: 720px;
}
.px-section__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.px-section__eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px; height: 1px; background: var(--blue);
}
.px-section__title {
  font-size: 44px;
  line-height: 50px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dark-gray);
  margin: 0 0 16px;
  text-wrap: balance;
}
.px-section.--dark .px-section__title { color: var(--white); }
.px-section__title em {
  font-style: italic;
  font-family: var(--tipography-square);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--blue);
  font-size: 1.05em;
  padding: 0 4px;
}
.px-section.--dark .px-section__title em { color: rgba(255,255,255,0.6); }
.px-section__lede {
  font-size: 18px;
  line-height: 28px;
  color: var(--dark-gray2);
  margin: 0;
  max-width: 56ch;
}
.px-section.--dark .px-section__lede { color: rgba(247,247,247,0.78); }

@media (max-width: 768px) {
  .px-section { padding: 64px 24px; }
  .px-section.--dark .px-section__inner { padding: 64px 24px; }
  .px-section__title { font-size: 30px; line-height: 36px; }
  .px-section__lede { font-size: 16px; line-height: 24px; }
}


/* =============== Cards (.px-card) ================ */
.px-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    var(--gradient-border-wb) border-box;
  box-shadow: var(--shadow-signature);
  transition: transform 280ms cubic-bezier(0.22,1,0.36,1), box-shadow 280ms ease;
}
.px-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(1, 14, 61, 0.18);
}
.px-card__num {
  font-family: var(--typography);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.px-card__num::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--blue);
  display: inline-block;
}
.px-card__title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  color: var(--dark-gray);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.px-card__desc {
  font-size: 15px;
  line-height: 24px;
  color: var(--dark-gray2);
  margin: 0;
}


/* =============== Features grid =================== */
.px-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .px-features__grid { grid-template-columns: 1fr; }
}


/* =============== "What is RMS" definition ======== */
.px-whatIs {
  background:
    linear-gradient(180deg, var(--white) 0%, color-mix(in oklch, #7c13cd 7%, white) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  margin-top: 24px;
}
.px-whatIs__eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.px-whatIs__title {
  font-size: 32px;
  line-height: 38px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dark-gray);
  margin: 0;
  text-wrap: balance;
}
.px-whatIs__body {
  font-size: 17px;
  line-height: 28px;
  color: var(--dark-gray);
}
.px-whatIs__body p + p { margin-top: 16px; }
.px-whatIs__body strong { font-weight: 600; }

@media (max-width: 991px) {
  .px-whatIs {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 24px;
  }
  .px-whatIs__title { font-size: 26px; line-height: 32px; }
}


/* =============== Benefits grid =================== */
.px-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.px-benefit {
  background: var(--white);
  border: 1px solid var(--gray-opacity);
  border-radius: var(--radius-xl);
  padding: 28px 28px 32px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.px-benefit:hover {
  border-color: rgba(124, 19, 205, 0.40);
  transform: translateY(-2px);
}
.px-benefit__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--light-blue);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
}
.px-benefit__title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--dark-gray);
  margin: 0 0 8px;
}
.px-benefit__desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--dark-gray2);
  margin: 0;
}

@media (max-width: 991px) {
  .px-benefits__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .px-benefits__grid { grid-template-columns: 1fr; }
}


/* =============== Testimonial (.px-testimonial) === */
.px-testimonial {
  background: var(--black-pxsol);
  border-radius: var(--radius-xl);
  color: var(--white);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.px-testimonial::before {
  content: '"';
  position: absolute;
  top: -40px; right: 32px;
  font-family: var(--tipography-square);
  font-size: 320px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.px-testimonial__hotel {
  display: flex; flex-direction: column; gap: 6px;
}
.px-testimonial__hotelName {
  font-size: 24px; font-weight: 600;
}
.px-testimonial__hotelLoc {
  font-size: 14px;
  color: rgba(247,247,247,0.65);
}
.px-testimonial__stars {
  display: inline-flex; gap: 3px;
  color: #f1c200;
  margin-top: 12px;
}
.px-testimonial__quote {
  font-size: 24px;
  line-height: 36px;
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  font-style: italic;
}
.px-testimonial__person {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(247,247,247,0.7);
}
.px-testimonial__person strong { color: var(--white); font-weight: 600; }

@media (max-width: 991px) {
  .px-testimonial {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 24px;
  }
  .px-testimonial__quote { font-size: 18px; line-height: 28px; }
}


/* =============== FAQ accordion =================== */
.px-faq__list {
  border-top: 1px solid var(--gray-opacity);
}
.px-faq__item {
  border-bottom: 1px solid var(--gray-opacity);
}
.px-faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 4px;
  background: transparent;
  border: none;
  font-family: var(--typography);
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  color: var(--dark-gray);
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: color 200ms ease;
}
.px-faq__btn:hover { color: var(--blue); }
.px-faq__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gray-opacity);
  display: grid; place-items: center;
  color: var(--dark-gray);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform 240ms cubic-bezier(0.22,1,0.36,1), background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.px-faq__item.is-open .px-faq__icon {
  transform: rotate(45deg);
  background: var(--black-pxsol);
  color: var(--white);
  border-color: var(--black-pxsol);
}
.px-faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms cubic-bezier(0.22,1,0.36,1);
}
.px-faq__item.is-open .px-faq__body { max-height: 320px; }
.px-faq__bodyInner {
  padding: 0 4px 32px;
  font-size: 16px;
  line-height: 26px;
  color: var(--dark-gray2);
  max-width: 78ch;
}


/* =============== Big bottom CTA (.px-cta) ======== */
.px-cta {
  margin: 0 auto;
  max-width: 1320px;
  padding: 0 32px 128px;
}
.px-cta__card {
  background:
    radial-gradient(circle at 25% 0%, rgba(124, 19, 205, 0.85) 0%, transparent 60%),
    linear-gradient(135deg, #060310 0%, oklch(0.09 0.04 293) 100%);
  border-radius: var(--radius-xl);
  padding: 88px 64px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.px-cta__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 100%, rgba(192, 0, 1, 0.30) 0%, transparent 50%);
  pointer-events: none;
}
.px-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
  position: relative; z-index: 1;
}
.px-cta__title {
  font-size: 52px;
  line-height: 58px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 auto 32px;
  max-width: 18ch;
  text-wrap: balance;
  position: relative; z-index: 1;
}
.px-cta__title em {
  font-style: italic;
  font-family: var(--tipography-square);
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255,255,255,0.85);
  padding: 0 4px;
  font-size: 1.05em;
}
.px-cta__sub {
  font-size: 17px;
  line-height: 26px;
  color: rgba(247,247,247,0.82);
  margin: 0 auto 40px;
  max-width: 52ch;
  position: relative; z-index: 1;
}
.px-cta__btns {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative; z-index: 1;
}
@media (max-width: 768px) {
  .px-cta { padding: 0 24px 80px; }
  .px-cta__card { padding: 56px 28px; }
  .px-cta__title { font-size: 30px; line-height: 36px; }
}


/* =============== Footer (.px-footer) ============= */
.px-footer {
  background: var(--black-pxsol);
  color: rgba(247,247,247,0.78);
  padding: 80px 32px 32px;
}
.px-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
}
.px-footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.px-footer__brand {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 320px;
}
.px-footer__brandMark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}
.px-footer__brandMark .dot {
  width: 9px; height: 9px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-2px);
}
.px-footer__brandTag {
  font-size: 14px;
  line-height: 22px;
  color: rgba(247,247,247,0.62);
}
.px-footer__locale {
  display: flex; gap: 10px;
  margin-top: 12px;
}
.px-footer__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--white);
}
.px-footer__col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 20px;
}
.px-footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.px-footer__col a {
  font-size: 14px;
  color: rgba(247,247,247,0.7);
  text-decoration: none;
  transition: color 160ms ease;
}
.px-footer__col a:hover { color: var(--white); }
.px-footer__bottom {
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(247,247,247,0.5);
}
.px-footer__bottom a { color: rgba(247,247,247,0.7); text-decoration: none; margin-left: 16px; }
.px-footer__bottom a:hover { color: var(--white); }

@media (max-width: 991px) {
  .px-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 575px) {
  .px-footer__top { grid-template-columns: 1fr; }
}


/* =============== Stats strip under hero ========== */
.px-stripStats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--gray-opacity);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-signature);
}
.px-stripStat {
  padding: 24px 28px 28px;
  border-right: 1px solid var(--gray-opacity);
  display: flex; flex-direction: column; gap: 6px;
  min-height: 130px;
}
.px-stripStat:last-child { border-right: 0; }
.px-stripStat__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
}
.px-stripStat__value {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dark-gray);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.px-stripStat__value .unit {
  font-size: 14px; color: var(--light-gray); font-weight: 500; letter-spacing: 0;
}
.px-stripStat__delta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}
.px-stripStat__delta.--neg { color: var(--red); }

@media (max-width: 768px) {
  .px-stripStats { grid-template-columns: 1fr 1fr; }
  .px-stripStat { border-right: 0; border-bottom: 1px solid var(--gray-opacity); }
  .px-stripStat:nth-child(odd) { border-right: 1px solid var(--gray-opacity); }
  .px-stripStat:nth-last-child(-n+2) { border-bottom: 0; }
}


/* =============== Navbar logo image =============== */
.px-nav__logo {
  height: 38px;
  width: auto;
  display: block;
}

/* =============== Footer logo image =============== */
.px-footer__logo {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}


/* =============== Sticky Features (.sf-*) ========= */

.sf-section,
.sf-section * { letter-spacing: 0; }

/* Intro heading wrapper */
.sf-intro-wrap {
  background: var(--white);
  padding: 96px 32px 56px;
}
.sf-intro-inner {
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}
.sf-intro-title {
  font-family: var(--typography);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark-gray);
  margin: 16px 0 0;
}
.sf-intro-title em {
  font-style: italic;
  font-family: var(--tipography-square);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--blue);
  font-size: 1.05em;
  padding: 0 4px;
}

/* Two-column grid */
.sf-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  background: var(--white);
  max-width: 1320px;
  margin: 0 auto;
}

.sf-trigger {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem);
  position: relative;
}
.sf-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: clamp(1.25rem, 4vw, 4rem);
  right: clamp(1.25rem, 4vw, 4rem);
  height: 1px;
  background: var(--gray-opacity);
}
.sf-trigger:last-child::after { display: none; }

.sf-num {
  font-family: var(--typography);
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(124, 19, 205, 0.07);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.sf-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(124, 19, 205, 0.07);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 16px;
}
.sf-title {
  font-family: var(--typography);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark-gray);
  margin-bottom: 16px;
}
.sf-title em { font-style: normal; color: var(--blue); }
.sf-desc {
  font-size: 16px;
  color: var(--light-gray);
  line-height: 1.7;
  max-width: 42ch;
}

.sf-trigger-cta {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.sf-trigger.active .sf-trigger-cta {
  opacity: 1;
  transform: none;
}

/* Right sticky panel */
.sf-right {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.sf-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
}

/* Screen transitions */
.sf-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 600ms cubic-bezier(0.25, 1, 0.5, 1),
              transform 600ms cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}
.sf-screen.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}

/* Card shell */
.sf-screen-card {
  background: #ffffff;
  border: 1px solid var(--gray-opacity);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-signature);
  overflow: hidden;
}
.sf-screen-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sf-screen-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-gray);
}

/* Badges */
.sf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.sf-badge--live { color: #217a4a; background: rgba(0, 80, 40, 0.10); }
.sf-badge--live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: sf-pulse 2s ease-in-out infinite;
}
@keyframes sf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.sf-badge--auto { color: var(--blue); background: rgba(124, 19, 205, 0.08); }
.sf-badge--cal  { color: #9e6010; background: rgba(200, 130, 0, 0.12); }

/* ── Screen 0: Compset bars ── */
.sf-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.sf-bar-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--light-gray);
  width: 92px;
  flex-shrink: 0;
}
.sf-bar-name--mine { color: var(--blue); font-weight: 700; }
.sf-bar-wrap {
  flex: 1;
  height: 7px;
  background: #e8e8ef;
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.sf-bar-inner {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--gray);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.sf-bar-inner--mine { background: var(--blue); }
.sf-screen.active .sf-bar-inner { transform: scaleX(1); }
.sf-bar-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-gray);
  font-variant-numeric: tabular-nums;
  width: 68px;
  text-align: right;
}
.sf-bar-price--mine { color: var(--blue); }

.sf-suggestion {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(124, 19, 205, 0.06);
  border: 1px solid rgba(124, 19, 205, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.sf-sug-icon {
  width: 30px; height: 30px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sf-sug-label { font-size: 11px; color: var(--light-gray); font-weight: 500; }
.sf-sug-val   { font-size: 14px; color: var(--dark-gray); font-weight: 700; }
.sf-sug-val span { color: #217a4a; }

/* ── Screen 1: Calendar ── */
.sf-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 16px;
}
.cd {
  aspect-ratio: 1;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  cursor: default;
}
.sf-screen.active .cd { animation: cal-pop .4s cubic-bezier(0.25, 1, 0.5, 1) both; }
@keyframes cal-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.cd-h {
  color: var(--light-gray);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  aspect-ratio: unset;
  padding-block: 3px;
  animation: none !important;
}
.cd-e  { background: transparent; animation: none !important; }
.cd-lo { background: rgba(0, 80, 40, 0.12); color: #1a6e40; }
.cd-mi { background: rgba(200, 130, 0, 0.14); color: #9e6010; }
.cd-hi { background: rgba(124, 19, 205, 0.10); color: var(--blue); }
.cd-pk { background: var(--blue); color: #F7F7F7; }
.cd-td { background: var(--red); color: #F7F7F7; }

.sf-cal-info {
  background: #f5f4fb;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sf-cal-info-l { font-size: 12px; color: var(--light-gray); }
.sf-cal-info-r { font-size: 16px; font-weight: 800; color: var(--dark-gray); }
.sf-cal-info-peak { font-size: 12px; font-weight: 600; color: #217a4a; }

/* ── Screen 2: Rules ── */
.sf-rules { display: flex; flex-direction: column; gap: 10px; }
.sf-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f4fb;
  border: 1px solid var(--gray-opacity);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transform: translateX(-16px);
  opacity: 0;
  transition: transform 500ms cubic-bezier(0.25, 1, 0.5, 1),
              opacity 500ms cubic-bezier(0.25, 1, 0.5, 1);
}
.sf-screen.active .sf-rule { transform: none; opacity: 1; }
.sf-screen.active .sf-rule:nth-child(2) { transition-delay: 100ms; }
.sf-screen.active .sf-rule:nth-child(3) { transition-delay: 200ms; }

.sf-rule-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sf-rule-dot--g { background: var(--green); }
.sf-rule-dot--b { background: var(--blue); }
.sf-rule-dot--a { background: #c98020; }

.sf-rule-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-gray);
  line-height: 1.4;
}
.sf-rule-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.sf-rule-tag--on  { color: #217a4a; background: rgba(0, 80, 40, 0.10); }
.sf-rule-tag--off { color: var(--light-gray); background: #e8e8ef; }

.sf-rules-footer {
  margin-top: 20px;
  background: rgba(124, 19, 205, 0.06);
  border: 1px solid rgba(124, 19, 205, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sf-rules-footer-icon {
  width: 30px; height: 30px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sf-rules-footer-text { font-size: 13px; color: var(--dark-gray); font-weight: 500; }
.sf-rules-footer-text strong { color: var(--blue); }

/* Progress dots */
.sf-dots {
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sf-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray);
  transition: background 300ms ease, transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
}
.sf-dot.active { background: var(--blue); transform: scale(1.5); }

/* Mobile fallback */
.sf-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 5vw, 40px);
  max-width: 1320px;
  margin: 0 auto;
}
.sf-mobile-card {
  background: #ffffff;
  border: 1px solid var(--gray-opacity);
  border-radius: 20px;
  padding: 28px;
}

@media (max-width: 1100px) {
  .sf-section { display: block; }
  .sf-right    { display: none; }
  .sf-mobile   { display: flex; }
}
/* ── Calendar cursor ── */
#sf-cal-grid-wrap { position: relative; }
.sf-cal-cursor {
  position: absolute;
  border: 2px solid var(--blue);
  border-radius: 9px;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  transition: left 480ms cubic-bezier(0.25, 1, 0.5, 1),
              top  480ms cubic-bezier(0.25, 1, 0.5, 1),
              width  300ms ease,
              height 300ms ease,
              opacity 250ms ease;
}
.sf-cal-cursor.sf-cal-cursor--visible { opacity: 1; }
.sf-cal-cursor-lbl {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #F7F7F7;
  font-family: var(--typography);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .sf-screen, .sf-bar-inner, .sf-rule, .sf-trigger-cta {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .sf-cal-cursor { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════════
   Agent IA Dark Hero Section — ClickUp Brain Max style
   ══════════════════════════════════════════════════════════════════ */

.agd-section {
  position: relative;
  background: #080808;
  overflow: hidden;
  padding: 100px 40px 80px;
}

.agd-glow--1 {
  position: absolute;
  top: -160px;
  left: 5%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(73,37,152,0.20) 0%, transparent 60%);
  pointer-events: none;
}

.agd-glow--2 {
  position: absolute;
  bottom: 100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(73,37,152,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.agd-glow--3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(73,37,152,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.agd-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.agd-header {
  max-width: 700px;
  margin-bottom: 52px;
}

.agd-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.agd-eyebrow {
  font-family: var(--typography, 'Outfit', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.agd-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(73,37,152,0.22);
  color: oklch(0.72 0.16 293);
  border: 1px solid rgba(73,37,152,0.35);
  letter-spacing: 0;
}

.agd-title {
  font-family: var(--typography, 'Outfit', sans-serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  color: #f0f0f0;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}

.agd-title em {
  color: rgba(255,255,255,0.28);
  font-style: normal;
}

.agd-lede {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  margin: 0;
  max-width: 58ch;
}

/* ── Bento grid — 6-cell layout ── */
.agd-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 14px;
  margin-bottom: 56px;
}

/* Cell base */
.agd-bento-cell {
  background: #111113;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  transition: border-color 200ms ease;
}

.agd-bento-cell:hover {
  border-color: rgba(255,255,255,0.12);
}

/* Cell 1: Hub screenshot — spans rows 1+2 */
.agd-bento-cell--hub {
  padding: 0;
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  background: #f5f5f7;
  min-height: 400px;
  overflow: hidden;
}

.agd-hub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  flex: 1;
  opacity: 1;
  transition: opacity 300ms ease, transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.agd-bento-cell--hub:hover .agd-hub-img {
  opacity: 1;
  transform: scale(1.015);
}

.agd-hub-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(73,37,152,0.82) 0%, rgba(73,37,152,0.18) 70%, transparent 100%);
  padding: 32px 20px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: rgba(255,255,255,0.88);
  font-family: var(--typography);
}

.agd-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: agd-pulse 2s ease-in-out infinite;
}

@keyframes agd-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.agd-cell-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

/* Hub cell label — show over image */
.agd-cell-label--over {
  position: absolute;
  top: 14px;
  left: 16px;
  margin: 0;
  z-index: 2;
  background: rgba(0,0,0,0.5);
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* Cell 2: Agent stats — col 2 row 1 */
.agd-bento-cell--stats {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
}

.agd-mini-stats {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  gap: 0;
}

.agd-mini-stat { flex: 1; text-align: center; }

.agd-mini-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.08);
}

.agd-mini-n {
  font-family: var(--typography);
  font-size: 18px;
  font-weight: 700;
  color: #f0f0f0;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 4px;
}

.agd-mini-n--green { color: #4ade80; }

.agd-mini-l {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
}

/* Bullets in stats cell */
.agd-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.agd-bullet {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.agd-bullet strong {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 1px;
}

.agd-bullet span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.agd-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(73,37,152,0.2);
  border: 1px solid rgba(73,37,152,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(0.72 0.16 293);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Cell 3: Live suggestion — col 2 row 2 */
.agd-bento-cell--suggest {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agd-cell-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.agd-cycle-dots { display: flex; gap: 4px; align-items: center; }

.agd-cycle-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.3s ease;
}

.agd-cycle-dot.active { background: #7c13cd; }

/* Suggestion card inside bento */
@keyframes agd-card-in {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.agd-suggest-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  animation: agd-card-in 350ms cubic-bezier(0.23,1,0.32,1) both;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agd-suggest-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.agd-suggest-rate {
  font-family: var(--typography);
  font-size: 13px;
  font-weight: 600;
  color: #f0f0f0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.agd-suggest-rate strong { color: #fff; }

.agd-arrow { font-size: 13px; font-weight: 700; }
.agd-arrow.up  { color: #4ade80; }
.agd-arrow.down { color: #f87171; }

.agd-pct { font-size: 11px; font-weight: 600; }
.agd-pct.up   { color: #4ade80; }
.agd-pct.down { color: #f87171; }

.agd-range-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-weight: 400;
}

.agd-rationale {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
  flex: 1;
}

.agd-suggest-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.agd-impact-line {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.agd-impact-line strong {
  color: #4ade80;
  font-size: 12px;
}

.agd-suggest-btns {
  display: flex;
  gap: 6px;
}

.agd-btn {
  font-family: var(--typography);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 120ms ease, transform 100ms ease;
  border: none;
  outline: none;
}

.agd-btn:active { transform: scale(0.96); }

.agd-btn--ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.agd-btn--ghost:hover { background: rgba(255,255,255,0.1); }

.agd-btn--primary {
  background: #7c13cd;
  color: #fff;
}

.agd-btn--primary:hover { background: oklch(0.30 0.22 293); }

.agd-conf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.agd-conf-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(73,37,152,0.18);
  color: oklch(0.72 0.16 293);
  border: 1px solid rgba(73,37,152,0.3);
}

.agd-conf-text {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
}

/* ── Activity log — row 3 col 1 ── */
.agd-bento-cell--activity {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  flex-direction: column;
}

@keyframes agd-item-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.agd-activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.agd-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  animation: agd-item-in 400ms cubic-bezier(0.23,1,0.32,1) both;
  position: relative;
}

.agd-activity-item:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.agd-activity-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 16px;
  gap: 0;
  margin-top: 3px;
}

.agd-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.agd-activity-dot--green  { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.4); }
.agd-activity-dot--purple { background: oklch(0.72 0.16 293); box-shadow: 0 0 6px color-mix(in oklch, #7c13cd 40%, transparent); }
.agd-activity-dot--blue   { background: #60a5fa; box-shadow: 0 0 6px rgba(96,165,250,0.3); }
.agd-activity-dot--gray   { background: rgba(255,255,255,0.25); }

.agd-activity-connector {
  flex: 1;
  width: 1px;
  background: rgba(255,255,255,0.06);
  min-height: 16px;
  margin-top: 3px;
}

.agd-activity-item:last-child .agd-activity-connector {
  display: none;
}

.agd-activity-body {
  flex: 1;
  min-width: 0;
}

.agd-activity-time {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  font-variant-numeric: tabular-nums;
  margin-bottom: 2px;
}

.agd-activity-text {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.agd-activity-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.agd-activity-badge--green  { background: rgba(74,222,128,0.12); color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }
.agd-activity-badge--purple { background: color-mix(in oklch, #7c13cd 14%, transparent); color: oklch(0.72 0.16 293); border: 1px solid color-mix(in oklch, #7c13cd 20%, transparent); }
.agd-activity-badge--blue   { background: rgba(96,165,250,0.12); color: #60a5fa; border: 1px solid rgba(96,165,250,0.2); }
.agd-activity-badge--gray   { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.1); }

/* ── AI Reasoning flow — row 3 col 2 ── */
.agd-bento-cell--reason {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  flex-direction: column;
}

.agd-reason-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1;
  padding-top: 4px;
}

.agd-reason-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 350ms ease, transform 350ms cubic-bezier(0.23,1,0.32,1);
}

.agd-reason-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.agd-reason-arrow {
  font-size: 14px;
  color: rgba(255,255,255,0.2);
  font-weight: 300;
  margin-right: 0;
}

.agd-reason-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  min-width: 72px;
  transition: border-color 200ms ease;
}

.agd-reason-card:hover { border-color: rgba(255,255,255,0.16); }

.agd-reason-icon {
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1;
}

.agd-reason-value {
  font-family: var(--typography);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 3px;
  font-variant-numeric: tabular-nums;
}

.agd-reason-label {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.agd-reason-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
}

.agd-reason-step--final .agd-reason-card {
  background: rgba(73,37,152,0.15);
}

/* ── Interactive Chat — row 4, full width ── */
.agd-bento-cell--chat {
  grid-column: 1 / -1;
  grid-row: 4;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.agd-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.agd-chat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  font-family: var(--typography);
}

.agd-chat-bot-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(73,37,152,0.3);
  border: 1px solid rgba(73,37,152,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(0.72 0.16 293);
  flex-shrink: 0;
}

.agd-chat-status {
  font-size: 10px;
  font-weight: 500;
  color: #4ade80;
  margin-left: 4px;
}

.agd-chat-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  font-style: italic;
}

.agd-chat-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  flex: 1;
  min-height: 0;
}

.agd-chat-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  overflow-y: auto;
  max-height: 260px;
  scroll-behavior: smooth;
}

.agd-chat-feed::-webkit-scrollbar { width: 3px; }
.agd-chat-feed::-webkit-scrollbar-track { background: transparent; }
.agd-chat-feed::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.agd-chat-msg {
  font-size: 12.5px;
  line-height: 1.6;
  padding: 10px 13px;
  border-radius: 12px;
  max-width: 80%;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 350ms ease, transform 350ms cubic-bezier(0.23,1,0.32,1);
}

.agd-chat-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

.agd-chat-msg--user {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.65);
  align-self: flex-end;
  border-radius: 12px 12px 2px 12px;
}

.agd-chat-msg--agent {
  background: rgba(73,37,152,0.18);
  border: 1px solid rgba(73,37,152,0.25);
  color: rgba(255,255,255,0.7);
  align-self: flex-start;
  border-radius: 2px 12px 12px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.agd-bot-icon {
  color: oklch(0.72 0.16 293);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Typing indicator */
.agd-typing-indicator { max-width: none; }
.agd-typing-dots { display: flex; gap: 4px; align-items: center; padding: 2px 0; }
.agd-typing-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: oklch(0.72 0.16 293);
  animation: agd-bounce 1.2s ease-in-out infinite;
}
.agd-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.agd-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes agd-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Chat sidebar with chips */
.agd-chat-sidebar {
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0,0,0,0.2);
}

.agd-chip-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.agd-chip-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.agd-chip {
  font-family: var(--typography);
  font-size: 11px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
  text-align: left;
  line-height: 1.4;
  white-space: normal;
}

@media (hover: hover) and (pointer: fine) {
  .agd-chip:hover {
    background: rgba(73,37,152,0.2);
    border-color: rgba(73,37,152,0.35);
    color: rgba(255,255,255,0.75);
  }
}

.agd-chip:active { transform: scale(0.98); }

.agd-chip--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Stats strip */
.agd-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 40px;
}

.agd-stat {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.agd-stat:first-child { padding-left: 0; }
.agd-stat:last-child  { border-right: none; }

.agd-stat-n {
  font-family: var(--typography);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: #f0f0f0;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.agd-stat-l {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
  .agd-chat-body {
    grid-template-columns: 1fr 240px;
  }
}

@media (max-width: 860px) {
  .agd-section { padding: 72px 24px 60px; }

  .agd-bento {
    grid-template-columns: 1fr;
  }

  .agd-bento-cell--hub    { grid-column: 1; grid-row: auto; min-height: 220px; }
  .agd-bento-cell--stats  { grid-column: 1; grid-row: auto; }
  .agd-bento-cell--suggest{ grid-column: 1; grid-row: auto; }
  .agd-bento-cell--activity{ grid-column: 1; grid-row: auto; }
  .agd-bento-cell--reason  { grid-column: 1; grid-row: auto; }
  .agd-bento-cell--chat    { grid-column: 1; grid-row: auto; }

  .agd-chat-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .agd-chat-sidebar {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .agd-chip-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .agd-chip {
    flex: 0 1 auto;
    white-space: nowrap;
    font-size: 10px;
    padding: 6px 10px;
  }

  .agd-reason-flow { flex-wrap: wrap; gap: 6px; }

  .agd-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .agd-stat {
    border-right: none;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 540px) {
  .agd-section { padding: 56px 16px 48px; }
  .agd-title { font-size: 32px; }
  .agd-stats-strip { grid-template-columns: 1fr 1fr; gap: 20px; }
  .agd-stat-n { font-size: 28px; }
  .agd-chat-feed { max-height: 220px; }
  .agd-reason-flow { gap: 4px; }
  .agd-reason-card { padding: 8px 10px; min-width: 60px; }
  .agd-reason-value { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .agd-suggest-card { animation: none; }
  .agd-chat-msg { transition: none; opacity: 1; transform: none; }
  .agd-live-dot { animation: none; }
  .agd-activity-item { animation: none; opacity: 1; transform: none; }
  .agd-reason-step { transition: none; opacity: 1; transform: none; }
  .agd-typing-dots span { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   PX SCENES — MÓDULOS REDESIGN (06 · 09 · 10)
   ═══════════════════════════════════════════════════════════════ */

/* ── 06 Rate Forecast — full-width chart hero ─────────────── */
.pxs-rate {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.pxs-rate__head {
  text-align: center;
  max-width: 640px;
}
.pxs-rate__head .scene-eyebrow { margin-bottom: 16px; }
.pxs-rate__title {
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--land-fg);
  margin: 0 0 16px;
}
.pxs-rate__title em { font-style: normal; color: var(--land-primary); }
.pxs-rate__sub {
  font-size: 17px;
  color: var(--land-fg-3);
  line-height: 1.65;
  margin: 0;
}
.pxs-rate__card {
  width: 100%;
  background: var(--land-surface);
  border: 1px solid var(--land-border);
  border-radius: 22px;
  padding: 36px 40px 32px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03), 0 24px 60px -16px rgba(73,37,152,0.09);
}
.pxs-rate__card .canvas.rate-canvas {
  width: 100%;
  aspect-ratio: 3 / 1;
  justify-self: stretch;
  border-radius: 14px;
  box-shadow: none;
  background: var(--land-bg);
  border: 1px solid var(--land-border);
}
.pxs-rate__tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.pxs-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--land-fg-3);
  letter-spacing: 0.01em;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--land-border);
  background: var(--land-bg);
}
.pxs-tag-dot { color: var(--land-fg-4); font-size: 16px; line-height: 1; }

/* ── 09 Scenarios — dark sandbox, asymmetric ──────────────── */
.pxs-scen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pxs-scen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #070712;
  z-index: -2;
}
.pxs-scen__glow-l {
  position: absolute;
  top: -180px; left: -180px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(73,37,152,0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.pxs-scen__glow-r {
  position: absolute;
  bottom: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(73,37,152,0.14) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.pxs-scen__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 72px;
  align-items: center;
}
.pxs-scen__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--land-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7c13cd;
  margin-bottom: 20px;
}
.pxs-scen__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7c13cd;
}
.pxs-scen__title {
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 20px;
}
.pxs-scen__title em { font-style: normal; color: #7c13cd; }
.pxs-scen__lede {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.48);
  margin: 0 0 36px;
}
.pxs-scen__bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pxs-scen__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.4;
}
/* sandbox card */
.pxs-scen__sandbox {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 28px 32px 52px;
  position: relative;
  overflow: visible;
}
.pxs-scen__sandbox::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(73,37,152,0.28) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.pxs-scen__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--land-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.pxs-scen__chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.7);
  animation: pxs-dot-pulse 2s ease-in-out infinite;
}
@keyframes pxs-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}
/* dark canvas overrides inside sandbox */
.pxs-scen .canvas {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.09) !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.pxs-scen .canvas-corner { color: rgba(255,255,255,0.2) !important; }
.pxs-scen .scen-col {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.1) !important;
}
.pxs-scen .scen-col.proj {
  background: rgba(73,37,152,0.28) !important;
  border-color: rgba(73,37,152,0.5) !important;
}
.pxs-scen .scen-col-label { color: rgba(255,255,255,0.4) !important; }
.pxs-scen .scen-col.proj .scen-col-label { color: rgba(180,160,240,0.9) !important; }
.pxs-scen .scen-metric-name { color: rgba(255,255,255,0.45) !important; }
.pxs-scen .scen-metric-value { color: rgba(255,255,255,0.92) !important; }
.pxs-scen .scen-col.proj .scen-metric-value { color: oklch(0.72 0.16 293) !important; }
.pxs-scen .scen-arrow { color: rgba(255,255,255,0.3) !important; }
.pxs-scen .scen-delta {
  background: rgba(74,222,128,0.12) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(74,222,128,0.3);
}

/* ── 10 Pickup en Vivo — full card + KPI strip ────────────── */
.pxs-pickup {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.pxs-pickup__copy {
  text-align: center;
  max-width: 600px;
}
.pxs-pickup__copy .scene-eyebrow { margin-bottom: 16px; }
.pxs-pickup__title {
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--land-fg);
  margin: 0 0 16px;
}
.pxs-pickup__title em { font-style: normal; color: var(--land-primary); }
.pxs-pickup__sub {
  font-size: 17px;
  color: var(--land-fg-3);
  line-height: 1.65;
  margin: 0;
}
.pxs-pickup__card {
  width: 100%;
  background: var(--land-surface);
  border: 1px solid var(--land-border);
  border-radius: 22px;
  padding: 40px 44px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03), 0 24px 60px -16px rgba(73,37,152,0.09);
}
.pxs-pickup__card .canvas.res-canvas {
  width: 100%;
  aspect-ratio: auto;
  min-height: 260px;
  height: auto;
  justify-self: stretch;
  box-shadow: none;
  background: transparent;
  border: none;
}
.pxs-pickup__kpis {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pxs-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 20px;
  border: 1px solid var(--land-border);
  border-radius: 18px;
  background: var(--land-surface);
  transition: box-shadow 200ms ease, transform 160ms cubic-bezier(0.23,1,0.32,1);
}
.pxs-kpi:hover {
  box-shadow: 0 8px 32px rgba(73,37,152,0.1);
  transform: translateY(-2px);
}
.pxs-kpi__num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--land-primary);
}
.pxs-kpi__label {
  font-size: 12.5px;
  color: var(--land-fg-3);
  text-align: center;
  line-height: 1.4;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .pxs-scen__inner {
    grid-template-columns: 1fr;
    padding: 64px 24px 56px;
    gap: 44px;
  }
  .pxs-pickup__kpis { grid-template-columns: 1fr 1fr; }
  .pxs-pickup__kpis .pxs-kpi:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pxs-rate,
  .pxs-pickup { padding: 64px 20px 52px; gap: 32px; }
  .pxs-rate__card { padding: 20px 18px 18px; border-radius: 16px; }
  .pxs-pickup__card { padding: 24px 20px; border-radius: 16px; }
  .pxs-scen__inner { padding: 60px 20px 48px; }
  .pxs-scen__sandbox { padding: 20px 18px 48px; }
  .pxs-pickup__kpis { grid-template-columns: 1fr; }
  .pxs-pickup__kpis .pxs-kpi:last-child { grid-column: auto; }
  .pxs-kpi__num { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .pxs-scen__chip-dot { animation: none; }
  .pxs-kpi:hover { transform: none; }
}
