/* PortfoPlus Adviser Landing v2 — white + blue only */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Noto+Sans+TC:wght@400;500;600;700&display=swap');

:root {
  --pp-blue: #3966f8;
  --pp-blue-deep: #1e3fd4;
  --pp-blue-soft: #e8efff;
  --pp-blue-mist: #f3f6ff;
  --pp-ink: #0f172a;
  --pp-muted: #5b6475;
  --pp-line: rgba(57, 102, 248, 0.14);
  --pp-white: #ffffff;
  --pp-radius: 20px;
  --pp-radius-sm: 12px;
  --pp-frame-pad: 0;
  --pp-frame-inset-x: 12px;
  --pp-frame-inset-y: 8px;
  --pp-frame-inset: var(--pp-frame-inset-x);
  --pp-stage-radius: 32px;
  --pp-shadow: 0 20px 50px rgba(30, 63, 212, 0.12);
  --pp-font-display: 'Bricolage Grotesque', 'Noto Sans TC', sans-serif;
  --pp-font-body: 'Noto Sans TC', 'Bricolage Grotesque', sans-serif;
  --pp-nav-h: 80px;
  --pp-promo-h: 28px;
  --pp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pp-safe-top: env(safe-area-inset-top, 0px);
  --pp-safe-right: env(safe-area-inset-right, 0px);
  --pp-safe-bottom: env(safe-area-inset-bottom, 0px);
  --pp-safe-left: env(safe-area-inset-left, 0px);
  /* 100vh fallback for older Safari; svh tracks the visible viewport. */
  --pp-vh: 100vh;
}

@supports (height: 100svh) {
  :root {
    --pp-vh: 100svh;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #fff;
  /* hidden first: older Safari has no overflow-x: clip */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  /* Reserve space for fixed promo banner */
  padding-top: var(--pp-promo-h);
  font-family: var(--pp-font-body);
  color: var(--pp-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100vh;
}

body h1,
body h2,
body h3,
body .pp-display {
  font-family: var(--pp-font-display);
  letter-spacing: -0.02em;
  font-weight: 750;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pp-blue);
  text-decoration: none;
}

a:hover {
  color: var(--pp-blue-deep);
}

.pp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pp-blue);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.pp-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Top promo ticker — fixed so sticky/overscroll nav never covers it */
.pp-promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  display: block;
  height: var(--pp-promo-h);
  background: var(--pp-blue);
  color: #fff !important;
  text-decoration: none !important;
  overflow: hidden;
}

.pp-promo-banner:hover,
.pp-promo-banner:focus {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(1.05);
}

.pp-promo-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  will-change: transform;
  /* JS drives seamless loop by exact group width; CSS fallback below */
  animation: pp-promo-marquee 28s linear infinite;
}

.pp-promo-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1.75rem;
  /* trailing pad == gap so the loop seam matches item spacing */
  padding: 0 1.75rem 0 0;
}

.pp-promo-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.45rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pp-promo-item i {
  font-size: 0.78rem;
  opacity: 0.95;
}

@keyframes pp-promo-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/*
  Modern app landing chrome:
  white page edge → inset rounded stage → floating short nav over stage.
*/
.pp-frame {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  min-height: calc(100vh - var(--pp-promo-h));
  display: flex;
  flex-direction: column;
  background: #fff;
  padding:
    var(--pp-frame-inset-y)
    var(--pp-frame-inset-x)
    calc(var(--pp-frame-inset-y) + var(--pp-safe-bottom))
    var(--pp-frame-inset-x);
  overflow: visible;
}

/*
  Fixed white chrome with rounded inner corners.
  A rounded “window” + outward white shadow so top corners stay rounded while scrolling.
*/
.pp-frame::after {
  content: '';
  position: fixed;
  inset:
    calc(var(--pp-promo-h) + var(--pp-frame-inset-y))
    var(--pp-frame-inset-x)
    calc(var(--pp-frame-inset-y) + var(--pp-safe-bottom));
  z-index: 900;
  pointer-events: none;
  border-radius: var(--pp-stage-radius);
  box-shadow: 0 0 0 100vmax #fff;
}

.pp-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: var(--pp-stage-radius);
  overflow: visible;
  isolation: isolate;
  background:
    radial-gradient(80% 55% at 12% -10%, rgba(57, 102, 248, 0.18), transparent 55%),
    radial-gradient(60% 45% at 95% 0%, rgba(30, 63, 212, 0.12), transparent 50%),
    linear-gradient(180deg, #eef2ff 0%, #f7f9ff 42%, #ffffff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(57, 102, 248, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Clip decorative overflow inside sections, not the sticky nav */
.pp-stage > :not(.pp-landing-top):not(.pp-nav-shell) {
  position: relative;
}

/*
  First screen lock: hero under sticky nav.
  Exact viewport height so “熱門功能” never peeks on entry.
*/
.pp-landing-top {
  display: flex;
  flex-direction: column;
  height: calc(var(--pp-vh) - var(--pp-promo-h) - var(--pp-frame-inset-y) * 2 - 12px - var(--pp-nav-h));
  min-height: calc(var(--pp-vh) - var(--pp-promo-h) - var(--pp-frame-inset-y) * 2 - 12px - var(--pp-nav-h));
  max-height: calc(var(--pp-vh) - var(--pp-promo-h) - var(--pp-frame-inset-y) * 2 - 12px - var(--pp-nav-h));
  box-sizing: border-box;
  /* keep sticky nav working (overflow:hidden breaks sticky) */
  overflow: visible;
}

.pp-landing-top > .pp-hero {
  flex: 1 1 auto;
  min-height: 0;
}

/* Floating WhatsApp — matches landing chrome (rounded tile, soft ring, lift) */
.my-fab {
  --pp-wa: #008000;
  position: fixed;
  right: calc(var(--pp-frame-inset-x) + var(--pp-safe-right) + 28px);
  bottom: calc(var(--pp-frame-inset-y) + var(--pp-safe-bottom) + 28px);
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  isolation: isolate;
  background: var(--pp-wa);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 16px 36px rgba(30, 63, 212, 0.14),
    0 10px 22px rgba(0, 128, 0, 0.32);
  text-decoration: none !important;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.25s var(--pp-ease),
    box-shadow 0.25s var(--pp-ease),
    filter 0.25s var(--pp-ease);
}

.my-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 1.5px solid rgba(57, 102, 248, 0.18);
  background: rgba(255, 255, 255, 0.35);
  z-index: -1;
  pointer-events: none;
}

.my-fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(0, 128, 0, 0.4);
  animation: pp-wa-fab-pulse 2.4s var(--pp-ease) infinite;
  pointer-events: none;
}

.my-fab i {
  position: relative;
  z-index: 1;
  font-size: 1.9rem;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.18));
}

.my-fab:hover,
.my-fab:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.05);
  color: #fff !important;
  text-decoration: none !important;
  background: #007000;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 20px 40px rgba(30, 63, 212, 0.18),
    0 14px 26px rgba(0, 128, 0, 0.36);
}

.my-fab:focus-visible {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 20px 40px rgba(30, 63, 212, 0.18),
    0 0 0 2px #fff,
    0 0 0 4px rgba(57, 102, 248, 0.65);
}

.my-fab:active {
  transform: translateY(-1px) scale(0.98);
}

@keyframes pp-wa-fab-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 128, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(0, 128, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 128, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .my-fab::after {
    animation: none;
  }

  .my-fab,
  .my-fab:hover,
  .my-fab:focus-visible,
  .my-fab:active {
    transition: none;
    transform: none;
  }
}

@media (max-width: 720px) {
  .my-fab {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    right: calc(var(--pp-frame-inset-x) + var(--pp-safe-right) + 20px);
    bottom: calc(var(--pp-frame-inset-y) + var(--pp-safe-bottom) + 20px);
  }

  .my-fab::before {
    border-radius: 24px;
  }

  .my-fab i {
    font-size: 1.65rem;
  }
}

/*
  Nav — Realms layout adapted for PortfoPlus:
  h-20 · justify-between · logo | links | actions
  link = rounded-full · CTA = rounded-xl
*/
.pp-nav-shell {
  position: sticky;
  top: calc(var(--pp-promo-h) + var(--pp-frame-inset-y));
  z-index: 1100;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 12px 12px 0;
  background: transparent;
  pointer-events: none;
}

.pp-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(100% - 8px, 1280px);
  max-width: calc(100% - 8px);
  height: var(--pp-nav-h);
  margin: 0 auto;
  padding: 0 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 36px rgba(15, 23, 42, 0.1);
}

.pp-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 8px;
  color: var(--pp-ink);
}

.pp-nav-brand:hover {
  color: var(--pp-ink);
}

.pp-nav-brand img {
  height: 24px;
  width: auto;
  display: block;
}

.pp-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--pp-ink);
  flex-shrink: 0;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.pp-nav-toggle:focus,
.pp-nav-toggle:focus-visible,
.pp-nav-toggle:active,
.pp-nav-toggle:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
  border: 0;
}

.pp-nav-burger {
  position: relative;
  display: flex;
  width: 32px;
  height: 16px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.pp-nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: var(--pp-ink);
  transform-origin: center;
  transition: transform 0.2s var(--pp-ease), opacity 0.2s;
}

.pp-nav.is-open .pp-nav-burger span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.pp-nav.is-open .pp-nav-burger span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.pp-nav-links {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.pp-nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  color: rgba(15, 23, 42, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.pp-nav-links a:hover,
.pp-nav-links a:focus {
  color: var(--pp-ink);
  background: rgba(15, 23, 42, 0.05);
}

.pp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pp-nav-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: rgba(15, 23, 42, 0.8) !important;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.pp-nav-login:hover,
.pp-nav-login:focus {
  color: var(--pp-ink) !important;
  background: rgba(15, 23, 42, 0.05);
}

/* Realms CTAs: rounded-xl + py-3 px-4 */
.pp-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  text-decoration: none !important;
  white-space: nowrap;
}

.pp-nav-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.pp-nav-btn-soft {
  background: var(--pp-blue-soft);
  color: var(--pp-ink) !important;
}

.pp-nav-btn-soft:hover {
  background: #d4e0ff;
  color: var(--pp-ink) !important;
}

.pp-nav-btn-solid {
  background: var(--pp-ink);
  color: #fff !important;
}

.pp-nav-btn-solid:hover {
  background: rgba(15, 23, 42, 0.9);
  color: #fff !important;
}

.pp-lang-switch {
  position: relative;
}

.pp-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(15, 23, 42, 0.8);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.pp-lang-trigger:hover,
.pp-lang-switch.is-open .pp-lang-trigger {
  color: var(--pp-ink);
  background: rgba(15, 23, 42, 0.05);
}

.pp-lang-trigger .fa-globe {
  color: var(--pp-blue);
  font-size: 0.95rem;
}

.pp-lang-caret {
  font-size: 0.7rem;
  color: var(--pp-muted);
  transition: transform 0.2s var(--pp-ease);
}

.pp-lang-switch.is-open .pp-lang-caret {
  transform: rotate(180deg);
}

.pp-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  padding: 0.4rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--pp-line);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  z-index: 1100;
}

.pp-lang-menu[hidden] {
  display: none !important;
}

.pp-lang-option {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.85rem;
  border-radius: 10px;
  color: var(--pp-ink) !important;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.pp-lang-option:hover,
.pp-lang-option:focus {
  background: var(--pp-blue-mist);
  color: var(--pp-blue) !important;
}

.pp-lang-option.is-current {
  background: var(--pp-blue-soft);
  color: var(--pp-blue) !important;
}

/* Buttons */
.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--pp-ease), box-shadow 0.2s, background 0.2s, color 0.2s;
  text-decoration: none !important;
}

.pp-btn:hover {
  transform: translateY(-1px);
}

.pp-btn-primary {
  background: var(--pp-blue);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(57, 102, 248, 0.28);
}

.pp-btn-primary:hover {
  background: var(--pp-blue-deep);
  color: #fff !important;
}

.pp-btn-ghost {
  background: transparent;
  color: var(--pp-ink) !important;
  border-color: var(--pp-line);
}

.pp-btn-ghost:hover {
  background: var(--pp-blue-mist);
  color: var(--pp-blue) !important;
}

.pp-btn-soft {
  background: var(--pp-blue-soft);
  color: var(--pp-blue) !important;
}

.pp-btn-sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

/* Layout helpers */
.pp-container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.pp-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.pp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.pp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--pp-line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--pp-blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pp-section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.pp-section-head p {
  margin: 0;
  color: var(--pp-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--pp-ease), transform 0.7s var(--pp-ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay='1'] { transition-delay: 0.08s; }
[data-reveal-delay='2'] { transition-delay: 0.16s; }
[data-reveal-delay='3'] { transition-delay: 0.24s; }

/* Hero — fills remaining first-screen space under the nav */
.pp-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.15rem 0 0.5rem;
  overflow: hidden;
}

