/* ==========================================================================
   WebDevTemplates — base.css
   Reset, design tokens, type scale, layout primitives, utilities.
   Every template copies this file into its own style.css (section 1 + 2).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS — the rebrand contract. Change these, change the brand.
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-primary-contrast: #ffffff;
  --color-accent: #f97316;

  /* Surfaces & text */
  --color-bg: #ffffff;
  --color-surface: #f5f6fb;
  --color-surface-2: #eceef7;
  --color-text: #14162b;
  --color-text-muted: #5f6480;
  --color-border: #e4e6f0;

  /* Semantic */
  --color-success: #16a34a;
  --color-error: #dc2626;

  /* Typography */
  --font-heading: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* Arabic: used for both headings and body when <html lang="ar">. Swap per template
     (Cairo, Tajawal, Almarai, IBM Plex Sans Arabic, Noto Kufi Arabic…). */
  --font-arabic: "Tajawal", "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  --weight-heading: 700;
  --leading-tight: 1.15;
  --leading-body: 1.6;

  /* Shape & depth */
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.25rem;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --nav-height: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.25s;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1, .h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem); letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.9rem, 3vw + 0.5rem, 2.9rem); letter-spacing: -0.02em; }
h3, .h3 { font-size: clamp(1.3rem, 1.5vw + 0.5rem, 1.6rem); }
h4, .h4 { font-size: 1.15rem; }

p { max-width: 65ch; }

.lead {
  font-size: clamp(1.1rem, 1vw + 0.7rem, 1.3rem);
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.9rem;
}

.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow { max-width: 820px; }
.container--wide { max-width: 1400px; }

.section {
  padding-block: var(--section-pad);
}

.section--tight { padding-block: calc(var(--section-pad) * 0.6); }
.section--surface { background: var(--color-surface); }
.section--primary {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}
.section--primary :is(h1, h2, h3, h4, .eyebrow, .lead) { color: inherit; }

.section__header {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__header--center {
  margin-inline: auto;
  text-align: center;
}
.section__header .lead { margin-top: 1rem; }

/* Grid */
.grid {
  display: grid;
  gap: var(--grid-gap, 1.5rem);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 280px)), 1fr)); }

@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Split (two columns, text + media) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 859px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* Flex helpers */
.flex { display: flex; gap: 1rem; }
.flex--center { align-items: center; }
.flex--between { justify-content: space-between; align-items: center; }
.flex--wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: var(--stack, 1rem); }

/* Blowout guard: grid/flex children default to min-width:auto, so one long
   unbreakable string (an email, a URL, a nowrap cell) can widen the page. */
.grid > *, .split > *, .flex > * { min-width: 0; }
.grid, .split { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   5. UTILITIES
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mt-1 { margin-top: 0.5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }  .mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; }

.hide-mobile { display: initial; }
.show-mobile { display: none; }
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: initial; }
}

/* --------------------------------------------------------------------------
   6. i18n / RTL — <html lang="ar" dir="rtl"> is set by the language toggle
   -------------------------------------------------------------------------- */
html[lang="ar"] {
  --font-heading: var(--font-arabic);
  --font-body: var(--font-arabic);
  --leading-body: 1.8;
  --leading-tight: 1.35;
}
html[lang="ar"] :is(h1, h2, h3, h4, .eyebrow, .badge, .btn, .nav__brand, .stat__value, .price-card__amount) {
  letter-spacing: 0;
}
html[lang="ar"] :is(.eyebrow, .badge, .btn, .logos__label, .tabs__btn) {
  text-transform: none;
}
html[lang="ar"] h1 { font-size: clamp(2.2rem, 4.5vw + 1rem, 3.9rem); }
/* English-only artefacts that should hide in Arabic and vice-versa */
html[lang="ar"] [data-only="en"],
html[lang="en"] [data-only="ar"] { display: none !important; }
/* Icons that point a direction (arrows) flip in RTL */
[dir="rtl"] .icon--dir { transform: scaleX(-1); }
/* Keep digits, prices and code in LTR even inside Arabic text */
.ltr, [dir="rtl"] :is(.price-card__amount, .stat__value, code, pre, .countdown__value, [type="tel"], [type="email"]) {
  direction: ltr;
  unicode-bidi: isolate;
}

