:root {
  --pt-bg: #f4fafb;
  --pt-bg-soft: #eaf5f7;
  --pt-ink: #0e2a36;
  --pt-ink-2: #163846;
  --pt-panel: #ffffff;
  --pt-panel-2: #f7fcfd;
  --pt-teal: #2a9aae;
  --pt-teal-bright: #1f8fa3;
  --pt-teal-deep: #176879;
  --pt-orange: #f58220;
  --pt-orange-soft: #ff9a45;
  --pt-sand: #0e2a36;
  --pt-muted: rgba(14, 42, 54, 0.62);
  --pt-line: rgba(42, 154, 174, 0.18);
  --pt-glow: rgba(42, 154, 174, 0.22);
  --pt-shadow: 0 18px 40px rgba(16, 55, 70, 0.08);
  --pt-shadow-lg: 0 28px 60px rgba(16, 55, 70, 0.12);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  min-height: 100%;
  background: var(--pt-bg);
  color: var(--pt-ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
::selection { background: var(--pt-orange); color: #1a1208; }

.pt-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--pt-orange), var(--pt-teal-bright));
  pointer-events: none;
  transform: translateZ(0);
}

/* —— Curtain intro —— */
.pt-curtain {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}

.pt-curtain-panel {
  position: absolute;
  top: 0; bottom: 0;
  width: 50.2%;
  background: #f7fcfd;
}

.pt-curtain-left {
  left: 0;
  box-shadow: inset -1px 0 0 rgba(245, 130, 32, 0.55);
  animation: curtainL 1s var(--ease) 0.45s forwards;
}

.pt-curtain-right {
  right: 0;
  box-shadow: inset 1px 0 0 rgba(42, 154, 174, 0.45);
  animation: curtainR 1s var(--ease) 0.45s forwards;
}

.pt-curtain-mark {
  position: absolute;
  left: 50%; top: 50%;
  width: 280px; height: 280px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: markOut 0.55s ease 1.15s forwards;
}

.pt-seal {
  width: 210px; height: 210px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 40% 30%, #ffffff, #e7f4f7 72%),
    #fff;
  box-shadow:
    0 0 0 1px rgba(42, 154, 174, 0.28),
    0 20px 50px rgba(16, 55, 70, 0.14);
  animation: sealIn 0.85s var(--ease) both;
  overflow: hidden;
}

.pt-seal img { width: 86%; height: auto; }

.pt-seal-ring {
  position: absolute;
  width: 248px; height: 248px;
  pointer-events: none;
}

.pt-seal-ring circle {
  fill: none;
  stroke: var(--pt-orange);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 352;
  stroke-dashoffset: 352;
  animation: ringDraw 0.9s var(--ease) 0.2s forwards;
}

.pt-curtain.is-done { visibility: hidden; }

@keyframes curtainL { to { transform: translateX(-105%); } }
@keyframes curtainR { to { transform: translateX(105%); } }
@keyframes sealIn {
  from { opacity: 0; transform: scale(0.82); }
  to { opacity: 1; transform: none; }
}
@keyframes markOut {
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes ringDraw { to { stroke-dashoffset: 0; } }

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(244, 250, 251, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--pt-line);
  box-shadow: 0 10px 30px rgba(16, 55, 70, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(16, 55, 70, 0.12));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pt-teal-deep);
}

.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pt-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 14px;
  color: var(--pt-muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--pt-ink);
  background: rgba(42, 154, 174, 0.08);
}

.nav-cta {
  margin-left: 6px;
  background: linear-gradient(135deg, var(--pt-orange), #ff7a18);
  color: #1a1208 !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 28px rgba(245, 130, 32, 0.28);
}

.nav-cta:hover { filter: brightness(1.06); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--pt-ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--pt-orange), #ff8a2b);
  color: #1a1208;
  box-shadow: 0 14px 36px rgba(245, 130, 32, 0.32);
}

