/* PathPay — hero refinement (clear photography, airy shell; layout cues akin to SMB fintech marketing heroes). Not Hala-branded imagery. */

body.pathpay-shell .pp-showcase-hero.pp-hala-hero::before {
  opacity: 1;
  background:
    radial-gradient(circle at 76% 12%, rgba(46, 170, 133, 0.07), transparent 46%),
    radial-gradient(circle at 6% 86%, rgba(26, 107, 80, 0.05), transparent 52%);
}

body.pathpay-shell .pp-hala-hero.pp-showcase-hero .pp-hala-visual {
  position: relative;
  z-index: 2;
}

/* Large marketing frame — stacked slides، صور حقيقية بانتقال crossfade سلس */
body.pathpay-shell .pp-hala-carousel.pp-hero-carousel {
  position: relative;
  overflow: hidden;
  contain: layout paint;
  aspect-ratio: 16 / 10;
  border-radius: clamp(26px, 4.2vw, 44px);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), #f4faf7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 2px 1px rgba(8, 46, 34, 0.04),
    0 28px 60px rgba(8, 46, 34, 0.1),
    0 0 0 1px rgba(26, 107, 80, 0.09);
}

body.pathpay-shell .pp-hala-carousel.pp-hero-carousel .pp-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

body.pathpay-shell .pp-hala-carousel.pp-hero-carousel .pp-hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

body.pathpay-shell .pp-hala-carousel.pp-hero-carousel.pp-hero-is-ready .pp-hero-slide {
  transition: opacity 0.68s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  body.pathpay-shell .pp-hala-carousel.pp-hero-carousel.pp-hero-is-ready .pp-hero-slide {
    transition: none;
  }
}

body.pathpay-shell .pp-hala-carousel.pp-hero-carousel .pp-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translateZ(0);
  image-rendering: auto;
}

body.pathpay-shell .pp-showcase-hero .pp-hero-float {
  max-width: min(300px, 92%);
  padding: clamp(14px, 2.2vw, 18px) clamp(16px, 2.6vw, 20px);
  border-radius: 20px;
  border: 1px solid rgba(26, 107, 80, 0.12);
  box-shadow:
    0 16px 40px rgba(8, 46, 34, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset;
}

body.pathpay-shell .pp-showcase-hero .pp-hero-dots {
  margin-top: clamp(14px, 2.4vw, 22px);
  gap: 12px;
}

body.pathpay-shell .pp-showcase-hero .pp-hero-dot {
  width: 10px;
  height: 10px;
}

body.pathpay-shell .pp-showcase-hero .pp-hero-dot[aria-current='true'] {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
}

/* الهيرو التسويقي يبقى فاتحاً حتى عند html[data-theme=dark] — المنطقة الداكنة لم تعد «هيرو Laravel» */
html[data-theme='dark'] body.pathpay-shell section#hero.pp-showcase-hero.pp-hala-hero {
  background:
    radial-gradient(circle at 76% 12%, rgba(46, 170, 133, 0.12), transparent 46%),
    radial-gradient(circle at 6% 86%, rgba(26, 107, 80, 0.08), transparent 52%),
    linear-gradient(180deg, #f4faf8 0%, #edf6f2 92%);
}

html[data-theme='dark'] body.pathpay-shell section#hero.pp-showcase-hero .pp-hero-h1 {
  color: var(--green-900);
}

html[data-theme='dark'] body.pathpay-shell section#hero.pp-showcase-hero .pp-hero-lead {
  color: rgba(10, 46, 32, 0.74);
}

html[data-theme='dark'] body.pathpay-shell section#hero.pp-showcase-hero .pp-hero-kicker {
  color: var(--green-800);
  background: rgba(46, 170, 133, 0.12);
  border: 1px solid rgba(26, 107, 80, 0.14);
}

html[data-theme='dark'] body.pathpay-shell section#hero.pp-showcase-hero .pp-hero-pill {
  background: rgba(255, 255, 255, 0.93);
  color: var(--green-900);
  border-color: rgba(26, 107, 80, 0.12);
}

html[data-theme='dark'] body.pathpay-shell section#hero.pp-showcase-hero .hero-scroll-hint {
  color: rgba(10, 46, 32, 0.48);
}

html[data-theme='dark'] body.pathpay-shell section#hero.pp-showcase-hero .scroll-arrow {
  border-right-color: var(--green-600);
  border-bottom-color: var(--green-600);
}

html[data-theme='dark'] body.pathpay-shell .pp-hala-carousel.pp-hero-carousel {
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 28px 60px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(62, 207, 159, 0.15);
}

html[data-theme='dark'] body.pathpay-shell section#hero.pp-showcase-hero.pp-hala-hero::before {
  background:
    radial-gradient(circle at 76% 12%, rgba(46, 170, 133, 0.06), transparent 46%),
    radial-gradient(circle at 6% 86%, rgba(26, 107, 80, 0.04), transparent 52%);
}

/*
 * ═══════════════════════════════════════════════════════════════════════════
 * Bottom CTA (home) — كان يعتمد على <canvas id="ctaCanvas"> (TorusKnot WebGL).
 * في واجهة Laravel نزيله نهائياً ونستبدل الخلفية الداكنة بشكل تسويقي فاتح.
 * ═══════════════════════════════════════════════════════════════════════════
 */
body.pathpay-shell .cta-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(46, 170, 133, 0.16), transparent 48%),
    radial-gradient(circle at 82% 78%, rgba(26, 107, 80, 0.09), transparent 54%),
    linear-gradient(180deg, #f6fbf8 0%, #eaf6f1 94%);
}

body.pathpay-shell .cta-section .cta-headline {
  color: var(--green-900);
}

body.pathpay-shell .cta-section .cta-headline .gradient-text {
  background: linear-gradient(135deg, var(--green-800), var(--green-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

body.pathpay-shell .cta-section .cta-desc,
body.pathpay-shell .cta-section .cta-contact-info {
  color: rgba(13, 31, 24, 0.72);
}

body.pathpay-shell .cta-section .cta-contact-link {
  color: var(--green-700);
}

body.pathpay-shell .cta-section .cta-contact-link:hover {
  color: var(--green-600);
}

html[data-theme='dark'] body.pathpay-shell .cta-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(46, 170, 133, 0.12), transparent 48%),
    radial-gradient(circle at 82% 78%, rgba(26, 107, 80, 0.08), transparent 54%),
    linear-gradient(180deg, #f4faf9 0%, #eaf4ef 96%);
}

html[data-theme='dark'] body.pathpay-shell .cta-section .cta-desc,
html[data-theme='dark'] body.pathpay-shell .cta-section .cta-contact-info {
  color: rgba(10, 46, 32, 0.78);
}
