/* ═══════════════════════════════════════════════════════════════════════════
   PathPay — Hala-style Fintech Design System
   ───────────────────────────────────────────────────────────────────────────
   Loaded AFTER style.css/showcase.css so it overrides the legacy look.
   Implements: color tokens, typography, layout, navbar, hero, products,
   stats, footer, animations, responsive breakpoints.
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

/* ─── PART 1 · COLOR SYSTEM ───────────────────────────────────────────── */
:root {
  --color-bg-dark:        #0B1E3D;
  --color-bg-mid:         #132845;
  --color-bg-light:       #F5F7FA;
  --color-white:          #FFFFFF;
  --color-green:          #00C896;
  --color-green-dark:     #00A87C;
  --color-green-soft:     #00dda7;
  --color-green-alpha:    rgba(0, 200, 150, 0.10);
  --color-green-alpha-2:  rgba(0, 200, 150, 0.18);
  --color-green-glow:     rgba(0, 200, 150, 0.35);
  --color-text-primary:   #0B1E3D;
  --color-text-secondary: #6B7A99;
  --color-text-white:     #FFFFFF;
  --color-text-muted:     rgba(255, 255, 255, 0.65);
  --color-text-mid:       rgba(255, 255, 255, 0.78);
  --color-border-light:   rgba(255, 255, 255, 0.10);
  --color-border-dark:    rgba(11, 30, 61, 0.08);

  --pp-radius-sm: 8px;
  --pp-radius:    12px;
  --pp-radius-md: 16px;
  --pp-radius-lg: 20px;
  --pp-radius-xl: 32px;

  --pp-shadow-card:    0 4px 24px rgba(11, 30, 61, 0.06);
  --pp-shadow-hover:   0 20px 60px rgba(11, 30, 61, 0.13);
  --pp-shadow-deep:    0 40px 80px rgba(0, 0, 0, 0.5);
  --pp-shadow-glass:   0 16px 40px rgba(0, 0, 0, 0.3);
  --pp-shadow-nav:     0 4px 24px rgba(0, 0, 0, 0.3);
  --pp-shadow-primary: 0 8px 28px rgba(0, 200, 150, 0.4);

  --pp-nav-h: 72px;
  --pp-container-w: min(1440px, calc(100vw - 2.5rem));
  --pp-container-max: min(1440px, calc(100vw - 2.5rem));
  /* هوامش جانبية معتدلة — محتوى أوسع مثل مواقع الشركات الكبرى */
  --pp-gutter-x: clamp(1rem, 1.25vw, 1.5rem);

  --pp-font: 'IBM Plex Sans Arabic', 'IBM Plex Sans', -apple-system,
             BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --pp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pp-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── PART 2 · TYPOGRAPHY + BASE RESET ────────────────────────────────── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html[dir="rtl"] body,
html[lang^="ar"] body,
body.pathpay-shell {
  font-family: var(--pp-font);
}

body {
  font-family: var(--pp-font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text-primary);
  background: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html[dir="rtl"] body,
html[lang^="ar"] body { text-align: right; }

/* Headings */
.pp-h1, .hero-title, .pp-hero-h1 {
  font-family: var(--pp-font);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0;
}

.section-title,
.pp-h2,
.cta-headline {
  font-family: var(--pp-font);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 1rem;
}

.pp-card-title,
.about-card h3,
.problem-card h3,
.step-card h3,
.home-sector-mini h3 {
  font-family: var(--pp-font);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.section-desc {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.section-tag,
.pp-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-green);
  background: var(--color-green-alpha);
  border: 1px solid rgba(0, 200, 150, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ─── PART 3 · LAYOUT ─────────────────────────────────────────────────── */
.container,
.pp-container {
  width: 100%;
  max-width: var(--pp-container-max);
  margin-inline: auto;
  padding-inline: var(--pp-gutter-x);
  box-sizing: border-box;
}

section,
.section { padding: 6rem 0; }

.section-alt { background: var(--color-bg-light); }

/* gradient text used in many headings */
.gradient-text,
.accent {
  background: linear-gradient(90deg, var(--color-green) 0%, var(--color-green-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--pp-font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: var(--pp-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--pp-ease),
              background 0.25s var(--pp-ease),
              box-shadow 0.25s var(--pp-ease),
              color 0.25s var(--pp-ease),
              border-color 0.25s var(--pp-ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-green);
  color: var(--color-bg-dark);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--color-green-soft);
  transform: translateY(-3px);
  box-shadow: var(--pp-shadow-primary);
  color: var(--color-bg-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-bg-dark);
  border-color: rgba(11, 30, 61, 0.18);
}

.btn-secondary:hover {
  background: var(--color-bg-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* on dark backgrounds only */
.pp-on-dark .btn-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}
.pp-on-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-lg { padding: 1.05rem 1.85rem; font-size: 1rem; }

.btn-nav {
  background: var(--color-green);
  color: var(--color-bg-dark);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--pp-radius-sm);
}
.btn-nav:hover {
  background: var(--color-green-soft);
  transform: translateY(-2px);
  color: var(--color-bg-dark);
}

/* ═══ PART 5 · NAVBAR ═════════════════════════════════════════════════ */
nav#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pp-nav-h);
  z-index: 1000;
  background: rgba(11, 30, 61, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.3s ease, background 0.3s ease;
  animation: slideDown 0.6s ease forwards;
  display: flex;
  align-items: center;
}

nav#navbar.scrolled {
  box-shadow: var(--pp-shadow-nav);
  background: rgba(11, 30, 61, 0.95);
}

nav#navbar .nav-container {
  width: 100%;
  max-width: var(--pp-container-max);
  margin-inline: auto;
  padding-inline: var(--pp-gutter-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--pp-nav-h);
  box-sizing: border-box;
}

nav#navbar .nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

nav#navbar .nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

nav#navbar .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

nav#navbar .nav-links > li { position: relative; }

nav#navbar .nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s var(--pp-ease);
  position: relative;
}

nav#navbar .nav-links a:hover { color: var(--color-white); }

nav#navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--color-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--pp-ease);
}
nav#navbar .nav-links a:hover::after { transform: scaleX(1); }

/* dropdown chevron */
nav#navbar .nav-links .has-mega > a::before,
nav#navbar .nav-links a.has-chevron::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-inline-end: 4px;
  transition: transform 0.25s var(--pp-ease);
  order: 2;
}
nav#navbar .nav-links .has-mega:hover > a::before { transform: rotate(225deg) translateY(0); }

/* mega menu */
.pp-mega {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--color-bg-mid);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pp-radius-md);
  padding: 2rem;
  min-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 200px;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
html[dir="rtl"] .pp-mega { transform: translateX(50%) translateY(-10px); }

nav#navbar .nav-links .has-mega:hover .pp-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
html[dir="rtl"] nav#navbar .nav-links .has-mega:hover .pp-mega { transform: translateX(50%) translateY(0); }

.pp-mega-col-label {
  color: var(--color-green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pp-mega-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pp-mega-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.pp-mega-col a::after { display: none; }
.pp-mega-col a:hover { color: var(--color-green); }

.pp-mega-image {
  align-self: stretch;
  border-radius: var(--pp-radius);
  background:
    linear-gradient(160deg, #1a2f55 0%, #0e1e3c 100%);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  background-size: cover;
  background-position: center;
}

nav#navbar .nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

nav#navbar .lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 3px;
  gap: 2px;
}
nav#navbar .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: transparent;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
nav#navbar .lang-btn.active,
nav#navbar .lang-btn[aria-pressed="true"] {
  background: var(--color-green);
  color: var(--color-bg-dark);
  font-weight: 700;
}
nav#navbar .lang-btn:not(.active):hover { color: var(--color-white); }
nav#navbar .lang-flag-img { width: 18px; height: 13px; border-radius: 2px; }
nav#navbar .lang-flag { display: inline-flex; }

nav#navbar .theme-toggle {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s ease;
}
nav#navbar .theme-toggle:hover {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
}
nav#navbar .theme-icon { font-size: 0.9rem; }
nav#navbar .theme-icon.moon { display: none; }

nav#navbar .nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1002;
  flex-shrink: 0;
}
nav#navbar .nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
nav#navbar .nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
nav#navbar .nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
nav#navbar .nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

nav#navbar .nav-mobile {
  display: none;
  position: fixed;
  top: var(--pp-nav-h);
  inset-inline-start: 0;
  inset-inline-end: 0;
  max-height: calc(100dvh - var(--pp-nav-h));
  overflow-y: auto;
  background: rgba(255, 252, 247, 0.98);
  border-top: 1px solid rgba(27, 37, 56, 0.08);
  box-shadow: 0 16px 40px rgba(11, 30, 61, 0.12);
  padding: 1rem var(--pp-gutter-x) 1.5rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s var(--pp-ease), opacity 0.3s var(--pp-ease), visibility 0.3s;
  z-index: 1001;
}
nav#navbar .nav-mobile.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
nav#navbar .nav-mobile ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 0.25rem;
}
nav#navbar .nav-mobile a {
  display: block;
  color: #1B2538;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(27, 37, 56, 0.08);
}
nav#navbar .nav-mobile a:hover { color: var(--color-green-dark); }

