/* Products page — PV Signal Manager.
   Builds on the tokens defined in style.css. */

.pv {
  --ink-soft: #334155;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --success: #15803d;
  --ring: rgba(26, 86, 219, 0.18);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.22),
    0 8px 16px -8px rgba(15, 23, 42, 0.12);
  overflow-x: clip;
}

.pv-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.pv-section {
  padding: 88px 0;
}

/* Alternating sections share the site-wide white background */
.pv-section--paper {
  background: var(--surface);
}

.pv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.pv-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.pv-heading h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.pv-heading p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Buttons */
.pv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease, transform 0.15s ease;
}

.pv-btn svg {
  width: 18px;
  height: 18px;
}

.pv-btn--primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(26, 86, 219, 0.6);
}

.pv-btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.pv-btn--ghost {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.pv-btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pv-btn--light {
  background: #ffffff;
  color: var(--primary);
}

.pv-btn--light:hover {
  background: var(--primary-50);
  transform: translateY(-1px);
}

.pv-btn:focus-visible,
.pv-tab:focus-visible,
.pv-zoom:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

/* Hero */
.pv-hero {
  position: relative;
  padding: 72px 0 96px;
  isolation: isolate;
}

.pv-hero::before {
  /* faint dotted grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(26, 86, 219, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}

.pv-blob {
  /* Hidden: the page background is plain white site-wide */
  display: none;
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: pv-drift 18s ease-in-out infinite alternate;
}

.pv-blob--a {
  width: 420px;
  height: 420px;
  top: -80px;
  right: 8%;
  background: #93c5fd;
}

.pv-blob--b {
  width: 360px;
  height: 360px;
  bottom: -60px;
  left: -60px;
  background: #bae6fd;
  animation-duration: 22s;
  animation-delay: -6s;
}

@keyframes pv-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(40px, 30px, 0) scale(1.12);
  }
}

.pv-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: center;
}

.pv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.pv-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.pv-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: pv-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pv-ping {
  from {
    transform: scale(0.6);
    opacity: 0.9;
  }
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}

.pv-hero h1 {
  margin: 20px 0 12px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.pv-gradient-text {
  background: linear-gradient(90deg, #1a56db, #0ea5e9 60%, #1a56db);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pv-shine 6s linear infinite;
}

@keyframes pv-shine {
  to {
    background-position: 200% center;
  }
}

.pv-hero__tagline {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
  text-wrap: balance;
}

.pv-hero__lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 34em;
}

.pv-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.pv-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.pv-checks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pv-checks svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex: none;
}

/* Browser frame used for the video and screenshots */
.pv-frame {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.pv-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.pv-frame__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.pv-frame__bar i:nth-child(1) {
  background: #f87171;
}

.pv-frame__bar i:nth-child(2) {
  background: #fbbf24;
}

.pv-frame__bar i:nth-child(3) {
  background: #34d399;
}

.pv-frame__url {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  padding: 3px 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-frame video,
.pv-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.pv-frame video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg);
}

.pv-hero__media {
  position: relative;
}

.pv-hero__media .pv-frame {
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.pv-hero__media:hover .pv-frame {
  transform: none;
}

.pv-video-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  cursor: pointer;
}

.pv-video-toggle svg {
  width: 16px;
  height: 16px;
}

/* Floating notification cards over the hero video */
.pv-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.35;
  animation: pv-bob 6s ease-in-out infinite;
}

.pv-float strong {
  display: block;
  font-size: 13px;
}

.pv-float span {
  color: var(--muted);
  font-size: 12px;
}

.pv-float__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
}

.pv-float__icon svg {
  width: 18px;
  height: 18px;
}

.pv-float--alert {
  left: -28px;
  bottom: 18%;
}

.pv-float--alert .pv-float__icon {
  background: #fef3c7;
  color: #b45309;
}

.pv-float--ok {
  right: -20px;
  top: 14%;
  animation-delay: -3s;
}

.pv-float--ok .pv-float__icon {
  background: #dcfce7;
  color: var(--success);
}

@keyframes pv-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Stats */
.pv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-top: -40px;
  position: relative;
}