/* Language toggle button (in nav__actions) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color var(--dur), border-color var(--dur);
}
.lang-toggle:hover { color: var(--color-text); border-color: var(--color-text); }
html[lang="en"] .lang-toggle { font-family: var(--font-arabic); }

/* Scroll reveal (paired with main.js) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }


/* ==========================================================================
   WebDevTemplates — components.css
   Shared UI components + the standard section vocabulary.
   Every template copies this into style.css (section 3) and overrides below.
   ========================================================================== */

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: background var(--dur), color var(--dur), border-color var(--dur),
              transform var(--dur), box-shadow var(--dur);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}
.btn--primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow); }

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--secondary:hover { border-color: var(--color-text); }

.btn--ghost { padding-inline: 0.5rem; color: var(--color-text); }
.btn--ghost:hover { color: var(--color-primary); }

.btn--accent { background: var(--color-accent); color: var(--color-text); }

.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.08rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn__icon { width: 1.1em; height: 1.1em; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn-group--center { justify-content: center; }

/* --------------------------------------------------------------------------
   ICONS (SVG sprite)
   -------------------------------------------------------------------------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}
.icon-box .icon { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   CARD
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--surface { background: var(--color-surface); border-color: transparent; }
.card__title { margin-bottom: 0.6rem; }
.card__text { color: var(--color-text-muted); }
.card__media {
  margin: -2rem -2rem 1.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   BADGE / PILL
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
}
.badge--primary {
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   NAV
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.nav.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
/* Blur lives on a pseudo-element: backdrop-filter on .nav itself would make
   it the containing block for the fixed .nav__menu and break the mobile menu. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.nav__brand .icon { width: 28px; height: 28px; color: var(--color-primary); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--dur);
}
.nav__links a:hover { color: var(--color-text); }
.nav__actions { display: flex; align-items: center; gap: 0.75rem; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav__toggle .icon { width: 26px; height: 26px; }
.nav__toggle .icon--close { display: none; }
.nav__toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 899px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: var(--color-bg);
    padding: 2rem var(--container-pad);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }
  [dir="rtl"] .nav__menu { transform: translateX(-100%); }
  .nav__menu.is-open { transform: none; }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .nav__links a { font-size: 1.25rem; color: var(--color-text); }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .nav__actions .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 900px) {
  .nav__menu { display: contents; }
}

/* --------------------------------------------------------------------------
   HERO (variants: --center, --split, --fullscreen)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 8rem);
  overflow: hidden;
}
.hero--center { text-align: center; }
.hero--center .hero__content { max-width: 760px; margin-inline: auto; }
.hero--center p { margin-inline: auto; }
.hero--center .btn-group { justify-content: center; }
.hero--fullscreen { min-height: calc(100vh - var(--nav-height)); display: flex; align-items: center; }

.hero__content > * + * { margin-top: 1.5rem; }
.hero__title { margin-top: 0 !important; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.hero__meta li { display: flex; align-items: center; gap: 0.4rem; }
.hero__meta .icon { color: var(--color-success); }

/* decorative background blob (optional) */
.hero__glow {
  position: absolute;
  inset: auto;
  width: 60vw;
  max-width: 800px;
  aspect-ratio: 1;
  top: -20%;
  inset-inline-end: -15%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 25%, transparent), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   LOGOS STRIP
   -------------------------------------------------------------------------- */
.logos { padding-block: 2.5rem; border-block: 1px solid var(--color-border); }
.logos__label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}
.logos__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 4rem;
}
.logos__list li {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-text-muted);
  opacity: 0.6;
  transition: opacity var(--dur);
}
.logos__list li:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   FEATURES
   -------------------------------------------------------------------------- */
.feature { padding: 0.5rem 0; }
.feature__title { margin-bottom: 0.5rem; }
.feature__text { color: var(--color-text-muted); }

.feature-row { margin-top: clamp(3rem, 7vw, 6rem); }
.feature-row:first-of-type { margin-top: 0; }
.feature-row img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.check-list { margin-top: 1.5rem; }
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.check-list .icon { color: var(--color-success); margin-top: 0.2rem; }

/* --------------------------------------------------------------------------
   HOW IT WORKS / STEPS
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.step__title { margin-bottom: 0.5rem; }
.step__text { color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   STATS
   -------------------------------------------------------------------------- */
.stats { text-align: center; }
.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}
.section--primary .stat__value { color: inherit; }
.stat__label { margin-top: 0.5rem; color: var(--color-text-muted); }
.section--primary .stat__label { color: inherit; opacity: 0.85; }

