/* =========================================================
   Professional design system â€” Remotely Hub
   Arial (system) typography · corporate, restrained palette
   ========================================================= */

:root {
  --pro-accent: #ff8c00;
  --pro-accent-deep: #e67300;
  --pro-accent-soft: rgba(255, 140, 0, 0.12);
  --pro-sky: #ff8c00;
  --pro-blue: #c25e00;
  --pro-glow: rgba(255, 140, 0, 0.35);
  --pro-dark: #000000;
  --pro-head: #fefce8;
  --pro-text: #d4d4d8;
  --pro-muted: #9ca3af;
  --pro-line: rgba(255, 140, 0, 0.16);
  --pro-bg: #000000;
  --pro-bg-soft: #0a0a0a;
  --pro-surface: #111111;
  --pro-surface-2: #1a1a1a;
  --pro-white: #111111;
}

body.pf-public-dark {
  background: var(--pro-bg);
  color: var(--pro-text);
}
body.pf-public-dark .pf-landing,
body.pf-public-dark .pf-about-page-wrap,
body.pf-public-dark .pf-svcs,
body.pf-public-dark .pf-store-wrap {
  background: transparent;
  color: var(--pro-text);
}

.pf-landing,
.pf-about-page-wrap,
.pf-svcs,
.pf-store-wrap,
body {
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Eyebrow / labels ---------- */
.pro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pro-accent);
}
.pro-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--pro-accent);
}

/* ---------- Buttons ---------- */
.pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.pro-btn--primary {
  background: var(--pro-accent);
  border-color: var(--pro-accent);
  color: #000000;
}
.pro-btn--primary:hover {
  background: var(--pro-accent-deep);
  border-color: var(--pro-accent-deep);
}
.pro-btn--ghost {
  background: transparent;
  border-color: var(--pro-line);
  color: var(--pro-head);
}
.pro-btn--ghost:hover {
  border-color: var(--pro-accent);
  color: var(--pro-accent);
}
.pro-btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--pro-dark);
}
.pro-btn--light:hover {
  background: #f0f1f3;
}

/* ---------- Hero ---------- */
.pro-hero {
  background: var(--pro-bg);
  color: var(--pro-text);
  border-bottom: 1px solid var(--pro-line);
  position: relative;
  background-image:
    linear-gradient(to right, rgba(255, 140, 0, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 140, 0, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.pro-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 140, 0, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(0, 0, 0, 0.22) 0%, transparent 50%);
}
.pro-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 140, 0, 0.05) 2px, transparent 2px),
    linear-gradient(to bottom, rgba(255, 140, 0, 0.05) 2px, transparent 2px);
  background-size: 220px 220px;
}
.pro-hero__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 5rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.pro-hero__text {
  flex: 1 1 460px;
  min-width: 320px;
}
.pro-hero__kicker {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pro-accent);
  margin-bottom: 1rem;
}
.pro-hero__name {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--pro-head);
  margin: 0 0 0.75rem;
}
.pro-hero__role {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--pro-muted);
  margin: 0 0 1.25rem;
}
.pro-hero__lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--pro-muted);
  max-width: 560px;
  margin: 0 0 2rem;
}
.pro-hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.pro-hero__photo {
  flex: 0 1 360px;
  min-width: 280px;
}
.pro-hero__photo-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  box-shadow: 0 24px 60px rgba(2, 8, 18, 0.55);
}
.pro-hero__photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pro-accent) 0%, transparent 100%);
}
.pro-hero__photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ---------- Stats bar ---------- */
.pro-stats {
  border-bottom: 1px solid var(--pro-line);
  background: var(--pro-bg);
}
.pro-stats__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.4rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pro-stat {
  text-align: center;
  border-left: 1px solid var(--pro-line);
}
.pro-stat:first-child {
  border-left: none;
}
.pro-stat__num {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--pro-head);
  display: block;
  line-height: 1.1;
}
.pro-stat__num em {
  font-style: normal;
  color: var(--pro-accent);
}
.pro-stat__label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pro-muted);
  display: block;
  margin-top: 0.4rem;
}

/* ---------- Sections ---------- */
.pro-section {
  padding: 5rem 1.5rem;
}
.pro-section--soft {
  background: var(--pro-bg-soft);
}.pro-section__inner {
  max-width: 1160px;
  margin: 0 auto;
}
.pro-section__head {
  max-width: 680px;
  margin-bottom: 3rem;
}
.pro-section__title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pro-head);
  margin: 0.9rem 0 0;
}
.pro-section__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--pro-muted);
  margin: 0.75rem 0 0;
}