.pv-stat {
  padding: 28px 24px;
  text-align: center;
}

.pv-stat + .pv-stat {
  border-left: 1px solid var(--border);
}

.pv-stat__num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.pv-stat__label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* Crossfading tour panels */
.pv-panels {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  container-type: inline-size;
}

.pv-panels > * {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.985);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}

.pv-panels > .is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.pv-panels img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1480 / 810;
  object-fit: cover;
  object-position: top left;
}

.pv-zoom {
  display: block;
  cursor: zoom-in;
}

/* Interactive tour */
.pv-tour {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.pv-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pv-tab {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 14px;
  padding: 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font);
  text-align: left;
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pv-tab:hover {
  background: rgba(255, 255, 255, 0.6);
}

.pv-tab.is-active {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.pv-tab__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary);
}

.pv-tab__icon svg {
  width: 20px;
  height: 20px;
}

.pv-tab.is-active .pv-tab__icon {
  background: var(--primary);
  color: #ffffff;
}

.pv-tab__title {
  align-self: center;
  font-size: 15px;
  font-weight: 600;
}

.pv-tab__desc {
  display: none;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.pv-tab.is-active .pv-tab__desc {
  display: block;
}

.pv-tab__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--primary);
}

.pv-tab.is-active .pv-tab__progress.is-running {
  animation: pv-progress var(--pv-interval, 6s) linear forwards;
}

@keyframes pv-progress {
  to {
    width: 100%;
  }
}

.pv-tour__screen {
  position: sticky;
  top: 132px;
}

/* Animated tour panels (rule check and new signal) */
.pv-demo {
  aspect-ratio: 1480 / 810;
  background: linear-gradient(180deg, var(--paper), var(--bg));
}

.pv-rules {
  display: grid;
  grid-template-columns: 34% 7% minmax(0, 1fr);
  align-items: center;
  padding: 5cqw 4.5cqw;
  font-size: 1.35cqw;
}

.pv-rules__rule,
.pv-rules__eval {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1.2cqw;
  box-shadow: var(--shadow);
}

.pv-rules__rule {
  display: flex;
  flex-direction: column;
  gap: 0.9cqw;
  padding: 2.4cqw;
}

.pv-rules__label {
  font-size: 0.95cqw;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.pv-rules__name {
  font-size: 1.9cqw;
  line-height: 1.2;
}

.pv-rules__scope {
  color: var(--muted);
}

.pv-rules__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7cqw;
  margin: 0.6cqw 0;
}

.pv-rules__chips span {
  padding: 0.5cqw 1cqw;
  border-radius: 999px;
  background: var(--primary-50);
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-weight: 600;
}

.pv-rules__status {
  display: inline-flex;
  align-items: center;
  gap: 0.7cqw;
  font-size: 1.1cqw;
  font-weight: 500;
  color: var(--success);
}

.pv-rules__status i {
  width: 0.8cqw;
  height: 0.8cqw;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.5);
  animation: pv-live 1.8s ease-out infinite;
}

@keyframes pv-live {
  to {
    box-shadow: 0 0 0 0.9cqw rgba(21, 128, 61, 0);
  }
}

.pv-rules__flow {
  position: relative;
  height: 2px;
  margin: 0 0.6cqw;
  background: repeating-linear-gradient(90deg, #93c5fd 0 6px, transparent 6px 12px);
}

.pv-rules__flow span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1cqw;
  height: 1cqw;
  border-radius: 50%;
  background: var(--primary);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0.5cqw var(--ring);
  animation: pv-travel 1.6s ease-in-out infinite;
}

@keyframes pv-travel {
  to {
    left: 100%;
  }
}

.pv-rules__eval {
  position: relative;
  padding: 2cqw;
  display: flex;
  flex-direction: column;
  gap: 0.8cqw;
}

.pv-rules__head {
  display: flex;
  align-items: center;
  gap: 0.9cqw;
  margin-bottom: 0.4cqw;
  font-weight: 600;
}

.pv-rules__spinner {
  width: 1.4cqw;
  height: 1.4cqw;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  animation: pv-spin 0.9s linear infinite;
}