/* --------------------------------------------------------------------------
   PRICING
   -------------------------------------------------------------------------- */
.pricing-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}
.price-card__badge {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
}
.price-card__name { font-size: 1.1rem; }
.price-card__desc { color: var(--color-text-muted); font-size: 0.95rem; margin-top: 0.25rem; }
.price-card__price {
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.price-card__amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-card__period { color: var(--color-text-muted); }
.price-card__features { flex: 1; margin-bottom: 1.75rem; }
.price-card__features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  font-size: 0.95rem;
}
.price-card__features .icon { color: var(--color-success); margin-top: 0.15rem; }

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial { display: flex; flex-direction: column; }
.testimonial__stars { display: flex; gap: 0.15rem; color: var(--color-accent); margin-bottom: 1rem; }
.testimonial__stars .icon { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.testimonial__quote { flex: 1; font-size: 1.05rem; }
.testimonial__author { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.5rem; }
.testimonial__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial__name { font-weight: 600; }
.testimonial__role { font-size: 0.875rem; color: var(--color-text-muted); }

/* Slider variant */
.slider { position: relative; }
.slider__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * {
  flex: 0 0 min(100%, 380px);
  scroll-snap-align: start;
}
.slider__controls { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; }
.slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur), color var(--dur);
}
.slider__btn:hover { background: var(--color-primary); color: var(--color-primary-contrast); border-color: var(--color-primary); }

/* --------------------------------------------------------------------------
   TEAM
   -------------------------------------------------------------------------- */
.member { text-align: center; }
.member__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}
.member__name { font-size: 1.1rem; }
.member__role { color: var(--color-text-muted); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   GALLERY / SHOWCASE
   -------------------------------------------------------------------------- */
.gallery-grid { --grid-gap: 1rem; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease);
}
.gallery-grid a:hover img { transform: scale(1.03); }

/* --------------------------------------------------------------------------
   FAQ (accordion)
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  text-align: start;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq__q .icon { transition: transform var(--dur); color: var(--color-text-muted); }
.faq__q[aria-expanded="true"] .icon { transform: rotate(45deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a p { color: var(--color-text-muted); padding-bottom: 1.35rem; }

/* --------------------------------------------------------------------------
   CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: inherit; }
.cta-band p { margin: 1rem auto 2rem; opacity: 0.9; }
.cta-band .btn--primary { background: var(--color-bg); color: var(--color-primary); }
.cta-band .btn--primary:hover { background: var(--color-surface); }

/* --------------------------------------------------------------------------
   FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.form--inline { grid-template-columns: 1fr auto; align-items: start; }
@media (max-width: 539px) { .form--inline { grid-template-columns: 1fr; } }
.form__row { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 639px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--color-error); }
.field__error { font-size: 0.85rem; color: var(--color-error); display: none; }
.field.is-invalid .field__error { display: block; }
.form__status { font-size: 0.95rem; display: none; }
.form__status.is-success { display: block; color: var(--color-success); }
.form__status.is-error { display: block; color: var(--color-error); }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact-info { display: grid; gap: 1.5rem; }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info__item .icon-box { margin: 0; width: 44px; height: 44px; }
.contact-info__item strong { display: block; margin-bottom: 0.15rem; }
.contact-info__item span { color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: 4rem 2rem;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
}
@media (max-width: 859px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 539px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { margin-top: 1rem; color: var(--color-text-muted); max-width: 32ch; }
.footer__col h4 { margin-bottom: 1.1rem; font-size: 0.95rem; }
.footer__col li { margin-bottom: 0.65rem; }
.footer__col a { color: var(--color-text-muted); transition: color var(--dur); }
.footer__col a:hover { color: var(--color-text); }
.footer__bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--dur);
}
.footer__social a:hover { background: var(--color-primary); color: var(--color-primary-contrast); border-color: var(--color-primary); }

/* --------------------------------------------------------------------------
   MISC
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--dur), transform var(--dur);
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

.countdown { display: flex; gap: 1rem; justify-content: center; }
.countdown__unit { text-align: center; min-width: 72px; }
.countdown__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.countdown__label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); }

.tabs__list { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--color-border); margin-bottom: 2rem; overflow-x: auto; }
.tabs__btn {
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.tabs__btn[aria-selected="true"] { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.tabs__panel[hidden] { display: none; }

/* ==========================================================================
   CREATIVE SCROLL — paired with main.js (section 11+). All opt-in by class.
   ========================================================================== */