.btn-ghost {
  border: 1px solid rgba(42, 154, 174, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: var(--pt-ink);
  box-shadow: 0 10px 24px rgba(16, 55, 70, 0.06);
}

.btn-ghost:hover {
  border-color: rgba(42, 154, 174, 0.7);
  background: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 28px) 24px 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 12%, rgba(42, 154, 174, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 45% at 82% 72%, rgba(245, 130, 32, 0.12), transparent 55%),
    linear-gradient(180deg, #f7fcfd 0%, #eef7f9 48%, #f4fafb 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 154, 174, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 154, 174, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.85;
  animation: gridDrift 28s linear infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  will-change: transform;
}

.hero-orb-a {
  width: 420px; height: 420px;
  left: -80px; top: 18%;
  background: rgba(42, 154, 174, 0.28);
  animation: orbA 14s ease-in-out infinite;
}

.hero-orb-b {
  width: 320px; height: 320px;
  right: -40px; bottom: 10%;
  background: rgba(245, 130, 32, 0.2);
  animation: orbB 16s ease-in-out infinite;
}

.hero-scan {
  position: absolute;
  left: 0; right: 0;
  height: 18%;
  top: -20%;
  background: linear-gradient(180deg, transparent, rgba(42, 154, 174, 0.1), transparent);
  animation: scan 7.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(72px); }
}
@keyframes orbA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}
@keyframes orbB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -40px); }
}
@keyframes scan {
  0% { top: -20%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.hero-logo {
  width: min(340px, 68vw);
  margin-bottom: 4px;
  filter: drop-shadow(0 22px 36px rgba(16, 55, 70, 0.14));
  animation: logoFloat 5.5s ease-in-out infinite;
}

.hero-logo img { width: 100%; }

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 16ch;
}

.hero-lead {
  max-width: 54ch;
  color: var(--pt-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 28px; height: 44px;
  border: 1px solid rgba(42, 154, 174, 0.4);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 10px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-scroll span {
  width: 4px; height: 8px;
  border-radius: 999px;
  background: var(--pt-teal-bright);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* —— Shared sections —— */
.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  color: var(--pt-orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-lead {
  margin-top: 14px;
  max-width: 54ch;
  color: var(--pt-muted);
  font-size: 1.05rem;
}

/* —— Pillars —— */
.pillars {
  padding: 110px 0 80px;
  position: relative;
}

.pillars .section-title { max-width: 16ch; }

.pillar-rail {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pillar {
  position: relative;
  padding: 28px 24px 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(42, 154, 174, 0.08), transparent 42%),
    var(--pt-panel);
  border: 1px solid var(--pt-line);
  box-shadow: var(--pt-shadow);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.25s ease, box-shadow 0.35s ease;
}

.pillar::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--pt-orange), var(--pt-teal));
  opacity: 0.85;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s var(--ease);
}

.pillar.is-in::before { transform: scaleY(1); }

.pillar-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.12) 48%, transparent 66%);
  transform: translateX(-120%);
  opacity: 0;
}

.pillar.is-in .pillar-shine {
  animation: cardSheen 1.1s var(--ease) 0.35s both;
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(42, 154, 174, 0.45);
  box-shadow: var(--pt-shadow-lg);
}

.pillar-num {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--pt-teal-bright);
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.55s var(--ease);
  transition-delay: calc(0.12s + var(--i, 0) * 0.08s);
}

.pillar.is-in .pillar-num {
  opacity: 1;
  transform: none;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.pillar p { color: var(--pt-muted); font-size: 0.98rem; }

/* —— App showcase —— */
.app-stage {
  padding: 70px 0 100px;
  background:
    radial-gradient(ellipse 50% 60% at 75% 45%, rgba(42, 154, 174, 0.12), transparent 65%),
    linear-gradient(180deg, transparent, rgba(234, 245, 247, 0.9), transparent);
}

.app-stage-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.phase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 18px;
}

.phase-pill {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(42, 154, 174, 0.2);
  background: rgba(255, 255, 255, 0.75);
  color: var(--pt-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(16, 55, 70, 0.04);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s var(--ease),
    box-shadow 0.25s ease;
}

.phase-pill:hover {
  color: var(--pt-ink);
  border-color: rgba(42, 154, 174, 0.45);
  transform: translateY(-2px);
}

.phase-pill:active { transform: translateY(0) scale(0.96); }

.phase-pill.is-active {
  background: var(--pt-ink);
  color: #fff;
  border-color: var(--pt-ink);
  box-shadow: 0 12px 28px rgba(14, 42, 54, 0.2);
}

.phase-pill.is-pulse {
  animation: pillPulse 0.45s var(--ease);
}

@keyframes pillPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.app-copy.is-swapping #appLead,
.app-copy.is-swapping #appTitle {
  animation: copySwapOut 0.28s ease forwards;
}