@keyframes pv-spin {
  to {
    transform: rotate(360deg);
  }
}

.pv-rules__row {
  display: grid;
  grid-template-columns: 1fr 6.5cqw 6.5cqw 4.5cqw 2.4cqw;
  align-items: center;
  gap: 0.6cqw;
  padding: 1cqw 1.2cqw;
  border: 1px solid var(--border);
  border-radius: 0.8cqw;
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.pv-rules__pair {
  font-weight: 600;
  color: var(--text);
}

.pv-rules__mark {
  display: grid;
  place-items: center;
  width: 2.2cqw;
  height: 2.2cqw;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: 1.2cqw;
  font-weight: 800;
}

.pv-rules__mark::before {
  content: "\2715";
}

.pv-rules__row.is-hit .pv-rules__mark {
  background: #dcfce7;
  color: var(--success);
}

.pv-rules__row.is-hit .pv-rules__mark::before {
  content: "\2713";
}

.pv-rules__toast {
  position: absolute;
  right: 2cqw;
  bottom: -2.2cqw;
  display: inline-flex;
  align-items: center;
  gap: 0.8cqw;
  padding: 1cqw 1.6cqw;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(26, 86, 219, 0.8);
  opacity: 0;
}

.pv-rules__toast svg {
  width: 1.6cqw;
  height: 1.6cqw;
}

/* The rule check plays each time its panel becomes active, on a 9s loop */
.is-active .pv-rules__row {
  animation: pv-row 9s calc(var(--i) * 0.55s + 0.5s) infinite backwards;
}

.is-active .pv-rules__row.is-hit {
  animation-name: pv-row, pv-hit;
}

.is-active .pv-rules__mark {
  animation: pv-mark 9s calc(var(--i) * 0.55s + 1.1s) infinite backwards;
}

.is-active .pv-rules__toast {
  animation: pv-toast 9s 3.6s infinite backwards;
}

@keyframes pv-row {
  0% {
    opacity: 0;
    transform: translateX(1.5cqw);
  }
  6%,
  86% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
  }
}

@keyframes pv-hit {
  0%,
  10% {
    border-color: var(--border);
    background: var(--paper);
  }
  14%,
  86% {
    border-color: #86efac;
    background: #f0fdf4;
  }
}

@keyframes pv-mark {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  5% {
    opacity: 1;
    transform: scale(1.25);
  }
  8%,
  80% {
    opacity: 1;
    transform: scale(1);
  }
  88%,
  100% {
    opacity: 0;
  }
}

@keyframes pv-toast {
  0% {
    opacity: 0;
    transform: translateY(1cqw) scale(0.95);
  }
  6%,
  60% {
    opacity: 1;
    transform: none;
  }
  68%,
  100% {
    opacity: 0;
  }
}

/* New signal panel */
.pv-plus {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4cqw;
  text-align: center;
}

.pv-plus__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 11cqw;
  height: 11cqw;
  margin-bottom: 1.2cqw;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a56db, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 1.6cqw 3.2cqw -1.2cqw rgba(26, 86, 219, 0.7);
}

.pv-plus__icon svg {
  width: 45%;
  height: 45%;
}

.pv-plus__icon::before,
.pv-plus__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #60a5fa;
  animation: pv-ring 2.4s ease-out infinite;
}

.pv-plus__icon::after {
  animation-delay: 1.2s;
}

@keyframes pv-ring {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

.pv-plus strong {
  font-size: 2.6cqw;
  letter-spacing: -0.01em;
}

.pv-plus > span:last-child {
  font-size: 1.5cqw;
  color: var(--muted);
}

/* Capability grid */
.pv-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pv-feature {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pv-feature:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 16px 32px -16px rgba(26, 86, 219, 0.35);
}

.pv-feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a56db, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 8px 16px -8px rgba(26, 86, 219, 0.7);
}

.pv-feature__icon svg {
  width: 24px;
  height: 24px;
}

.pv-feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pv-feature p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Comparison table */
.pv-compare {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pv-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pv-compare th,
.pv-compare td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.pv-compare tr:last-child td {
  border-bottom: none;
}

.pv-compare thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}