body.nav-mobile-open {
  overflow: hidden;
}

/* ═══ PART 6 · HERO SECTION ═══════════════════════════════════════════ */
.hero,
.pp-hala-hero,
.pp-showcase-hero {
  position: relative;
  min-height: auto;
  padding-top: calc(var(--pp-nav-h) + 2.5rem);
  padding-bottom: 2.5rem;
  overflow: hidden;
  background-color: var(--color-bg-dark);
  background-image:
    radial-gradient(ellipse 600px 600px at 85% 20%, rgba(0,200,150,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 10% 80%, rgba(0,100,200,0.12) 0%, transparent 70%),
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px;
  color: var(--color-text-white);
}

.hero::before,
.pp-hala-hero::before,
.pp-showcase-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,150,0.18) 0%, transparent 60%);
  filter: blur(60px);
  animation: bgPulse 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero::after,
.pp-hala-hero::after,
.pp-showcase-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,100,200,0.16) 0%, transparent 60%);
  filter: blur(50px);
  animation: bgPulse 9s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 0;
}

@keyframes bgPulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.12); opacity: 0.7; }
}

.hero > .container,
.pp-hala-hero > .container,
.pp-showcase-hero > .container,
.pp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
  max-width: var(--pp-container-max);
  margin-inline: auto;
  padding-inline: var(--pp-gutter-x);
  box-sizing: border-box;
}

.pp-hero-copy { display: flex; flex-direction: column; gap: 1.5rem; }

.pp-hero-kicker,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,200,150,0.12);
  border: 1px solid rgba(0,200,150,0.35);
  border-radius: 100px;
  padding: 6px 14px;
  color: var(--color-green);
  font-size: 0.8rem;
  font-weight: 500;
  width: max-content;
  opacity: 0;
  animation: fadeUp 0.8s var(--pp-ease) 0.2s forwards;
}

.pp-hero-kicker::before,
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  animation: blink 2s ease-in-out infinite;
}

.pp-hero-h1,
.hero-title {
  color: var(--color-white);
  opacity: 0;
  animation: fadeUp 0.8s var(--pp-ease) 0.35s forwards;
}

.pp-hero-h1 .accent,
.hero-title .accent,
.pp-hero-h1 .gradient-text,
.hero-title .gradient-text {
  color: var(--color-green);
  -webkit-text-fill-color: var(--color-green);
  background: none;
  position: relative;
  display: inline-block;
}

.pp-hero-h1 .accent::after,
.hero-title .accent::after,
.pp-hero-h1 .gradient-text::after,
.hero-title .gradient-text::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-green), transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  animation: lineGrow 0.9s ease 1.2s forwards;
}

.pp-hero-lead,
.hero-desc {
  color: rgba(255,255,255,0.68);
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
  opacity: 0;
  animation: fadeUp 0.8s var(--pp-ease) 0.5s forwards;
}

.pp-hero-cta-row,
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--pp-ease) 0.65s forwards;
  margin: 0;
}

.hero .btn-primary,
.pp-hala-hero .btn-primary,
.pp-showcase-hero .btn-primary {
  background: var(--color-green);
  color: var(--color-bg-dark);
}

/* Hero stat row */
.pp-hero-stats,
.pp-hero-pills {
  display: flex;
  gap: 2rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s var(--pp-ease) 0.8s forwards;
  margin-top: 0.5rem;
}

.pp-hero-stat,
.pp-hero-pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

.pp-hero-stat .num,
.pp-hero-pill span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
}

.pp-hero-stat .num em,
.pp-hero-pill span em {
  font-style: normal;
  color: var(--color-green);
  font-weight: 700;
}

.pp-hero-stat .lbl,
.pp-hero-pill {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

.pp-hero-pill { gap: 4px; }
.pp-hero-pill::before { content: none; }

.pp-hero-stats > * + *::before,
.pp-hero-pills > * + *::before {
  content: '';
  position: absolute;
  inset-inline-start: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Right side visual */
.pp-hala-visual,
.pp-hero-visual,
.hero-visual {
  position: relative;
  height: 560px;
  opacity: 0;
  animation: fadeLeft 1s var(--pp-ease) 0.4s forwards;
}

.pp-device {
  position: absolute;
  inset-inline-end: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  border-radius: var(--pp-radius-xl);
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(160deg, #1a2f55 0%, #0e1e3c 100%);
  box-shadow:
    var(--pp-shadow-deep),
    0 0 0 1px rgba(255,255,255,0.04);
  padding: 1.25rem;
  animation: float 5s ease-in-out infinite;
  z-index: 2;
}

.pp-device-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.pp-device-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--color-green-alpha);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-green);
  font-weight: 700;
  font-size: 0.85rem;
}
.pp-device-pin {
  width: 36px; height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.pp-device-balance-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.pp-device-balance {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 4px 0 0;
  line-height: 1.1;
}
.pp-device-balance span { color: var(--color-green); font-size: 0.9rem; margin-inline-start: 6px;}

.pp-device-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin: 1.25rem 0;
}
.pp-device-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--color-green) 0%, var(--color-green-dark) 100%);
  border-radius: 4px;
  transform-origin: bottom;
  transform: scaleY(0);
  opacity: 0;
  animation: barGrow 0.6s ease forwards;
}
.pp-device-chart .bar:nth-child(1) { animation-delay: 0.9s; height: 35%; }
.pp-device-chart .bar:nth-child(2) { animation-delay: 1.0s; height: 65%; }
.pp-device-chart .bar:nth-child(3) { animation-delay: 1.1s; height: 50%; }
.pp-device-chart .bar:nth-child(4) { animation-delay: 1.2s; height: 80%; }
.pp-device-chart .bar:nth-child(5) { animation-delay: 1.3s; height: 60%; }
.pp-device-chart .bar:nth-child(6) { animation-delay: 1.4s; height: 95%; }

.pp-device-tx { display: flex; flex-direction: column; gap: 0.5rem; }
.pp-device-tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.6rem;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
}
.pp-device-tx-row strong { color: var(--color-green); font-weight: 600; }

/* Floating glass cards */
.pp-float-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--pp-radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--pp-shadow-glass);
  color: var(--color-white);
  font-size: 0.8rem;
  min-width: 180px;
  z-index: 3;
}
.pp-float-card .tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
}
.pp-float-card .ttl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
}
.pp-float-card .val {
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-green);
}

.pp-float-card.c1 { top: 8%;  inset-inline-end: 0;  animation: float2 6s ease-in-out infinite 0.5s; }
.pp-float-card.c2 { bottom: 8%; inset-inline-end: 4%; animation: float3 7s ease-in-out infinite 1s; }
.pp-float-card.c3 { top: 38%; inset-inline-start: 2%; animation: float4 5.5s ease-in-out infinite 1.5s; }

.pp-float-card .progress {
  margin-top: 8px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.pp-float-card .progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-green), var(--color-green-dark));
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: right;
  animation: progressFill 1.5s ease 2.5s forwards;
}

.ping-dot {
  position: relative;
  width: 8px; height: 8px;
  display: inline-block;
}
.ping-dot::before,
.ping-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-green);
  border-radius: 50%;
}
.ping-dot::after { animation: ping 2s ease-out infinite; }

/* hide the legacy carousel & dots — replaced by device mockup */
.pp-hala-hero .pp-hero-carousel,
.pp-hala-hero .pp-hero-dots,
.pp-hala-hero .pp-hero-float,
.pp-showcase-hero .pp-hero-carousel,
.pp-showcase-hero .pp-hero-dots,
.pp-showcase-hero .pp-hero-float { display: none !important; }

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.8s var(--pp-ease) 1.2s forwards;
}
.scroll-arrow {
  width: 2px; height: 28px;
  background: linear-gradient(180deg, var(--color-green), transparent);
  border-radius: 2px;
  animation: float 2.4s ease-in-out infinite;
}

/* ═══ PART 7 · PRODUCTS / SOLUTION CARDS ═════════════════════════════ */
.about-grid,
.pp-products-grid,
.home-sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.home-sectors-grid { grid-template-columns: repeat(3, 1fr); }

.about-card,
.pp-product-card,
.home-sector-mini {
  background: var(--color-white);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--pp-radius-lg);
  box-shadow: var(--pp-shadow-card);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--pp-ease-spring),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.about-card:hover,
.pp-product-card:hover,
.home-sector-mini:hover {
  transform: translateY(-8px);
  box-shadow: var(--pp-shadow-hover);
  border-color: rgba(0, 200, 150, 0.25);
}

/* card image area */
.pp-product-img,
.about-card .pp-product-img {
  position: relative;
  height: 200px;
  width: 100%;
  background: linear-gradient(135deg, #e7f5ef 0%, #cfe9dc 100%);
  overflow: hidden;
}
.pp-product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pp-product-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--color-white));
}