/* ---------- Cards (services / works) ---------- */
.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}
.pro-card {
  background: var(--pro-surface);
  border: 1px solid var(--pro-line);
  border-radius: 10px;
  padding: 1.9rem 1.7rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pro-card:hover {
  border-color: rgba(255, 140, 0, 0.55);
  box-shadow: 0 14px 34px rgba(2, 8, 18, 0.5);
  transform: translateY(-3px);
}
.pro-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--pro-accent-soft);
  color: var(--pro-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.pro-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--pro-head);
  margin: 0 0 0.5rem;
}
.pro-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--pro-muted);
  margin: 0;
}
.pro-card__media {
  height: 170px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: var(--pro-bg-soft);
}
.pro-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pro-card__more {
  margin-top: 2.2rem;
  text-align: center;
}

/* ---------- CTA band ---------- */
.pro-cta {
  background: var(--pro-dark);
  color: #fff;
}
.pro-cta__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}
.pro-cta__title {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.9rem;
}
.pro-cta__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.pro-cta__actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page footer (landing) ---------- */
.pro-landing-footer {
  border-top: 1px solid var(--pro-line);
  padding: 2rem 1.5rem;
}
.pro-landing-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.pro-landing-footer__brand {
  font-weight: 700;
  color: var(--pro-head);
}
.pro-landing-footer__copy {
  font-size: 0.85rem;
  color: var(--pro-muted);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .pro-hero__name { font-size: 2.5rem; }
  .pro-hero__photo { flex-basis: 280px; }
  .pro-stats__inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .pro-stat:nth-child(3) { border-left: none; }
}
@media (max-width: 560px) {
  .pro-stats__inner { grid-template-columns: 1fr 1fr; }
  .pro-hero__photo { flex-basis: 100%; }
}

/* ---------- Arabic (Tajawal) typography ---------- */html[lang="ar"] body,
html[lang="ar"] .pf-landing,
html[lang="ar"] .pf-about-page-wrap,
html[lang="ar"] .pf-svcs,
html[lang="ar"] .pf-store-wrap,
html[lang="ar"] .pf-topbar,
html[lang="ar"] .vl-top,
html[lang="ar"] .pf-nav-drawer,
html[lang="ar"] .pf-nav-drawer__head h3,
html[lang="ar"] .pf-nav-drawer__link,
html[lang="ar"] .pf-nav-drawer__login-btn,
html[lang="ar"] .pf-footer,
html[lang="ar"] .pf-footer__heading,
html[lang="ar"] .pf-footer__text,
html[lang="ar"] .pf-footer__links,
html[lang="ar"] .pf-footer__contact,
html[lang="ar"] .pf-footer__bar,
html[lang="ar"] .pf-cart-panel,
html[lang="ar"] .pf-consult-modal,
html[lang="ar"] .pf-loader,
html[lang="ar"] .pro-hero__name,
html[lang="ar"] .pro-hero__role,
html[lang="ar"] .pro-hero__lead,
html[lang="ar"] .pro-eyebrow,
html[lang="ar"] .pro-section__title,
html[lang="ar"] .pro-section__sub,
html[lang="ar"] .pro-card h3,
html[lang="ar"] .pro-card p,
html[lang="ar"] .pro-card li,
html[lang="ar"] .pro-stat__label,
html[lang="ar"] .pro-cta__title,
html[lang="ar"] .pro-cta__text,
html[lang="ar"] .pro-btn {
  font-family: "Tajawal", Arial, Helvetica, sans-serif;
}

/* =========================================================
   Motion & interaction â€” eye-catching, performant
   ========================================================= */

@keyframes pro-fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pro-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pro-scale-in {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pro-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes pro-float-soft {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-7px) translateX(5px); }
}
@keyframes pro-pan {
  from { background-position: 0 0; }
  to   { background-position: 220px 220px; }
}
@keyframes pro-grad {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pro-shine {
  0%   { transform: translateX(-130%) skewX(-20deg); }
  100% { transform: translateX(260%) skewX(-20deg); }
}
@keyframes pro-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.9; }
  50%      { transform: scale(1.14); opacity: 1; }
}
@keyframes pro-spin {
  to { transform: rotate(360deg); }
}
@keyframes pro-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}

