/* ==========================================================================
   pp-vivid.css — "Full of life" colour pass for the landing page
   Loaded LAST on index.php (after pp-theme / pp-rtl / pp-polish / pp-glass).

   BRIEF: "اجعله لونه مليان حياة" — the palette must feel alive, not just
   high-contrast. So this layer is about COLOUR, not darkness:

     * a deep violet-tinted base instead of dead grey-black
     * a vivid multi-hue aurora (purple · fuchsia · cyan · blue) that is
       clearly visible and slowly drifts
     * glass panels tinted with colour and edged with a glowing hairline
     * gradient headings and gradient numbers
     * every accent slot given its own vivid hue so the page is polychrome
     * coloured glows on hover / focus instead of neutral grey shadows

   Everything is scoped to `body#outside` (the landing page) so the admin
   panel and the other pages are untouched.
   ========================================================================== */

:root {
  /* ---------- the palette: vivid, saturated, alive ---------- */
  --v-violet:  #8b5cf6;
  --v-purple:  #a855f7;
  --v-fuchsia: #d946ef;
  --v-pink:    #ec4899;
  --v-blue:    #3b82f6;
  --v-cyan:    #38bdf8;
  --v-emerald: #10b981;
  --v-amber:   #f59e0b;

  /* ---------- base: deep violet-black, never dead grey ---------- */
  --v-bg-0: #080513;
  --v-bg-1: #0d0a1c;

  /* ---------- tinted glass ---------- */
  --v-glass:
    linear-gradient(150deg,
      rgba(168, 85, 247, .17) 0%,
      rgba(59, 130, 246, .09) 48%,
      rgba(236, 72, 153, .07) 100%);
  --v-glass-solid: rgba(21, 14, 40, .60);
  --v-glass-raised:
    linear-gradient(150deg,
      rgba(168, 85, 247, .24) 0%,
      rgba(59, 130, 246, .13) 50%,
      rgba(236, 72, 153, .12) 100%);
  --v-glass-raised-solid: rgba(28, 18, 52, .68);

  --v-brd: rgba(168, 85, 247, .34);
  --v-brd-soft: rgba(168, 85, 247, .20);
  --v-brd-bright: rgba(196, 132, 255, .60);

  --v-hi: inset 0 1px 0 rgba(255, 255, 255, .40),
          inset 0 -1px 0 rgba(0, 0, 0, .28);

  /* ---------- type ---------- */
  --v-text: #ffffff;
  --v-text-soft: #d3d9ea;
  --v-text-dim: #9aa7c2;
}

/* ======================================================================
   1. BASE + A VIVID, DRIFTING AURORA
   Six colour sources instead of four muted ones, all clearly visible.
   ====================================================================== */

body#outside {
  background-color: var(--v-bg-0) !important;
}

body#outside::before {
  background:
    radial-gradient(880px 680px at 8% 2%,    rgba(168, 85, 247, .52), transparent 58%),
    radial-gradient(760px 620px at 94% 12%,  rgba(56, 189, 248, .34), transparent 60%),
    radial-gradient(820px 700px at 84% 78%,  rgba(217, 70, 239, .38), transparent 60%),
    radial-gradient(700px 600px at 14% 76%,  rgba(59, 130, 246, .36), transparent 62%),
    radial-gradient(620px 520px at 50% 46%,  rgba(236, 72, 153, .20), transparent 66%),
    linear-gradient(180deg, #080513 0%, #0d0a1c 48%, #080513 100%) !important;
  background-size: 165% 165%;
  opacity: 1 !important;
  animation: ppAmbient 38s ease-in-out infinite alternate !important;
}

/* the technical grid picks up the accent hue */
body#outside::after {
  opacity: .14 !important;
  background-image:
    linear-gradient(rgba(168, 85, 247, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .40) 1px, transparent 1px) !important;
}

/* the floating orbs: back to full strength, more saturated */
.pp-orb { opacity: .52 !important; filter: blur(64px) saturate(165%) !important; }
.pp-orb-1 { background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, .95), rgba(168, 85, 247, 0) 70%) !important; }
.pp-orb-2 { background: radial-gradient(circle at 60% 40%, rgba(56, 189, 248, .80), rgba(56, 189, 248, 0) 70%) !important; }
.pp-orb-3 { background: radial-gradient(circle at 50% 50%, rgba(217, 70, 239, .85), rgba(217, 70, 239, 0) 70%) !important; }
.pp-orb-4 { background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, .70), rgba(59, 130, 246, 0) 70%) !important; }