.about-card,
.about-card.glass,
.about-card.glass.reveal {
  background: var(--color-white);
}

.about-card { padding: 0; }
.about-card > .about-icon-wrap,
.pp-product-card > .pp-icon-badge,
.about-card > h3,
.about-card > p,
.about-card > .section-tag,
.about-card > .pp-card-link,
.about-card > a.btn-secondary {
  margin-inline-start: 1.5rem;
  margin-inline-end: 1.5rem;
}
.about-card > .about-icon-wrap:first-child,
.pp-product-card > .pp-icon-badge:first-child { margin-top: 1.5rem; }
.about-card > a.btn-secondary:last-child,
.about-card > .pp-card-link:last-child { margin-bottom: 1.5rem; }

.about-icon-wrap,
.pp-icon-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-green-alpha);
  color: var(--color-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.about-icon-wrap svg,
.pp-icon-badge svg {
  width: 22px; height: 22px;
  stroke: var(--color-green);
}

.about-card h3,
.pp-product-card h3 {
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.about-card p,
.pp-product-card p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.pp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-green);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.25s var(--pp-ease);
}
.pp-card-link .arrow-icon {
  width: 14px; height: 14px;
  transition: transform 0.3s var(--pp-ease);
}
html[dir="rtl"] .pp-card-link .arrow-icon { transform: rotate(180deg); }
.pp-card-link:hover .arrow-icon { transform: translateX(-5px); }
html[dir="rtl"] .pp-card-link:hover .arrow-icon { transform: rotate(180deg) translateX(-5px); }

/* legacy problem card override */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.problem-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--pp-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--pp-shadow-card);
  transition: transform 0.3s var(--pp-ease-spring), box-shadow 0.3s ease;
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--pp-shadow-hover); }
.problem-card .problem-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(229, 85, 85, 0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.problem-card .problem-icon svg { width: 32px; height: 32px; }
.problem-card h3 { color: var(--color-text-primary); margin-bottom: 0.5rem; }
.problem-card p { color: var(--color-text-secondary); font-size: 0.9rem; line-height: 1.6; }
.problem-stat {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-dark);
}
.pstat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1.1;
}
.pstat-lbl { color: var(--color-text-secondary); font-size: 0.8rem; }

/* ═══ PART 8 · STATS (light) / CTA (dark) ═════════════════════════════ */
.pp-stats {
  position: relative;
  background: var(--color-bg-light);
  color: var(--color-text-primary);
  overflow: hidden;
}

.pp-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 320px at 50% 0%, rgba(0,200,150,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 500px 300px at 90% 100%, rgba(0,168,124,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.pp-stats > .container { position: relative; z-index: 1; }

.cta-section {
  position: relative;
  background: var(--color-bg-dark);
  color: var(--color-white);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 20%, rgba(0,200,150,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 80% 80%, rgba(0,100,200,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section > .container { position: relative; z-index: 1; }

.cta-section h2,
.cta-section .cta-headline { color: var(--color-white); }

.cta-section .cta-desc { color: rgba(255,255,255,0.65); }

.pp-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
}
.pp-stat {
  text-align: center;
  padding: 1rem 1.5rem;
  position: relative;
}
.pp-stat + .pp-stat::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 60%;
  background: var(--color-border-dark);
}
.pp-stat .num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.1;
  display: inline-block;
}
.pp-stat .unit {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-green);
  margin-inline-start: 6px;
}
.pp-stat .lbl {
  margin-top: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* Trust badge row */
.pp-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-dark);
}
.pp-trust {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.pp-trust-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-green);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 14px var(--color-green-glow);
}
.pp-trust-icon svg { width: 22px; height: 22px; stroke: var(--color-white); }
.pp-trust-text strong {
  display: block;
  color: var(--color-text-primary);
  font-size: 0.95rem;
  font-weight: 600;
}
.pp-trust-text span {
  color: var(--color-text-secondary);
  font-size: 0.78rem;
}

/* override legacy metrics strip on light stats section */
.home-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
}
.home-metrics-strip .home-metric {
  text-align: center;
  padding: 1rem 1.5rem;
  position: relative;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}
.home-metrics-strip .home-metric + .home-metric::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 60%;
  background: var(--color-border-dark);
}
.home-metric-num {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.1;
}
.home-metric-lbl {
  display: block;
  margin-top: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* Home intro — light stats + trust badges (compact bridge under hero) */
#pp-home-intro,
.section.section-tight-top.section-tight-bottom {
  background: var(--color-bg-light);
  color: var(--color-text-primary);
  position: relative;
}

.pp-stats-bridge {
  margin-top: -1px;
  overflow: hidden;
}

.pp-stats-bridge.section,
#pp-home-intro.section {
  padding-block: clamp(0.65rem, 1.5vw, 1rem) clamp(0.85rem, 1.8vw, 1.25rem);
}

.pp-stats-bridge .pp-stats-grid,
.pp-stats-bridge .home-metrics-strip {
  margin-top: 0;
  margin-bottom: 0;
  gap: 0;
}

.pp-stats-bridge .pp-stat,
.pp-stats-bridge .home-metric {
  padding: 0.35rem 1rem 0.5rem;
}

.pp-stats-bridge .pp-stat .num,
.pp-stats-bridge .home-metric-num {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

.pp-stats-bridge .pp-stat .lbl,
.pp-stats-bridge .home-metric-lbl {
  margin-top: 0.25rem;
  font-size: 0.82rem;
}

.pp-stats .home-metrics-strip,
.pp-stats .pp-stats-grid {
  margin-top: 0;
}

.pp-stats-bridge .pp-trust-row,
#pp-home-intro .pp-trust-row {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
}

/* Soft fade from hero photo into stats band */
.pp-hala-hero.pp-hero-photo {
  padding-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* Floating decorative objects — brand greens, very subtle */
.pp-stats-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pp-deco-orb,
.pp-deco-ring,
.pp-deco-dot {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

.pp-deco-orb {
  filter: blur(1px);
  background: radial-gradient(circle at 35% 35%, rgba(0, 200, 150, 0.22), rgba(0, 200, 150, 0.04) 70%);
  animation: ppDecoDrift var(--pp-deco-dur, 14s) ease-in-out infinite;
}

.pp-deco-orb--1 {
  width: 120px; height: 120px;
  top: -28%; inset-inline-start: 8%;
  --pp-deco-dur: 16s;
  animation-delay: -2s;
}

.pp-deco-orb--2 {
  width: 80px; height: 80px;
  top: 10%; inset-inline-end: 12%;
  --pp-deco-dur: 12s;
  animation-delay: -5s;
  opacity: 0.7;
}

.pp-deco-orb--3 {
  width: 56px; height: 56px;
  bottom: 8%; inset-inline-start: 42%;
  --pp-deco-dur: 18s;
  animation-delay: -8s;
  opacity: 0.55;
}

.pp-deco-ring {
  border: 1.5px solid rgba(0, 200, 150, 0.18);
  background: transparent;
  animation: ppDecoSpin var(--pp-deco-dur, 22s) linear infinite;
}

.pp-deco-ring--1 {
  width: 64px; height: 64px;
  top: 18%; inset-inline-start: 22%;
  --pp-deco-dur: 26s;
}

.pp-deco-ring--2 {
  width: 42px; height: 42px;
  bottom: 22%; inset-inline-end: 28%;
  --pp-deco-dur: 20s;
  animation-direction: reverse;
  opacity: 0.65;
}

.pp-deco-dot {
  width: 8px; height: 8px;
  background: rgba(0, 200, 150, 0.35);
  box-shadow: 0 0 12px rgba(0, 200, 150, 0.25);
  animation: ppDecoPulse var(--pp-deco-dur, 4s) ease-in-out infinite;
}

.pp-deco-dot--1 { top: 32%; inset-inline-start: 58%; --pp-deco-dur: 3.6s; }
.pp-deco-dot--2 { top: 62%; inset-inline-start: 14%; --pp-deco-dur: 4.2s; animation-delay: -1.2s; }
.pp-deco-dot--3 { top: 48%; inset-inline-end: 10%; --pp-deco-dur: 3.8s; animation-delay: -2.4s; }

@keyframes ppDecoDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  33%      { transform: translate(12px, -10px) scale(1.06); opacity: 0.75; }
  66%      { transform: translate(-8px, 8px) scale(0.96); opacity: 0.5; }
}

@keyframes ppDecoSpin {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(360deg) scale(1.08); }
}

@keyframes ppDecoPulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50%      { transform: scale(1.35); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-deco-orb,
  .pp-deco-ring,
  .pp-deco-dot {
    animation: none;
    opacity: 0.35;
  }
}

/* قسم الإحصائيات + شارات SAMA: ارتفاع حسب المحتوى بدون فراغ زائد */
.pp-stats.section,
#pp-home-intro.section:not(.pp-stats-bridge) {
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
}

.pp-stats .pp-trust-row,
#pp-home-intro:not(.pp-stats-bridge) .pp-trust-row {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
}