.app-copy.is-swapping-in #appLead,
.app-copy.is-swapping-in #appTitle {
  animation: copySwapIn 0.48s var(--ease) both;
}

@keyframes copySwapOut {
  to { opacity: 0; transform: translateY(8px); filter: blur(4px); }
}

@keyframes copySwapIn {
  from { opacity: 0; transform: translateY(12px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.app-bullets {
  list-style: none;
  display: grid;
  gap: 10px;
  min-height: 7.2em;
}

.app-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--pt-muted);
  opacity: 0;
  transform: translateX(14px);
  filter: blur(4px);
}

.app-bullets.is-ready li,
.app-bullets.is-in li {
  animation: bulletIn 0.55s var(--ease) both;
  animation-delay: calc(var(--bi, 0) * 90ms);
}

.app-bullets.is-out li {
  animation: bulletOut 0.28s ease both;
  animation-delay: calc((2 - var(--bi, 0)) * 40ms);
}

@keyframes bulletIn {
  from { opacity: 0; transform: translateX(14px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes bulletOut {
  to { opacity: 0; transform: translateX(-10px); filter: blur(3px); }
}

.app-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--pt-orange);
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15);
}

.app-visual { position: relative; }

.pt-showcase {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 620px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.pt-showcase.is-screen-swap .pt-phone {
  animation: phoneNudge 0.55s var(--ease);
}

.pt-showcase.is-screen-swap .float-chip,
.pt-showcase.is-screen-swap .float-card {
  animation: floatPop 0.55s var(--ease) both;
}

.pt-showcase.is-screen-swap .float-chip.chip-kpi { animation-delay: 0.04s; }
.pt-showcase.is-screen-swap .float-chip.chip-live { animation-delay: 0.08s; }
.pt-showcase.is-screen-swap .float-card.card-approve { animation-delay: 0.1s; }
.pt-showcase.is-screen-swap .float-chip.chip-alert { animation-delay: 0.12s; }
.pt-showcase.is-screen-swap .float-card.card-timeline { animation-delay: 0.16s; }

@keyframes phoneNudge {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.025) rotate(-0.6deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes floatPop {
  0% { opacity: 0.35; transform: translateY(10px) scale(0.96); }
  100% { opacity: 1; transform: none; }
}

@keyframes cardSheen {
  0% { opacity: 0; transform: translateX(-120%); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateX(120%); }
}

.pt-phone {
  width: 262px;
  height: 530px;
  position: relative;
  z-index: 5;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #f2f6f8, #e4eef1 55%, #f7fbfc);
  border: 5px solid #d5e4e9;
  box-shadow:
    0 34px 70px rgba(16, 55, 70, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(42, 154, 174, 0.1);
  overflow: hidden;
  animation: phoneGlow 3.6s ease-in-out infinite;
  transition: translate 0.35s var(--ease);
  will-change: translate;
}

@keyframes phoneGlow {
  0%, 100% { box-shadow: 0 34px 70px rgba(16, 55, 70, 0.16), 0 0 0 0 rgba(245, 130, 32, 0); }
  50% { box-shadow: 0 34px 70px rgba(16, 55, 70, 0.16), 0 0 0 12px rgba(245, 130, 32, 0.12); }
}

.pt-phone-notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 78px; height: 18px;
  background: #1a2a32;
  border-radius: 20px;
  z-index: 8;
}

.pt-phone-screen {
  height: 100%;
  border-radius: 36px;
  background: #ffffff;
  color: #0e2a36;
  padding: 36px 14px 14px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(42, 154, 174, 0.08);
}

.screen {
  position: absolute;
  inset: 36px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s var(--ease);
}

.screen.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
  inset: auto;
}

.ph-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ph-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
}

.ph-mark {
  width: 22px; height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pt-orange), #ff9a45);
  color: #1a1208;
  font-size: 11px;
  font-weight: 900;
}

.ph-mark.ali {
  background: linear-gradient(135deg, var(--pt-teal-bright), var(--pt-teal-deep));
  color: #041018;
}

.ph-time { font-size: 12px; font-weight: 700; color: var(--pt-teal-deep); }
.ph-live-dot {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0b3d28;
  background: #9af0c0;
  padding: 3px 8px;
  border-radius: 999px;
}

.ph-hello {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 6px;
  color: #0e2a36;
}