.pp-hero-main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  /* Extra top clearance so sticky nav never sits on the headline */
  padding:
    clamp(1.25rem, 3.2vh, 2.25rem)
    clamp(1rem, 3vw, 1.75rem)
    clamp(0.35rem, 1.2vh, 0.85rem);
}

.pp-hero-main .pp-container {
  width: min(920px, 100%);
}

.pp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(55% 60% at 85% 40%, rgba(57, 102, 248, 0.16), transparent 70%),
    radial-gradient(40% 45% at 10% 20%, rgba(57, 102, 248, 0.1), transparent 70%);
}

.pp-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}

.pp-hero-orb-a {
  width: 240px;
  height: 240px;
  left: -40px;
  top: 30%;
  background: rgba(57, 102, 248, 0.22);
  animation: pp-orb 10s ease-in-out infinite;
}

.pp-hero-orb-b {
  width: 320px;
  height: 320px;
  right: -40px;
  top: 10%;
  background: rgba(30, 63, 212, 0.16);
  animation: pp-orb 12s ease-in-out infinite reverse;
}

.pp-hero-shapegrid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 15%, transparent 78%);
}

.pp-hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.pp-hero-copy {
  text-align: center;
  max-width: 48rem;
  min-width: 0;
  width: 100%;
  margin: 0 auto;
}

.pp-hero-in {
  animation: pp-hero-in 0.8s var(--pp-ease) both;
}

.pp-hero .pp-eyebrow.pp-hero-in { animation-delay: 0.04s; }
.pp-hero h1.pp-hero-in { animation-delay: 0.1s; }
.pp-hero-body.pp-hero-in { animation-delay: 0.16s; }
.pp-hero-cta.pp-hero-in { animation-delay: 0.22s; }
.pp-hero-social.pp-hero-in { animation-delay: 0.28s; }

@keyframes pp-hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pp-orb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -18px, 0); }
}

.pp-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.65rem);
  line-height: 1.12;
  margin: 0 auto 0.9rem;
  max-width: 16ch;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--pp-ink);
  overflow-wrap: normal;
  word-break: keep-all;
}

/* English headline stays one line — Chinese 16ch box is too narrow for Latin */
html[lang='en'] .pp-hero h1 {
  max-width: min(100%, 42rem);
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  letter-spacing: -0.03em;
}

html[lang='en'] .pp-hero-body {
  max-width: 46rem;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.pp-hero-body {
  max-width: 46rem;
  margin: 0 auto 1.25rem;
  color: var(--pp-muted);
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.9;
}

.pp-hero-body .pp-nowrap {
  white-space: nowrap;
}

.pp-hero-body p {
  margin: 0 0 0.65rem;
}

.pp-hero-body p:last-child {
  margin-bottom: 0;
}

.pp-hl {
  color: var(--pp-blue);
  font-weight: 700;
}

.pp-hl-ai {
  display: inline-block;
  padding: 0 0.12em;
  background: linear-gradient(135deg, var(--pp-blue) 0%, #6b8cff 45%, var(--pp-blue-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.pp-hero-sub {
  max-width: 32rem;
  margin: 0 0 1.2rem;
  color: var(--pp-muted);
  font-size: clamp(1.02rem, 1.7vw, 1.15rem);
  line-height: 1.75;
}

.pp-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.55rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.pp-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--pp-line);
  color: var(--pp-ink);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(57, 102, 248, 0.06);
}

.pp-hero-trust li::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--pp-blue);
  box-shadow: 0 0 0 3px var(--pp-blue-soft);
  flex-shrink: 0;
}

.pp-hero .pp-eyebrow {
  display: inline-flex;
  font-size: 0.92rem;
  padding: 0.5rem 0.95rem;
  margin: 0 auto 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(57, 102, 248, 0.08);
}

.pp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.pp-hero-cta .pp-btn {
  cursor: pointer;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  font-size: 1.02rem;
}

.pp-hero-cta .pp-btn-ghost {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(30, 63, 212, 0.08);
}

.pp-hero-cta .pp-btn-ghost:hover {
  background: #fff;
  border-color: rgba(57, 102, 248, 0.28);
  color: var(--pp-blue) !important;
  box-shadow: 0 14px 28px rgba(57, 102, 248, 0.14);
}

button.pp-btn {
  font: inherit;
  appearance: none;
}

.pp-hero-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.95rem 1.15rem;
}

.pp-hero-social-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pp-muted);
}

.pp-hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(15, 23, 42, 0.55);
  font-size: 1.45rem;
  text-decoration: none !important;
  transition: color 0.2s, transform 0.2s;
}

.pp-hero-social a:hover,
.pp-hero-social a:focus,
.pp-hero-social a:focus-visible {
  color: var(--pp-blue);
  text-decoration: none !important;
  transform: translateY(-1px);
}

.pp-hero-trustbar.pp-hero-in { animation-delay: 0.34s; }

.pp-hero-trustbar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  width: min(860px, 100%);
  margin: 1rem auto 0;
  padding: 0.55rem 0.35rem;
  border-radius: 18px;
  border: 1px solid rgba(57, 102, 248, 0.12);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 12px 32px rgba(57, 102, 248, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color: var(--pp-ink);
  overflow: hidden;
}

.pp-trustbar-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 78px;
  padding: 0.4rem 0.55rem;
  text-align: center;
  text-decoration: none !important;
  color: inherit;
  border-radius: 12px;
  transition: background 0.2s var(--pp-ease);
}

.pp-trustbar-item + .pp-trustbar-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(57, 102, 248, 0.14);
}

.pp-trustbar-value {
  font-family: var(--pp-font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--pp-blue);
}

.pp-trustbar-label {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--pp-muted);
}

.pp-trustbar-iso img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.pp-trustbar-iso .pp-trustbar-label {
  margin-top: 0.1rem;
}

.pp-trustbar-store-top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.1rem;
}

.pp-trustbar-store-top i {
  font-size: 1rem;
  color: var(--pp-ink);
}

.pp-trustbar-stars {
  color: var(--pp-blue);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.pp-trustbar-item:hover,
.pp-trustbar-item:focus {
  text-decoration: none !important;
  background: var(--pp-blue-mist);
}

.pp-trustbar-item:focus-visible {
  outline: 2px solid rgba(57, 102, 248, 0.45);
  outline-offset: -4px;
}

.pp-hero-media {
  position: relative;
  min-width: 0;
  width: 100%;
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.pp-hero-preview {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(57, 102, 248, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(30, 63, 212, 0.1);
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.25s var(--pp-ease), filter 0.25s;
}

.pp-hero-preview:hover,
.pp-hero-preview:focus {
  outline: none;
  box-shadow: 0 14px 36px rgba(30, 63, 212, 0.14);
}

.pp-hero-preview:focus-visible {
  outline: 3px solid rgba(57, 102, 248, 0.45);
  outline-offset: 3px;
}

.pp-hero-preview img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 460px);
  object-fit: cover;
  object-position: top center;
  transition: filter 0.35s;
}

.pp-hero-preview:hover img,
.pp-hero-preview:focus img {
  filter: brightness(0.94);
}

.pp-hero-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--pp-ease), background 0.25s;
}

.pp-hero-play svg {
  margin-left: 3px;
}

.pp-hero-preview:hover .pp-hero-play,
.pp-hero-preview:focus .pp-hero-play {
  background: var(--pp-blue);
  transform: translate(-50%, -50%) scale(1.06);
}

/* Supported-by — standalone section after hero */
.pp-proof-section {
  padding-top: clamp(2.5rem, 5vh, 3.75rem);
  padding-bottom: clamp(2rem, 4vh, 3rem);
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.pp-proof-label {
  text-align: center;
  color: var(--pp-muted);
  font-size: 1.02rem;
  font-weight: 650;
  margin: 0 0 1rem;
}

.pp-logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.pp-logo-track {
  display: flex;
  width: max-content;
  animation: pp-logo-marquee 48s linear infinite;
  will-change: transform;
}

.pp-logo-group {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  padding: 0.25rem clamp(1rem, 2.5vw, 2rem);
}

/* Fixed visual height; width follows aspect ratio so logos stay consistent without stretch. */
.pp-logo-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 40px;
  max-width: 118px;
}

.pp-logo-item img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 118px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}

.pp-logo-item:hover img,
.pp-logo-item:focus-visible img {
  filter: grayscale(0) opacity(1);
}

/* Start off-screen left half, move toward right for seamless L→R scroll */
@keyframes pp-logo-marquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* Vertical testimonial reels — under supported-by */
.pp-reels {
  --pp-reel-w: 220px;
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2.75rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(57, 102, 248, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(30, 63, 212, 0.22), transparent 50%),
    #0b1224;
  color: #f8fafc;
  overflow: hidden;
}

.pp-reels-head {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.pp-reels-head h2 {
  color: #fff;
  margin: 0.35rem 0 0.5rem;
}

.pp-reels-head p {
  color: rgba(248, 250, 252, 0.72);
  margin: 0 auto;
  max-width: 36rem;
}

.pp-reels-eyebrow {
  color: rgba(232, 239, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pp-reels-stage {
  position: relative;
  width: 100%;
}

.pp-reels-viewport {
  overflow: hidden;
  cursor: grab;
  /* Horizontal swipe owns this strip; page still scrolls from the title / around it. */
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.pp-reels-viewport.is-dragging {
  cursor: grabbing;
  touch-action: none;
}

.pp-reels-track {
  display: flex;
  width: max-content;
  will-change: transform;
  /* Soft ease-in-out so auto-scroll feels gliding, not snappy */
  transition: transform 0.95s cubic-bezier(0.33, 0.08, 0.18, 1);
}

.pp-reels-track.is-instant {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .pp-reels-track {
    transition: none;
  }
}

.pp-reel-card {
  position: relative;
  flex: 0 0 var(--pp-reel-w);
  width: var(--pp-reel-w);
  aspect-ratio: 9 / 16;
  margin: 0 0.5rem;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  contain: layout style paint;
  transform: translateZ(0);
}

.pp-reel-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  opacity: 0;
  transition: opacity 0.28s ease;
  /* Let drag gestures hit the viewport instead of the video element */
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.pp-reel-card video.is-ready {
  opacity: 1;
}

.pp-reel-fade {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto;
  height: 5.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
}

.pp-reel-badge {
  pointer-events: none;
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pp-reel-mute {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.pp-reel-mute:hover {
  background: rgba(0, 0, 0, 0.75);
}

.pp-reel-mute:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.75);
}

.pp-reel-mute:focus:not(:focus-visible) {
  box-shadow: none;
}

.pp-reel-mute:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px rgba(57, 102, 248, 0.75);
}

.pp-reel-mute .fa-volume-up {
  display: none;
}

.pp-reel-mute.is-unmuted .fa-volume-mute {
  display: none;
}

.pp-reel-mute.is-unmuted .fa-volume-up {
  display: inline-block;
}

.pp-reel-mute i {
  font-size: 0.75rem;
}

.pp-reels-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease;
}

.pp-reels-nav:hover {
  background: rgba(0, 0, 0, 0.75);
}

.pp-reels-prev {
  left: max(0.75rem, env(safe-area-inset-left));
}

.pp-reels-next {
  right: max(0.75rem, env(safe-area-inset-right));
}

@media (max-width: 767px) {
  /* Keep arrows off the video strip so a left/right swipe is not stolen. */
  .pp-reels-stage {
    padding-bottom: 3.4rem;
  }

  .pp-reels-nav {
    top: auto;
    bottom: 0;
    transform: none;
    width: 2.6rem;
    height: 2.6rem;
  }

  .pp-reels-prev {
    left: calc(50% - 3.15rem);
  }

  .pp-reels-next {
    right: auto;
    left: calc(50% + 0.55rem);
  }
}

@media (min-width: 768px) {
  .pp-reels {
    --pp-reel-w: 250px;
  }

  .pp-reels-prev {
    left: 1.25rem;
  }

  .pp-reels-next {
    right: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-reels-track {
    transition: none;
  }
}

/* User support package — bento grid under video reels */
.pp-support {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.75rem) 0 40px;
  background: #f7f9fc;
  overflow: hidden;
}

.pp-support-head {
  max-width: 40rem;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
}

.pp-support-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.pp-support-head p {
  margin: 0;
  color: var(--pp-muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.7;
}

.pp-support-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 3.5rem;
}

.pp-bento {
  --pp-bento-border: #8eb0ff;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  border-radius: 36px;
  border: 4px solid var(--pp-bento-border);
  background: #fff;
  box-shadow: 0 10px 28px rgba(30, 63, 212, 0.06);
  transition:
    border-color 0.25s var(--pp-ease),
    background 0.25s var(--pp-ease),
    transform 0.25s var(--pp-ease),
    box-shadow 0.25s var(--pp-ease);
}

.pp-bento:hover {
  --pp-bento-border: #6b8cff;
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(30, 63, 212, 0.1);
}

.pp-bento--lg {
  grid-column: span 3;
  grid-row: span 2;
  min-height: 320px;
}

.pp-bento--coach {
  --pp-bento-border: #5b82ff;
}

.pp-bento--coach:hover {
  --pp-bento-border: #3966f8;
}

.pp-bento--md {
  grid-column: span 3;
  min-height: 210px;
}

.pp-bento--sm {
  grid-column: span 2;
  min-height: 170px;
}

.pp-bento-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--pp-blue);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.pp-bento h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--pp-ink);
}