#pp-home-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 300px at 50% 0%, rgba(0,200,150,0.06), transparent 70%);
  pointer-events: none;
}
#pp-home-intro > .container { position: relative; z-index: 1; }
.home-trust-line {
  text-align: center;
  color: var(--color-text-secondary);
  margin-top: 2rem;
  font-size: 0.85rem;
}

/* CTA section */
.cta-section .section-tag { background: rgba(0,200,150,0.15); }
.cta-section .cta-content { text-align: center; }
.cta-section .cta-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2rem;
}
.cta-contact-info {
  margin-top: 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.cta-contact-link {
  color: var(--color-green);
  font-weight: 600;
  text-decoration: none;
}
.cta-separator { color: rgba(255,255,255,0.3); }

/* ═══ PART 10 · FOOTER ════════════════════════════════════════════════ */
footer#footer,
.pp-shell-footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 5rem 0 0;
  color: rgba(255,255,255,0.7);
}

.footer-grid,
.pp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand,
.pp-footer-brand {
  display: flex; flex-direction: column; gap: 1.25rem;
}

.footer-logo {
  height: 36px;
  width: auto;
}

/* Light footer — original brand logo (dark green) */
body.pathpay-shell .pp-shell-footer .footer-logo,
body.pp-hala-shell .pp-shell-footer .footer-logo {
  filter: none;
}

/* Light footer — legal strip & location (readable on mint bg) */
body.pathpay-shell .pp-shell-footer .pp-footer-legal-strip,
body.pp-hala-shell .pp-shell-footer .pp-footer-legal-strip {
  border-top-color: rgba(26, 107, 80, 0.14);
}

body.pathpay-shell .pp-shell-footer .footer-legal,
body.pathpay-shell .pp-shell-footer .pp-footer-legal-strip > span:first-child,
body.pp-hala-shell .pp-shell-footer .footer-legal,
body.pp-hala-shell .pp-shell-footer .pp-footer-legal-strip > span:first-child {
  color: rgba(13, 31, 24, 0.52);
}

body.pathpay-shell .pp-shell-footer .footer-location,
body.pp-hala-shell .pp-shell-footer .footer-location {
  color: rgba(13, 31, 24, 0.68);
}

body.pathpay-shell .pp-shell-footer .footer-location svg,
body.pp-hala-shell .pp-shell-footer .footer-location svg {
  stroke: var(--pp-green-deep, #0E5C44);
  opacity: 0.85;
}

body.pathpay-shell .pp-shell-footer .footer-socials a,
body.pp-hala-shell .pp-shell-footer .footer-socials a {
  background: rgba(14, 92, 68, 0.08);
  color: var(--pp-green-deep, #0E5C44);
}

body.pathpay-shell .pp-shell-footer .footer-socials a:hover,
body.pp-hala-shell .pp-shell-footer .footer-socials a:hover {
  background: var(--pp-green-deep, #0E5C44);
  color: #fff;
}

/* Dark footer variant */
.pp-shell-footer--dark .footer-logo {
  filter: brightness(0) invert(1);
}

.footer-brand p,
.pp-footer-brand p,
.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.25s ease;
}
.footer-socials a:hover {
  background: var(--color-green);
  transform: translateY(-2px);
}
.footer-socials a svg { width: 16px; height: 16px; }

.footer-col h4,
.pp-footer-heading {
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.footer-col ul,
.pp-footer-ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 0.6rem;
}

.footer-col a,
.pp-footer-ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover,
.pp-footer-ul a:hover { color: var(--color-white); }

.footer-bottom,
.pp-footer-legal-strip,
.pp-footer-phones {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.pp-footer-phones { padding: 2rem 0; gap: 2rem; }

.pp-footer-phone-lbl {
  display: block;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.pp-footer-phone-val {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.pp-footer-phone-sub {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.footer-legal,
.pp-footer-legal-strip > span:first-child {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
}

.footer-legal a,
.pp-footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-inline-start: 1rem;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}
.footer-legal a:hover,
.pp-footer-links a:hover { color: var(--color-white); }

.pp-footer-links {
  display: flex; align-items: center; gap: 0.5rem;
}

.footer-location {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-location svg { width: 14px; height: 14px; }

/* ═══ PART 9 · ANIMATIONS ═════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes float  { 0%,100%{ transform: translateY(0);}                 50%{ transform: translateY(-16px);} }
@keyframes float2 { 0%,100%{ transform: translateY(0);}                 50%{ transform: translateY(-10px);} }
@keyframes float3 { 0%,100%{ transform: translateY(0);}                 50%{ transform: translateY(-8px) translateX(4px);} }
@keyframes float4 { 0%,100%{ transform: translateY(0);}                 50%{ transform: translateY(12px);} }
@keyframes ping   { 0%{ transform: scale(1); opacity: 0.8;} 100%{ transform: scale(2.8); opacity: 0;} }
@keyframes blink  { 0%,100%{ opacity: 1;} 50%{ opacity: 0.25;} }
@keyframes barGrow { from{ transform: scaleY(0); opacity: 0;} to{ transform: scaleY(1); opacity: 1;} }
@keyframes progressFill { from{ transform: scaleX(0);} to{ transform: scaleX(0.72);} }
@keyframes lineGrow { from{ transform: scaleX(0); transform-origin: right;} to{ transform: scaleX(1);} }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--pp-ease), transform 0.7s var(--pp-ease);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Hide legacy loader (we keep markup but hide instantly) ─────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--color-bg-dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
#loader .loader-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; color: var(--color-white);
}
#loader .loader-logo {
  height: 40px;
  filter: brightness(0) invert(1);
}
#loader .loader-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
#loader .loader-bar-wrap {
  width: 220px; height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
#loader .loader-bar-fill {
  height: 100%; width: 0;
  background: var(--color-green);
  border-radius: 4px;
  animation: pp-loader-fill 1.2s ease forwards;
}
@keyframes pp-loader-fill { to { width: 100%; } }
#loader .loader-pct { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
#loader.is-hidden { opacity: 0; visibility: hidden; }

/* Back-to-top */
#backToTop {
  position: fixed;
  bottom: 2rem;
  inset-inline-end: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-green);
  border: none;
  color: var(--color-bg-dark);
  display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--pp-shadow-primary);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 900;
}
#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#backToTop:hover { background: var(--color-green-soft); }
#backToTop svg { width: 20px; height: 20px; }

/* Step timeline (used on home blade) */
.steps-timeline {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
.step-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  align-items: start;
  position: relative;
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-green-alpha);
  color: var(--color-green);
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0,200,150,0.25);
}
.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--pp-radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--pp-shadow-card);
}
.step-card h3 { color: var(--color-text-primary); margin-bottom: 0.35rem; }
.step-card p { color: var(--color-text-secondary); font-size: 0.9rem; line-height: 1.65; }
.step-icon {
  display: inline-flex;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--color-green-alpha);
  color: var(--color-green);
  align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.step-icon svg { width: 20px; height: 20px; stroke: var(--color-green); }
.step-connector { display: none; }