.ph-shift { font-size: 11px; color: rgba(14, 42, 54, 0.55); }

.ph-ring {
  position: relative;
  width: 168px; height: 168px;
  margin: 18px auto 8px;
  display: grid;
  place-items: center;
}

.ph-ring-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(42, 154, 174, 0.35);
  box-shadow: 0 0 0 10px rgba(42, 154, 174, 0.08);
  animation: ringPulse 2.4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

.ph-mark-btn {
  width: 128px; height: 128px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--pt-orange-soft), var(--pt-orange) 55%, #d96a10);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  box-shadow: 0 16px 30px rgba(245, 130, 32, 0.4);
}

.ph-mark-btn small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.ph-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(14, 42, 54, 0.5);
  margin-top: auto;
}

.ph-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ph-stat-grid div {
  background: #f3f9fb;
  border: 1px solid rgba(42, 154, 174, 0.14);
  border-radius: 14px;
  padding: 10px;
}

.ph-stat-grid strong {
  display: block;
  font-size: 20px;
  font-family: var(--font-display);
  color: #0e2a36;
}

.ph-stat-grid em {
  font-style: normal;
  font-size: 10px;
  color: rgba(14, 42, 54, 0.5);
}

.ph-people { display: grid; gap: 8px; margin-top: 4px; }

.ph-person {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f3f9fb;
  border: 1px solid rgba(42, 154, 174, 0.1);
  font-size: 11px;
  font-weight: 600;
  color: #0e2a36;
}

.ph-person em { font-style: normal; color: rgba(14, 42, 54, 0.48); font-size: 10px; }

.st {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.st.present { background: #1fbf70; }
.st.break { background: var(--pt-teal); }
.st.late { background: var(--pt-orange); }
.st.absent { background: #e2455a; }

.ph-ticket {
  padding: 12px;
  border-radius: 14px;
  background: #f3f9fb;
  border: 1px solid rgba(42, 154, 174, 0.12);
  display: grid;
  gap: 4px;
  color: #0e2a36;
}

.ph-ticket strong { font-size: 12px; }
.ph-ticket em { font-style: normal; font-size: 10px; color: rgba(14, 42, 54, 0.5); }
.ph-ticket.ok { border-color: rgba(31, 191, 112, 0.35); background: #f0fbf5; }

.tag {
  width: fit-content;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.tag.warn { background: rgba(245, 130, 32, 0.16); color: #c45f0f; }
.tag.muted { background: rgba(14, 42, 54, 0.08); color: rgba(14, 42, 54, 0.7); }
.tag.ok { background: rgba(31, 191, 112, 0.14); color: #0f7a48; }

.ph-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ph-kpi-card {
  padding: 12px;
  border-radius: 16px;
  background: #f3f9fb;
  border: 1px solid rgba(42, 154, 174, 0.12);
}

.ph-kpi-card.accent {
  background: linear-gradient(160deg, rgba(245, 130, 32, 0.16), rgba(245, 130, 32, 0.04));
  border-color: rgba(245, 130, 32, 0.28);
}

.ph-kpi-card em {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: rgba(14, 42, 54, 0.5);
}

.ph-kpi-card strong {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.04em;
  color: #0e2a36;
}

.spark {
  display: block;
  margin-top: 8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pt-teal), transparent);
}

.ph-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 88px;
  margin-top: 8px;
  padding: 10px;
  border-radius: 14px;
  background: #f3f9fb;
  border: 1px solid rgba(42, 154, 174, 0.1);
}

.ph-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #3eb8c9, var(--pt-teal-deep));
  opacity: 0.9;
}

.ph-caption {
  font-size: 10px;
  color: rgba(14, 42, 54, 0.48);
}

.ph-chat {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 11px;
  line-height: 1.35;
  color: #0e2a36;
}

.bubble.ask {
  justify-self: end;
  background: rgba(42, 154, 174, 0.12);
  border: 1px solid rgba(42, 154, 174, 0.22);
}

.bubble.reply {
  justify-self: start;
  background: rgba(245, 130, 32, 0.12);
  border: 1px solid rgba(245, 130, 32, 0.22);
}

/* Floating depth chips */
.float-chip,
.float-card {
  position: absolute;
  z-index: 6;
  transition: translate 0.35s var(--ease);
  will-change: translate;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.float-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(42, 154, 174, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--pt-ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(16, 55, 70, 0.12);
}

.chip-kpi {
  top: 8%;
  left: 2%;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  min-width: 110px;
}

.chip-kpi strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--pt-teal-deep);
  line-height: 1;
}

.chip-kpi span {
  font-size: 10px;
  color: var(--pt-muted);
  font-weight: 600;
}

.chip-live {
  top: 16%;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #5dff9f;
  box-shadow: 0 0 0 4px rgba(93, 255, 159, 0.18);
  animation: liveBlink 1.4s ease-in-out infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.chip-alert {
  bottom: 18%;
  left: 0;
  color: #c45f0f;
  border-color: rgba(245, 130, 32, 0.35);
  background: rgba(255, 248, 240, 0.95);
}

.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--pt-ink);
  border: 1px solid rgba(42, 154, 174, 0.16);
  box-shadow: 0 18px 34px rgba(16, 55, 70, 0.12);
  max-width: 210px;
}

.float-card strong { display: block; font-size: 12px; }
.float-card em { font-style: normal; font-size: 10px; color: var(--pt-muted); }

.card-timeline { bottom: 10%; right: 0; }
.card-approve { top: 42%; left: -4%; }

.float-card .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #5dff9f;
  flex-shrink: 0;
}