/* ---------- Scroll reveal (enabled only when JS is on) ---------- */
.js .pro-section__head,
.js .pro-card,
.js .pro-stat,
.js .pro-cta__inner > *,
.js .pf-courses__head,
.js .pf-blog-card,
.js .pf-course-row,
.js .pf-work-gallery__grid > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.js .pro-section__head.is-visible,
.js .pro-card.is-visible,
.js .pro-stat.is-visible,
.js .pro-cta__inner > .is-visible,
.js .pf-courses__head.is-visible,
.js .pf-blog-card.is-visible,
.js .pf-course-row.is-visible,
.js .pf-work-gallery__grid > .is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children inside grids/lists */
.js .pro-grid .pro-card:nth-child(2)  { transition-delay: 0.07s; }
.js .pro-grid .pro-card:nth-child(3)  { transition-delay: 0.14s; }
.js .pro-grid .pro-card:nth-child(4)  { transition-delay: 0.21s; }
.js .pro-grid .pro-card:nth-child(5)  { transition-delay: 0.28s; }
.js .pro-grid .pro-card:nth-child(6)  { transition-delay: 0.35s; }
.js .pro-grid .pro-card:nth-child(7)  { transition-delay: 0.42s; }
.js .pro-grid .pro-card:nth-child(8)  { transition-delay: 0.49s; }
.js .pro-stats__inner .pro-stat:nth-child(2) { transition-delay: 0.1s; }
.js .pro-stats__inner .pro-stat:nth-child(3) { transition-delay: 0.2s; }
.js .pro-stats__inner .pro-stat:nth-child(4) { transition-delay: 0.3s; }
.js .pf-blog-grid .pf-blog-card:nth-child(2) { transition-delay: 0.07s; }
.js .pf-blog-grid .pf-blog-card:nth-child(3) { transition-delay: 0.14s; }
.js .pf-blog-grid .pf-blog-card:nth-child(4) { transition-delay: 0.21s; }
.js .pf-blog-grid .pf-blog-card:nth-child(5) { transition-delay: 0.28s; }
.js .pf-blog-grid .pf-blog-card:nth-child(6) { transition-delay: 0.35s; }

/* ---------- Hero entrance (on page load) ---------- */
.pro-hero__text > *,
.pro-hero__photo-frame {
  opacity: 0;
  animation: pro-fade-up 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.pro-hero__text > *:nth-child(1) { animation-delay: 0.05s; }
.pro-hero__text > *:nth-child(2) { animation-delay: 0.16s; }
.pro-hero__text > *:nth-child(3) { animation-delay: 0.27s; }
.pro-hero__text > *:nth-child(4) { animation-delay: 0.38s; }
.pro-hero__text > *:nth-child(5) { animation-delay: 0.49s; }
.pro-hero__photo-frame {
  animation-name: pro-scale-in;
  animation-delay: 0.32s;
}

/* Live grid pan + pulsing glow inside the hero */
.pro-hero::after {
  animation: pro-pan 36s linear infinite;
}
.pro-hero::before {
  opacity: 0;
  animation: pro-fade-in 1.2s ease 0.5s forwards, pro-pulse 7s ease-in-out 1.6s infinite;
}

/* Floating portrait */
.pro-hero__photo-frame img {
  animation: pro-float-soft 8s ease-in-out infinite;
}
.pro-hero__photo-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -14px;
  inset-inline-end: -14px;
  width: 88px;
  height: 88px;
  border: 2px solid var(--pro-accent);
  border-radius: 12px;
  opacity: 0.55;
  pointer-events: none;
  animation: pro-float 6s ease-in-out infinite;
}
.pro-hero__photo-frame::after {
  z-index: 3;
  animation: pro-grad 8s ease infinite;
  background: linear-gradient(90deg, var(--pro-accent), #c25e00, var(--pro-accent));
  background-size: 200% 200%;
}

/* ---------- Buttons ---------- */
.pro-btn {
  position: relative;
  overflow: hidden;
}
.pro-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-130%) skewX(-20deg);
  pointer-events: none;
}
.pro-btn:hover::after {
  animation: pro-shine 0.85s ease;
}
.pro-btn:active {
  transform: scale(0.97);
}
.pro-btn--primary:hover {
  box-shadow: 0 14px 30px rgba(255, 140, 0, 0.35);
  transform: translateY(-2px);
}

/* ---------- Cards ---------- */
.pro-card {
  position: relative;
  overflow: hidden;
}
.pro-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-130%) skewX(-20deg);
  pointer-events: none;
}
.pro-card:hover::after {
  animation: pro-shine 0.9s ease;
}
.pro-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 22px 48px rgba(2, 8, 18, 0.55);
  border-color: rgba(255, 140, 0, 0.6);
}
.pro-card__icon {
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.pro-card:hover .pro-card__icon {
  transform: translateY(-4px) rotate(-4deg);
  background: var(--pro-accent);
  color: #fff;
}

/* Listing cards from store.css get a shared hover lift */
.pf-blog-card,
.pf-course-row,
.pf-course-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pf-blog-card:hover,
.pf-course-row:hover,
.pf-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(2, 8, 18, 0.5);
}

/* ---------- Stats ---------- */
.pro-stat__num em {
  display: inline-block;
}
.pro-stat:hover .pro-stat__num em {
  color: var(--pro-accent);
}