.pp-fx-grid { opacity: .26 !important; }

/* ======================================================================
   2. HERO — colour without fog
   ====================================================================== */

.homeHeader::after {
  background:
    radial-gradient(820px 460px at 50% 0%,  rgba(168, 85, 247, .30), transparent 62%),
    radial-gradient(620px 380px at 4% 92%,  rgba(56, 189, 248, .18), transparent 66%),
    radial-gradient(620px 380px at 96% 86%, rgba(236, 72, 153, .18), transparent 66%),
    linear-gradient(180deg,
      rgba(8, 5, 19, 0) 0%,
      rgba(8, 5, 19, .26) 50%,
      rgba(8, 5, 19, .70) 84%,
      rgba(8, 5, 19, 0) 100%) !important;
}
/* let the hero artwork actually show — it is the depth of the fold */
.homeHeader .homeBg img {
  filter: saturate(1.5) brightness(1.14) contrast(1.12) hue-rotate(-6deg) !important;
}
/* keep the aurora orbs from veiling the artwork in the hero */
.homeHeader .pp-hero-fx .pp-orb { opacity: .34 !important; }

/* hero badge */
.home-rates-item {
  background: linear-gradient(135deg, rgba(168, 85, 247, .30), rgba(217, 70, 239, .20)) !important;
  border-color: rgba(217, 70, 239, .65) !important;
  box-shadow: 0 16px 44px rgba(168, 85, 247, .48), var(--v-hi) !important;
}

/* ======================================================================
   3. GRADIENT TYPE — headings and numbers carry the colour
   ====================================================================== */

.nk-section-title {
  background: linear-gradient(100deg,
    #ffffff 0%, #f0dcff 18%, #c9a4ff 42%, #b06bff 62%, #e879f9 82%, #7dd3fc 100%) !important;
  background-size: 220% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 12px 38px rgba(168, 85, 247, .55)) !important;
  animation: ppTitleShift 10s ease-in-out infinite alternate !important;
}