/* Home split layout */
.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.home-mini-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 1rem;
}
.home-mini-list li {
  background: var(--color-white);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--pp-radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--pp-shadow-card);
}
.home-mini-list strong {
  display: block;
  color: var(--color-text-primary);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.home-mini-list li { color: var(--color-text-secondary); font-size: 0.95rem; }

/* Sectors mini grid */
.home-sector-mini {
  padding: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--pp-radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--pp-ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
  display: block;
}
.home-sector-mini h3 { color: var(--color-text-primary); margin-bottom: 0.35rem; }
.home-sector-mini p { color: var(--color-text-secondary); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* Security mini grid */
.home-sec-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.home-sec-mini {
  background: var(--color-white);
  border: 1px solid var(--color-border-dark);
  border-left: 3px solid var(--color-green);
  border-radius: var(--pp-radius-md);
  padding: 1.25rem 1.5rem;
}
html[dir="rtl"] .home-sec-mini {
  border-left: 1px solid var(--color-border-dark);
  border-right: 3px solid var(--color-green);
}
.home-sec-mini h4 { color: var(--color-text-primary); margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 600; }
.home-sec-mini p { color: var(--color-text-secondary); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* Partners row */
.home-partners-row-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin: 3rem 0 0;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.home-partners-row-inner:hover { filter: grayscale(0); opacity: 1; }
.home-partners-row-inner img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Section centering helpers */
.section-title.section-title--center,
.section-title.section-title--centered,
.section.text-center .section-title { text-align: center; margin-inline-start: auto; margin-inline-end: auto; }
.section-desc.section-desc--center { text-align: center; margin-inline-start: auto; margin-inline-end: auto; max-width: 720px; }
.section-desc.section-desc--wide { max-width: 720px; }

/* Section tag center fix when first inside text-center container */
.section.text-center .section-tag,
.section .container > .section-tag {
  margin-inline-start: 0;
}
.section.text-center .container > .section-tag { margin-inline-start: auto; margin-inline-end: auto; display: inline-flex; }

/* Reset legacy section-alt to light grey */
.section.section-alt { background: var(--color-bg-light); }

/* Ecosystem visual (about page) */
.ecosystem-visual {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  --eco-radius: clamp(138px, 34vw, 182px);
}

.ecosystem-visual .eco-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--eco-radius) * 2 + 72px);
  height: calc(var(--eco-radius) * 2 + 72px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(14, 92, 68, 0.32);
  pointer-events: none;
  z-index: 1;
}

.ecosystem-visual .eco-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(104px, 22vw, 128px);
  height: clamp(104px, 22vw, 128px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem;
  background: #fff;
  border: 2px solid rgba(14, 92, 68, 0.2);
  border-radius: 50%;
  box-shadow: 0 14px 42px rgba(14, 92, 68, 0.16);
  z-index: 3;
  text-align: center;
}

.ecosystem-visual .eco-center img {
  width: clamp(40px, 8.5vw, 52px);
  height: clamp(40px, 8.5vw, 52px);
  object-fit: contain;
  display: block;
}

.ecosystem-visual .eco-center span {
  font-size: clamp(0.62rem, 1.8vw, 0.72rem);
  font-weight: 700;
  color: var(--pp-green-deep, #0E5C44);
  line-height: 1.25;
  max-width: 92%;
}

.ecosystem-visual .eco-nodes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ecosystem-visual .eco-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transform: translate(-50%, -50%) rotate(var(--angle, 0deg)) translateY(calc(-1 * var(--eco-radius))) rotate(calc(-1 * var(--angle, 0deg)));
  transition: transform 0.25s var(--pp-ease);
}

.ecosystem-visual .eco-node:hover {
  transform: translate(-50%, -50%) rotate(var(--angle, 0deg)) translateY(calc(-1 * var(--eco-radius))) rotate(calc(-1 * var(--angle, 0deg))) scale(1.05);
  background: transparent;
  border: none;
  box-shadow: none;
}

.ecosystem-visual .eco-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(14, 92, 68, 0.12);
  color: var(--pp-green-deep, #0E5C44);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(14, 92, 68, 0.1);
  flex-shrink: 0;
}

.ecosystem-visual .eco-node:hover .eco-icon {
  border-color: rgba(14, 92, 68, 0.28);
  box-shadow: 0 10px 28px rgba(14, 92, 68, 0.16);
}

.ecosystem-visual .eco-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--pp-green-deep, #0E5C44);
}

.ecosystem-visual .eco-lbl {
  font-size: clamp(0.68rem, 1.9vw, 0.78rem);
  font-weight: 600;
  color: rgba(13, 31, 24, 0.68);
  margin: 0;
  text-align: center;
  white-space: nowrap;
  max-width: 7.5rem;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .ecosystem-visual {
    --eco-radius: 118px;
  }
  .ecosystem-visual .eco-lbl {
    white-space: normal;
    max-width: 5.5rem;
    font-size: 0.62rem;
  }
}

/* Problem bar section */
.problem-bar-section {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--pp-radius-lg);
  box-shadow: var(--pp-shadow-card);
}
.pbar-title { font-weight: 600; color: var(--color-text-primary); margin-bottom: 1rem; }
.pbar-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}
.pbar-lbl { color: var(--color-text-secondary); font-size: 0.88rem; }
.pbar-track {
  height: 28px;
  background: var(--color-bg-light);
  border-radius: 14px;
  overflow: hidden;
}
.pbar-fill {
  height: 100%;
  display: flex; align-items: center;
  padding: 0 0.85rem;
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 14px;
  background: var(--color-green);
}
.pbar-fill.red { background: #e55; }

/* ═══ PART 11 · RESPONSIVE ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --pp-container-max: 100%;
    --pp-gutter-x: clamp(1.25rem, 3.5vw, 2rem);
  }

  .hero > .container,
  .pp-hala-hero > .container,
  .pp-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pp-hala-visual, .pp-hero-visual, .hero-visual { display: none; }

  .about-grid, .pp-products-grid, .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .home-sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .pp-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .home-split { grid-template-columns: 1fr; gap: 2rem; }
  .pp-stats-grid { gap: 1rem; }

  nav#navbar .nav-links { display: none; }
  nav#navbar .nav-hamburger { display: flex; }
}

@media (max-width: 768px) {
  :root { --pp-gutter-x: clamp(1.125rem, 4vw, 1.5rem); }

  section, .section { padding: 4rem 0; }

  .pp-hero-h1, .hero-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }

  .about-grid, .pp-products-grid, .problem-grid,
  .home-sectors-grid, .home-sec-mini-grid { grid-template-columns: 1fr; }

  .pp-stats-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pp-stat + .pp-stat::before { display: none; }
  .pp-stat { border-top: 1px solid var(--color-border-dark); padding-top: 1.25rem; }
  .pp-stat:first-child { border-top: none; padding-top: 0; }

  .pp-stats-bridge .pp-trust-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .pp-deco-orb--1, .pp-deco-ring--1 { display: none; }

  .footer-grid, .pp-footer-grid { grid-template-columns: 1fr; }
  .footer-bottom, .pp-footer-legal-strip { flex-direction: column; align-items: flex-start; }

  .home-metrics-strip { grid-template-columns: 1fr; gap: 2rem; }
  .home-metrics-strip .home-metric + .home-metric::before { display: none; }

  .pp-hero-stats, .pp-hero-pills { gap: 1rem; flex-wrap: wrap; }

  nav#navbar .nav-actions .lang-switcher,
  nav#navbar .nav-actions .theme-toggle { display: none; }
}

@media (max-width: 480px) {
  :root { --pp-gutter-x: 1rem; }

  .pp-hero-stats > * + *::before,
  .pp-hero-pills > * + *::before { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* utility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CREAM HERO OVERRIDE — switches hero from dark navy to warm cream/beige
   palette with a light photo background, transparent nav, and a white
   phone mockup featuring a green avatar + balance + account rows.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --pp-cream:        #EFE4D0;
  --pp-cream-warm:   #F2E8D5;
  --pp-cream-deep:   #E8DBC0;
  --pp-cream-text:   #1B2538;
  --pp-cream-text-2: rgba(27, 37, 56, 0.62);
  --pp-cream-border: rgba(27, 37, 56, 0.10);
  --pp-green-deep:   #0E5C44;
  --pp-green-mid:    #1A6B50;
}

/* ── HERO: cream background with subtle warm photo overlay ──────────── */
.hero,
.pp-hala-hero,
.pp-showcase-hero {
  background-color: var(--pp-cream);
  background-image:
    radial-gradient(ellipse 900px 600px at 80% 25%, rgba(255, 240, 215, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 700px 500px at 15% 70%, rgba(216, 200, 170, 0.35) 0%, transparent 70%),
    linear-gradient(135deg, var(--pp-cream-deep) 0%, var(--pp-cream-warm) 50%, var(--pp-cream) 100%);
  background-size: cover, cover, cover;
  color: var(--pp-cream-text);
}

/* ── HERO with real photo background (hala-style) ───────────────────── */
.hero.pp-hero-photo,
.pp-hala-hero.pp-hero-photo,
.pp-showcase-hero.pp-hero-photo {
  --pp-hero-bg-url: url('/assets/hero/hero-pos-payment.jpg');
  background-color: var(--pp-cream) !important;
  background-image: none !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Kill cream gradient stack from generic hero rules */
.hero.pp-hero-photo::before,
.hero.pp-hero-photo::after,
.pp-hala-hero.pp-hero-photo::before,
.pp-hala-hero.pp-hero-photo::after {
  display: none !important;
}

.hero.pp-hero-photo > .container::before,
.pp-hala-hero.pp-hero-photo > .container::before {
  display: none !important;
}

/* Photo layer — CSS background (reliable vs <picture> sizing bugs) */
.pp-hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--pp-hero-bg-url);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 58% 45%;
  filter: saturate(1.08) contrast(1.06) brightness(0.98);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .pp-hero-bg-layer {
    background-position: 55% 35%;
    transform: scale(1.12);
  }
}

/* legacy picture hook — hide if present */
.pp-hero-bg { display: none !important; }

.pp-hero-bg img,
.pp-hero-bg source {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
  display: block;
  filter: saturate(0.95) contrast(0.96) brightness(1.02);
}

@media (max-width: 768px) {
  .pp-hero-bg img {
    object-position: 35% 25%;
  }
}

/* Cream gradient: photo visible on LEFT (RTL), text readable on RIGHT */
.pp-hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to left,
      rgba(239, 228, 208, 0) 0%,
      rgba(239, 228, 208, 0.18) 42%,
      rgba(239, 228, 208, 0.72) 72%,
      rgba(239, 228, 208, 0.92) 100%
    );
}

html[dir="rtl"] .pp-hero-bg-overlay {
  background:
    linear-gradient(
      to right,
      rgba(239, 228, 208, 0) 0%,
      rgba(239, 228, 208, 0.15) 38%,
      rgba(239, 228, 208, 0.68) 68%,
      rgba(239, 228, 208, 0.90) 100%
    );
}