/* ---------- CTA band ---------- */
.pro-cta {
  background: linear-gradient(120deg, #000000, #101010, #000000, #0a0a0a);
  background-size: 300% 300%;
  animation: pro-grad 16s ease infinite;
  position: relative;
  overflow: hidden;
}
.pro-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.28) 0%, transparent 65%);
  pointer-events: none;
  animation: pro-pulse 8s ease-in-out infinite;
}
.pro-cta__inner {
  position: relative;
  z-index: 1;
}
.pro-cta .pro-btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* ---------- Contact hero shapes ---------- */
.pf-contact-hero__shapes span {
  animation: pro-float 7s ease-in-out infinite;
}
.pf-contact-hero__shapes span:nth-child(2) { animation-delay: 0.8s; }
.pf-contact-hero__shapes span:nth-child(3) { animation-delay: 1.6s; }
.pf-contact-hero__shapes span:nth-child(4) { animation-delay: 2.4s; }

/* ---------- Loader word pulse ---------- */
.pf-loader-camp__king {
  font-size: clamp(3.2rem, 10vw, 4.6rem);
  line-height: 1;
  color: #ff8c00;
  display: block;
  animation: pro-float 2.6s ease-in-out infinite;
  filter: drop-shadow(0 12px 20px rgba(255, 140, 0, 0.4));
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .pro-section__head,
  .js .pro-card,
  .js .pro-stat,
  .js .pro-cta__inner > *,
  .js .pf-courses__head,
  .js .pf-blog-card,
  .js .pf-course-row,
  .js .pf-work-gallery__grid > *,
  .pro-hero__text > *,
  .pro-hero__photo-frame {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Free lessons page
   ========================================================= */

.pf-lessons-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.2rem;
}
.pf-lessons-filters__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pf-lessons-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--pro-line);
  background: var(--pro-white);
  color: var(--pro-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pf-lessons-chip:hover {
  border-color: var(--pro-accent);
  color: var(--pro-accent);
}
.pf-lessons-chip.is-active {
  background: var(--pro-accent);
  border-color: var(--pro-accent);
  color: #fff;
}

.pf-lessons-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.pf-lesson-card {
  padding: 0.85rem;
}
.pf-lesson-card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--pro-bg-soft);
  aspect-ratio: 16 / 9;
  cursor: pointer;
}
.pf-lesson-card__media.is-reels {
  aspect-ratio: 9 / 16;
}
.pf-lesson-card__media:disabled {
  cursor: default;
}
.pf-lesson-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pf-lesson-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 24, 29, 0) 40%, rgba(22, 24, 29, 0.55) 100%);
  pointer-events: none;
}
.pf-lesson-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pro-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(22, 24, 29, 0.3);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.pf-lesson-card.is-reels .pf-lesson-card__play {
  width: 52px;
  height: 52px;
}
.pf-lesson-card__media:not(:disabled):hover .pf-lesson-card__play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--pro-accent);
  color: #fff;
}
.pf-lesson-card__soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(22, 24, 29, 0.72);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.pf-lesson-card__dur {
  position: absolute;
  inset-inline-end: 0.6rem;
  bottom: 0.6rem;
  background: rgba(22, 24, 29, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  z-index: 1;
}
.pf-lesson-card__body {
  padding-top: 1rem;
}
.pf-lesson-card__body h3 {
  margin: 0 0 0.4rem;
}
.pf-lesson-card__body p {
  margin: 0;
}
.pf-lesson-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.pf-lesson-card__cat {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pro-accent);
  background: var(--pro-accent-soft);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}
.pf-lesson-card__badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pro-muted);
  background: rgba(255, 140, 0, 0.1);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}
.pf-lesson-card__badge.is-reels {
  color: #ff8c00;
  background: rgba(255, 140, 0, 0.14);
}
.pf-lesson-card__badge--src {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Lessons player modal ---- */
.pf-lessons-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.pf-lessons-modal[hidden] {
  display: none;
}
.pf-lessons-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 24, 29, 0.8);
}
.pf-lessons-modal__box {
  position: relative;
  width: min(920px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--pro-dark);
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: pro-scale-in 0.3s ease;
}
.pf-lessons-modal.is-reels .pf-lessons-modal__box {
  width: min(430px, 100%);
}
.pf-lessons-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.pf-lessons-modal__head h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.pf-lessons-modal__close {
  background: transparent;
  border: 0;
  color: #fff;
  opacity: 0.8;
  cursor: pointer;
  padding: 0.25rem;
  display: inline-flex;
}
.pf-lessons-modal__close:hover {
  opacity: 1;
}
.pf-lessons-modal__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  min-height: 0;
}
.pf-lessons-modal__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(92vh - 140px);
}
.pf-lessons-modal.is-reels .pf-lessons-modal__frame {
  aspect-ratio: 9 / 16;
  max-height: calc(92vh - 140px);
}
.pf-lessons-modal__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.pf-lessons-modal__foot {
  display: flex;
  justify-content: flex-end;
  padding: 0.8rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.pf-lessons-modal__foot .pro-btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.pf-lessons-modal__foot .pro-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}