.pp-bento--sm h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
}

.pp-bento p {
  margin: 0;
  color: var(--pp-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 28rem;
}

.pp-bento--sm p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.pp-bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.pp-bento-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 102, 248, 0.22);
  background: rgba(255, 255, 255, 0.78);
  color: var(--pp-ink);
  font-size: 0.8rem;
  font-weight: 600;
}

.pp-bento-media {
  position: relative;
  flex: 0 0 auto;
  margin-top: 2.2rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(57, 102, 248, 0.22);
  background: var(--pp-blue-soft);
  aspect-ratio: 16 / 10;
}

.pp-bento-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  background: var(--pp-blue-soft);
}

.pp-bento-visual {
  margin-top: auto;
  padding-top: 1.35rem;
}

.pp-bento-avatars {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: 72px;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 102, 248, 0.16);
  background: #fff;
  box-shadow: 0 8px 18px rgba(30, 63, 212, 0.08);
}

.pp-bento-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e8ecf3;
  box-shadow: 0 6px 14px rgba(30, 63, 212, 0.14);
  flex: 0 0 auto;
}

.pp-bento-avatar:first-child {
  margin-left: 0;
}

.pp-bento-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Team: 5 pop in together → more pop in fast → all clear → replay */
.pp-bento--huddle .pp-bento-avatars {
  overflow: hidden;
}

.pp-bento--huddle .pp-bento-avatar {
  opacity: 0;
  transform: translateX(14px) scale(0.45);
  will-change: transform, opacity;
  animation-duration: 5.2s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-iteration-count: infinite;
}

/* First 5 pop in together */
.pp-bento--huddle .pp-bento-avatar:nth-child(-n + 5) {
  animation-name: pp-huddle-base;
}

/* Then more pop in quickly one-by-one */
.pp-bento--huddle .pp-bento-avatar:nth-child(6) {
  animation-name: pp-huddle-extra-1;
}
.pp-bento--huddle .pp-bento-avatar:nth-child(7) {
  animation-name: pp-huddle-extra-2;
}
.pp-bento--huddle .pp-bento-avatar:nth-child(8) {
  animation-name: pp-huddle-extra-3;
}
.pp-bento--huddle .pp-bento-avatar:nth-child(9) {
  animation-name: pp-huddle-extra-4;
}
.pp-bento--huddle .pp-bento-avatar:nth-child(10) {
  animation-name: pp-huddle-extra-5;
}
.pp-bento--huddle .pp-bento-avatar:nth-child(11) {
  animation-name: pp-huddle-extra-6;
}

/* First 5: quick group entrance */
@keyframes pp-huddle-base {
  0% {
    opacity: 0;
    transform: translateX(16px) scale(0.4);
  }
  6% {
    opacity: 1;
    transform: translateX(0) scale(1.12);
  }
  10%,
  68% {
    opacity: 1;
    transform: none;
  }
  80%,
  100% {
    opacity: 0;
    transform: translateX(-8px) scale(0.75);
  }
}

/* Extras: rapid burst after the first five */
@keyframes pp-huddle-extra-1 {
  0%,
  12% {
    opacity: 0;
    transform: translateX(20px) scale(0.4);
  }
  16% {
    opacity: 1;
    transform: translateX(0) scale(1.12);
  }
  19%,
  68% {
    opacity: 1;
    transform: none;
  }
  80%,
  100% {
    opacity: 0;
    transform: translateX(-8px) scale(0.75);
  }
}

@keyframes pp-huddle-extra-2 {
  0%,
  16% {
    opacity: 0;
    transform: translateX(20px) scale(0.4);
  }
  20% {
    opacity: 1;
    transform: translateX(0) scale(1.12);
  }
  23%,
  68% {
    opacity: 1;
    transform: none;
  }
  80%,
  100% {
    opacity: 0;
    transform: translateX(-8px) scale(0.75);
  }
}

@keyframes pp-huddle-extra-3 {
  0%,
  20% {
    opacity: 0;
    transform: translateX(20px) scale(0.4);
  }
  24% {
    opacity: 1;
    transform: translateX(0) scale(1.12);
  }
  27%,
  68% {
    opacity: 1;
    transform: none;
  }
  80%,
  100% {
    opacity: 0;
    transform: translateX(-8px) scale(0.75);
  }
}

@keyframes pp-huddle-extra-4 {
  0%,
  24% {
    opacity: 0;
    transform: translateX(20px) scale(0.4);
  }
  28% {
    opacity: 1;
    transform: translateX(0) scale(1.12);
  }
  31%,
  68% {
    opacity: 1;
    transform: none;
  }
  80%,
  100% {
    opacity: 0;
    transform: translateX(-8px) scale(0.75);
  }
}

@keyframes pp-huddle-extra-5 {
  0%,
  28% {
    opacity: 0;
    transform: translateX(20px) scale(0.4);
  }
  32% {
    opacity: 1;
    transform: translateX(0) scale(1.12);
  }
  35%,
  68% {
    opacity: 1;
    transform: none;
  }
  80%,
  100% {
    opacity: 0;
    transform: translateX(-8px) scale(0.75);
  }
}

@keyframes pp-huddle-extra-6 {
  0%,
  32% {
    opacity: 0;
    transform: translateX(20px) scale(0.4);
  }
  36% {
    opacity: 1;
    transform: translateX(0) scale(1.12);
  }
  39%,
  68% {
    opacity: 1;
    transform: none;
  }
  80%,
  100% {
    opacity: 0;
    transform: translateX(-8px) scale(0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-bento--huddle .pp-bento-avatar {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

.pp-bento-chat {
  --pp-chat-cycle: 4.2s;
  --pp-tick: #22c55e;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  min-height: 112px;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(57, 102, 248, 0.16);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.pp-bento-bubble {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 68%;
  height: 14px;
  border-radius: 999px;
  background: rgba(57, 102, 248, 0.16);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  animation: pp-chat-msg-a var(--pp-chat-cycle) var(--pp-ease) infinite;
}

.pp-bento-bubble.is-reply {
  align-self: flex-end;
  width: min(58%, 180px);
  padding-right: 1.55rem;
  background: var(--pp-blue);
  animation-name: pp-chat-msg-b;
  box-sizing: border-box;
}

.pp-bento-bubble--fast {
  width: 44%;
  animation-name: pp-chat-msg-c;
}

.pp-bento-ticks {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: -0.22em;
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 0.5px rgba(0, 0, 0, 0.15);
  animation: pp-chat-ticks var(--pp-chat-cycle) var(--pp-ease) infinite;
}

.pp-bento-ticks i {
  display: block;
}

.pp-bento-ticks i + i {
  margin-left: -0.12em;
}

/* Typing floats over chat — does not push bubbles / break gap */
.pp-bento-typing {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  height: 22px;
  padding: 0 11px;
  border-radius: 999px;
  background: #e8eefc;
  border: 1px solid rgba(57, 102, 248, 0.14);
  box-shadow: 0 4px 10px rgba(30, 63, 212, 0.08);
  opacity: 0;
  transform: translateY(6px);
  animation: pp-chat-typing var(--pp-chat-cycle) var(--pp-ease) infinite;
}

.pp-bento-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(57, 102, 248, 0.55);
  animation: pp-chat-dot 1s ease-in-out infinite;
}

.pp-bento-typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.pp-bento-typing i:nth-child(3) {
  animation-delay: 0.3s;
}

/* Cycle: user msg → our reply + ticks → typing → fast reply */
@keyframes pp-chat-msg-a {
  0%,
  4% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  10%,
  82% {
    opacity: 1;
    transform: none;
  }
  92%,
  100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

@keyframes pp-chat-msg-b {
  0%,
  16% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  24%,
  82% {
    opacity: 1;
    transform: none;
  }
  92%,
  100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

@keyframes pp-chat-msg-c {
  0%,
  58% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  66%,
  82% {
    opacity: 1;
    transform: none;
  }
  92%,
  100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

/* White ticks appear with the blue bubble; then turn green = read */
@keyframes pp-chat-ticks {
  0%,
  16% {
    opacity: 0;
    color: #fff;
    transform: translateY(-50%) scale(0.85);
  }
  24%,
  44% {
    opacity: 1;
    color: #fff;
    transform: translateY(-50%) scale(1);
  }
  52%,
  82% {
    opacity: 1;
    color: var(--pp-tick);
    transform: translateY(-50%) scale(1.06);
  }
  92%,
  100% {
    opacity: 0;
    color: var(--pp-tick);
    transform: translateY(-50%) scale(0.9);
  }
}

@keyframes pp-chat-typing {
  0%,
  42% {
    opacity: 0;
    transform: translateY(6px);
  }
  48%,
  58% {
    opacity: 1;
    transform: none;
  }
  64%,
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes pp-chat-dot {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.pp-support-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.pp-support-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pp-blue);
  font-size: 1.55rem;
  line-height: 1;
  flex-shrink: 0;
}

.pp-support-cta-arrow--left {
  animation: pp-support-arrow-left 1.2s ease-in-out infinite;
}

.pp-support-cta-arrow--right {
  animation: pp-support-arrow-right 1.2s ease-in-out infinite;
}

@keyframes pp-support-arrow-left {
  0%, 100% { transform: translateX(-4px); opacity: 0.55; }
  50% { transform: translateX(4px); opacity: 1; }
}

@keyframes pp-support-arrow-right {
  0%, 100% { transform: translateX(4px); opacity: 0.55; }
  50% { transform: translateX(-4px); opacity: 1; }
}

.pp-support-cta-btn {
  min-width: min(100%, 280px);
  min-height: 52px;
  padding: 0.85rem 1.55rem;
  font-size: 1.02rem;
  border-radius: 999px;
  background: var(--pp-blue);
  box-shadow: 0 12px 28px rgba(57, 102, 248, 0.28);
}

.pp-support-cta-btn:hover {
  background: var(--pp-blue-deep);
}

.pp-support-cta-btn i {
  transition: transform 0.25s var(--pp-ease);
}

.pp-support-cta-btn:hover i {
  transform: translateX(4px);
}

.pp-support-divider {
  width: min(100%, 720px);
  height: 1px;
  margin: 3.75rem auto 0.5rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(57, 102, 248, 0.28) 18%,
    rgba(57, 102, 248, 0.45) 50%,
    rgba(57, 102, 248, 0.28) 82%,
    transparent 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .pp-support-cta-arrow--left,
  .pp-support-cta-arrow--right {
    animation: none;
    opacity: 0.85;
  }

  .pp-bento-bubble,
  .pp-bento-ticks,
  .pp-bento-typing,
  .pp-bento-typing i {
    animation: none !important;
  }

  .pp-bento-bubble {
    opacity: 1;
    transform: none;
  }

  .pp-bento-typing {
    display: none;
  }

  .pp-bento-ticks {
    opacity: 1;
    color: var(--pp-tick, #22c55e);
    transform: translateY(-50%);
  }
}

@media (max-width: 720px) {
  /* minmax(0,1fr) prevents avatar min-content from blowing the column open */
  .pp-support-bento {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .pp-bento {
    min-width: 0;
    max-width: 100%;
    padding: 1.15rem 1.1rem 1.2rem;
    border-width: 3px;
    border-radius: 24px;
    overflow: hidden;
  }

  .pp-bento--lg,
  .pp-bento--md,
  .pp-bento--sm {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 0;
  }

  .pp-bento h3 {
    font-size: 1.28rem;
  }

  .pp-bento p {
    font-size: 0.92rem;
    max-width: none;
  }

  .pp-bento-media {
    margin-top: 1.25rem;
    border-radius: 14px;
  }

  .pp-bento-visual {
    padding-top: 1rem;
  }

  .pp-bento-avatars {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0.55rem 0.65rem;
    overflow: hidden;
  }

  .pp-bento-avatar {
    width: 34px;
    height: 34px;
    margin-left: -12px;
  }

  .pp-bento-chat {
    max-width: 100%;
  }

  .pp-support-cta {
    gap: 0.3rem;
    width: 100%;
    flex-wrap: nowrap;
  }

  .pp-support-cta-btn {
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
    padding: 0.7rem 0.65rem;
    font-size: clamp(0.8rem, 3.7vw, 1.02rem);
    gap: 0.3rem;
  }

  .pp-support-cta-btn span {
    white-space: nowrap;
  }

  .pp-support-cta-arrow {
    font-size: 1rem;
  }
}

/* iPad / tablet — keep desktop bento composition, slightly flatter spans */
@media (min-width: 721px) and (max-width: 1100px) {
  .pp-bento--lg {
    grid-column: span 6;
    grid-row: span 1;
    min-height: 260px;
  }

  .pp-bento--md {
    grid-column: span 3;
  }

  .pp-bento--sm {
    grid-column: span 2;
  }
}

/* Chat story screenshots — dual-row marquee under reels */
.pp-chat-stories {
  position: relative;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0 clamp(3rem, 6vw, 4.75rem);
  background:
    radial-gradient(ellipse 55% 45% at 10% 20%, rgba(57, 102, 248, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(30, 63, 212, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 55%, #f3f6ff 100%);
  overflow: hidden;
}

.pp-chat-stories-head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.pp-chat-stories-head h2 {
  margin: 0.35rem 0 0.55rem;
}

.pp-chat-stories-head p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--pp-muted);
}

.pp-chat-marquee {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pp-chat-row-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.pp-chat-row {
  display: flex;
  width: max-content;
  will-change: transform;
}

.pp-chat-row--ltr {
  animation: pp-chat-marquee-ltr 95s linear infinite;
}

.pp-chat-row--rtl {
  animation: pp-chat-marquee-rtl 110s linear infinite;
}

.pp-chat-row.is-paused {
  animation-play-state: paused;
}

.pp-chat-group {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 0.5rem 0.85rem;
}

.pp-chat-card {
  --tilt: 0deg;
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
  width: min(210px, 42vw);
  height: min(340px, 58vw);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pp-line);
  box-shadow: 0 14px 36px rgba(30, 63, 212, 0.12);
  cursor: zoom-in;
  transform: rotate(var(--tilt)) translateY(0);
  transition: transform 0.3s var(--pp-ease), box-shadow 0.3s var(--pp-ease);
  position: relative;
  z-index: 1;
}

.pp-chat-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: var(--pp-blue-mist);
  /* Keep the bitmap on a compositor layer so iOS paints inside the tilted card. */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.pp-chat-card:hover,
.pp-chat-card:focus-visible {
  z-index: 3;
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 22px 48px rgba(30, 63, 212, 0.22);
  outline: none;
}

.pp-chat-card:focus {
  outline: none;
}

.pp-chat-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(57, 102, 248, 0.35), 0 22px 48px rgba(30, 63, 212, 0.22);
}

@keyframes pp-chat-marquee-ltr {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes pp-chat-marquee-rtl {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.pp-chat-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  overscroll-behavior: none;
}

.pp-chat-lightbox[hidden] {
  display: none !important;
}

.pp-chat-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.pp-chat-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 2rem));
  max-height: min(88vh, 860px);
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  border-radius: 22px;
  background: #0b0b0b;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  line-height: 0;
  animation: pp-chat-lightbox-in 0.35s var(--pp-ease) both;
}

.pp-chat-lightbox-panel img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  border-radius: 0;
  background: #0b0b0b;
}

.pp-chat-lightbox-panel:focus,
.pp-chat-lightbox-panel:focus-visible {
  outline: none;
}

.pp-chat-lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  outline: none;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.pp-chat-lightbox-close span {
  display: block;
  margin-top: -0.08em;
  pointer-events: none;
}

.pp-chat-lightbox-close:hover {
  background: rgba(15, 23, 42, 0.9);
}

.pp-chat-lightbox-close:focus {
  outline: none;
  background: rgba(15, 23, 42, 0.9);
}

/* Keyboard only — keep mouse-open from showing a focus ring */
.pp-chat-lightbox-close:focus:not(:focus-visible) {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.pp-chat-lightbox-close:focus-visible {
  outline: none;
  background: rgba(15, 23, 42, 0.9);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.28),
    0 0 0 2px #fff,
    0 0 0 4px rgba(57, 102, 248, 0.75);
}

@keyframes pp-chat-lightbox-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  /* WebKit mask + overflow-hidden can blank the marquee on iPhone/iPad. */
  .pp-chat-row-wrap {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .pp-chat-row--ltr {
    animation-duration: 48s;
  }

  .pp-chat-row--rtl {
    animation-duration: 56s;
  }
}

@media (min-width: 768px) {
  .pp-chat-card {
    width: 230px;
    height: 380px;
  }

  .pp-chat-marquee {
    gap: 1.85rem;
  }

  .pp-chat-group {
    gap: 2.25rem;
    padding: 0.65rem 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-chat-row--ltr,
  .pp-chat-row--rtl {
    animation: none;
  }

  .pp-chat-lightbox-panel {
    animation: none;
  }
}

/* Features */
.pp-features {
  background: linear-gradient(180deg, transparent, var(--pp-blue-mist) 12%, var(--pp-blue-mist) 88%, transparent);
}

.pp-feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.pp-feature-row:nth-child(even) {
  direction: rtl;
}

.pp-feature-row:nth-child(even) > * {
  direction: ltr;
}

.pp-feature-media {
  border-radius: var(--pp-radius);
  overflow: hidden;
  border: 1px solid var(--pp-line);
  background: #fff;
  box-shadow: 0 16px 40px rgba(57, 102, 248, 0.1);
}

.pp-feature-media img {
  display: block;
  width: 100%;
}

.pp-feature-copy h3 {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  margin: 0 0 0.85rem;
}

.pp-feature-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-feature-copy li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  color: var(--pp-muted);
  line-height: 1.55;
}

.pp-feature-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pp-blue);
  box-shadow: 0 0 0 4px var(--pp-blue-soft);
}

/* Voice intro */
.pp-voice {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: calc(var(--pp-radius) + 4px);
  background: #fff;
  border: 1px solid var(--pp-line);
  box-shadow: var(--pp-shadow);
}

.pp-voice-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.pp-voice-panel > p {
  margin: 0 0 1.25rem;
  color: var(--pp-muted);
  line-height: 1.6;
}

.pp-audio-player {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--pp-radius-sm);
  background: var(--pp-blue-mist);
  border: 1px solid var(--pp-line);
}

.pp-audio-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pp-audio-play {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--pp-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(57, 102, 248, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.pp-audio-play:hover {
  background: var(--pp-blue-deep);
  transform: scale(1.04);
}

.pp-audio-play[aria-pressed='true'] .pp-icon-play,
.pp-audio-play:not([aria-pressed='true']) .pp-icon-pause {
  display: none;
}

.pp-audio-meta {
  flex: 1;
  min-width: 0;
}

.pp-audio-meta strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.pp-audio-bar {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(57, 102, 248, 0.18);
  outline: none;
  cursor: pointer;
}

.pp-audio-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pp-blue);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(57, 102, 248, 0.4);
}

.pp-audio-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--pp-muted);
  margin-top: 0.35rem;
}