/* Lighter vignette — fade photo into light stats band below */
.pp-hero-bg-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, transparent 50%, rgba(245, 247, 250, 0.45) 82%, rgba(245, 247, 250, 0.92) 100%),
    radial-gradient(ellipse 120% 70% at 50% 100%, rgba(0, 200, 150, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(239, 228, 208, 0.40) 0%, transparent 50%);
}

/* Ensure hero content sits above the photo + overlays */
.pp-hero-photo > .container,
.pp-hero-photo .pp-hero-grid {
  position: relative;
  z-index: 2;
}

.pp-hero-photo .pp-hero-copy { position: relative; z-index: 3; }
.pp-hero-photo .pp-hala-visual { position: relative; z-index: 3; }

/* kill the dark blue glows from the original hero */
.hero::before,
.hero::after,
.pp-hala-hero::before,
.pp-hala-hero::after,
.pp-showcase-hero::before,
.pp-showcase-hero::after {
  display: none !important;
  animation: none !important;
}

/* re-add a single soft warm spotlight + dot grid */
.hero,
.pp-hala-hero,
.pp-showcase-hero { position: relative; }

.hero > .container::before,
.pp-hala-hero > .container::before,
.pp-showcase-hero > .container::before {
  content: '';
  position: absolute;
  inset: -10% -10% auto auto;
  width: 70%; height: 80%;
  background:
    radial-gradient(closest-side, rgba(14, 92, 68, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── HERO TEXT: dark on cream ───────────────────────────────────────── */
.pp-hero-h1,
.hero-title,
.hero h1,
.pp-hala-hero h1 {
  color: var(--pp-cream-text) !important;
  -webkit-text-fill-color: var(--pp-cream-text);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.pp-hero-h1 .accent,
.hero-title .accent,
.pp-hero-h1 .gradient-text,
.hero-title .gradient-text {
  color: var(--pp-green-deep) !important;
  -webkit-text-fill-color: var(--pp-green-deep) !important;
  background: none;
}

.pp-hero-h1 .accent::after,
.hero-title .accent::after,
.pp-hero-h1 .gradient-text::after,
.hero-title .gradient-text::after {
  background: linear-gradient(90deg, var(--pp-green-deep), transparent);
  height: 4px;
  bottom: -2px;
  opacity: 0.85;
}

.pp-hero-lead,
.hero-desc {
  color: var(--pp-cream-text-2) !important;
  font-size: 1.05rem;
  max-width: 480px;
}

.pp-hero-kicker,
.hero-badge {
  background: rgba(14, 92, 68, 0.10);
  border: 1px solid rgba(14, 92, 68, 0.25);
  color: var(--pp-green-deep) !important;
}
.pp-hero-kicker::before,
.hero-badge::before { background: var(--pp-green-deep); }

.pp-hero-stat .num,
.pp-hero-stats .num {
  color: var(--pp-cream-text) !important;
  font-weight: 800;
}
.pp-hero-stat .lbl,
.pp-hero-stats .lbl { color: var(--pp-cream-text-2) !important; }
.pp-hero-stats > * + *::before,
.pp-hero-pills > * + *::before { background: rgba(27, 37, 56, 0.15) !important; }

.hero-scroll-hint { color: var(--pp-cream-text-2) !important; }
.scroll-arrow { background: linear-gradient(180deg, var(--pp-green-deep), transparent) !important; }

/* ── HERO BUTTONS on cream ──────────────────────────────────────────── */
.hero .btn-primary,
.pp-hala-hero .btn-primary,
.pp-showcase-hero .btn-primary {
  background: var(--pp-green-deep);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
}
.hero .btn-primary:hover,
.pp-hala-hero .btn-primary:hover,
.pp-showcase-hero .btn-primary:hover {
  background: var(--pp-green-mid);
  box-shadow: 0 12px 32px rgba(14, 92, 68, 0.28);
}

.hero .btn-secondary,
.pp-hala-hero .btn-secondary,
.pp-showcase-hero .btn-secondary {
  color: var(--pp-cream-text) !important;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(27, 37, 56, 0.15);
  padding: 1rem 2rem;
  border-radius: 100px;
}
.hero .btn-secondary:hover,
.pp-hala-hero .btn-secondary:hover,
.pp-showcase-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--pp-cream-text) !important;
  border-color: rgba(27, 37, 56, 0.25);
}

/* ── CTA buttons on light marketing band ───────────────────────────── */
.cta-section .btn-primary {
  background: var(--pp-green-deep);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 700;
}
.cta-section .btn-primary:hover {
  background: var(--pp-green-mid);
  color: #fff;
  box-shadow: 0 12px 32px rgba(14, 92, 68, 0.28);
}
.cta-section .btn-secondary {
  color: var(--pp-cream-text) !important;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 37, 56, 0.18) !important;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 600;
}
.cta-section .btn-secondary:hover {
  background: #fff;
  color: var(--pp-green-deep) !important;
  border-color: rgba(14, 92, 68, 0.35) !important;
  box-shadow: 0 8px 24px rgba(14, 92, 68, 0.12);
}
.cta-section .cta-separator {
  color: rgba(27, 37, 56, 0.28);
}

/* Inner pages — solid navbar (readable on light backgrounds) */
body.pathpay-shell nav#navbar.nav-solid,
body.pp-hala-shell nav#navbar.nav-solid {
  background: rgba(255, 252, 247, 0.97) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
  border-bottom: 1px solid rgba(27, 37, 56, 0.10) !important;
  box-shadow: 0 4px 24px rgba(14, 92, 68, 0.10) !important;
}

/* ── NAV: transparent over hero photo, cream when scrolled ──────────── */
nav#navbar {
  background: transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

nav#navbar.scrolled,
nav#navbar.nav-solid {
  background: rgba(255, 252, 247, 0.97) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: rgba(27, 37, 56, 0.10);
  box-shadow: 0 4px 24px rgba(14, 92, 68, 0.10);
}

/* Logo: WHITE over hero photo, original colors when scrolled / inner pages */
nav#navbar .nav-logo img {
  height: 40px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  transition: filter 0.3s ease;
}
nav#navbar.scrolled .nav-logo img,
nav#navbar.nav-solid .nav-logo img {
  filter: none;
}

/* Nav links: WHITE over hero, dark when scrolled / inner pages */
nav#navbar .nav-links a {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
  font-size: 0.92rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
nav#navbar.scrolled .nav-links a,
nav#navbar.nav-solid .nav-links a {
  color: var(--pp-cream-text) !important;
  text-shadow: none;
}
nav#navbar .nav-links a:hover { color: #FFFFFF !important; }
nav#navbar.scrolled .nav-links a:hover,
nav#navbar.nav-solid .nav-links a:hover { color: var(--pp-green-deep) !important; }

nav#navbar .nav-links a::after { background: #FFFFFF; }
nav#navbar.scrolled .nav-links a::after,
nav#navbar.nav-solid .nav-links a::after { background: var(--pp-green-deep); }

nav#navbar .nav-links .has-mega > a::before,
nav#navbar .nav-links a.has-chevron::before { border-color: currentColor; }

/* Hamburger color sync */
nav#navbar .nav-hamburger span { background: #FFFFFF; }
nav#navbar.scrolled .nav-hamburger span,
nav#navbar.nav-solid .nav-hamburger span { background: var(--pp-cream-text); }

/* mega menu on cream */
.pp-mega {
  background: #FFFFFF;
  border: 1px solid rgba(27, 37, 56, 0.08);
  box-shadow: 0 30px 60px rgba(27, 37, 56, 0.15);
}
.pp-mega-col-label { color: var(--pp-green-deep); }
.pp-mega-col a { color: rgba(27, 37, 56, 0.75); }
.pp-mega-col a:hover { color: var(--pp-green-deep); }
.pp-mega-image {
  background:
    linear-gradient(135deg, var(--pp-green-deep), #134f3b);
  color: #fff;
}

/* Language switcher: glassy white over hero, light cream when scrolled */
nav#navbar .lang-switcher {
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.28);
}
nav#navbar.scrolled .lang-switcher,
nav#navbar.nav-solid .lang-switcher {
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-color: rgba(27, 37, 56, 0.10);
}
nav#navbar .lang-btn { color: rgba(255, 255, 255, 0.92); }
nav#navbar.scrolled .lang-btn,
nav#navbar.nav-solid .lang-btn { color: rgba(27, 37, 56, 0.75); }
nav#navbar .lang-btn:not(.active):hover { color: #FFFFFF; }
nav#navbar.scrolled .lang-btn:not(.active):hover,
nav#navbar.nav-solid .lang-btn:not(.active):hover { color: var(--pp-cream-text); }
nav#navbar .lang-btn.active,
nav#navbar .lang-btn[aria-pressed="true"] {
  background: var(--pp-green-deep);
  color: #fff;
}

/* CTA button: pill, deep green — same on both states (anchored brand color) */
nav#navbar .btn-nav {
  background: var(--pp-green-deep);
  color: #fff;
  border-radius: 100px;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(14, 92, 68, 0.28);
}
nav#navbar .btn-nav:hover {
  background: var(--pp-green-mid);
  color: #fff;
  box-shadow: 0 10px 26px rgba(14, 92, 68, 0.38);
  transform: translateY(-2px);
}

