/* ==========================================================================
   PingTact marketing site — design system
   Brand: emerald / blue / purple. Fonts: Sora + Instrument Sans + JetBrains
   Mono (LTR) and IBM Plex Sans Arabic (RTL). Fully bilingual, RTL-first via
   logical properties. No build step — plain CSS custom properties.
   ========================================================================== */

:root {
  /* Brand */
  --emerald: #0F9D63;
  --emerald-bright: #16B978;
  --emerald-2: #12A96B;
  --emerald-deep: #0B7A4E;
  --emerald-darkest: #054F2D;
  --blue: #2563EB;
  --blue-2: #1B5FD9;
  --purple: #7C3AED;
  --purple-2: #6D28D9;

  /* Neutrals */
  --ink: #0A1628;
  --slate-strong: #334155;
  --slate: #475569;
  --slate-muted: #64748B;
  --slate-subtle: #94A3B8;

  /* Surfaces & lines */
  --white: #FFFFFF;
  --band: #F7FAFC;
  --border-card: #EAEEF3;
  --border-line: #EDF1F5;
  --border-line-2: #EEF2F6;
  --border-input: #E2E8F0;

  /* Tints */
  --tint-emerald: #EBFBF3;
  --tint-blue: #EEF4FF;
  --tint-purple: #F3EEFF;
  --tint-amber: #FFF7ED;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #0F9D63, #1B5FD9 55%, #7C3AED);
  --grad-deep: linear-gradient(120deg, #054F2D, #0B7A4E 45%, #1B5FD9);
  --grad-btn: linear-gradient(180deg, #12A96B, #0B7A4E);
  --grad-announce: linear-gradient(90deg, #054F2D, #0B7A4E, #1B5FD9);
  --grad-dark-text: linear-gradient(120deg, #5EEAB0, #7FB4FF);

  /* Shadows */
  --sh-card: 0 2px 4px rgba(10, 22, 40, .03);
  --sh-card-hover: 0 24px 60px -24px rgba(15, 23, 42, .28);
  --sh-elevated: 0 34px 70px -30px rgba(10, 22, 40, .6);
  --sh-glass: 0 40px 80px -30px rgba(10, 22, 40, .4);
  --sh-btn-green: 0 14px 30px -10px rgba(11, 122, 78, .65);

  /* Type */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-ar: 'IBM Plex Sans Arabic', sans-serif;

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { text-decoration: none; color: inherit; }
::selection { background: var(--emerald); color: #fff; }
img { max-width: 100%; }

/* Arabic swaps the whole document font */
[dir="rtl"], [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: var(--font-ar) !important;
}

/* ---------- Keyframes ---------- */
@keyframes floaty  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes pulsering { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes spinslow { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }

/* Marquee reverses direction under RTL so motion still reads naturally */
[dir="rtl"] .pt-marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }

/* ---------- Reveal on scroll ---------- */
.pt-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.pt-reveal.pt-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pt-reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Shared primitives ---------- */
.pt-wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
.pt-section { max-width: var(--maxw); margin: 0 auto; padding: 88px 24px 20px; }
.pt-band { background: linear-gradient(180deg, var(--band), #fff); border-block: 1px solid var(--border-line-2); }
.pt-band-rev { background: linear-gradient(180deg, #fff, var(--band)); border-top: 1px solid var(--border-line-2); }

.pt-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--emerald);
}
.pt-eyebrow.is-blue { color: var(--blue); }
.pt-eyebrow.is-purple { color: var(--purple); }

.pt-h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 42px; line-height: 1.1;
  letter-spacing: -.025em; margin: 14px 0 0; color: var(--ink); text-wrap: balance;
}
.pt-sub { font-size: 18px; color: var(--slate); margin: 16px 0 0; line-height: 1.55; }
.pt-head-center { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.pt-grad-text {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.pt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  border-radius: 12px; padding: 12px 20px; line-height: 1;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.pt-btn:hover { transform: translateY(-2px); }
.pt-btn-primary { color: #fff; background: var(--grad-btn); box-shadow: var(--sh-btn-green); border-radius: 13px; }
.pt-btn-lg { font-size: 16px; padding: 15px 26px; border-radius: 13px; }
.pt-btn-outline { color: var(--ink); background: #fff; border: 1px solid var(--border-input); }
.pt-btn-blue { color: var(--blue); background: var(--tint-blue); border: 1px solid #D5E3FF; }
.pt-btn-dark { color: #fff; background: var(--ink); }
.pt-btn-white { color: var(--emerald-deep); background: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); }
.pt-btn-translucent { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); }

/* ---------- Cards ---------- */
.pt-card {
  background: #fff; border: 1px solid var(--border-card); border-radius: 20px;
  box-shadow: var(--sh-card);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.pt-card:hover { transform: translateY(-6px); box-shadow: var(--sh-card-hover); border-color: #CFE6FF; }

/* ---------- Icon tiles ---------- */
.pt-tile {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.pt-tile svg { width: 60%; height: 60%; }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.pt-announce {
  background: var(--grad-announce); color: #fff; font-size: 13.5px; font-weight: 500;
  text-align: center; padding: 9px 16px; letter-spacing: .01em;
}
.pt-announce a {
  color: #BFF3DA; font-weight: 600; margin-inline-start: 8px;
  border-bottom: 1px solid rgba(191, 243, 218, .5);
}

/* ==========================================================================
   Navbar + mega menu
   ========================================================================== */
.pt-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-line);
}
.pt-nav {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.pt-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.pt-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.pt-wordmark span { color: var(--emerald); }

.pt-nav-center { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.pt-navlink { color: var(--slate-strong); background: none; border: none; font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; padding: 0; transition: color .18s ease; }
.pt-navlink:hover { color: var(--emerald); }
.pt-navlink .pt-chev { transition: transform .2s ease; }
.pt-header.mega-open .pt-navlink .pt-chev { transform: rotate(180deg); }

.pt-nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.pt-lang {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600;
  color: var(--ink); border: 1px solid var(--border-input); border-radius: 999px;
  padding: 7px 13px; background: #fff; cursor: pointer; font-family: inherit;
}
.pt-lang:hover { border-color: var(--emerald); color: var(--emerald); }

.pt-burger {
  display: none; background: #fff; border: 1px solid var(--border-input); border-radius: 10px;
  width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}

.pt-mega { border-top: 1px solid var(--border-line); background: rgba(255, 255, 255, .97); backdrop-filter: blur(18px); }
.pt-mega[hidden] { display: none; }
.pt-mega-grid { max-width: var(--maxw); margin: 0 auto; padding: 26px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pt-mega-item { display: flex; gap: 12px; padding: 12px; border-radius: 14px; align-items: flex-start; transition: background .18s ease; }
.pt-mega-item:hover { background: var(--band); }
.pt-mega-item .pt-tile { width: 38px; height: 38px; border-radius: 10px; }
.pt-mega-title { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.pt-mega-desc { display: block; font-size: 12.5px; color: var(--slate-muted); margin-top: 2px; line-height: 1.35; }

/* Mobile drawer */
.pt-drawer { display: none; }
.pt-drawer.open {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 24px 20px;
  border-top: 1px solid var(--border-line); background: #fff;
}
.pt-drawer a { padding: 12px 6px; font-weight: 600; color: var(--slate-strong); border-bottom: 1px solid var(--border-line-2); }

/* ==========================================================================
   Hero
   ========================================================================== */
.pt-hero { position: relative; padding: 78px 24px 40px; overflow: hidden; }
.pt-hero-glow {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 55% at 18% 8%, rgba(22, 185, 120, .16), transparent 60%),
    radial-gradient(50% 45% at 88% 4%, rgba(37, 99, 235, .14), transparent 60%),
    radial-gradient(45% 50% at 70% 90%, rgba(124, 58, 237, .10), transparent 62%);
}
.pt-hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(#EEF2F6 1px, transparent 1px), linear-gradient(90deg, #EEF2F6 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000, transparent 75%);
}
.pt-hero-inner {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center;
}
.pt-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid #D7F0E2; color: var(--emerald-deep); font-size: 13px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; box-shadow: 0 4px 14px -6px rgba(15, 157, 99, .4);
}
.pt-badge-dot { position: relative; width: 7px; height: 7px; border-radius: 99px; background: var(--emerald-2); }
.pt-badge-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 99px; background: var(--emerald-2);
  animation: pulsering 1.8s ease-out infinite;
}
.pt-h1 {
  font-family: var(--font-display); font-weight: 800; font-size: 57px; line-height: 1.04;
  letter-spacing: -.03em; margin: 22px 0 0; color: var(--ink); text-wrap: balance;
}
.pt-lead { font-size: 19px; line-height: 1.55; color: var(--slate); margin: 22px 0 0; max-width: 540px; }
.pt-cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.pt-micro { font-size: 13.5px; color: var(--slate-subtle); margin-top: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Hero product mock */
.pt-mock { position: relative; }
.pt-mock-glow {
  position: absolute; inset: -6% -4%; z-index: 0; border-radius: 40px; filter: blur(38px);
  background: conic-gradient(from 200deg, #16B97833, #2563EB22, #7C3AED22, #16B97833);
}
.pt-mock-shell {
  position: relative; z-index: 1; background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(10px);
  border-radius: 26px; padding: 16px; box-shadow: var(--sh-glass);
}
.pt-mock-inner { background: #F6F9FB; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-card); }
.pt-mock-head { background: linear-gradient(180deg, #075E44, #0B7A4E); padding: 14px 16px; display: flex; align-items: center; gap: 11px; }
.pt-mock-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--emerald-2); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-family: var(--font-display); }
.pt-mock-name { display: block; color: #fff; font-weight: 600; font-size: 14.5px; }
.pt-mock-status { display: block; color: #BFF3DA; font-size: 12px; }
.pt-mock-verified { display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .16); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 99px; }
.pt-mock-body {
  padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 262px;
  background-image: radial-gradient(rgba(15, 157, 99, .06) 1px, transparent 1px); background-size: 18px 18px;
}
.pt-bubble-in { align-self: flex-start; max-width: 78%; background: #fff; border: 1px solid var(--border-card);
  border-radius: 14px; border-start-start-radius: 4px; padding: 10px 13px; font-size: 13.5px; color: #1E293B;
  box-shadow: 0 2px 8px -4px rgba(10, 22, 40, .14); }
.pt-bubble-out { align-self: flex-end; max-width: 80%; background: #DCF7E9; border-radius: 14px;
  border-start-end-radius: 4px; padding: 11px 13px; font-size: 13.5px; color: #0A2A1C; }
.pt-bubble-tpl { display: block; font-weight: 600; color: var(--emerald-deep); font-size: 12px; margin-bottom: 3px; display: flex; align-items: center; gap: 4px; }
.pt-bubble-meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 4px; font-size: 10.5px; color: var(--emerald-2); }
.pt-quick { align-self: flex-end; display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.pt-chip-quick { background: #fff; border: 1px solid #BFE9D2; color: var(--emerald-deep); font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 99px; }
.pt-bot-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; background: var(--tint-purple);
  border: 1px solid #E3D7FF; color: var(--purple-2); font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 12px; margin-top: 2px; }
.pt-float {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--border-card);
  border-radius: 16px; padding: 13px 15px; box-shadow: 0 20px 40px -18px rgba(10, 22, 40, .3);
}
.pt-float-a { top: -22px; inset-inline-end: -26px; animation: floaty 6s ease-in-out infinite; }
.pt-float-b { bottom: -24px; inset-inline-start: -30px; display: flex; align-items: center; gap: 11px; animation: floaty2 7s ease-in-out infinite; }
.pt-float-label { display: block; font-size: 11px; font-weight: 600; color: var(--slate-muted); letter-spacing: .04em; }
.pt-float-num { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--ink); }
.pt-float-num small { font-size: 12px; color: var(--emerald-2); font-weight: 600; }
.pt-float-icon { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #2563EB, #7C3AED); display: inline-flex; align-items: center; justify-content: center; color: #fff; }

/* ==========================================================================
   Stats band + marquee
   ========================================================================== */
.pt-stats-wrap { max-width: 1120px; margin: 22px auto 0; padding: 0 24px; }
.pt-stats-band {
  background: linear-gradient(120deg, #0A1628, #0D2A20 60%, #0A1628); border-radius: 24px;
  padding: 34px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  box-shadow: 0 30px 60px -30px rgba(10, 22, 40, .55);
}
.pt-stat { text-align: center; padding: 6px 8px; }
.pt-stat-num {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 38px; letter-spacing: -.02em;
  background: var(--grad-dark-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pt-stat-label { display: block; font-size: 13.5px; color: #93A9C0; margin-top: 6px; font-weight: 500; }
.pt-trustline { text-align: center; font-size: 13px; color: var(--slate-subtle); margin: 26px 0 8px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.pt-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.pt-marquee-track { display: flex; gap: 52px; align-items: center; width: max-content; animation: marquee 26s linear infinite; opacity: .62; }
.pt-logo-word { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--slate-muted); white-space: nowrap; letter-spacing: -.01em; }

/* ==========================================================================
   Grids / splits
   ========================================================================== */
.pt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pt-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
.pt-split.rev { grid-template-columns: 1.05fr 1fr; }
.pt-split.analytics { grid-template-columns: 1fr 1.1fr; }

/* Features */
.pt-feature { padding: 28px; }
.pt-feature .pt-tile { width: 50px; height: 50px; border-radius: 14px; }
.pt-feature h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 18px 0 0; color: var(--ink); letter-spacing: -.01em; }
.pt-feature p { font-size: 14.5px; color: var(--slate-muted); line-height: 1.55; margin: 9px 0 0; }

/* ==========================================================================
   API / code terminal
   ========================================================================== */
.pt-checklist { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 13px; }
.pt-checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--slate-strong); }
.pt-checklist svg { flex-shrink: 0; margin-top: 1px; }
.pt-terminal { background: #0B1220; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-elevated); border: 1px solid #1E293B; }
.pt-terminal-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid #1E293B; }
.pt-dot { width: 11px; height: 11px; border-radius: 99px; }
.pt-terminal-head .pt-path { margin-inline-start: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--slate-muted); }
.pt-code {
  margin: 0; padding: 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7;
  color: #CBD5E1; overflow-x: auto; direction: ltr; text-align: left;
}
.pt-code .c-comment { color: #7C93B5; }
.pt-code .c-green { color: #5EEAB0; }
.pt-code .c-str { color: #FBBF77; }
.pt-code .c-key { color: #7FB4FF; }

/* ==========================================================================
   Automation / flow builder
   ========================================================================== */
.pt-flow-card { position: relative; background: #fff; border: 1px solid var(--border-card); border-radius: 22px; padding: 26px; box-shadow: 0 24px 50px -30px rgba(10, 22, 40, .3); }
.pt-flow-nodes { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.pt-flow-node { display: flex; align-items: center; gap: 13px; border: 1px solid; border-radius: 14px; padding: 14px 16px; }
.pt-flow-node .pt-tile { width: 36px; height: 36px; border-radius: 10px; }
.pt-flow-kind { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.pt-flow-label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: 1px; }
.pt-flow-connector { position: absolute; inset-inline-end: 44px; top: 64px; bottom: 64px; width: 2px; z-index: 0;
  background: repeating-linear-gradient(#CBD5E1, #CBD5E1 5px, transparent 5px, transparent 11px); }
.pt-auto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.pt-auto-card { background: #fff; border: 1px solid var(--border-card); border-radius: 14px; padding: 16px; }
.pt-auto-card .pt-tile { width: 34px; height: 34px; border-radius: 9px; margin-bottom: 8px; }
.pt-auto-card b { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.pt-auto-card span { display: block; font-size: 13px; color: var(--slate-muted); margin-top: 3px; line-height: 1.45; }

/* ==========================================================================
   Capability trio
   ========================================================================== */
.pt-trio-card { overflow: hidden; }
.pt-trio-head { height: 150px; padding: 18px; position: relative; overflow: hidden; }
.pt-trio-chip { position: relative; z-index: 1; background: rgba(255, 255, 255, .94); border-radius: 12px; padding: 12px 13px; box-shadow: 0 8px 20px -10px rgba(10, 22, 40, .3); font-size: 12.5px; color: #1E293B; }
.pt-trio-chip b { display: block; font-weight: 600; font-size: 11px; margin-bottom: 4px; }
.pt-trio-body { padding: 22px; }
.pt-trio-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); margin: 0; }
.pt-trio-body p { font-size: 14px; color: var(--slate-muted); line-height: 1.55; margin: 9px 0 0; }

/* ==========================================================================
   Analytics chart
   ========================================================================== */
.pt-kpi-row { display: flex; gap: 26px; margin-top: 26px; }
.pt-kpi b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--ink); }
.pt-kpi span { display: block; font-size: 13px; color: var(--slate-muted); margin-top: 2px; }
.pt-chart-card { background: #fff; border: 1px solid var(--border-card); border-radius: 22px; padding: 24px; box-shadow: 0 24px 50px -30px rgba(10, 22, 40, .3); }
.pt-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.pt-chart-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.pt-chart-range { font-size: 12px; color: var(--emerald-2); font-weight: 600; background: var(--tint-emerald); padding: 4px 10px; border-radius: 99px; }
.pt-bars { display: flex; align-items: flex-end; gap: 11px; height: 170px; padding-top: 10px; }
.pt-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; justify-content: flex-end; height: 100%; }
.pt-bar { width: 100%; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #16B978, #0B7A4E); position: relative; transition: height 1s cubic-bezier(.2, .7, .2, 1); }
.pt-bar::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 38%; background: linear-gradient(180deg, #2563EB, transparent); border-radius: 8px 8px 0 0; opacity: .55; }
.pt-bar-label { font-size: 11px; color: var(--slate-subtle); font-weight: 500; }

/* ==========================================================================
   Integrations
   ========================================================================== */
.pt-integ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pt-integ-card { border-radius: 16px; padding: 22px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pt-integ-card .pt-tile { width: 46px; height: 46px; border-radius: 12px; }
.pt-integ-card span { font-weight: 600; font-size: 14.5px; color: var(--ink); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.pt-testi-card { padding: 26px; display: flex; flex-direction: column; }
.pt-stars { color: #F5A623; font-size: 16px; letter-spacing: 1px; margin-bottom: 14px; }
.pt-testi-quote { font-size: 15.5px; line-height: 1.6; color: #1E293B; margin: 0; flex: 1; }
.pt-testi-foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #F0F3F6; }
.pt-avatar { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-family: var(--font-display); }
.pt-testi-name { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.pt-testi-role { display: block; font-size: 13px; color: var(--slate-muted); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pt-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.pt-plan { position: relative; background: #fff; border: 1.5px solid var(--border-card); border-radius: 22px; padding: 30px; box-shadow: var(--sh-card); }
.pt-plan.featured { background: linear-gradient(180deg, #052E1D, #0A1628); border-color: var(--emerald-deep); box-shadow: 0 34px 70px -30px rgba(11, 122, 78, .6); }
.pt-plan-badge { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #12A96B, #0B7A4E); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 15px; border-radius: 99px; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(11, 122, 78, .7); }
[dir="rtl"] .pt-plan-badge { transform: translateX(50%); }
.pt-plan-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); }
.pt-plan.featured .pt-plan-name { color: #fff; }
.pt-plan-tagline { display: block; font-size: 14px; color: var(--slate-muted); margin-top: 6px; line-height: 1.5; min-height: 42px; }
.pt-plan.featured .pt-plan-tagline { color: #93C7AE; }
.pt-plan-price { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--ink); letter-spacing: -.02em; margin: 20px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.pt-plan.featured .pt-plan-price { color: #fff; }
.pt-plan-price .cur { font-size: 15px; font-weight: 700; color: var(--slate-muted); }
.pt-plan-note { display: block; font-size: 12.5px; color: var(--slate-muted); opacity: .9; }
.pt-plan.featured .pt-plan-note { color: #93C7AE; }
.pt-plan-cta { display: block; text-align: center; margin: 22px 0 24px; width: 100%; }
.pt-plan-includes { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--slate-subtle); margin-bottom: 14px; }
.pt-plan.featured .pt-plan-includes { color: #7FBFA0; }
.pt-plan-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.pt-plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate-strong); }
.pt-plan.featured .pt-plan-feats li { color: #D7E6DE; }
.pt-plan-feats li.off { opacity: .45; }
.pt-plan-feats svg { flex-shrink: 0; margin-top: 1px; }
.pt-price-foot { text-align: center; font-size: 13.5px; color: var(--slate-subtle); margin-top: 26px; }
.pt-plans-loading { text-align: center; color: var(--slate-muted); padding: 24px; grid-column: 1 / -1; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.pt-faq-wrap { max-width: 820px; margin: 0 auto; padding: 88px 24px; }
.pt-faq-list { display: flex; flex-direction: column; gap: 12px; }
.pt-faq-item { background: #fff; border: 1px solid var(--border-card); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(10, 22, 40, .03); }
.pt-faq-q { width: 100%; background: none; border: none; font: inherit; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; text-align: start; }
.pt-faq-q span { font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--ink); }
[dir="rtl"] .pt-faq-q span { font-family: var(--font-ar); }
.pt-faq-icon { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: #F1F5F9; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease, background .25s ease, color .25s ease; }
.pt-faq-item.open .pt-faq-icon { transform: rotate(45deg); background: var(--emerald); color: #fff; }
.pt-faq-a { margin: 0; max-height: 0; overflow: hidden; padding: 0 22px; font-size: 15px; line-height: 1.6; color: var(--slate); transition: max-height .3s ease, padding .3s ease; }
.pt-faq-item.open .pt-faq-a { max-height: 400px; padding: 0 22px 20px; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.pt-cta-wrap { max-width: 1120px; margin: 0 auto; padding: 20px 24px 40px; }
.pt-cta-panel { position: relative; overflow: hidden; border-radius: 30px; background: var(--grad-deep); padding: 64px 40px; text-align: center; box-shadow: 0 40px 80px -34px rgba(11, 122, 78, .7); }
.pt-cta-panel .dots { position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 22px 22px; }
.pt-cta-panel .blob { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(124, 58, 237, .35); filter: blur(70px); top: -80px; inset-inline-end: -40px; }
.pt-cta-inner { position: relative; z-index: 1; }
.pt-cta-inner h2 { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1.08; letter-spacing: -.025em; color: #fff; margin: 0 auto; max-width: 640px; text-wrap: balance; }
.pt-cta-inner p { font-size: 18px; color: #D7F0E2; margin: 18px auto 0; max-width: 520px; line-height: 1.55; }
.pt-cta-inner .row { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pt-cta-inner .micro { font-size: 13.5px; color: #BFE9D2; margin-top: 20px; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.pt-contact-wrap { max-width: 720px; margin: 0 auto; padding: 20px 24px 90px; }
.pt-contact-card { background: #fff; border: 1px solid var(--border-card); border-radius: 22px; padding: 32px; box-shadow: var(--sh-card); }
.pt-contact-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 0 0 4px; color: var(--ink); }
.pt-contact-card .note { font-size: 14px; color: var(--slate-muted); margin: 0 0 20px; }
.pt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pt-form-grid .full { grid-column: 1 / -1; }
.pt-field label { font-weight: 600; font-size: 13.5px; display: block; margin-bottom: 6px; color: var(--slate-strong); }
.pt-field input, .pt-field textarea, .pt-field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border-input); border-radius: 11px;
  font-family: inherit; font-size: 14.5px; background: #fff; color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
.pt-field input:focus, .pt-field textarea:focus, .pt-field select:focus {
  outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(15, 157, 99, .15);
}
.pt-form-status { margin-top: 14px; padding: 12px 14px; border-radius: 11px; font-weight: 600; font-size: 14px; display: none; }
.pt-form-status.ok { display: block; background: var(--tint-emerald); color: #047857; }
.pt-form-status.err { display: block; background: #FEF2F2; color: #B91C1C; }

/* ==========================================================================
   Footer
   ========================================================================== */
.pt-footer { background: var(--ink); color: #93A9C0; padding: 64px 24px 30px; }
.pt-footer-inner { max-width: var(--maxw); margin: 0 auto; }
.pt-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #1B2A3D; }
.pt-footer-brand .pt-wordmark { color: #fff; }
.pt-footer-brand .pt-wordmark span { color: var(--emerald-bright); }
.pt-footer-blurb { font-size: 14px; line-height: 1.6; margin: 16px 0 0; max-width: 300px; color: #7C93B5; }
.pt-partner-pill { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 12.5px; font-weight: 600; color: #BFF3DA; background: rgba(18, 169, 107, .12); border: 1px solid rgba(18, 169, 107, .3); padding: 6px 12px; border-radius: 99px; }
.pt-footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.pt-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.pt-footer-col a { font-size: 14px; color: #93A9C0; transition: color .18s ease; }
.pt-footer-col a:hover { color: #fff; }
.pt-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; flex-wrap: wrap; }
.pt-footer-bottom span, .pt-footer-bottom a { font-size: 13px; color: #5E7692; }
.pt-footer-bottom a:hover { color: #93A9C0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .pt-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .pt-mock { margin-top: 20px; }
  .pt-split, .pt-split.rev, .pt-split.analytics { grid-template-columns: 1fr; gap: 36px; }
  .pt-grid-3 { grid-template-columns: 1fr; }
  .pt-price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pt-plan.featured { order: -1; }
  .pt-integ-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-mega-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pt-footer-brand { grid-column: 1 / -1; }
  /* API terminal below text */
  .pt-split.rev .pt-flow-card { order: 1; }
  .pt-h1 { font-size: 44px; }
  .pt-h2 { font-size: 34px; }
}

@media (max-width: 720px) {
  .pt-nav-center { display: none; }
  .pt-burger { display: inline-flex; }
  .pt-nav-right .pt-demo-btn { display: none; }
  .pt-hero { padding-top: 48px; }
  .pt-h1 { font-size: 36px; }
  .pt-h2 { font-size: 30px; }
  .pt-cta-inner h2 { font-size: 32px; }
  .pt-stats-band { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .pt-kpi-row { gap: 18px; }
  .pt-form-grid { grid-template-columns: 1fr; }
  .pt-cta-panel { padding: 44px 24px; }
  .pt-contact-card { padding: 24px; }
  .pt-section { padding-top: 64px; }
  .pt-mega-grid { grid-template-columns: 1fr; }
}