/* Scroll progress bar: <div class="scroll-progress"></div> right after <body> */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 200;
  pointer-events: none;
}
[dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }

/* Parallax: any element with data-parallax="0.15" (fraction of scroll delta) */
[data-parallax] { will-change: transform; }

/* Marquee: <div class="marquee"><div class="marquee__track">…items…</div></div>
   main.js duplicates the track content once so the loop is seamless. */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  gap: var(--marquee-gap, 3rem);
  width: max-content;
  animation: marquee var(--marquee-speed, 30s) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
/* In RTL the track overflows to the LEFT of the box, so it must travel rightwards. */
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
}
.marquee__item .dot {
  width: 0.4em; height: 0.4em; border-radius: 50%;
  background: var(--color-primary);
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - var(--marquee-gap, 3rem) / 2)); }
}
@keyframes marquee-rtl {
  to { transform: translateX(calc(50% + var(--marquee-gap, 3rem) / 2)); }
}

/* Horizontal scroll section: the page scrolls vertically, the track moves sideways.
   <section class="hscroll"><div class="hscroll__sticky"><div class="hscroll__track">
     <div class="hscroll__panel">…</div> ×N </div></div></section>
   main.js sets the section height from the panel count. */
.hscroll { position: relative; }
.hscroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hscroll__track {
  display: flex;
  gap: var(--hscroll-gap, 2rem);
  padding-inline: var(--container-pad);
  will-change: transform;
}
.hscroll__panel {
  flex: 0 0 min(80vw, 640px);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.hscroll__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hscroll__panel > :not(img) { position: relative; z-index: 1; }
.hscroll__panel--intro { flex-basis: min(60vw, 420px); background: transparent; border: 0; justify-content: center; }
.hscroll__index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
@media (max-width: 767px) {
  /* On phones horizontal scroll feels hostile: fall back to a swipeable row */
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: static; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 2rem; }
  .hscroll__track { transform: none !important; }
  .hscroll__panel { scroll-snap-align: start; flex-basis: 85vw; min-height: 50vh; }
}

/* Stacking cards: each card sticks under the previous one and scales back.
   <div class="stack-cards"><article class="stack-card">…</article> ×N </div> */
.stack-cards { display: grid; gap: var(--stack-gap, 1.5rem); }
.stack-card {
  position: sticky;
  top: calc(var(--nav-height) + var(--stack-offset, 1rem));
  min-height: min(70vh, 560px);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  transform-origin: 50% 0;
  will-change: transform;
  overflow: hidden;
}
.stack-card:nth-child(2) { top: calc(var(--nav-height) + var(--stack-offset, 1rem) + 1.5rem); }
.stack-card:nth-child(3) { top: calc(var(--nav-height) + var(--stack-offset, 1rem) + 3rem); }
.stack-card:nth-child(4) { top: calc(var(--nav-height) + var(--stack-offset, 1rem) + 4.5rem); }
.stack-card:nth-child(5) { top: calc(var(--nav-height) + var(--stack-offset, 1rem) + 6rem); }

/* Split-text reveal: words animate in one by one.
   <h2 class="split-text">Any heading</h2> — main.js wraps each word. */
.split-text .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.split-text .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease);
  transition-delay: calc(var(--i) * 45ms);
}
.split-text.is-visible .word > span { transform: none; }

/* Image clip reveal: <div class="img-reveal"><img …></div> */
.img-reveal { overflow: hidden; }
.img-reveal img {
  clip-path: inset(0 100% 0 0);
  transform: scale(1.15);
  transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease);
}
[dir="rtl"] .img-reveal img { clip-path: inset(0 0 0 100%); }
.img-reveal.is-visible img { clip-path: inset(0 0 0 0); transform: none; }

/* Big statement: oversized text that fades in by line while you scroll.
   <p class="statement"><span>Line one.</span><span>Line two.</span></p> */