/* ── HERO VISUAL: hala-style phone mockup (realistic tall aspect) ───── */
.pp-hala-visual,
.pp-hero-visual,
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: clamp(580px, 62vh, 680px);
  animation: fadeLeft 1s var(--pp-ease) 0.4s forwards;
}

/* Realistic smartphone frame */
.pp-hero-photo .pp-device,
.pp-device.pp-phone-frame {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  transform: none !important;
  display: flex;
  flex-direction: column;
  width: clamp(268px, 19vw, 296px);
  min-height: clamp(548px, 58vh, 620px);
  aspect-ratio: 9 / 19.5;
  max-height: 640px;
  background: #FFFFFF !important;
  border: 2px solid rgba(27, 37, 56, 0.07);
  border-radius: 48px !important;
  padding: 0.65rem 0.85rem 1.35rem;
  box-shadow:
    0 40px 80px -16px rgba(14, 92, 68, 0.28),
    0 30px 50px -20px rgba(27, 37, 56, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    inset 0 0 0 1px rgba(27, 37, 56, 0.04);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  box-sizing: border-box;
  overflow: hidden;
}

.pp-hero-photo .pp-device::before {
  content: '';
  position: absolute;
  inset-inline-end: -2px;
  top: 24%;
  width: 3px;
  height: 40px;
  border-radius: 0 2px 2px 0;
  background: rgba(27, 37, 56, 0.08);
  box-shadow: 0 58px 0 rgba(27, 37, 56, 0.08);
  pointer-events: none;
  z-index: 4;
}

.pp-phone-notch {
  flex-shrink: 0;
  width: 92px;
  height: 26px;
  margin: 0.35rem auto 0.5rem;
  background: rgba(27, 37, 56, 0.06);
  border: 1px solid rgba(27, 37, 56, 0.05);
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.pp-phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 0.35rem;
  overflow: hidden;
}

.pp-phone-home-bar {
  flex-shrink: 0;
  width: 96px;
  height: 4px;
  margin: 0.65rem auto 0.15rem;
  background: rgba(27, 37, 56, 0.14);
  border-radius: 4px;
}

.pp-phone-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin: 0.75rem 0 0.85rem;
  padding: 0 0.15rem;
}

.pp-phone-mini-chart span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--pp-green-mid) 0%, var(--pp-green-deep) 100%);
  opacity: 0.85;
  transform-origin: bottom;
  animation: barGrow 0.7s ease backwards;
}

.pp-phone-mini-chart span:nth-child(1) { animation-delay: 0.15s; }
.pp-phone-mini-chart span:nth-child(2) { animation-delay: 0.25s; }
.pp-phone-mini-chart span:nth-child(3) { animation-delay: 0.35s; }
.pp-phone-mini-chart span:nth-child(4) { animation-delay: 0.45s; }
.pp-phone-mini-chart span:nth-child(5) { animation-delay: 0.55s; }
.pp-phone-mini-chart span:nth-child(6) { animation-delay: 0.65s; }

/* hide the legacy phone parts that no longer apply */
.pp-device > .pp-device-header,
.pp-device > .pp-device-balance-lbl,
.pp-device > .pp-device-balance,
.pp-device > .pp-device-chart,
.pp-device > .pp-device-tx { display: none !important; }

.pp-phone-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0.25rem auto 0.85rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--pp-green-deep) 0%, #0a3d2c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 24px rgba(14, 92, 68, 0.25);
  flex-shrink: 0;
}

.pp-phone-balance-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(27, 37, 56, 0.06);
  flex-shrink: 0;
}

.pp-phone-bal-lbl {
  font-size: 0.78rem;
  color: rgba(27, 37, 56, 0.55);
  margin: 0;
  font-weight: 500;
}

.pp-phone-bal {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--pp-cream-text);
  line-height: 1.1;
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}
.pp-phone-bal small {
  font-size: 0.6em;
  color: rgba(27, 37, 56, 0.6);
  font-weight: 500;
}

.pp-phone-bal .pp-money,
.pp-phone-bal .pp-money-val {
  font-size: inherit !important;
  color: inherit !important;
  font-weight: inherit !important;
}
.pp-phone-bal .pp-money-sym {
  width: 0.85em !important;
  height: 0.85em !important;
}

.pp-phone-accounts-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--pp-cream-warm);
  color: var(--pp-cream-text);
  border: 1px solid rgba(27, 37, 56, 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.pp-phone-rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
  flex: 1;
  justify-content: flex-end;
  padding-bottom: 0.25rem;
}

.pp-phone-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 0.65rem;
  background: #FAFBFA;
  border: 1px solid rgba(27, 37, 56, 0.06);
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
}

.pp-phone-row-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 92, 68, 0.10);
  color: var(--pp-green-deep);
  flex-shrink: 0;
}
.pp-phone-row-icon svg { width: 16px; height: 16px; stroke: currentColor; }
.pp-phone-row-icon.warn { background: rgba(220, 160, 40, 0.15); color: #B07A1A; }

.pp-phone-row-body { display: flex; flex-direction: column; min-width: 0; }
.pp-phone-row-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pp-cream-text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp-phone-row-sub {
  font-size: 0.68rem;
  color: rgba(27, 37, 56, 0.5);
  margin-top: 2px;
}
.pp-phone-row-amt {
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.pp-phone-row-amt strong {
  font-size: 0.85rem;
  color: var(--pp-green-deep);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pp-phone-row-amt .status {
  font-size: 0.60rem;
  background: rgba(14, 92, 68, 0.10);
  color: var(--pp-green-deep);
  padding: 1px 7px;
  border-radius: 100px;
  font-weight: 500;
}

/* Floating glass cards on cream — lighter look */
.pp-float-card {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(27, 37, 56, 0.06);
  box-shadow: 0 18px 36px rgba(27, 37, 56, 0.12);
  color: var(--pp-cream-text);
}
.pp-float-card .tag { color: rgba(27, 37, 56, 0.55); }
.pp-float-card .ttl { color: var(--pp-cream-text); }
.pp-float-card .val { color: var(--pp-green-deep); }
.pp-float-card .progress { background: rgba(27, 37, 56, 0.08); }
.pp-float-card .progress > span {
  background: linear-gradient(90deg, var(--pp-green-deep), var(--pp-green-mid));
}

/* repositioning cards relative to taller phone */
.pp-float-card.c1 { top: 6%;  inset-inline-end: 6%; }
.pp-float-card.c2 { bottom: 10%; inset-inline-end: 2%;  }
.pp-float-card.c3 { top: 38%;  inset-inline-start: 2%; }

.hero.pp-hero-photo,
.pp-hala-hero.pp-hero-photo {
  padding-top: calc(var(--pp-nav-h) + clamp(1.5rem, 3vw, 2.5rem));
  padding-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* Lift phone above photo + add green halo (matches hala depth) */
.pp-hero-photo .pp-hala-visual::before {
  content: '';
  position: absolute;
  width: clamp(340px, 32vw, 420px);
  height: clamp(480px, 52vh, 560px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 92, 68, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

/* Stronger hero overflow so photo doesn't bleed over rounded corners */
.hero, .pp-hala-hero, .pp-showcase-hero { overflow: hidden; }

/* On the inner pages, use cream-friendly section variations */
.section.section-alt { background: #FAF6EE; }

/* Inner pages: first section below fixed navbar (mobile-safe top spacing) */
body.pathpay-shell nav#navbar + section.section,
body.pp-hala-shell nav#navbar + section.section {
  padding-top: calc(var(--pp-nav-h) + clamp(1.25rem, 4vw, 2.5rem));
}

@media (max-width: 768px) {
  body.pathpay-shell nav#navbar + section.section,
  body.pp-hala-shell nav#navbar + section.section {
    padding-top: calc(var(--pp-nav-h) + 1.25rem);
  }
}

html {
  scroll-padding-top: calc(var(--pp-nav-h) + 0.75rem);
}

@media (max-width: 1024px) {
  .pp-hero-photo .pp-device {
    width: clamp(248px, 42vw, 280px);
    min-height: clamp(500px, 72vh, 580px);
    border-radius: 42px !important;
  }
  .pp-hala-visual { min-height: 520px; }
  .pp-float-card.c1,
  .pp-float-card.c2,
  .pp-float-card.c3 { display: none; }
}

/* ── نمط enterprise: محتوى عريض في الوسط + هوامش جانبية معتدلة ─────── */
body.pathpay-shell .container,
body.pp-hala-shell .container,
body.pathpay-shell .pp-container,
body.pp-hala-shell .pp-container,
body.pathpay-shell nav#navbar .nav-container,
body.pp-hala-shell nav#navbar .nav-container {
  width: 100% !important;
  max-width: var(--pp-container-max) !important;
  padding-inline: var(--pp-gutter-x) !important;
  margin-inline: auto !important;
  box-sizing: border-box;
}

body.pathpay-shell .hero > .container,
body.pp-hala-shell .hero > .container,
body.pathpay-shell .pp-hala-hero > .container,
body.pp-hala-shell .pp-hala-hero > .container {
  width: 100% !important;
  max-width: var(--pp-container-max) !important;
  padding-inline: var(--pp-gutter-x) !important;
  margin-inline: auto !important;
}

@media (min-width: 1440px) {
  :root {
    --pp-container-w: min(1520px, calc(100vw - 3rem));
    --pp-container-max: min(1520px, calc(100vw - 3rem));
    --pp-gutter-x: 1.5rem;
  }
}

/* ── Industries: photo cards (replace gradient headers) ───────────── */
body.pathpay-shell .ind-visual,
body.pp-hala-shell .ind-visual {
  height: clamp(168px, 18vw, 220px);
  background: #E8EDF2;
}

body.pathpay-shell .ind-visual::before,
body.pp-hala-shell .ind-visual::before {
  display: none;
}

body.pathpay-shell .ind-visual img,
body.pp-hala-shell .ind-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

body.pathpay-shell .industry-card:hover .ind-visual img,
body.pp-hala-shell .industry-card:hover .ind-visual img {
  transform: scale(1.04);
}

body.pathpay-shell .ind-visual-overlay,
body.pp-hala-shell .ind-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 30, 61, 0.08) 0%,
    rgba(11, 30, 61, 0.35) 55%,
    rgba(11, 30, 61, 0.55) 100%
  );
  pointer-events: none;
}

body.pathpay-shell .ind-visual .ind-icon,
body.pp-hala-shell .ind-visual .ind-icon {
  display: none;
}

body.pathpay-shell .ind-content,
body.pp-hala-shell .ind-content {
  position: relative;
  padding-top: 24px;
}

body.pathpay-shell .ind-content .ind-icon,
body.pp-hala-shell .ind-content .ind-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: -26px auto 14px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid rgba(0, 200, 150, 0.28);
  box-shadow: 0 6px 24px rgba(11, 30, 61, 0.14);
  flex-shrink: 0;
  line-height: 0;
  position: relative;
  z-index: 2;
}