.pv-compare thead th:last-child {
  color: var(--primary);
}

.pv-compare tbody th {
  width: 30%;
  font-weight: 600;
}

.pv-compare td {
  color: var(--ink-soft);
}

.pv-compare td:last-child {
  background: var(--primary-50);
  color: var(--text);
  font-weight: 500;
}

.pv-compare .pv-yes,
.pv-compare .pv-no {
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
}

.pv-compare svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
}

.pv-yes svg {
  color: var(--success);
}

.pv-no svg {
  color: #94a3b8;
}

/* Closing call to action */
.pv-cta {
  position: relative;
  padding: 64px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1a56db 0%, #1e40af 55%, #0369a1 100%);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.pv-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}

.pv-cta h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pv-cta p {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.pv-note {
  margin-top: 28px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

/* Lightbox and video modal */
.pv-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
}

.pv-overlay.is-open {
  display: flex;
  animation: pv-fade 0.2s ease-out;
}

.pv-overlay img,
.pv-overlay video {
  max-width: min(1400px, 100%);
  max-height: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.pv-overlay__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.pv-overlay__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes pv-fade {
  from {
    opacity: 0;
  }
}

/* Scroll reveal (only hides content once products.js is running) */
.pv-js .pv-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.pv-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .pv-hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pv-hero__media .pv-frame {
    transform: none;
  }

  .pv-float--alert {
    left: 12px;
    bottom: -24px;
  }

  .pv-float--ok {
    right: 12px;
    top: -24px;
  }

  .pv-tour {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .pv-tabs {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }

  .pv-tab {
    flex: 0 0 260px;
    scroll-snap-align: start;
  }

  .pv-tour__screen {
    position: static;
  }

  .pv-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .pv-section {
    padding: 64px 0;
  }

  .pv-wrap {
    padding: 0 16px;
  }

  .pv-hero {
    padding: 40px 0 72px;
  }

  .pv-float {
    display: none;
  }

  .pv-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -32px;
  }

  .pv-stat:nth-child(3) {
    border-left: none;
  }

  .pv-stat:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .pv-features {
    grid-template-columns: 1fr;
  }

  .pv-rules {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    aspect-ratio: auto;
    padding: 20px 16px 36px;
    font-size: 13px;
  }

  .pv-rules__flow {
    display: none;
  }

  .pv-plus {
    aspect-ratio: auto;
    min-height: 100%;
    gap: 10px;
    padding: 40px 16px;
  }

  .pv-plus__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 6px;
  }

  .pv-plus strong {
    font-size: 20px;
  }

  .pv-plus > span:last-child {
    font-size: 13px;
  }

  .pv-rules__rule,
  .pv-rules__eval {
    padding: 16px;
    border-radius: 10px;
    gap: 8px;
  }

  .pv-rules__label,
  .pv-rules__status {
    font-size: 11px;
  }

  .pv-rules__name {
    font-size: 16px;
  }

  .pv-rules__chips span {
    padding: 3px 10px;
  }

  .pv-rules__spinner {
    width: 14px;
    height: 14px;
  }

  .pv-rules__row span:nth-child(3),
  .pv-rules__row span:nth-child(4) {
    display: none;
  }

  .pv-rules__row {
    grid-template-columns: minmax(0, 1fr) auto 22px;
    gap: 8px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .pv-rules__mark {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .pv-rules__toast {
    bottom: -18px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .pv-rules__toast svg {
    width: 16px;
    height: 16px;
  }

  .pv-compare th,
  .pv-compare td {
    padding: 12px 14px;
    font-size: 14px;
  }

  .pv-compare thead tr,
  .pv-compare tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pv-compare thead th:first-child {
    display: none;
  }

  .pv-compare tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding-bottom: 4px;
    border-bottom: none;
  }

  .pv-cta {
    padding: 48px 24px;
    border-radius: 16px;
  }

  .pv-overlay {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pv *,
  .pv *::before,
  .pv *::after {
    animation: none !important;
    transition: none !important;
  }

  .pv-js .pv-reveal {
    opacity: 1;
    transform: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