.statement {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.statement > span {
  display: block;
  opacity: 0.18;
  transition: opacity 0.5s var(--ease);
}
.statement > span.is-active { opacity: 1; }

/* Tilt on hover: data-tilt on a .card */
[data-tilt] { transition: transform 0.15s ease-out; transform-style: preserve-3d; }

/* Sticky side label + scrolling content (editorial layout)
   <div class="sticky-split"><aside class="sticky-split__aside">…</aside><div>…</div></div> */
.sticky-split { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sticky-split__aside { position: sticky; top: calc(var(--nav-height) + 2rem); }
@media (max-width: 859px) { .sticky-split { grid-template-columns: 1fr; } .sticky-split__aside { position: static; } }

/* Floating cursor-follow glow (desktop only): <div class="cursor-glow"></div> */
.cursor-glow {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 18%, transparent), transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow.is-on { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .split-text .word > span, .img-reveal img { transform: none; clip-path: none; transition: none; }
  .stack-card { position: static; }
  [data-parallax] { transform: none !important; }
}

/* ==========================================================================
   4. TEMPLATE-SPECIFIC — everything unique to this template goes below.
   Override tokens in :root above first; only add rules here when a token
   cannot express the change.
   ========================================================================== */

/* Headings: Plus Jakarta Sans is a touch wide, tighten tracking */
h1, h2, h3, .h4 { letter-spacing: -0.02em; }
.hero__title { font-weight: 800; font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
.badge--primary .icon { width: 14px; height: 14px; margin-inline-end: 0.3rem; vertical-align: -2px; }

/* Hero split: softer glow placed behind the board */
.hero--split { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero--split .hero__glow { top: -10%; inset-inline-end: -20%; opacity: 0.8; }
.hero--split .hero__media { perspective: 1200px; }

/* Kanban board mockup */
.board {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
  position: relative;
}
.board::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 30%, transparent), transparent 55%);
  z-index: -1;
  filter: blur(18px);
  opacity: 0.6;
}
.board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.board__title { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; }
.board__avatars { display: flex; align-items: center; }
.board__avatars img, .kcard__foot img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-bg);
  object-fit: cover;
}
.board__avatars img + img { margin-inline-start: -8px; }
.board__avatars span {
  margin-inline-start: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-bg);
}
.board__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.board__col {
  background: var(--color-surface-2);
  border-radius: var(--radius);
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.board__col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  padding: 0.1rem 0.25rem 0.25rem;
}
.board__col-head span {
  background: var(--color-bg);
  border-radius: var(--radius-full);
  padding: 0 0.45rem;
  font-size: 0.68rem;
  color: var(--color-text);
}
.kcard {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.6rem 0.65rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  line-height: 1.35;
}
.kcard p { font-weight: 600; margin: 0.4rem 0 0.55rem; color: var(--color-text); }
.kcard__label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-full);
}
.kcard__label--orange { background: #ffedd5; color: #c2410c; }
.kcard__label--blue   { background: #dbeafe; color: #1d4ed8; }
.kcard__label--green  { background: #dcfce7; color: #15803d; }
.kcard__label--purple { background: #ede9fe; color: #6d28d9; }
.kcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text-muted);
  font-size: 0.68rem;
}
.kcard__foot .icon { width: 14px; height: 14px; color: var(--color-success); }
.kcard--done p { text-decoration: line-through; color: var(--color-text-muted); font-weight: 500; }
.kcard--dragging {
  transform: rotate(4deg) translate(6px, -4px) scale(1.04);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.28);
  border-color: var(--color-primary);
  z-index: 2;
  position: relative;
}
@media (max-width: 479px) {
  .board { padding: 0.75rem; transform: none; }
  .board__cols { gap: 0.45rem; }
  .board__col { padding: 0.4rem; }
  .kcard { padding: 0.45rem 0.5rem; font-size: 0.7rem; }
  .kcard__foot img, .board__avatars img, .board__avatars span { width: 20px; height: 20px; }
  .kcard__foot span:last-child { display: none; }
}

/* Friendly rounded feature cards */
.feature { background: var(--color-surface); border-radius: var(--radius-lg); padding: 1.75rem; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon-box { background: var(--color-bg); box-shadow: var(--shadow-sm); }

/* Alternating feature photos */
.feature-row img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* Pricing: billing note under the price */
.price-card__note {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: -0.5rem 0 1.25rem;
}
.price-card--featured .price-card__note { color: var(--color-accent); }

/* Stats band gets a soft gradient instead of flat indigo */
.stats { background: linear-gradient(135deg, var(--color-primary), #6366f1 60%, #818cf8); }

/* CTA band: accent glow */
.cta-band::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  inset-inline-end: -140px;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent) 55%, transparent), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Rework (UAE edition): parallax blobs, hscroll product panels, sticky
   how-it-works, AED pricing chips, footer address. Logical properties only.
   -------------------------------------------------------------------------- */

/* Dragging card: mirror the nudge in RTL */
[dir="rtl"] .kcard--dragging { transform: rotate(-4deg) translate(-6px, -4px) scale(1.04); }

/* Hero: two soft decorative blobs that drift at different parallax speeds */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}
.hero__blob--1 {
  width: clamp(220px, 32vw, 460px);
  aspect-ratio: 1;
  inset-inline-start: -8%;
  bottom: -18%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent) 32%, transparent), transparent 68%);
}
.hero__blob--2 {
  width: clamp(160px, 22vw, 320px);
  aspect-ratio: 1;
  inset-inline-end: 28%;
  top: -6%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 28%, transparent), transparent 70%);
}