.pro-btn--sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
}

html[lang="ar"] .pf-lessons-chip,
html[lang="ar"] .pf-lessons-modal__head h2,
html[lang="ar"] .pf-lessons-modal__foot .pro-btn {
  font-family: "Tajawal", Arial, Helvetica, sans-serif;
}

/* =========================================================
   Landing hero — code terminal card (Remotely Hub)
   Scope: .pro-hero--landing (home page)
   ========================================================= */

.pro-hero--landing .pro-hero__photo {
  flex: 0 1 480px;
  min-width: 300px;
  position: relative;
}
.pro-hero--landing .pro-hero__name {
  font-size: clamp(2.5rem, 5.2vw, 3.6rem);
}
.pro-hero__name-accent {
  display: inline-block;
  background: linear-gradient(92deg, #ff8c00 0%, #ffb25e 55%, #e67300 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pro-hero__kicker { margin-bottom: 1.15rem; }
.pro-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: 99px;
  background: rgba(255, 140, 0, 0.1);
  border: 1px solid rgba(255, 140, 0, 0.28);
  color: #ffb25e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pro-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff8c00;
  box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.16);
}
.pro-hero__trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.7rem;
  font-size: 0.88rem;
  color: var(--pro-muted);
}
.pro-hero__trust-icon { color: #ff8c00; flex-shrink: 0; }

/* ---- Code terminal card ---- */
.pro-code {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 140, 0, 0.2);
  background: #0a0a0a;
  box-shadow:
    0 30px 70px rgba(2, 8, 18, 0.6),
    0 0 0 1px rgba(255, 140, 0, 0.06),
    0 0 60px rgba(255, 140, 0, 0.08);
  opacity: 0;
  animation: pro-scale-in 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.32s forwards;
}
.pro-code::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, transparent 42%, rgba(0, 0, 0, 0.15) 100%);
}
.pro-code__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255, 140, 0, 0.12);
}
.pro-code__dots { display: flex; gap: 0.42rem; }
.pro-code__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.pro-code__dots i:nth-child(1) { background: #ff5f57; }
.pro-code__dots i:nth-child(2) { background: #febc2e; }
.pro-code__dots i:nth-child(3) { background: #28c840; }
.pro-code__file {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.78rem;
  color: #a1a1aa;
}
.pro-code__lang {
  margin-left: auto;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #ffb25e;
  border: 1px solid rgba(255, 140, 0, 0.24);
  padding: 0.14rem 0.55rem;
  border-radius: 99px;
}
.pro-code__body {
  position: relative;
  padding: 1.05rem 1.2rem 1.25rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  color: #d4d4d8;
  direction: ltr;
  text-align: left;
  overflow-x: auto;
}
.pro-code__line { display: block; white-space: pre; }
.pro-code__ln {
  display: inline-block;
  width: 1.7em;
  margin-inline-end: 0.7em;
  color: #5c5200;
  user-select: none;
}
.pro-code__tag { color: #ffb25e; }
.pro-code__attr { color: #cbd5e1; }
.pro-code__str { color: #86efac; }
.pro-code__cmt { color: #6b7280; font-style: italic; }
.pro-code__punc { color: #64748b; }
.pro-code__cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 2px;
  background: #ff8c00;
  vertical-align: text-bottom;
  animation: pro-blink 1.1s steps(2) infinite;
}

/* ---- Floating chips ---- */
.pro-hero__chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 0.95rem;
  border-radius: 99px;
  background: #111111;
  border: 1px solid rgba(255, 140, 0, 0.24);
  color: #fefce8;
  box-shadow: 0 16px 38px rgba(2, 8, 18, 0.55);
  animation: pro-float 7s ease-in-out infinite;
}
.pro-hero__chip--live { top: -16px; inset-inline-end: -14px; }
.pro-hero__chip--live .pro-hero__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 0 4px rgba(40, 200, 64, 0.2);
  animation: pro-blink 1.7s steps(2) infinite;
}
.pro-hero__chip--speed {
  bottom: -14px;
  inset-inline-start: -14px;
  color: #ff8c00;
  animation-delay: -3s;
}

@media (max-width: 520px) {
  .pro-hero__chip--live { inset-inline-end: 0; }
  .pro-hero__chip--speed { inset-inline-start: 0; }
}

/* =========================================================
   Animated code background — Remotely Hub (black & yellow)
   Scope: body.pf-public-dark (public pages)
   ========================================================= */

.pf-code-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}
.pf-code-bg__tok {
  position: absolute;
  bottom: -10vh;
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.6;
  color: rgba(255, 140, 0, 0.34);
  white-space: nowrap;
  opacity: 0;
  animation-name: pro-code-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes pro-code-rise {
  0%   { transform: translateY(0); opacity: 0; }
  6%   { opacity: 1; }
  86%  { opacity: 1; }
  100% { transform: translateY(-120vh); opacity: 0; }
}
body.pf-public-dark .vl-shell {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .pf-code-bg { display: none; }
}

/* ===== Remotely Hub code loader (yellow code on black) ===== */
.pf-loader-code { gap: 0; }
.pf-loader-code__win {
  width: min(92vw, 470px);
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.28);
  background: #050505;
  box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.08), 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 55px rgba(255, 140, 0, 0.10);
}
.pf-loader-code__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 140, 0, 0.14);
}
.pf-loader-code__dots { display: flex; gap: 0.38rem; }
.pf-loader-code__dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.pf-loader-code__dots i:nth-child(2) { background: #febc2e; }
.pf-loader-code__dots i:nth-child(3) { background: #28c840; }
.pf-loader-code__file {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.75rem;
  color: #ffb25e;
}
.pf-loader-code__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff8c00;
}
.pf-loader-code__status i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff8c00;
  animation: pro-blink 1.1s steps(2) infinite;
}
.pf-loader-code__body {
  padding: 0.95rem 1.1rem 1.05rem;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.8rem;
  line-height: 1.9;
  direction: ltr;
  text-align: left;
  color: #e7e5e4;
}
.pf-loader-code__ln { display: block; white-space: pre; }
.pf-loader-code__ln em {
  display: inline-block;
  width: 1.9em;
  margin-right: 0.7em;
  color: #57534e;
  font-style: normal;
  user-select: none;
}
.pf-loader-code__kw { color: #ff8c00; font-weight: 700; }
.pf-loader-code__fn { color: #ffb25e; }
.pf-loader-code__str { color: #86efac; }
.pf-loader-code__cmt { color: #6b7280; font-style: italic; }
.pf-loader-code__attr { color: #c4b5fd; }
.pf-loader-code__cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 2px;
  background: #ff8c00;
  vertical-align: text-bottom;
  animation: pro-blink 1.1s steps(2) infinite;
}
.pf-loader-code__progress { height: 3px; background: #0d0d0d; overflow: hidden; }
.pf-loader-code__progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #c25e00, #ff8c00);
  animation: pro-code-load 1.7s ease-in-out infinite;
}
@keyframes pro-code-load {
  0% { width: 0; }
  60% { width: 82%; }
  100% { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-loader-code__status i,
  .pf-loader-code__cursor,
  .pf-loader-code__progress i { animation: none; }
}

/* ===== Domain checker — WhatsApp order ===== */
.pf-package-card__action {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.pf-wa-order {
  background: #22c55e !important;
  border-color: #22c55e !important;
}
.pf-wa-order:hover {
  background: #16a34a !important;
  border-color: #16a34a !important;
}
.pf-package-card__alt {
  font-size: 0.78rem;
  color: #a1a1aa;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pf-package-card__alt:hover { color: #ff8c00; }
.pf-dc-btn--wa {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}
.pf-dc-btn--wa:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.pf-dc-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
body.pf-public-dark .pf-dc-btn--primary {
  background: #ff8c00;
  border-color: #ff8c00;
  color: #0a0a0a;
}
body.pf-public-dark .pf-dc-btn--primary:hover {
  background: #ffb25e;
  border-color: #ffb25e;
  color: #0a0a0a;
}
body.pf-public-dark .pf-dc-btn--ghost:hover {
  border-color: #ff8c00;
  color: #ff8c00;
}

/* ===== Footer icons (black theme) ===== */
body.pf-public-dark .pf-footer__social-link { color: #fefce8; }
body.pf-public-dark .pf-footer__social-link:hover { border-color: #ff8c00; color: #ff8c00; background: rgba(255, 140, 0,0.08); }
body.pf-public-dark .pf-footer__contact li svg { opacity: 1; color: #ff8c00; }
body.pf-public-dark .pf-footer__pay-badge svg { color: #ff8c00; }
body.pf-public-dark .pf-footer__links li a::before { color: #ff8c00; }

/* ===== Works page ===== */
.pro-works-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
}
.pro-works-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--pro-line);
  border-radius: 999px;
  background: var(--pro-surface);
  color: var(--pro-muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.pro-works-filter:hover {
  border-color: var(--pro-accent);
  color: var(--pro-accent);
  transform: translateY(-1px);
}
.pro-works-filter em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pro-muted);
  background: var(--pro-bg-soft);
  border: 1px solid var(--pro-line);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  line-height: 1.5;
}
.pro-works-filter.is-active {
  background: var(--pro-accent);
  border-color: var(--pro-accent);
  color: #000000;
}
.pro-works-filter.is-active:hover {
  color: #000000;
}
.pro-works-filter.is-active em {
  color: #000000;
  background: rgba(0, 0, 0, 0.14);
  border-color: rgba(0, 0, 0, 0.14);
}
.pro-work-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pro-work-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--pro-bg-soft);
  border-bottom: 1px solid var(--pro-line);
}
.pro-work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pro-work-card:hover .pro-work-card__media img {
  transform: scale(1.05);
}
.pro-work-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.pro-work-card__tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pro-accent);
  background: var(--pro-accent-soft);
  border: 1px solid var(--pro-line);
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
}
.pro-work-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.4;
}
.pro-work-card h3 a {
  color: var(--pro-head);
  text-decoration: none;
  transition: color 0.2s ease;
}
.pro-work-card h3 a:hover {
  color: var(--pro-accent);
}
.pro-work-card__body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--pro-muted);
}
.pro-work-card__link {
  margin-top: auto;
  padding-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--pro-accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.pro-work-card__link:hover {
  color: var(--pro-accent-deep);
}
.pro-work-card__link svg {
  transition: transform 0.2s ease;
}
.pro-work-card__link:hover svg {
  transform: translateX(3px);
}
html[dir="rtl"] .pro-work-card__link:hover svg {
  transform: translateX(-3px);
}
.pro-works-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  border: 1px dashed var(--pro-line);
  border-radius: 14px;
  background: var(--pro-surface);
}
.pro-works-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pro-accent-soft);
  color: var(--pro-accent);
  margin-bottom: 1rem;
}
.pro-works-empty h3 {
  margin: 0 0 0.5rem;
  color: var(--pro-head);
  font-size: 1.2rem;
}
.pro-works-empty p {
  margin: 0 0 1.5rem;
  color: var(--pro-muted);
  font-size: 0.95rem;
}

/* ---- Works page scroll reveal ---- */
.js .pro-works-filter { opacity: 0; transform: translateY(14px); animation: pro-fade-up 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
.js .pro-works-filter:nth-child(1) { animation-delay: 0.05s; }
.js .pro-works-filter:nth-child(2) { animation-delay: 0.1s; }
.js .pro-works-filter:nth-child(3) { animation-delay: 0.15s; }
.js .pro-works-filter:nth-child(4) { animation-delay: 0.2s; }
.js .pro-works-filter:nth-child(5) { animation-delay: 0.25s; }
.js .pro-works-filter:nth-child(6) { animation-delay: 0.3s; }
.js .pro-works-filter:nth-child(7) { animation-delay: 0.35s; }
.js .pro-works-filter:nth-child(8) { animation-delay: 0.4s; }
.js .pro-works-filter:nth-child(9) { animation-delay: 0.45s; }
.js .pro-works-filter:nth-child(10) { animation-delay: 0.5s; }

/* ---------- Hero marketing dashboard (about) ---------- */
.pf-dash {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 140, 0, 0.05), transparent 40%),
    #0d0d0d;
  color: var(--pro-head);
  font-size: 0.8rem;
}
.pf-dash::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.07), transparent);
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
  animation: pf-dash-scan 7s ease-in-out infinite;
}
.pf-dash__topbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--pro-line);
  background: #0a0a0a;
}
.pf-dash__dots {
  display: inline-flex;
  gap: 0.3rem;
}
.pf-dash__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #262626;
}
.pf-dash__dots i:nth-child(1) { background: #f87171; }
.pf-dash__dots i:nth-child(2) { background: #fbbf24; }
.pf-dash__dots i:nth-child(3) { background: #34d399; }
.pf-dash__title {
  flex: 1;
  min-width: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--pro-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-dash__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(255, 140, 0, 0.35);
  border-radius: 999px;
  background: rgba(255, 140, 0, 0.12);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff8c00;
}
.pf-dash__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff8c00;
  animation: pf-dash-pulse 1.4s ease-in-out infinite;
}
.pf-dash__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.85rem;
}
.pf-dash__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.pf-dash__kpi {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.65rem;
  border: 1px solid var(--pro-line);
  border-radius: 10px;
  background: var(--pro-surface-2);
}
.pf-dash__kpi-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--pro-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-dash__num {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--pro-head);
  font-variant-numeric: tabular-nums;
}
.pf-dash__kpi-delta {
  font-size: 0.6rem;
  font-weight: 800;
}
.pf-dash__kpi-delta.is-up { color: #34d399; }
.pf-dash__kpi-delta.is-down { color: #f87171; }
.pf-dash__chart {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0.6rem 0.5rem;
  border: 1px solid var(--pro-line);
  border-radius: 10px;
  background: var(--pro-surface-2);
}
.pf-dash__chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.pf-dash__chart-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pro-muted);
}
.pf-dash__chart-val {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pro-accent);
  font-variant-numeric: tabular-nums;
}
.pf-dash__bars {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.pf-dash__bars i {
  flex: 1;
  height: var(--h);
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #ffb25e, #c25e00);
  transform-origin: bottom;
  animation: pf-dash-grow 1s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}
.pf-dash__bars i:nth-child(1) { animation-delay: 0.55s; }
.pf-dash__bars i:nth-child(2) { animation-delay: 0.62s; }
.pf-dash__bars i:nth-child(3) { animation-delay: 0.69s; }
.pf-dash__bars i:nth-child(4) { animation-delay: 0.76s; }
.pf-dash__bars i:nth-child(5) { animation-delay: 0.83s; }
.pf-dash__bars i:nth-child(6) { animation-delay: 0.9s; }
.pf-dash__bars i:nth-child(7) { animation-delay: 0.97s; }
.pf-dash__bars i:nth-child(3n) { background: linear-gradient(180deg, #ff8c00, #914700); }
.pf-dash__rows {
  display: grid;
  gap: 0.4rem;
}
.pf-dash__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--pro-line);
  border-radius: 9px;
  background: var(--pro-surface-2);
}
.pf-dash__row-tag {
  flex-shrink: 0;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.16rem 0.42rem;
  border-radius: 5px;
}
.pf-dash__row-tag.is-blue   { color: #ffb25e; background: rgba(255, 140, 0, 0.14); }
.pf-dash__row-tag.is-purple { color: #d8b4fe; background: rgba(192, 132, 252, 0.14); }
.pf-dash__row-tag.is-green  { color: #6ee7b7; background: rgba(52, 211, 153, 0.14); }
.pf-dash__row-name {
  flex: 1;
  min-width: 0;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--pro-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-dash__row-val {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--pro-head);
  font-variant-numeric: tabular-nums;
}
@keyframes pf-dash-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
@keyframes pf-dash-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes pf-dash-scan {
  0% { transform: translateX(-130%) skewX(-18deg); }
  60%, 100% { transform: translateX(420%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
  .pf-dash::after,
  .pf-dash__live i,
  .pf-dash__bars i {
    animation: none;
  }
  .pf-dash__bars i {
    transform: none;
  }
}

/* =========================================================
   Light theme (body.pf-public-light)
   ========================================================= */
body.pf-public-light {
  --pro-accent: #ff8c00;
  --pro-accent-deep: #e67300;
  --pro-accent-soft: rgba(255, 140, 0, 0.14);
  --pro-sky: #ff8c00;
  --pro-blue: #c25e00;
  --pro-glow: rgba(255, 140, 0, 0.3);
  --pro-dark: #ffffff;
  --pro-head: #0f172a;
  --pro-text: #1f2937;
  --pro-muted: #6b7280;
  --pro-line: rgba(255, 140, 0, 0.3);
  --pro-bg: #f8fafc;
  --pro-bg-soft: #eef1f6;
  --pro-surface: #ffffff;
  --pro-surface-2: #f1f5f9;
  --pro-white: #ffffff;
  background: #f8fafc;
  color: #1f2937;
  color-scheme: light;
}
body.pf-public-light .pf-landing,
body.pf-public-light .pf-about-page-wrap,
body.pf-public-light .pf-svcs,
body.pf-public-light .pf-store-wrap {
  background: transparent;
  color: #1f2937;
}

/* Dashboard (about hero) stays a dark screen mockup */
body.pf-public-light .pf-dash { background: #0d0d0d; color: #fefce8; }
body.pf-public-light .pf-dash__topbar { background: #0a0a0a; }
body.pf-public-light .pf-dash__title { color: #9ca3af; }
body.pf-public-light .pf-dash__live {
  border-color: rgba(255, 140, 0, 0.35);
  background: rgba(255, 140, 0, 0.12);
  color: #ff8c00;
}
body.pf-public-light .pf-dash__live i { background: #ff8c00; }
body.pf-public-light .pf-dash__kpi {
  background: #111111;
  border-color: rgba(255, 140, 0, 0.22);
}
body.pf-public-light .pf-dash__num { color: #fefce8; }
body.pf-public-light .pf-dash__kpi-label { color: #9ca3af; }
body.pf-public-light .pf-dash__chart { background: #111111; }
body.pf-public-light .pf-dash__chart-title { color: #9ca3af; }
body.pf-public-light .pf-dash__row { background: #111111; }
body.pf-public-light .pf-dash__row-name { color: #d4d4d8; }
body.pf-public-light .pf-dash__row-val { color: #fefce8; }

/* CTA banner stays dark in light mode; button text stays black */
body.pf-public-light .pro-cta { background: #000000; }
body.pf-public-light .pro-btn--light { color: #0a0a0a; }