.float-card .check {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(93, 255, 159, 0.15);
  color: #8dffbf;
  font-weight: 800;
  flex-shrink: 0;
}

.visual-note {
  text-align: center;
  margin-top: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(14, 42, 54, 0.4);
}

/* —— Modules —— */
.modules { padding: 90px 0; }

.module-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mod {
  position: relative;
  padding: 22px 18px 24px;
  border-radius: 18px;
  background: var(--pt-panel);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--pt-line), var(--pt-shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
  min-height: 168px;
  overflow: hidden;
}

.mod::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--pt-orange), var(--pt-teal-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.mod.is-in::after { transform: scaleX(1); transition-delay: calc(0.2s + var(--i, 0) * 0.05s); }

.mod:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px rgba(42, 154, 174, 0.45), var(--pt-shadow-lg);
}

.mod:hover::after { transform: scaleX(1.6); }

.mod span {
  display: block;
  margin-bottom: 22px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--pt-orange);
}

.mod h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.mod p { color: var(--pt-muted); font-size: 0.92rem; }

/* —— Roles —— */
.roles {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, transparent, rgba(234, 245, 247, 0.95), transparent);
}

.roles-shell {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.role-list {
  display: grid;
  gap: 10px;
}

.role-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--pt-panel);
  border: 1px solid var(--pt-line);
  box-shadow: var(--pt-shadow);
  transition: border-color 0.2s ease, transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
}

.role-row::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pt-teal-bright);
  box-shadow: 0 0 0 0 rgba(62, 196, 216, 0.35);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.35s ease, transform 0.45s var(--ease), box-shadow 0.45s ease;
  transition-delay: calc(0.15s + var(--i, 0) * 0.07s);
}

.role-row.is-in::before {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 0 6px rgba(62, 196, 216, 0.12);
}

.role-row:hover {
  border-color: rgba(245, 130, 32, 0.45);
  transform: translateX(6px);
  background: #fff;
  box-shadow: var(--pt-shadow-lg);
}

.role-row strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.role-row span { color: var(--pt-muted); font-size: 0.9rem; text-align: right; }

/* —— Trust —— */
.trust { padding: 40px 0 100px; }

.trust-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-item {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--pt-line);
  background:
    linear-gradient(135deg, rgba(245, 130, 32, 0.08), transparent 40%),
    var(--pt-panel);
  box-shadow: var(--pt-shadow);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.25s ease, box-shadow 0.35s ease;
}

.trust-item:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 130, 32, 0.45);
  box-shadow: var(--pt-shadow-lg);
}

.trust-ico {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(245, 130, 32, 0.35), rgba(62, 196, 216, 0.2)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 130, 32, 0.3);
  position: relative;
  transform: scale(0.7) rotate(-8deg);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.55s var(--ease);
  transition-delay: calc(0.1s + var(--i, 0) * 0.08s);
}

.trust-ico::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--pt-orange-soft);
  font-weight: 800;
  font-size: 14px;
}

.trust-item.is-in .trust-ico {
  opacity: 1;
  transform: none;
}