.pp-voice-transcript {
  max-height: 280px;
  overflow: auto;
  padding: 1rem 1.1rem;
  border-radius: var(--pp-radius-sm);
  background: var(--pp-blue-mist);
  border: 1px solid var(--pp-line);
  color: var(--pp-ink);
  line-height: 1.75;
  font-size: 0.98rem;
  white-space: pre-wrap;
}

.pp-voice-transcript-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pp-blue);
  margin: 0 0 0.65rem;
}

/* Showcase / parallax */
.pp-showcase {
  position: relative;
}

.pp-showcase.pp-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 0;
}

.pp-showcase-sticky {
  --pp-showcase-top: calc(var(--pp-promo-h) + var(--pp-frame-inset-y) + 12px + var(--pp-nav-h));
  position: sticky;
  top: var(--pp-showcase-top);
  min-height: calc(var(--pp-vh) - var(--pp-showcase-top) - var(--pp-frame-inset-y));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.75rem;
  overflow: hidden;
  padding: 1.75rem 0 2.75rem;
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(57, 102, 248, 0.12), transparent 60%),
    #fff;
}

.pp-showcase-head {
  margin-bottom: 0;
}

.pp-showcase-head h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  margin-bottom: 0.55rem;
}

.pp-showcase-head p {
  font-size: 0.98rem;
}

.pp-showcase-track {
  display: flex;
  gap: 1.15rem;
  padding: 0 max(1.25rem, calc((100vw - 1120px) / 2));
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.pp-showcase-card {
  flex: 0 0 min(68vw, 460px);
  background: #fff;
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.pp-showcase-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--pp-blue-mist);
}

.pp-showcase-card-body {
  padding: 1.15rem 1.35rem 1.35rem;
}

.pp-showcase-card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.pp-showcase-card-body p {
  margin: 0;
  color: var(--pp-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pp-showcase-progress {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  width: min(240px, 50vw);
  height: 4px;
  border-radius: 999px;
  background: rgba(57, 102, 248, 0.15);
  overflow: hidden;
}

.pp-showcase-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--pp-blue);
  transition: width 0.05s linear;
}

/* Tell users to scroll down for more flagship features */
.pp-showcase-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0.15rem 0 0;
  color: var(--pp-blue);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
}

.pp-showcase-hint i {
  font-size: 0.95rem;
  animation: pp-showcase-hint-bounce 1.35s ease-in-out infinite;
}

@keyframes pp-showcase-hint-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@media (min-width: 1101px) {
  .pp-showcase-sticky {
    padding-bottom: 1.5rem;
  }

  .pp-showcase-progress {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    flex: 0 0 auto;
    width: min(240px, 50vw);
    margin: auto auto 0;
  }

  .pp-showcase-hint {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    flex: 0 0 auto;
    margin: -0.85rem auto 0;
    gap: 0.35rem;
    font-size: 0.95rem;
    z-index: 2;
  }

  .pp-showcase-hint i {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-showcase-hint i {
    animation: none;
  }
}

/* Complement existing systems */
.pp-complement {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 12% 10%, rgba(57, 102, 248, 0.1), transparent 60%),
    radial-gradient(ellipse 45% 35% at 92% 85%, rgba(30, 63, 212, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 48%, #ffffff 100%);
}

.pp-complement-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  mask-image: radial-gradient(ellipse 78% 72% at 50% 42%, #000 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 42%, #000 18%, transparent 78%);
}

.pp-shapegrid-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.pp-complement > .pp-container {
  position: relative;
  z-index: 1;
}

.pp-complement-head {
  position: relative;
  max-width: 760px;
}

.pp-complement-title {
  text-wrap: balance;
}

.pp-complement-title-row {
  display: inline;
}

.pp-complement-comma {
  white-space: nowrap;
}

.pp-complement-accent {
  color: var(--pp-blue);
  background: linear-gradient(135deg, var(--pp-blue) 0%, #6b8cff 55%, var(--pp-blue-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.pp-complement-pills {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 0.85rem;
  list-style: none;
  margin: 0 auto 2.5rem;
  padding: 0;
  max-width: 920px;
}

.pp-complement-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 102, 248, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(30, 63, 212, 0.08);
  color: var(--pp-ink);
  font-size: 0.92rem;
  font-weight: 650;
  transition: transform 0.25s var(--pp-ease), box-shadow 0.25s var(--pp-ease);
}

.pp-complement-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(30, 63, 212, 0.14);
}

.pp-complement-pill-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  flex: 0 0 auto;
}

.pp-complement-pill--a .pp-complement-pill-icon {
  background: linear-gradient(145deg, #4ade80, #16a34a);
}

.pp-complement-pill--b .pp-complement-pill-icon {
  background: linear-gradient(145deg, #38bdf8, #0284c7);
}

.pp-complement-pill--c .pp-complement-pill-icon {
  background: linear-gradient(145deg, #c084fc, #7c3aed);
}

.pp-complement-pills.is-visible .pp-complement-pill {
  animation: pp-complement-pill-in 0.65s var(--pp-ease) both;
}

.pp-complement-pills.is-visible .pp-complement-pill:nth-child(2) { animation-delay: 0.08s; }
.pp-complement-pills.is-visible .pp-complement-pill:nth-child(3) { animation-delay: 0.16s; }

@keyframes pp-complement-pill-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pp-complement-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(0.65rem, 1.6vw, 1.1rem);
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.pp-complement-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.15rem, 2.4vw, 1.5rem);
  border-radius: 24px;
  transition: transform 0.3s var(--pp-ease), box-shadow 0.3s var(--pp-ease);
}

.pp-complement-card--hub {
  z-index: 1;
  overflow: visible;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(57, 102, 248, 0.65), rgba(107, 140, 255, 0.4), rgba(30, 63, 212, 0.65)) border-box;
  box-shadow:
    0 0 0 1px rgba(57, 102, 248, 0.08),
    0 0 28px rgba(57, 102, 248, 0.18),
    0 22px 48px rgba(30, 63, 212, 0.12);
}

.pp-complement-card--hub:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(57, 102, 248, 0.12),
    0 0 36px rgba(57, 102, 248, 0.26),
    0 28px 56px rgba(30, 63, 212, 0.16);
}

.pp-complement-hub-ring {
  position: absolute;
  inset: -10px;
  border-radius: 32px;
  pointer-events: none;
  border: 2px solid rgba(57, 102, 248, 0.45);
  box-shadow: 0 0 18px rgba(57, 102, 248, 0.22);
  opacity: 0;
}