.section-title_title {
  color: var(--v-text) !important;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .8) !important;
}
.section-title_title span {
  background: linear-gradient(100deg, #c084fc 0%, #e879f9 55%, #7dd3fc 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 0 26px rgba(217, 70, 239, .7));
}
.section-title_text { color: var(--v-text-soft) !important; }

/* section pills: each gets its own hue via nth-of-type rotation */
.label.label-home {
  background: linear-gradient(135deg, rgba(168, 85, 247, .26), rgba(217, 70, 239, .16)) !important;
  border-color: rgba(196, 132, 255, .60) !important;
  box-shadow: 0 8px 26px rgba(168, 85, 247, .34), var(--v-hi) !important;
}
.label.label-home .label-text { color: #eddcff !important; }

/* ======================================================================
   4. TINTED GLASS PANELS
   Coloured fill + glowing hairline, so every surface carries the palette
   instead of reading as grey frosted plastic.
   ====================================================================== */

.card,
.home-login .card,
.step-card,
.diff-card .diff-item,
.product-article,
.login-pm,
.country-item,
.recomm-wrapper .item,
.recomm-container,
.tab-content-area .tc-content,
.tab-content-area .tc-menu .nav,
#home-growth .growth-bg,
.hfs-content,
.faq-wrapper .faq-item,
.footer-card {
  background: var(--v-glass) !important;
  background-color: var(--v-glass-solid) !important;
  border: 1px solid var(--v-brd) !important;
  box-shadow:
    0 24px 60px rgba(6, 2, 18, .62),
    0 0 34px rgba(168, 85, 247, .14),
    var(--v-hi) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
}

/* focal panels glow harder and carry an animated gradient rim */
.home-login .card,
.recomm-container,
#home-growth .growth-bg,
.footer-card,
.hfs-content {
  background: var(--v-glass-raised) !important;
  background-color: var(--v-glass-raised-solid) !important;
  border-color: var(--v-brd-bright) !important;
  box-shadow:
    0 34px 84px rgba(6, 2, 18, .7),
    0 0 60px rgba(168, 85, 247, .28),
    var(--v-hi) !important;
}

/* luminous top edge on the big panels */
.recomm-container,
#home-growth .growth-bg,
.hfs-content { position: relative; }
.recomm-container::after,
.hfs-content::after {
  content: "";
  position: absolute;
  inset-inline: 8%;
  top: 0;
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #a855f7, #e879f9, #38bdf8, transparent);
  background-size: 200% 100%;
  animation: ppSheen 6s linear infinite;
  filter: blur(.3px);
}

/* ======================================================================
   5. STATS STRIP — every number in gradient, icons in their own hue
   ====================================================================== */

.hfs-content .hfs-item .hfs-count {
  background: linear-gradient(135deg, #ffffff 0%, #d9b8ff 45%, #e879f9 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 6px 26px rgba(168, 85, 247, .75));
}
.hfs-content .hfs-item .hfs-title { color: #c79cff !important; }
.hfs-content .hfs-item::before {
  background: linear-gradient(180deg, #d946ef, rgba(217, 70, 239, 0)) !important;
  box-shadow: 0 0 16px rgba(217, 70, 239, .9) !important;
}

/* ======================================================================
   6. FEATURE CARDS — stronger, more saturated tints
   ====================================================================== */

.step-box-container .step-box {
  border-color: rgba(255, 255, 255, .18) !important;
  box-shadow:
    0 24px 60px rgba(6, 2, 18, .62),
    0 0 34px rgba(168, 85, 247, .16),
    var(--v-hi) !important;
}
.step-box-container .step-box:nth-child(1) { background-image: radial-gradient(150% 90% at 50% -25%, rgba(255, 138, 0, .62), transparent 62%) !important; }
.step-box-container .step-box:nth-child(2) { background-image: radial-gradient(150% 90% at 50% -25%, rgba(217, 70, 239, .62), transparent 62%) !important; }
.step-box-container .step-box:nth-child(3) { background-image: radial-gradient(150% 90% at 50% -25%, rgba(244, 63, 94, .60), transparent 62%) !important; }
.step-box-container .step-box:nth-child(4) { background-image: radial-gradient(150% 90% at 50% -25%, rgba(16, 185, 129, .58), transparent 62%) !important; }
.step-box-container .step-box:nth-child(5) { background-image: radial-gradient(150% 90% at 50% -25%, rgba(59, 130, 246, .60), transparent 62%) !important; }
.step-box-container .step-box:nth-child(6) { background-image: radial-gradient(150% 90% at 50% -25%, rgba(245, 158, 11, .58), transparent 62%) !important; }
.step-box-container .step-box .text p { color: #e3e9f7 !important; }
.step-box-container .step-box:hover {
  border-color: rgba(255, 255, 255, .34) !important;
  box-shadow:
    0 30px 74px rgba(6, 2, 18, .7),
    0 0 52px rgba(217, 70, 239, .40),
    var(--v-hi) !important;
}

/* ======================================================================
   7. BUTTONS — vivid, glowing, obviously clickable
   ====================================================================== */

.nk-btn-group .header-btn.h-btn-blue,
.btn-primary,
.btn-order,
.home-login .card .btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 42%, #d946ef 100%) !important;
  border: 1px solid rgba(255, 255, 255, .34) !important;
  color: #fff !important;
  box-shadow:
    0 16px 46px rgba(168, 85, 247, .62),
    0 0 24px rgba(217, 70, 239, .38),
    var(--v-hi) !important;
}
.nk-btn-group .header-btn.h-btn-blue:hover,
.btn-primary:hover,
.btn-order:hover,
.home-login .card .btn-primary:hover {
  box-shadow:
    0 22px 60px rgba(168, 85, 247, .8),
    0 0 40px rgba(217, 70, 239, .55),
    var(--v-hi) !important;
}

.nk-btn-group .header-btn {
  background: rgba(168, 85, 247, .13) !important;
  border-color: rgba(196, 132, 255, .42) !important;
}
.nk-btn-group .header-btn:hover {
  background: rgba(168, 85, 247, .24) !important;
  border-color: rgba(217, 70, 239, .75) !important;
}

/* ======================================================================
   8. RECOMMENDED SERVICES · TABS · COMPARISON
   ====================================================================== */

.recomm-container::before { background: rgba(168, 85, 247, .34) !important; }

.recomm-header {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 45%, #d946ef 100%) !important;
  border: 1px solid rgba(255, 255, 255, .3) !important;
  box-shadow: 0 16px 44px rgba(168, 85, 247, .55), var(--v-hi) !important;
}
.recomm-wrapper .item {
  background: rgba(255, 255, 255, .075) !important;
  border-color: rgba(196, 132, 255, .26) !important;
}
.recomm-wrapper .item:hover {
  background: rgba(168, 85, 247, .18) !important;
  border-color: rgba(217, 70, 239, .6) !important;
  box-shadow: 0 14px 36px rgba(168, 85, 247, .40) !important;
}

.tab-content-area .tc-menu .nav-link.active {
  background: linear-gradient(135deg, #8b5cf6, #d946ef) !important;
  border-color: rgba(255, 255, 255, .32) !important;
  color: #fff !important;
  box-shadow: 0 16px 40px rgba(168, 85, 247, .6), var(--v-hi) !important;
}
.tab-content-area .tc-menu .nav-link:hover {
  background: rgba(56, 189, 248, .16) !important;
  color: #bae6fd !important;
}

.diff-card .diff-item.diff-our {
  border-color: var(--v-brd-bright) !important;
  box-shadow:
    0 28px 72px rgba(6, 2, 18, .66),
    0 0 46px rgba(168, 85, 247, .34),
    var(--v-hi) !important;
}

/* ======================================================================
   9. FORMS
   ====================================================================== */

.home-login .card .form-control,
.home-login .card .form-control:focus {
  background-color: rgba(10, 6, 24, .68) !important;
  border: 1px solid rgba(196, 132, 255, .38) !important;
  color: #fff !important;
}
.home-login .card .form-control::placeholder { color: #a3aec9 !important; }
.home-login .card .form-control:focus {
  border-color: #d946ef !important;
  box-shadow: 0 0 0 4px rgba(217, 70, 239, .28), var(--v-hi) !important;
}
.google-login-wrap {
  background: linear-gradient(135deg, rgba(168, 85, 247, .22), rgba(56, 189, 248, .12)) !important;
  border-color: rgba(196, 132, 255, .42) !important;
}

/* ======================================================================
   10. HOVER GLOWS — coloured, never grey
   ====================================================================== */

.country-item:hover {
  border-color: rgba(56, 189, 248, .75) !important;
  box-shadow: 0 20px 48px rgba(56, 189, 248, .34), var(--v-hi) !important;
  background-color: rgba(56, 189, 248, .10) !important;
}
.login-pm:hover {
  border-color: rgba(217, 70, 239, .75) !important;
  box-shadow: 0 20px 48px rgba(217, 70, 239, .34), var(--v-hi) !important;
}
.footer-card:hover {
  border-color: rgba(168, 85, 247, .75) !important;
  box-shadow: 0 20px 48px rgba(168, 85, 247, .40), var(--v-hi) !important;
}
.faq-wrapper .faq-item:hover,
.faq-wrapper .faq-item.active {
  border-color: rgba(196, 132, 255, .65) !important;
  background-color: rgba(168, 85, 247, .14) !important;
}
.country-flag {
  background: linear-gradient(135deg, rgba(56, 189, 248, .24), rgba(59, 130, 246, .16)) !important;
  border: 1px solid rgba(56, 189, 248, .40) !important;
}

/* ======================================================================
   11. MISC CHROME
   ====================================================================== */

::-webkit-scrollbar-track { background: #080513 !important; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a855f7, #d946ef) !important;
  border: 2px solid #080513 !important;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #d946ef, #38bdf8) !important; }
::selection { background: #d946ef; color: #fff; }

#ppProgress i {
  background: linear-gradient(90deg, #8b5cf6, #d946ef, #38bdf8) !important;
  box-shadow: 0 0 16px rgba(217, 70, 239, .9) !important;
}

/* ======================================================================
   12. GUARDS
   ====================================================================== */

@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .card, .home-login .card, .step-card, .diff-card .diff-item, .product-article,
  .login-pm, .country-item, .recomm-wrapper .item, .recomm-container,
  .tab-content-area .tc-content, .tab-content-area .tc-menu .nav,
  #home-growth .growth-bg, .hfs-content, .faq-wrapper .faq-item, .footer-card {
    background-color: rgba(21, 14, 40, .95) !important;
  }
}

@media (max-width: 991.98px) {
  .pp-orb { opacity: .38 !important; filter: blur(48px) saturate(150%) !important; }
  body#outside::before { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  body#outside::before,
  .pp-orb,
  .nk-section-title,
  .recomm-container::after,
  .hfs-content::after { animation: none !important; }
}