.trust-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.trust-item p { color: var(--pt-muted); }

/* —— Contact —— */
.contact {
  padding: 40px 0 110px;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 10% 10% auto;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(42, 154, 174, 0.14), transparent 70%);
  pointer-events: none;
}

.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact-points {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.contact-points li {
  padding-left: 22px;
  position: relative;
  color: var(--pt-muted);
}

.contact-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pt-orange);
  font-weight: 800;
}

.contact-form {
  padding: 28px;
  border-radius: 28px;
  background: var(--pt-panel);
  border: 1px solid var(--pt-line);
  box-shadow: var(--pt-shadow-lg);
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label,
.contact-form .full {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(14, 42, 54, 0.78);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(42, 154, 174, 0.22);
  background: #f7fcfd;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(42, 154, 174, 0.55);
  box-shadow: 0 0 0 3px rgba(42, 154, 174, 0.14);
  background: #fff;
}

.interest {
  border: 0;
  display: grid;
  gap: 10px;
}

.interest legend {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(14, 42, 54, 0.78);
  margin-bottom: 4px;
}

.interest legend span {
  color: var(--pt-muted);
  font-weight: 500;
}

.interest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interest-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(42, 154, 174, 0.2);
  background: #f7fcfd;
  color: var(--pt-muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.interest-pill.is-selected {
  background: rgba(245, 130, 32, 0.14);
  border-color: rgba(245, 130, 32, 0.55);
  color: #b85a0f;
}

.btn-submit { width: 100%; margin-top: 4px; }
.btn-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }

.form-status {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status.is-error {
  background: rgba(220, 60, 80, 0.08);
  border: 1px solid rgba(220, 60, 80, 0.28);
  color: #a12d3d;
}

.form-status.is-success {
  background: rgba(20, 160, 100, 0.08);
  border: 1px solid rgba(20, 160, 100, 0.28);
  color: #0f6b45;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--pt-line);
  padding: 34px 0 48px;
  background: #eaf5f7;
}

.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 52px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(16, 55, 70, 0.12));
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pt-teal-deep);
}

.footer-brand p,
.footer-note {
  color: var(--pt-muted);
  font-size: 0.88rem;
}

/* —— Reveal —— */
html.pt-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition:
    opacity 0.7s ease,
    transform 0.75s var(--ease),
    filter 0.7s ease;
  transition-delay: calc(var(--i, 0) * 80ms);
  will-change: opacity, transform, filter;
}

html.pt-js [data-reveal][data-anim="fade"] {
  transform: translateY(16px);
  filter: blur(10px);
}

html.pt-js [data-reveal][data-anim="rise"] {
  transform: translateY(36px) scale(0.98);
}

html.pt-js [data-reveal][data-anim="lift"] {
  transform: translateY(40px) scale(0.96);
  filter: blur(10px);
}

html.pt-js [data-reveal][data-anim="card"] {
  transform: translateY(32px) rotateX(8deg);
  transform-origin: center bottom;
}

html.pt-js [data-reveal][data-anim="slide"] {
  transform: translateX(28px);
  filter: blur(6px);
}

html.pt-js [data-reveal][data-anim="scale"] {
  transform: translateY(24px) scale(0.94);
  filter: blur(12px);
}

html.pt-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
  will-change: auto;
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .pillar-rail,
  .module-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-stage-shell,
  .roles-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .app-stage-shell { gap: 36px; }
  .pt-showcase { height: 600px; }
  .visual-note { display: none; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--pt-line);
    box-shadow: var(--pt-shadow-lg);
  }

  .nav.is-open { display: flex; }
  .nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: grid; }

  .hero { padding-bottom: 88px; }
  .hero-logo { width: min(260px, 72vw); }
  .hero-title { max-width: none; }

  .pillar-rail,
  .module-grid,
  .trust-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .chip-kpi,
  .chip-live,
  .chip-alert,
  .card-timeline,
  .card-approve {
    display: none;
  }

  .pt-showcase { height: 560px; max-width: 320px; }
  .role-row {
    grid-template-columns: 12px 1fr;
  }
  .role-row span {
    grid-column: 2;
    text-align: left;
  }
  .contact-form { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  html.pt-js [data-reveal],
  .app-bullets li,
  .pillar-num,
  .trust-ico,
  .role-row::before {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .pt-curtain { display: none; }
}