.pp-complement-flow.is-visible .pp-complement-hub-ring--delay {
  animation-delay: 2.15s;
}

@keyframes pp-complement-hub-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(57, 102, 248, 0.08),
      0 0 22px rgba(57, 102, 248, 0.16),
      0 22px 48px rgba(30, 63, 212, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(57, 102, 248, 0.16),
      0 0 40px rgba(57, 102, 248, 0.32),
      0 26px 52px rgba(30, 63, 212, 0.16);
  }
}

@keyframes pp-complement-hub-ring {
  0% {
    opacity: 0.7;
    transform: scale(0.98);
  }
  70% {
    opacity: 0;
    transform: scale(1.04);
  }
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

.pp-complement-card--system {
  min-height: 100%;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, #f4f6fb 0%, #eef1f7 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.pp-complement-card--system:hover {
  transform: translateY(-2px);
}

.pp-complement-card--system .pp-complement-steps {
  flex: 1 1 auto;
  justify-content: space-between;
}

.pp-complement-card--system .pp-complement-step {
  flex: 1 1 0;
  align-items: center;
  min-height: 88px;
}

.pp-complement-card--after {
  z-index: 1;
  overflow: visible;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(57, 102, 248, 0.65), rgba(107, 140, 255, 0.4), rgba(30, 63, 212, 0.65)) border-box;
  box-shadow:
    0 0 0 1px rgba(57, 102, 248, 0.08),
    0 0 28px rgba(57, 102, 248, 0.18),
    0 22px 48px rgba(30, 63, 212, 0.12);
}

.pp-complement-card--after:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(57, 102, 248, 0.12),
    0 0 36px rgba(57, 102, 248, 0.26),
    0 28px 56px rgba(30, 63, 212, 0.16);
}

.pp-complement-flow.is-visible .pp-complement-card--hub {
  animation:
    pp-complement-slide-left 0.75s var(--pp-ease) both,
    pp-complement-hub-glow 2.8s ease-in-out 0.75s infinite;
}

.pp-complement-flow.is-visible .pp-complement-card--system {
  animation: pp-complement-fade-up 0.75s var(--pp-ease) 0.12s both;
}

.pp-complement-flow.is-visible .pp-complement-card--after {
  animation:
    pp-complement-slide-right 0.75s var(--pp-ease) 0.22s both,
    pp-complement-hub-glow 2.8s ease-in-out 0.95s infinite;
}

.pp-complement-flow.is-visible .pp-complement-handoff {
  animation: pp-complement-fade-up 0.7s var(--pp-ease) 0.2s both;
}

.pp-complement-flow.is-visible .pp-complement-handoff:nth-of-type(2) {
  animation-delay: 0.32s;
}

.pp-complement-flow.is-visible .pp-complement-hub-ring {
  animation: pp-complement-hub-ring 2.8s var(--pp-ease) 0.75s infinite;
}

@keyframes pp-complement-slide-left {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pp-complement-slide-right {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pp-complement-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pp-complement-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pp-complement-logo {
  display: block;
  height: 28px;
  width: auto;
}

.pp-complement-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pp-complement-badge--hub {
  color: var(--pp-blue-deep);
  background: var(--pp-blue-soft);
  border: 1px solid rgba(57, 102, 248, 0.18);
}

.pp-complement-badge--system {
  color: #64748b;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.pp-complement-system-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--pp-ink);
}

.pp-complement-system-title strong {
  font-size: 1.05rem;
  font-weight: 750;
}

.pp-complement-system-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #64748b;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.pp-complement-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1 1 auto;
}

.pp-complement-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid transparent;
}

.pp-complement-step strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: var(--pp-ink);
}