body.pathpay-shell .ind-content .ind-icon svg,
body.pp-hala-shell .ind-content .ind-icon svg {
  width: 24px;
  height: 24px;
  stroke: #0E5C44;
  display: block;
  flex-shrink: 0;
}

body.pathpay-shell .industry-card:hover .ind-content .ind-icon,
body.pp-hala-shell .industry-card:hover .ind-content .ind-icon {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(0, 200, 150, 0.22);
}

body.pathpay-shell .industry-card h3,
body.pp-hala-shell .industry-card h3 {
  margin-top: 0;
  text-align: center;
  font-size: 1.05rem;
  color: #0B1E3D;
}

body.pathpay-shell .ind-content .ind-icon,
body.pp-hala-shell .ind-content .ind-icon,
[data-theme="light"] body.pathpay-shell .ind-content .ind-icon,
[data-theme="light"] body.pp-hala-shell .ind-content .ind-icon {
  background: #fff !important;
  border-color: rgba(0, 200, 150, 0.28) !important;
  box-shadow: 0 6px 24px rgba(11, 30, 61, 0.14) !important;
}

body.pathpay-shell .ind-content .ind-icon svg,
body.pp-hala-shell .ind-content .ind-icon svg,
[data-theme="light"] body.pathpay-shell .ind-content .ind-icon svg,
[data-theme="light"] body.pp-hala-shell .ind-content .ind-icon svg {
  stroke: #0E5C44 !important;
}

body.pathpay-shell .ind-features li::before,
body.pp-hala-shell .ind-features li::before {
  content: '✓';
  color: #00C896;
  font-size: 11px;
  font-weight: 700;
}

html[dir="rtl"] body.pathpay-shell .ind-features li::before,
html[dir="rtl"] body.pp-hala-shell .ind-features li::before {
  content: '✓';
}

/* ── Platform portals: light mockup UI (no dark gray/black blocks) ─ */
body.pathpay-shell .portal-mockup,
body.pp-hala-shell .portal-mockup {
  background: #fff;
  border: 1px solid rgba(0, 200, 150, 0.14);
}

body.pathpay-shell .portal-mockup .pm-header,
body.pp-hala-shell .portal-mockup .pm-header {
  border-bottom-color: rgba(0, 200, 150, 0.12);
  color: #0B1E3D;
}

body.pathpay-shell .portal-mockup .pm-logo,
body.pp-hala-shell .portal-mockup .pm-logo {
  color: #0B1E3D;
}

body.pathpay-shell .portal-mockup .pm-status.green,
body.pp-hala-shell .portal-mockup .pm-status.green {
  color: #00A67E;
}

body.pathpay-shell .portal-mockup .pm-stats,
body.pp-hala-shell .portal-mockup .pm-stats {
  background: linear-gradient(135deg, #F0FAF6 0%, #E4F5EE 100%);
  border: 1px solid rgba(0, 200, 150, 0.2);
  border-top-color: rgba(0, 200, 150, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

body.pathpay-shell .portal-mockup .pm-stats::before,
body.pp-hala-shell .portal-mockup .pm-stats::before {
  background: linear-gradient(90deg, transparent, rgba(0, 200, 150, 0.35), transparent);
}

body.pathpay-shell .portal-mockup .pm-stat,
body.pp-hala-shell .portal-mockup .pm-stat {
  border-right-color: rgba(0, 200, 150, 0.14);
}

body.pathpay-shell .portal-mockup .pm-stat-val,
body.pp-hala-shell .portal-mockup .pm-stat-val {
  background: none;
  -webkit-text-fill-color: #0E5C44;
  color: #0E5C44;
}

body.pathpay-shell .portal-mockup .pm-stat-lbl,
body.pp-hala-shell .portal-mockup .pm-stat-lbl {
  color: #5A6B78;
}

body.pathpay-shell .portal-mockup .audit-row,
body.pp-hala-shell .portal-mockup .audit-row {
  background: #F5F9F7;
  border: 1px solid rgba(0, 200, 150, 0.12);
  color: #1B2538;
}

body.pathpay-shell .portal-mockup .audit-row span:last-child,
body.pp-hala-shell .portal-mockup .audit-row span:last-child {
  color: #7A8798;
}

body.pathpay-shell .portal-mockup .pm-row.header,
body.pp-hala-shell .portal-mockup .pm-row.header {
  background: #EEF8F4;
  color: #5A6B78;
}

body.pathpay-shell .portal-mockup .pm-row,
body.pp-hala-shell .portal-mockup .pm-row {
  border-bottom-color: rgba(0, 200, 150, 0.1);
  color: #1B2538;
}

body.pathpay-shell .portal-mockup .pm-table,
body.pp-hala-shell .portal-mockup .pm-table {
  border-color: rgba(0, 200, 150, 0.14);
  background: #fff;
}

body.pathpay-shell .portal-mockup .pmc-name,
body.pp-hala-shell .portal-mockup .pmc-name {
  color: #1B2538;
}

body.pathpay-shell .portal-mockup .pmc-progress,
body.pp-hala-shell .portal-mockup .pmc-progress {
  color: #5A6B78;
}

body.pathpay-shell .portal-mockup .prog-bar,
body.pp-hala-shell .portal-mockup .prog-bar {
  background: #E2EBE7;
}

body.pathpay-shell .portal-mockup .pmbar,
body.pp-hala-shell .portal-mockup .pmbar {
  background: rgba(0, 200, 150, 0.15);
  border-color: rgba(0, 200, 150, 0.25);
}

body.pathpay-shell .portal-mockup .pmbar.active,
body.pp-hala-shell .portal-mockup .pmbar.active {
  background: linear-gradient(to top, #00A67E, #00C896);
  box-shadow: 0 2px 10px rgba(0, 200, 150, 0.25);
}

body.pathpay-shell .portal-mockup .risk-label,
body.pp-hala-shell .portal-mockup .risk-label {
  color: #5A6B78;
}

body.pathpay-shell .portal-mockup .risk-bar span:first-child,
body.pp-hala-shell .portal-mockup .risk-bar span:first-child,
body.pathpay-shell .portal-mockup .risk-bar span:last-child,
body.pp-hala-shell .portal-mockup .risk-bar span:last-child {
  color: #5A6B78;
}

html[dir="rtl"] body.pathpay-shell .portal-mockup .audit-row span:last-child,
html[dir="rtl"] body.pp-hala-shell .portal-mockup .audit-row span:last-child {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] body.pathpay-shell .portal-mockup .pm-stat,
html[dir="rtl"] body.pp-hala-shell .portal-mockup .pm-stat {
  border-right: none;
  border-left: 1px solid rgba(0, 200, 150, 0.14);
}

html[dir="rtl"] body.pathpay-shell .portal-mockup .pm-stat:last-child,
html[dir="rtl"] body.pp-hala-shell .portal-mockup .pm-stat:last-child {
  border-left: none;
}