/* Features: horizontal scroll product panels */
.features-hscroll .hscroll__panel--intro { flex-basis: min(70vw, 480px); }
.features-hscroll__hint {
  display: inline-flex;
  width: 44px; height: 44px;
  margin-top: 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  align-items: center; justify-content: center;
}
.fpanel {
  justify-content: flex-end;
  gap: 0.25rem;
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg));
}
.fpanel h3 { font-size: 1.5rem; }
.fpanel p { margin: 0; max-width: 40ch; }
.fpanel .hscroll__index { margin-top: auto; }
.fmock {
  position: relative;
  flex: 0 0 auto;
  height: clamp(180px, 28vh, 260px);
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  overflow: hidden;
}
.fmock i { display: block; }
/* 01 Boards: three columns of bars */
.fmock--board .fmock__col { flex: 1; background: var(--color-surface-2); border-radius: 10px; padding: 0.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.fmock__bar {
  width: var(--w, 60%);
  height: 28px;
  border-radius: 7px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  position: relative;
}
.fmock__bar::before { content: ""; position: absolute; inset-inline-start: 8px; top: 7px; width: 34%; height: 5px; border-radius: 3px; background: #dbeafe; }
.fmock__bar--hot { border-color: var(--color-primary); box-shadow: 0 8px 20px rgba(79, 70, 229, 0.18); transform: rotate(-3deg) translateY(-2px); }
.fmock__bar--hot::before { background: #ede9fe; }
.fmock__bar--done { opacity: 0.55; }
.fmock__bar--done::before { background: #dcfce7; }
/* 02 Timeline: gantt bars across a grid */
.fmock--timeline { flex-direction: column; justify-content: center; gap: 0.7rem; background-image: repeating-linear-gradient(90deg, var(--color-border) 0 1px, transparent 1px 14.28%); }
.fmock__gantt {
  height: 22px;
  width: var(--w, 40%);
  margin-inline-start: var(--s, 0);
  border-radius: 6px;
  background: color-mix(in srgb, var(--color-primary) 80%, white);
}
.fmock__gantt--b { background: var(--color-accent); }
.fmock__gantt--c { background: #22c55e; }
.fmock__today { position: absolute; top: 0; bottom: 0; inset-inline-start: 46%; width: 2px; background: var(--color-primary); }
.fmock__today::after { content: ""; position: absolute; top: 6px; inset-inline-start: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-primary); }
/* 03 Docs: text lines */
.fmock--doc { flex-direction: column; gap: 0.6rem; padding: 1.25rem 1.5rem; }
.fmock__line { height: 9px; width: var(--w, 80%); border-radius: 5px; background: var(--color-surface-2); }
.fmock__line--title { height: 16px; width: 55%; background: var(--color-text); opacity: 0.85; margin-bottom: 0.35rem; }
.fmock__line--link { background: color-mix(in srgb, var(--color-primary) 35%, white); }
/* 04 Automations: chips joined by arrows */
.fmock--auto { flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.35rem; }
.fmock__chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.fmock__chip--b { background: #ede9fe; color: #4c1d95; border-color: transparent; margin-inline-start: 1.5rem; }
.fmock__chip--c { background: #dcfce7; color: #166534; border-color: transparent; margin-inline-start: 3rem; }
.fmock__arrow { width: 2px; height: 14px; background: var(--color-border); margin-inline-start: 1.1rem; }
.fmock__chip--b + .fmock__arrow { margin-inline-start: 2.6rem; }
@media (max-width: 767px) {
  .features-hscroll .hscroll__panel--intro { flex-basis: 85vw; }
  .fmock { height: 160px; }
}

/* How it works: sticky step list (left) + large mockups (right) */
@media (min-width: 860px) { .how { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.how__shots, .how__shot, .shot { min-width: 0; }
.shot__input { overflow-wrap: anywhere; }
.how__steps { margin-top: 2rem; display: grid; gap: 0.5rem; }
.how__step a {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  color: var(--color-text-muted);
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.how__step a:hover { background: var(--color-surface); }
.how__step.is-active a { background: var(--color-surface); border-color: var(--color-border); color: var(--color-text); }
.how__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  padding-top: 0.2rem;
  opacity: 0.6;
  transition: opacity var(--dur);
}
.how__step.is-active .how__num { opacity: 1; }
.how__body { display: grid; gap: 0.3rem; }
.how__body strong { font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-text); }
.how__body span { font-size: 0.92rem; line-height: 1.55; }
.how__shots { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.how__shot {
  min-height: min(72vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-surface), var(--color-surface-2));
  border: 1px solid var(--color-border);
  transition: box-shadow 0.5s var(--ease);
}
.how__shot.is-active { box-shadow: var(--shadow-lg); }
.how__shot:nth-child(2) { background: linear-gradient(160deg, #eef2ff, var(--color-surface)); }
.how__shot:nth-child(3) { background: linear-gradient(160deg, #fff7ed, var(--color-surface)); }

/* Mockup "screens" inside the how-it-works shots */
.shot {
  width: 100%;
  max-width: 440px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  display: grid;
  gap: 0.85rem;
  font-size: 0.9rem;
  transform: translateY(12px);
  transition: transform 0.6s var(--ease);
}
.how__shot.is-active .shot { transform: none; }
.shot__brand { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-heading); font-weight: 800; color: var(--color-primary); }
.shot__brand .icon { width: 20px; height: 20px; }
.shot__title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; margin: 0; }
.shot__btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  font-weight: 600;
}
.shot__btn .icon { width: 18px; height: 18px; }
.shot__btn--primary { background: var(--color-primary); color: var(--color-primary-contrast); border-color: transparent; }
.shot__field { display: grid; gap: 0.3rem; }
.shot__label { font-size: 0.75rem; font-weight: 600; color: var(--color-text-muted); }
.shot__input { display: block; padding: 0.65rem 0.85rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); }
.shot__foot { font-size: 0.8rem; color: var(--color-text-muted); margin: 0; }
.shot__rows { display: grid; gap: 0.75rem; }
.shot__rows li { display: grid; grid-template-columns: 4.5rem 1fr 3rem; align-items: center; gap: 0.75rem; }
.shot__src { font-weight: 600; }
.shot__prog { display: block; height: 10px; border-radius: 5px; background: var(--color-surface-2); position: relative; overflow: hidden; }
.shot__prog::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p, 50%); background: var(--color-primary); border-radius: 5px; }
.shot__prog--live::after { background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); }
.shot__pct { font-size: 0.8rem; color: var(--color-text-muted); text-align: end; }
.shot__head { display: flex; justify-content: space-between; align-items: center; }
.shot__pill { font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: var(--radius-full); background: #ede9fe; color: #4c1d95; }
.shot__time { font-size: 0.78rem; color: var(--color-text-muted); }
.shot__list { display: grid; gap: 0.6rem; }
.shot__list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.shot__list .icon { width: 18px; height: 18px; color: var(--color-success); flex: none; margin-top: 2px; }
.shot__alert { background: #fff7ed; color: #9a3412; border-radius: var(--radius-sm); padding: 0.7rem 0.85rem; font-size: 0.85rem; border-inline-start: 3px solid var(--color-accent); }
@media (max-width: 859px) {
  /* Narrow screens: the aside is no longer sticky, so the step list reads as a plain numbered list above the shots */
  .how__steps { margin-bottom: 2rem; }
  .how__step a { background: var(--color-surface); border-color: var(--color-border); color: var(--color-text); }
  .how__shot { min-height: 0; }
}

/* Pricing: AED prefix + payment chips */
.price-card__amount small { font-size: 0.45em; font-weight: 700; color: var(--color-text-muted); vertical-align: 0.35em; margin-inline-end: 0.15em; }
.pricing-pay {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.6rem;
}
.pricing-pay__chip {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-text);
}

/* Footer address */
.footer__address { font-style: normal; font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.7; margin-top: 1rem; }
.footer__address a { color: inherit; }
.footer__address a:hover { color: var(--color-text); }