.pp-complement-step p {
  margin: 0;
  color: var(--pp-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.pp-complement-step--tools {
  background: #f3f5f9;
  border-color: rgba(15, 23, 42, 0.04);
}

.pp-complement-step--ai {
  background: var(--pp-blue-mist);
  border-color: rgba(57, 102, 248, 0.12);
}

.pp-complement-step--policy {
  background: #f3f5f9;
  border-color: rgba(15, 23, 42, 0.04);
}

.pp-complement-step--care {
  background: var(--pp-blue-mist);
  border-color: rgba(57, 102, 248, 0.12);
}

.pp-complement-step--sys {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.05);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.pp-complement-step-icon,
.pp-complement-step-num {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0.9rem;
}

.pp-complement-step--tools .pp-complement-step-icon {
  background: #e8ecf3;
  color: #475569;
}

.pp-complement-step--ai .pp-complement-step-icon {
  background: linear-gradient(145deg, #6b8cff, var(--pp-blue));
  color: #fff;
  box-shadow: 0 8px 16px rgba(57, 102, 248, 0.25);
}

.pp-complement-step--policy .pp-complement-step-icon {
  background: #e8ecf3;
  color: #475569;
}

.pp-complement-step--care .pp-complement-step-icon {
  background: linear-gradient(145deg, #6b8cff, var(--pp-blue));
  color: #fff;
  box-shadow: 0 8px 16px rgba(57, 102, 248, 0.25);
}

.pp-complement-step-num {
  border-radius: 50%;
  background: #e8ecf3;
  color: #64748b;
  font-weight: 750;
  font-size: 0.85rem;
  font-family: var(--pp-font-display);
}

.pp-complement-flow.is-visible .pp-complement-step {
  animation: pp-complement-step-in 0.55s var(--pp-ease) both;
}

.pp-complement-flow.is-visible .pp-complement-card--hub .pp-complement-step:nth-child(1) { animation-delay: 0.28s; }
.pp-complement-flow.is-visible .pp-complement-card--hub .pp-complement-step:nth-child(2) { animation-delay: 0.38s; }
.pp-complement-flow.is-visible .pp-complement-card--system .pp-complement-step:nth-child(1) { animation-delay: 0.42s; }
.pp-complement-flow.is-visible .pp-complement-card--system .pp-complement-step:nth-child(2) { animation-delay: 0.52s; }
.pp-complement-flow.is-visible .pp-complement-card--after .pp-complement-step:nth-child(1) { animation-delay: 0.56s; }
.pp-complement-flow.is-visible .pp-complement-card--after .pp-complement-step:nth-child(2) { animation-delay: 0.66s; }

@keyframes pp-complement-step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pp-complement-output {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 48px;
  margin-top: 0.15rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(110deg, var(--pp-blue) 0%, #6b8cff 42%, var(--pp-blue-deep) 100%);
  background-size: 180% 100%;
  box-shadow: 0 14px 28px rgba(57, 102, 248, 0.28);
  animation: pp-complement-output-glow 3.6s ease-in-out infinite;
}

.pp-complement-output-arrow {
  display: inline-flex;
  animation: pp-complement-nudge 1.6s var(--pp-ease) infinite;
}

@keyframes pp-complement-output-glow {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow: 0 14px 28px rgba(57, 102, 248, 0.28);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 16px 34px rgba(57, 102, 248, 0.38);
  }
}

@keyframes pp-complement-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

.pp-complement-handoff {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 0.25rem 0;
}

.pp-complement-handoff-track {
  position: relative;
  width: 64px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-complement-handoff-beam {
  position: absolute;
  left: 4px;
  right: 18px;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    rgba(57, 102, 248, 0.08),
    rgba(57, 102, 248, 0.55),
    rgba(107, 140, 255, 0.9),
    rgba(57, 102, 248, 0.15)
  );
  background-size: 200% 100%;
  animation: pp-complement-beam 1.6s linear infinite;
  box-shadow: 0 0 12px rgba(57, 102, 248, 0.35);
}

.pp-complement-handoff-particle {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(57, 102, 248, 0.35),
    0 0 14px rgba(57, 102, 248, 0.7);
  animation: pp-complement-particle 1.6s var(--pp-ease) infinite;
}

.pp-complement-handoff-arrow {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #6b8cff 0%, var(--pp-blue) 45%, var(--pp-blue-deep) 100%);
  box-shadow:
    0 0 0 5px rgba(57, 102, 248, 0.12),
    0 0 0 10px rgba(57, 102, 248, 0.06),
    0 12px 24px rgba(57, 102, 248, 0.3);
  animation: pp-complement-arrow-pulse 2s var(--pp-ease) infinite;
}

.pp-complement-handoff-arrow svg {
  display: block;
  transform: translateX(1px);
}

@keyframes pp-complement-beam {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes pp-complement-particle {
  0% {
    left: 6px;
    opacity: 0;
    transform: scale(0.6);
  }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% {
    left: calc(100% - 46px);
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes pp-complement-arrow-pulse {
  0%, 100% {
    transform: translateX(0);
    box-shadow:
      0 0 0 5px rgba(57, 102, 248, 0.12),
      0 0 0 10px rgba(57, 102, 248, 0.06),
      0 12px 24px rgba(57, 102, 248, 0.3);
  }
  50% {
    transform: translateX(4px);
    box-shadow:
      0 0 0 7px rgba(57, 102, 248, 0.16),
      0 0 0 14px rgba(57, 102, 248, 0.06),
      0 14px 28px rgba(57, 102, 248, 0.38);
  }
}

/* Growth proof — GradientWaves + refined glass cards */
.pp-growth {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #2a4fe0 0%, #1e3fd4 52%, #152fa8 100%);
}

.pp-growth-waves {
  position: absolute;
  inset: -6% 0 -2%;
  z-index: 0;
  pointer-events: none;
}

.pp-growth-waves canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.pp-growth-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 255, 255, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(12, 28, 110, 0.12) 0%, transparent 40%, rgba(10, 22, 90, 0.22) 100%);
}

.pp-growth-inner {
  position: relative;
  z-index: 1;
}

.pp-growth-head {
  margin-bottom: 2.4rem;
}

.pp-growth-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 30px rgba(8, 20, 80, 0.28);
}

.pp-growth-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.pp-growth-stat {
  --pp-growth-accent: #fff;
  --pp-growth-glow: rgba(255, 255, 255, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.28rem;
  min-height: 188px;
  padding: 1.7rem 1.55rem 1.55rem;
  border-radius: calc(var(--pp-radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0.12) 100%);
  box-shadow:
    0 16px 36px rgba(10, 24, 96, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.28s var(--pp-ease),
    background 0.28s var(--pp-ease),
    border-color 0.28s var(--pp-ease),
    box-shadow 0.28s var(--pp-ease);
}

.pp-growth-stat::before {
  content: '';
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  opacity: 0.9;
}

.pp-growth-stat::after {
  content: '';
  position: absolute;
  right: -20%;
  top: -35%;
  width: 55%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pp-growth-glow), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.pp-growth-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 55%, rgba(255, 255, 255, 0.16) 100%);
  box-shadow:
    0 22px 44px rgba(10, 24, 96, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.pp-growth-stat-value {
  font-family: var(--pp-font-display);
  font-size: clamp(2.75rem, 5vw, 3.55rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--pp-growth-accent);
  text-shadow: 0 8px 24px rgba(8, 20, 80, 0.2);
}

.pp-growth-stat--cyan {
  --pp-growth-accent: #7ef0ff;
  --pp-growth-glow: rgba(126, 240, 255, 0.28);
}

.pp-growth-stat--amber {
  --pp-growth-accent: #ffd166;
  --pp-growth-glow: rgba(255, 209, 102, 0.26);
}

.pp-growth-stat--lilac {
  --pp-growth-accent: #d4b7ff;
  --pp-growth-glow: rgba(212, 183, 255, 0.28);
}

.pp-growth-stat-title {
  margin-top: 0.55rem;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.pp-growth-stat-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
}

.pp-growth-grid.is-visible .pp-growth-stat {
  animation: pp-growth-stat-in 0.7s var(--pp-ease) both;
}

.pp-growth-grid.is-visible .pp-growth-stat:nth-child(2) { animation-delay: 0.1s; }
.pp-growth-grid.is-visible .pp-growth-stat:nth-child(3) { animation-delay: 0.2s; }

@keyframes pp-growth-stat-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .pp-complement-flow {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  /* Vertical connector: rotate horizontal track so beam runs top → bottom */
  .pp-complement-handoff {
    min-width: 0;
    min-height: 132px; /* reserve space for rotated track */
    padding: 0.15rem 0;
  }

  .pp-complement-handoff-track {
    /* width becomes visual height after rotate(90deg) — make the line longer */
    width: 132px;
    height: 48px;
    transform: rotate(90deg);
  }

  .pp-complement-handoff-beam {
    left: 4px;
    right: 18px;
  }

  .pp-complement-handoff-arrow {
    width: 40px;
    height: 40px;
  }

  .pp-complement-flow.is-visible .pp-complement-card--hub {
    animation:
      pp-complement-fade-up 0.75s var(--pp-ease) both,
      pp-complement-hub-glow 2.8s ease-in-out 0.75s infinite;
  }

  .pp-complement-flow.is-visible .pp-complement-card--system,
  .pp-complement-flow.is-visible .pp-complement-card--after {
    animation-name: pp-complement-fade-up;
  }

  .pp-complement-flow.is-visible .pp-complement-card--after {
    animation:
      pp-complement-fade-up 0.75s var(--pp-ease) 0.22s both,
      pp-complement-hub-glow 2.8s ease-in-out 0.95s infinite;
  }
}

@media (max-width: 720px) {
  .pp-growth-head {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .pp-growth-head h2 {
    font-size: clamp(1.2rem, 5.55vw, 1.7rem);
    letter-spacing: -0.045em;
    white-space: nowrap;
    line-height: 1.2;
  }

  .pp-growth-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pp-growth-stat {
    min-height: 0;
    padding: 1.25rem 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-hero-preview,
  .pp-hero-in,
  .pp-hero-orb,
  .pp-logo-track,
  .pp-promo-track,
  .pp-complement-output,
  .pp-complement-output-arrow,
  .pp-complement-card--hub,
  .pp-complement-hub-ring,
  .pp-complement-handoff-beam,
  .pp-complement-handoff-particle,
  .pp-complement-handoff-arrow,
  .pp-growth-grid.is-visible .pp-growth-stat,
  .pp-complement-pills.is-visible .pp-complement-pill,
  .pp-complement-flow.is-visible .pp-complement-card--hub,
  .pp-complement-flow.is-visible .pp-complement-card--system,
  .pp-complement-flow.is-visible .pp-complement-card--after,
  .pp-complement-flow.is-visible .pp-complement-handoff,
  .pp-complement-flow.is-visible .pp-complement-step,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .pp-complement-hub-ring {
    opacity: 0 !important;
  }

  .pp-complement-bg {
    opacity: 0.55;
  }

  .pp-showcase-pin {
    height: auto !important;
  }

  .pp-showcase-sticky {
    position: relative;
    min-height: 0;
    overflow: visible;
  }

  .pp-showcase-track {
    display: grid;
    grid-template-columns: 1fr;
    transform: none !important;
    padding: 0;
    gap: 1.25rem;
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
  }

  .pp-showcase-card {
    flex: none;
    width: 100%;
  }

  .pp-showcase-progress {
    display: none;
  }

  .pp-showcase-hint {
    display: none !important;
  }
}

/* Testimonials */
.pp-reviews {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 12% 0%, rgba(57, 102, 248, 0.1), transparent 60%),
    radial-gradient(ellipse 45% 35% at 90% 100%, rgba(30, 63, 212, 0.07), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 52%, #ffffff 100%);
}

.pp-reviews-bg {
  position: absolute;
  inset: 18% 10% auto;
  height: 36%;
  pointer-events: none;
  background:
    linear-gradient(rgba(57, 102, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 102, 248, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
}

.pp-reviews-head {
  position: relative;
  max-width: 720px;
}

.pp-reviews-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pp-review {
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.5rem 1.45rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(57, 102, 248, 0.14);
  box-shadow:
    0 16px 36px rgba(30, 63, 212, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  text-align: left;
  height: 100%;
  transition: transform 0.25s var(--pp-ease), box-shadow 0.25s var(--pp-ease);
}

.pp-review:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 44px rgba(30, 63, 212, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.pp-review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.05rem;
}

.pp-review-top img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(57, 102, 248, 0.2);
  flex: 0 0 auto;
}

.pp-review-top h4 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.pp-review-top p {
  margin: 0.2rem 0 0;
  color: var(--pp-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.pp-review blockquote {
  position: relative;
  margin: 0;
  color: var(--pp-ink);
  line-height: 1.7;
  font-size: 0.98rem;
  flex: 1 1 auto;
}

.pp-review-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: center;
  margin-top: 1.25rem;
  min-height: 40px;
  padding: 0.4rem 0.95rem 0.4rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 102, 248, 0.16);
  background: var(--pp-blue-soft);
  color: var(--pp-blue-deep) !important;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s var(--pp-ease), background 0.2s, box-shadow 0.2s;
}

.pp-review-watch:hover {
  transform: translateY(-1px);
  background: #dce6ff;
  box-shadow: 0 10px 20px rgba(57, 102, 248, 0.16);
}

.pp-review-watch-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--pp-blue), var(--pp-blue-deep));
  color: #fff;
  font-size: 0.68rem;
  box-shadow: 0 6px 14px rgba(57, 102, 248, 0.28);
}

.pp-review-watch-icon i {
  margin-left: 1px;
}

/* FAQ */
.pp-faq {
  position: relative;
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(57, 102, 248, 0.07), transparent 62%),
    linear-gradient(180deg, #f7f9ff 0%, #fff 55%);
}

.pp-faq-head {
  margin-bottom: 2rem;
}

.pp-faq-wa,
.pp-faq-wa:link,
.pp-faq-wa:visited,
.pp-faq-wa:hover,
.pp-faq-wa:focus,
.pp-faq-wa:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.15rem;
  color: #128c7e;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s var(--pp-ease), transform 0.2s var(--pp-ease);
}

.pp-faq-wa:hover,
.pp-faq-wa:focus {
  color: #075e54;
  transform: translateY(-1px);
}

.pp-faq-wa i {
  font-size: 1.25rem;
  text-decoration: none !important;
}

.pp-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.pp-faq-item {
  border: 1.5px solid rgba(142, 176, 255, 0.55);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  transition: border-color 0.2s var(--pp-ease), box-shadow 0.2s var(--pp-ease);
}

.pp-faq-item[open] {
  border-color: rgba(57, 102, 248, 0.55);
  box-shadow: 0 10px 28px rgba(57, 102, 248, 0.08);
}

.pp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--pp-ink, #0f1b3d);
  user-select: none;
}

.pp-faq-q::-webkit-details-marker {
  display: none;
}

.pp-faq-q::marker {
  content: '';
}

.pp-faq-q > span {
  flex: 1;
  min-width: 0;
}

/* Hide legacy Q: prefix + embedded chevron from old i18n strings */
.pp-faq-q > span > b:first-child,
.pp-faq-q > span > i.fas {
  display: none;
}

.pp-faq-chevron {
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
  color: var(--pp-blue, #3966f8);
  font-size: 0.85rem;
  transition: transform 0.25s var(--pp-ease);
}

.pp-faq-item[open] .pp-faq-chevron {
  transform: rotate(180deg);
}

.pp-faq-a {
  padding: 0 1.5rem 1.5rem;
  color: #4b5568;
  font-size: 0.98rem;
  font-weight: 450;
  line-height: 1.8;
}

.pp-faq-a > p {
  margin: 0 0 0.9rem;
}

.pp-faq-a > p:last-child {
  margin-bottom: 0;
}

.pp-faq-a ul,
.pp-faq-a ol {
  margin: 0.15rem 0 0.9rem;
  padding: 0 0 0 1.25rem;
}

.pp-faq-a ul {
  list-style: disc;
}

.pp-faq-a ol {
  list-style: decimal;
}

.pp-faq-a ul:last-child,
.pp-faq-a ol:last-child {
  margin-bottom: 0;
}

.pp-faq-a li {
  margin: 0.45rem 0;
  padding-left: 0.2rem;
}

.pp-faq-a li::marker {
  color: var(--pp-blue, #3966f8);
  font-weight: 650;
}

/* Hide legacy A: prefix from old i18n strings */
.pp-faq-a > b:first-child {
  display: none;
}

.pp-faq-a b {
  color: #111827;
  font-weight: 700;
}

@media (max-width: 640px) {
  .pp-faq-list {
    gap: 1.15rem;
  }

  .pp-faq-q {
    padding: 1.2rem 1.25rem;
    font-size: 0.98rem;
  }

  .pp-faq-a {
    padding: 0 1.25rem 1.2rem;
    font-size: 0.94rem;
  }
}

/* App download */
.pp-download {
  position: relative;
  background:
    radial-gradient(ellipse 50% 45% at 50% 0%, rgba(57, 102, 248, 0.08), transparent 60%),
    #fff;
}

.pp-download-head {
  margin-bottom: 1.75rem;
}

.pp-download-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.25rem;
}

.pp-download-badge {
  display: inline-flex;
  transition: transform 0.2s var(--pp-ease), opacity 0.2s;
}

.pp-download-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.pp-download-badge img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 180px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .pp-download-badge img {
    height: 46px;
  }
}

/* Pricing */
.pp-pricing {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(57, 102, 248, 0.1), transparent 60%),
    #fff;
}

.pp-pricing-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pp-pricing-title-row {
  display: block;
  white-space: nowrap;
}

@media (max-width: 720px) {
  html[lang='en'] .pp-pricing-title-row {
    white-space: normal;
  }
}

.pp-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.pp-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: var(--pp-radius);
  background: #fff;
  border: 1px solid var(--pp-line);
  min-height: 100%;
}

.pp-price-card.is-featured {
  border-color: var(--pp-blue);
  box-shadow: 0 18px 40px rgba(57, 102, 248, 0.16);
  transform: translateY(-6px);
}

.pp-price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pp-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pp-price-card h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.2rem;
}

.pp-price-card .pp-price {
  font-family: var(--pp-font-display);
  font-size: 1.7rem;
  color: var(--pp-blue);
  margin: 0 0 0.5rem;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pp-price-card .pp-price .material-icons {
  font-size: 1.4rem;
}

.pp-price-card .pp-price-desc {
  color: var(--pp-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-line;
  margin: 0 0 1rem;
  min-height: 2.8rem;
}

.pp-price-card .pp-btn {
  width: 100%;
  margin-bottom: 1rem;
}

.pp-price-card .pp-features-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pp-ink);
  margin: 0 0 0.5rem;
}

.pp-price-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.pp-price-card li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.4rem 0;
  color: var(--pp-ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.pp-price-card li .material-icons {
  font-size: 1.1rem;
  color: var(--pp-blue);
  margin-top: 1px;
}

.pp-price-card.is-featured li .material-icons {
  color: #16a34a;
}

.pp-pricing-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.25rem;
  padding: clamp(1.6rem, 3.5vw, 2.35rem) clamp(1.5rem, 4vw, 2.75rem);
  border-radius: calc(var(--pp-radius) + 10px);
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #5b82ff 0%, #3966f8 48%, #1e3fd4 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(30, 63, 212, 0.28);
}

.pp-pricing-cta-rings {
  position: absolute;
  right: -40px;
  top: 50%;
  width: 220px;
  height: 220px;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, transparent 38%, rgba(255, 255, 255, 0.18) 39%, transparent 40%),
    radial-gradient(circle, transparent 52%, rgba(255, 255, 255, 0.14) 53%, transparent 54%),
    radial-gradient(circle, transparent 66%, rgba(255, 255, 255, 0.1) 67%, transparent 68%);
}

.pp-pricing-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.pp-pricing-cta-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffd166;
}

.pp-pricing-cta h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}

.pp-pricing-cta-body {
  margin: 0;
  max-width: 38rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.pp-pricing-cta-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  background: var(--pp-ink);
  color: #fff !important;
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  transition: transform 0.2s var(--pp-ease), background 0.2s var(--pp-ease), box-shadow 0.2s;
}

.pp-pricing-cta-btn:hover,
.pp-pricing-cta-btn:focus,
.pp-pricing-cta-btn:focus-visible,
.pp-pricing-cta-btn:active {
  background: #1e293b;
  color: #fff !important;
  text-decoration: none !important;
  outline: none;
}

.pp-pricing-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.28);
}

.pp-pricing-cta-btn:focus-visible {
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.22),
    0 0 0 2px #fff,
    0 0 0 4px rgba(57, 102, 248, 0.75);
}

.pp-pricing-cta-arrow {
  display: inline-flex;
  transition: transform 0.2s var(--pp-ease);
}

.pp-pricing-cta-btn:hover .pp-pricing-cta-arrow {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .pp-pricing-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.35rem 1.45rem;
  }

  .pp-pricing-cta-btn {
    width: 100%;
  }

  .pp-pricing-cta-rings {
    right: -60px;
    opacity: 0.7;
  }
}

/* Footer — floating CTA over deep-blue base */
.pp-footer {
  position: relative;
  margin-top: 2.5rem;
  padding: 0 0 0;
  border-top: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 0%, rgba(107, 140, 255, 0.28), transparent 55%),
    linear-gradient(180deg, #2f56e8 0%, #1e3fd4 48%, #1633b0 100%);
  color: #fff;
  border-radius: clamp(48px, 8vw, 88px) clamp(48px, 8vw, 88px) var(--pp-stage-radius) var(--pp-stage-radius);
  overflow: hidden;
}

.pp-footer-shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.75rem 0 1.85rem;
}

.pp-footer-cta {
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 auto 1.5rem;
  padding: clamp(1.5rem, 3.2vw, 2.1rem) clamp(1.4rem, 3.5vw, 2.4rem);
  border-radius: calc(var(--pp-radius) + 12px);
  background: #fff;
  border: none;
  box-shadow: 0 18px 40px rgba(10, 24, 96, 0.22);
}

.pp-footer-cta-glow {
  display: none;
}

.pp-footer-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.pp-footer-cta h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--pp-ink);
}

.pp-footer-cta p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.72);
}

.pp-footer-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.pp-footer-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  background: var(--pp-ink);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s var(--pp-ease), background 0.2s var(--pp-ease);
}

.pp-footer-cta-primary:hover,
.pp-footer-cta-primary:focus,
.pp-footer-cta-primary:focus-visible,
.pp-footer-cta-primary:active {
  background: #1e293b;
  color: #fff !important;
  text-decoration: none !important;
  outline: none;
}

.pp-footer-cta-primary:hover {
  transform: translateY(-2px);
}

.pp-footer-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--pp-blue);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(57, 102, 248, 0.28);
  transition: transform 0.2s var(--pp-ease), background 0.2s var(--pp-ease);
}

.pp-footer-cta-icon:hover {
  background: var(--pp-blue-deep);
  color: #fff !important;
  transform: translateY(-2px);
}

.pp-footer-panel {
  position: relative;
  z-index: 1;
  padding: 0.35rem 0 0;
  color: #fff;
}

.pp-footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.pp-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.pp-footer-nav a {
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.pp-footer-nav a:hover {
  opacity: 1;
  color: #fff !important;
}

.pp-footer-social {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.pp-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none !important;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.pp-footer-social a:hover,
.pp-footer-social a:focus,
.pp-footer-social a:focus-visible,
.pp-footer-social a:active {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
  text-decoration: none !important;
  outline: none;
}

.pp-footer-social a:hover {
  transform: translateY(-2px);
}

.pp-footer-social a:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.pp-footer-meta {
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.6;
}

.pp-footer-meta p {
  margin: 0.2rem 0;
}

@media (max-width: 720px) {
  .pp-footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }

  .pp-footer-cta-actions {
    width: 100%;
  }

  .pp-footer-cta-primary {
    flex: 1 1 auto;
  }

  /* Slightly taller blue footer for FAB clearance; keep meta centered */
  .pp-footer-shell {
    padding-bottom: 4.75rem;
  }

  .pp-footer-meta {
    text-align: center;
    padding-inline: 0;
  }

}

/* Modal cleanup for testimonial videos */
.video-modal .modal-content {
  background: #000;
  border: 0;
}

/* Lightbox open — lock page scroll (chat + video) */
html.pp-lightbox-open {
  overflow: hidden !important;
  overscroll-behavior: none;
  scroll-behavior: auto !important;
}

body.pp-lightbox-open {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}

/* Hide white chrome ring so lightbox scrim covers the full viewport edge */
body.pp-lightbox-open .pp-frame::after {
  opacity: 0;
  visibility: hidden;
}

body.pp-lightbox-open .pp-chat-lightbox,
body.pp-lightbox-open .pp-chat-lightbox-panel,
body.pp-lightbox-open .pp-video-lightbox,
body.pp-lightbox-open .pp-video-lightbox-panel {
  touch-action: pan-y;
}

.pp-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.pp-video-lightbox[hidden] {
  display: none !important;
}

.pp-video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.72);
  cursor: pointer;
}

.pp-video-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  border-radius: 22px;
  background: #0b1220;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.pp-video-lightbox-panel:focus,
.pp-video-lightbox-panel:focus-visible {
  outline: none;
}

.pp-video-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.pp-video-lightbox-close span:first-child {
  font-size: 1.25rem;
  line-height: 1;
}

.pp-video-lightbox-close:hover {
  background: rgba(15, 23, 42, 0.78);
}

.pp-video-lightbox-close:focus {
  outline: none;
  background: rgba(15, 23, 42, 0.78);
}

.pp-video-lightbox-close:focus:not(:focus-visible) {
  box-shadow: none;
}

.pp-video-lightbox-close:focus-visible {
  outline: none;
  background: rgba(15, 23, 42, 0.78);
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px rgba(57, 102, 248, 0.75);
}

.pp-video-lightbox-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.pp-video-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-container {
  position: relative;
  padding-top: 56.25%;
}

.player-container iframe,
.player-container > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Responsive — desktop ≥1101 · iPad/tablet 721–1100 · phone ≤720 */
@media (max-width: 1480px) {
  .pp-nav {
    width: min(100% - 8px, 1180px);
    gap: 6px;
    padding: 0 14px;
  }

  .pp-nav-links a {
    padding: 8px 9px;
    font-size: 0.85rem;
  }

  .pp-nav-btn {
    padding: 10px 12px;
    font-size: 0.8125rem;
  }

  .pp-nav-login {
    padding: 8px 8px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 1360px) {
  .pp-nav-links a {
    padding: 8px 7px;
    font-size: 0.8rem;
  }

  .pp-nav-btn {
    padding: 10px 10px;
  }

  .pp-nav-login {
    display: none;
  }
}

@media (max-width: 1100px) {
  /* 100vmax paint layer janks iPad Safari and clips iPhone chrome. */
  .pp-frame::after {
    box-shadow: 0 0 0 96px #fff;
  }

  .pp-hero-trustbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.94);
  }

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

  .pp-price-card.is-featured {
    transform: none;
  }

  .pp-hero h1 {
    max-width: 100%;
  }
}

/*
  iPad / tablet content — desktop composition (hamburger nav is ≤1100 below).
  Unlock rigid first-screen height so the full hero stack shows without a tall empty void.
*/
@media (min-width: 721px) and (max-width: 1100px) {
  :root {
    --pp-frame-inset-x: 14px;
    --pp-frame-inset-y: 8px;
    --pp-stage-radius: 28px;
    --pp-proof-band: 8.75rem;
  }

  .pp-container {
    width: min(1120px, calc(100% - 2rem));
  }

  .pp-section {
    padding: clamp(3.25rem, 6vw, 5rem) 0;
  }

  /*
    First look on iPad: hero + 「榮獲以下機構支持」 fill the viewport.
    Hero stretches into leftover space; proof band is reserved at the bottom.
    Next sections stay below the fold. Height can still grow if content needs it.
  */
  .pp-landing-top {
    height: auto;
    min-height: calc(var(--pp-vh) - var(--pp-promo-h) - var(--pp-frame-inset-y) * 2 - 10px - var(--pp-nav-h) - var(--pp-proof-band));
    max-height: none;
  }

  .pp-hero {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }

  .pp-hero-main {
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding:
      clamp(1.75rem, 4vh, 2.75rem)
      clamp(1.25rem, 3.5vw, 2rem)
      clamp(1.5rem, 3.5vh, 2.5rem);
  }

  .pp-hero-main .pp-container,
  .pp-hero-grid {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .pp-hero-copy {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
  }

  .pp-hero .pp-eyebrow {
    font-size: 1.08rem;
    padding: 0.55rem 1.1rem;
    margin-bottom: 1rem;
  }

  .pp-hero h1 {
    font-size: clamp(2.9rem, 6.2vw, 3.6rem);
    margin-bottom: 1rem;
    max-width: 18ch;
  }

  html[lang='en'] .pp-hero h1 {
    max-width: min(100%, 44rem);
    font-size: clamp(2.15rem, 4.4vw, 3.15rem);
    white-space: normal;
  }

  .pp-hero-body {
    max-width: 48rem;
    margin-bottom: 1.4rem;
    font-size: clamp(1.18rem, 2.1vw, 1.32rem);
    line-height: 1.85;
  }

  html[lang='en'] .pp-hero-body {
    max-width: 48rem;
    font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  }

  .pp-hero-cta {
    margin-bottom: 1.15rem;
    gap: 0.95rem;
  }

  .pp-hero-cta .pp-btn {
    min-height: 56px;
    padding: 0.95rem 1.7rem;
    font-size: 1.15rem;
  }

  .pp-hero-social-label {
    font-size: 1.02rem;
  }

  .pp-hero-social a {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.6rem;
  }

  .pp-hero-trustbar {
    margin-top: 1.65rem;
    width: 100%;
    max-width: none;
    padding: 0.8rem 0.5rem;
  }

  .pp-trustbar-item {
    min-height: 96px;
  }

  .pp-trustbar-value {
    font-size: clamp(1.65rem, 2.8vw, 2.05rem);
  }

  .pp-trustbar-label {
    font-size: 0.92rem;
  }

  .pp-proof-section.pp-section {
    min-height: var(--pp-proof-band);
    padding-top: 1.25rem;
    padding-bottom: 1.45rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }

  .pp-proof-section .pp-proof-label {
    font-size: 1.22rem;
    margin-bottom: 0.85rem;
  }

  .pp-feature-row {
    gap: clamp(1.25rem, 3vw, 2.5rem);
  }

  .pp-reviews-grid {
    gap: 1rem;
  }

  .pp-review {
    padding: 1.35rem 1.2rem 1.25rem;
  }

  /*
    iPad showcase: fill the leftover viewport with larger cards
    so the scroll-jack panel is not a short strip over a white void.
  */
  .pp-showcase.pp-section {
    padding-top: 1.5rem;
  }

  .pp-showcase-sticky {
    --pp-showcase-top: calc(var(--pp-promo-h) + var(--pp-frame-inset-y) + 10px + var(--pp-nav-h));
    position: sticky;
    top: var(--pp-showcase-top);
    min-height: calc(var(--pp-vh) - var(--pp-showcase-top) - var(--pp-frame-inset-y));
    height: auto;
    overflow: hidden;
    gap: 1.05rem;
    padding: 1.15rem 0 1.45rem;
    justify-content: stretch;
  }

  .pp-showcase-sticky > .pp-container {
    flex: 0 0 auto;
  }

  .pp-showcase-head h2 {
    font-size: clamp(2.45rem, 4.6vw, 2.9rem);
    line-height: 1.18;
    margin: 0.45rem 0 0.7rem;
  }

  .pp-showcase-head p {
    font-size: clamp(1.18rem, 2.1vw, 1.32rem);
    line-height: 1.55;
  }

  .pp-showcase-track {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: stretch;
    gap: 1.15rem;
    padding: 0 1.5rem;
    overflow: visible;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .pp-showcase-card {
    flex: 0 0 min(64vw, 500px);
    width: min(64vw, 500px);
    display: grid;
    grid-template-rows: minmax(0, 1fr) 10.75rem;
    min-height: 0;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  }

  .pp-showcase-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
  }

  .pp-showcase-card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    padding: 1.35rem 1.4rem 1.45rem;
    box-sizing: border-box;
  }

  .pp-showcase-card-body h3 {
    font-size: clamp(1.42rem, 2.4vw, 1.6rem);
    margin-bottom: 0.55rem;
  }

  .pp-showcase-card-body p {
    font-size: clamp(1.08rem, 1.8vw, 1.18rem);
    line-height: 1.6;
  }

  .pp-showcase-progress {
    display: block;
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    flex: 0 0 auto;
    width: min(280px, 46vw);
    height: 6px;
    margin: 0.25rem auto 0;
  }

  .pp-showcase-hint {
    flex: 0 0 auto;
    margin-top: 0.25rem;
    gap: 0.3rem;
    font-size: 1.12rem;
  }

  .pp-showcase-hint i {
    font-size: 1.2rem;
  }
}

/* Landscape iPads — slightly tighter hero padding */
@media (min-width: 721px) and (max-width: 1100px) and (orientation: landscape) {
  :root {
    --pp-proof-band: 6.75rem;
  }

  .pp-landing-top {
    min-height: 0;
  }

  .pp-hero-main {
    padding:
      clamp(1.1rem, 3vh, 1.75rem)
      clamp(1.25rem, 3.5vw, 2rem)
      clamp(1.1rem, 3vh, 1.75rem);
  }

  .pp-hero h1 {
    font-size: clamp(2.2rem, 4vw, 2.85rem);
  }

  .pp-hero-trustbar {
    margin-top: 1.15rem;
    padding: 0.55rem 0.35rem;
  }

  .pp-trustbar-item {
    min-height: 72px;
  }
}

/* Hamburger nav — phone + iPad (same mobile panel design) */
@media (max-width: 1100px) {
  :root {
    --pp-nav-h: 72px;
    --pp-promo-h: 26px;
  }

  /* Reserve closed-bar height only — open panel overlays, never pushes content */
  .pp-nav-shell {
    --pp-nav-inline: 12px; /* shared closed/open horizontal inset */
    top: calc(var(--pp-promo-h) + var(--pp-frame-inset-y));
    height: calc(10px + var(--pp-nav-h));
    padding: 10px var(--pp-nav-inline) 0;
    overflow: visible;
  }

  .pp-nav {
    width: 100%;
    height: var(--pp-nav-h);
    min-height: var(--pp-nav-h);
    padding: 0 20px;
    flex-wrap: nowrap;
    border-radius: 20px;
  }

  .pp-nav-brand {
    margin-left: 0;
  }

  .pp-nav-toggle {
    display: inline-flex;
  }

  .pp-nav-links,
  .pp-nav-actions {
    display: none;
  }

  /* No screen blur/dim — panel floats over the live page */
  body.pp-nav-open {
    overflow: hidden;
  }

  body.pp-nav-open .pp-nav-shell {
    z-index: 1300;
  }

  /* Floating overlay panel — same width as closed bar (frame inset + shell inset) */
  .pp-nav.is-open {
    position: fixed;
    left: calc(var(--pp-frame-inset-x) + var(--pp-nav-inline, 12px));
    right: calc(var(--pp-frame-inset-x) + var(--pp-nav-inline, 12px));
    top: calc(var(--pp-promo-h) + var(--pp-frame-inset-y) + 10px);
    width: auto;
    height: auto;
    max-height: calc(var(--pp-vh) - var(--pp-promo-h) - var(--pp-frame-inset-y) - 24px);
    min-height: var(--pp-nav-h);
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    padding: 14px 20px 20px;
    border-radius: 28px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow:
      0 1px 2px rgba(15, 23, 42, 0.04),
      0 28px 56px rgba(15, 23, 42, 0.18);
    z-index: 1;
    transform-origin: top center;
    animation: pp-nav-panel-in 0.34s var(--pp-ease) both;
  }

  @keyframes pp-nav-panel-in {
    from {
      opacity: 0;
      transform: translateY(-10px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes pp-nav-item-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .pp-nav.is-open .pp-nav-toggle {
    border: 0;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    outline: none;
    box-shadow: none;
  }

  .pp-nav.is-open .pp-nav-toggle:focus,
  .pp-nav.is-open .pp-nav-toggle:focus-visible,
  .pp-nav.is-open .pp-nav-toggle:active {
    outline: none;
    box-shadow: none;
    border: 0;
  }

  .pp-nav.is-open .pp-nav-links,
  .pp-nav.is-open .pp-nav-actions {
    display: flex;
  }

  .pp-nav.is-open .pp-nav-links {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0 0.15rem;
  }

  .pp-nav.is-open .pp-nav-links a {
    display: flex;
    align-items: center;
    padding: 1.05rem 0;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--pp-ink);
    border-radius: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    background: transparent;
    animation: pp-nav-item-in 0.36s var(--pp-ease) both;
  }

  .pp-nav.is-open .pp-nav-links a:nth-child(1) { animation-delay: 0.05s; }
  .pp-nav.is-open .pp-nav-links a:nth-child(2) { animation-delay: 0.09s; }
  .pp-nav.is-open .pp-nav-links a:nth-child(3) { animation-delay: 0.13s; }
  .pp-nav.is-open .pp-nav-links a:nth-child(4) { animation-delay: 0.17s; }
  .pp-nav.is-open .pp-nav-links a:nth-child(5) { animation-delay: 0.21s; }
  .pp-nav.is-open .pp-nav-links a:nth-child(6) { animation-delay: 0.25s; }
  .pp-nav.is-open .pp-nav-links a:nth-child(7) { animation-delay: 0.29s; }

  .pp-nav.is-open .pp-nav-links a:last-child {
    border-bottom: 0;
  }

  .pp-nav.is-open .pp-nav-links a:hover,
  .pp-nav.is-open .pp-nav-links a:focus {
    background: transparent;
    color: var(--pp-blue-deep);
  }

  .pp-nav.is-open .pp-nav-actions {
    order: 4;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    padding: 0.55rem 0 0;
    animation: pp-nav-item-in 0.38s var(--pp-ease) 0.22s both;
  }

  @media (prefers-reduced-motion: reduce) {
    .pp-nav.is-open,
    .pp-nav.is-open .pp-nav-links a,
    .pp-nav.is-open .pp-nav-actions {
      animation: none !important;
    }
  }

  .pp-nav.is-open .pp-lang-switch {
    flex: 1 1 100%;
  }

  .pp-nav.is-open .pp-lang-trigger {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 0.65rem 0;
    font-size: 1.05rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  }

  .pp-nav.is-open .pp-nav-login {
    display: inline-flex;
    flex: 1 1 100%;
    padding: 0.85rem 0 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 0;
  }

  .pp-nav.is-open .pp-nav-btn {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
    min-width: 0;
    padding: 14px 12px;
    font-size: 0.95rem;
  }

  .pp-nav.is-open .pp-nav-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Phone-only layout collapses (iPad keeps desktop-like sections) */
@media (max-width: 720px) {
  :root {
    --pp-frame-inset-x: 10px;
    --pp-frame-inset-y: 6px;
    --pp-stage-radius: 24px;
  }

  .pp-landing-top {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .pp-hero {
    min-height: 0;
    padding: 0.15rem 0 0;
  }

  .pp-hero-main {
    align-items: center;
    padding:
      1.5rem
      clamp(1.25rem, 5vw, 2rem)
      1rem;
  }

  .pp-hero-copy {
    max-width: none;
  }

  .pp-hero h1 {
    max-width: 100%;
  }

  html[lang='en'] .pp-hero h1 {
    white-space: normal;
    font-size: clamp(1.8rem, 6.5vw, 2.5rem);
  }

  .pp-hero-trustbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    padding: 0.5rem;
  }

  .pp-trustbar-item {
    min-height: 84px;
  }

  .pp-trustbar-item:nth-child(4),
  .pp-trustbar-item:nth-child(5) {
    grid-column: span 1;
  }

  .pp-trustbar-item + .pp-trustbar-item::before {
    top: 22%;
    bottom: 22%;
  }

  .pp-trustbar-item:nth-child(4)::before {
    display: none;
  }

  .pp-feature-row,
  .pp-feature-row:nth-child(even),
  .pp-voice {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .pp-reviews-grid {
    grid-template-columns: 1fr;
  }

  /* Complement — mobile type + tighter stack */
  .pp-complement.pp-section {
    padding: 2.75rem 0 3rem;
  }

  .pp-complement-head {
    max-width: none;
    margin: 0 auto 1.25rem;
  }

  .pp-complement-head h2 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 0.35rem 0 0.55rem;
  }

  /* Force a clean 2-line title on mobile — no trailing comma */
  .pp-complement-title-row {
    display: block;
  }

  .pp-complement-comma {
    display: none;
  }

  .pp-complement-head p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .pp-complement-pills {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin: 0 auto 1.35rem;
    max-width: none;
  }

  .pp-complement-pill {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0.65rem 1rem 0.65rem 0.65rem;
    font-size: 1rem;
    border-radius: 16px;
  }

  .pp-complement-pill-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .pp-complement-flow {
    max-width: none;
    gap: 0.85rem;
  }

  .pp-complement-card {
    padding: 1.1rem;
    border-radius: 20px;
  }

  .pp-complement-card-head {
    margin-bottom: 0.15rem;
  }

  .pp-complement-logo {
    height: 24px;
  }

  .pp-complement-badge {
    font-size: 0.62rem;
    padding: 0.24rem 0.55rem;
  }

  .pp-complement-step {
    padding: 0.8rem 0.85rem;
    gap: 0.7rem;
  }

  .pp-complement-step strong {
    font-size: 1.02rem;
  }

  .pp-complement-step p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .pp-complement-system-title strong {
    font-size: 1.05rem;
  }

  /* Showcase: scroll-jack like desktop, but compact height (no empty viewport gap) */
  .pp-showcase.pp-section {
    padding-top: 1rem;
  }

  .pp-showcase-sticky {
    --pp-showcase-top: calc(var(--pp-promo-h) + var(--pp-frame-inset-y) + 10px + var(--pp-nav-h));
    position: sticky;
    top: var(--pp-showcase-top);
    /* Fit content — do not stretch to full viewport on mobile */
    min-height: 0;
    height: auto;
    overflow: hidden;
    gap: 0.75rem;
    padding: 0.65rem 0 1.15rem;
    justify-content: flex-start;
  }

  /* Match 群組真實分享 title/subtitle scale on mobile */
  .pp-showcase-head h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0.35rem 0 0.55rem;
  }

  .pp-showcase-head p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .pp-showcase-track {
    display: flex;
    gap: 1rem;
    padding: 0 1.25rem;
    overflow: visible;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .pp-showcase-card {
    flex: 0 0 min(86vw, 400px);
    width: min(86vw, 400px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  }

  .pp-showcase-card img {
    aspect-ratio: 5 / 4;
    min-height: 200px;
  }

  .pp-showcase-card-body {
    padding: 1.15rem 1.25rem 1.25rem;
  }

  .pp-showcase-card-body h3 {
    font-size: 1.28rem;
    margin-bottom: 0.5rem;
  }

  .pp-showcase-card-body p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .pp-showcase-progress {
    display: block;
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(220px, 58vw);
    height: 5px;
    margin: 0.35rem auto 0;
  }

}

/*
  Phone portrait — keep type readable and let the full trust card sit in
  the first look. Height stays auto (no 100svh lock).
*/
@media (max-width: 720px) and (orientation: portrait) {
  .pp-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .pp-hero h1 {
    font-size: clamp(2.2rem, 8vw, 2.55rem);
  }

  .pp-hero-body {
    font-size: 1.0625rem; /* 17px — do not shrink body copy on phones */
    line-height: 1.7;
  }

  html[lang='en'] .pp-hero-body {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .pp-hero-cta .pp-btn {
    font-size: 1.05rem;
  }
}

/*
  iPhone 14 / 14 Pro and compact Samsung (≤870 CSS px tall):
  fit badge → copy → CTAs → social → full trust card (incl. store ratings)
  without cutting the card or shrinking type.
*/
@media (max-width: 720px) and (orientation: portrait) and (max-height: 870px) {
  .pp-hero-main {
    padding:
      1.25rem
      clamp(1.15rem, 5vw, 1.75rem)
      3.75rem;
  }

  .pp-hero .pp-eyebrow {
    margin: 0 auto 0.78rem;
    font-size: 0.9rem;
    padding: 0.42rem 0.85rem;
  }

  .pp-hero h1 {
    margin-bottom: 0.85rem;
  }

  .pp-hero-body {
    margin-bottom: 1.2rem;
    line-height: 1.65;
  }

  .pp-hero-cta {
    margin-bottom: 1rem;
    gap: 0.75rem;
  }

  .pp-hero-social {
    margin-bottom: 0;
  }

  .pp-hero-trustbar {
    margin-top: 1.2rem;
    padding: 0.35rem 0.3rem;
  }

  .pp-trustbar-item {
    min-height: 70px;
    padding: 0.28rem 0.4rem;
    gap: 0.12rem;
  }

  .pp-trustbar-iso img {
    width: 48px;
    height: 48px;
  }

  .pp-trustbar-value {
    font-size: 1.4rem;
  }

  .pp-trustbar-label {
    font-size: 0.8rem;
  }

  .pp-proof-section {
    padding-top: 3.75rem;
  }
}

/* iPhone 14 Pro Max and large Samsung — extra air between blocks */
@media (max-width: 720px) and (orientation: portrait) and (min-height: 880px) {
  .pp-hero-main {
    padding:
      1.75rem
      clamp(1.25rem, 5vw, 2rem)
      2.25rem;
  }

  .pp-hero .pp-eyebrow {
    margin-bottom: 1rem;
  }

  .pp-hero h1 {
    margin-bottom: 1.15rem;
  }

  .pp-hero-body {
    margin-bottom: 1.5rem;
    line-height: 1.75;
  }

  .pp-hero-cta {
    margin-bottom: 1.25rem;
  }

  .pp-hero-social {
    gap: 1.05rem 1.25rem;
  }

  .pp-hero-trustbar {
    margin-top: 1.75rem;
  }

  .pp-proof-section {
    padding-top: 3.25rem;
  }
}

@media (max-width: 640px) {
  :root {
    --pp-frame-inset-x: 8px;
    --pp-frame-inset-y: 6px;
    --pp-stage-radius: 20px;
  }

  .pp-price-grid {
    grid-template-columns: 1fr;
  }

  .pp-hero h1 {
    max-width: none;
  }

  html[lang='en'] .pp-hero h1 {
    white-space: normal;
    font-size: clamp(1.75rem, 7.2vw, 2.35rem);
  }

  .pp-hero-trustbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /*
    2-col rows: [1|2], [ISO full], [4|5]
    ISO breaks odd/even parity — only paint dividers on true right-column cells.
  */
  .pp-trustbar-item::before {
    display: none;
  }

  .pp-trustbar-item:nth-child(2)::before,
  .pp-trustbar-item:nth-child(5)::before {
    display: block;
    top: 22%;
    bottom: 22%;
  }

  .pp-trustbar-iso {
    grid-column: 1 / -1;
  }

  .pp-trustbar-iso::before {
    display: none !important;
  }

  .pp-logo-item {
    height: 34px;
    max-width: 96px;
  }

  .pp-logo-item img {
    height: 34px;
    max-width: 96px;
  }
}
