/* ==========================================================================
   CedarsTech — Editorial-tech stylesheet
   Design tokens, typography, layout, components, RTL.
   ========================================================================== */

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ----- Design tokens ----- */
:root {
  /* Color */
  --ink:        #0B1426;
  --ink-2:      #131C32;
  --ink-3:      #1E2842;
  --paper:      #FAF8F3;
  --paper-2:    #F2EEE3;
  --paper-3:    #E8E2D1;
  --paper-card: #FFFFFF;
  --gold:       #C9A55C;
  --gold-deep:  #A8843E;
  --gold-soft:  rgba(201, 165, 92, 0.12);
  --line:       rgba(11, 20, 38, 0.08);
  --line-2:     rgba(11, 20, 38, 0.14);
  --line-dark:  rgba(255, 255, 255, 0.08);
  --muted:      #5A6478;
  --muted-light: rgba(255, 255, 255, 0.62);
  --success:    #10B981;
  --error:      #DC2626;

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', -apple-system, system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, system-ui, sans-serif;
  --font-arabic:  'Cairo', 'Tajawal', 'Inter', sans-serif;
  --font-arabic-display: 'Cairo', 'Tajawal', 'Space Grotesk', sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', monospace;

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(20px, 4vw, 56px);
  --section-y:     clamp(80px, 11vw, 140px);

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11,20,38,0.04), 0 1px 3px rgba(11,20,38,0.04);
  --shadow-md: 0 4px 12px rgba(11,20,38,0.05), 0 2px 4px rgba(11,20,38,0.04);
  --shadow-lg: 0 20px 40px -12px rgba(11,20,38,0.12), 0 8px 16px -8px rgba(11,20,38,0.08);
  --shadow-gold: 0 10px 30px -10px rgba(168,132,62,0.5);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Arabic font swap */
html[dir="rtl"] body { font-family: var(--font-arabic); letter-spacing: 0; line-height: 1.7; }
html[dir="rtl"] p, html[dir="rtl"] li { line-height: 1.85; }
html[dir="rtl"] .section__title,
html[dir="rtl"] .hero__title,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] .why__points h4,
html[dir="rtl"] .service-card h3,
html[dir="rtl"] .aud-card h3,
html[dir="rtl"] .plan h3 {
  font-family: var(--font-arabic-display);
  letter-spacing: 0;
  line-height: 1.35;
}
html[dir="rtl"] .italic-serif { font-family: var(--font-arabic-display); font-weight: 700; }
html[dir="rtl"] .section__num,
html[dir="rtl"] .service-card__num,
html[dir="rtl"] .industry__num {
  font-family: var(--font-mono);
}

/* ----- Reusable utilities ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.topbar {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 100;
  background: linear-gradient(to right, var(--ink) 0%, var(--gold) 30%, var(--gold) 70%, var(--ink) 100%);
}

/* ----- Typography helpers ----- */
.italic-serif {
  /* Emphasis via color, not italic — modern engineered feel */
  color: var(--gold-deep);
  font-weight: 600;
  font-family: var(--font-display);
}
.section__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  margin-block-end: 14px;
  display: block;
}
.section__kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-block-end: 22px;
  position: relative;
  padding-inline-start: 28px;
}
.section__kicker::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--gold-deep);
}
html[dir="rtl"] .section__kicker { padding-inline-start: 28px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-block-end: 22px;
}
.section__title span { display: block; }
.section__title--light { color: var(--paper); }
.section__lede {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
}
.section__lede--light { color: var(--muted-light); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 15px 28px; font-size: 15px; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--ink-2); box-shadow: var(--shadow-lg); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
}
.btn--gold:hover { box-shadow: var(--shadow-gold); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.2); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn__spinner { display: none; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading .btn__spinner {
  display: block;
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 3px;
  inset-inline: 0;
  z-index: 90;
  padding-block: 14px;
  background: rgba(11, 20, 38, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav.is-scrolled {
  padding-block: 10px;
  border-bottom-color: rgba(255,255,255,0.06);
  background: rgba(11, 20, 38, 0.94);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand__logo { transform: scale(1.04); }
.brand__logo--lg { height: 64px; }
.brand--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.brand--footer .brand__sub {
  color: var(--muted-light);
  max-width: 260px;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.55;
}
html[dir="rtl"] .brand--footer .brand__sub { font-family: var(--font-arabic); font-size: 14.5px; }
html[dir="rtl"] .brand--footer { align-items: flex-end; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after { width: 100%; }
html[dir="rtl"] .nav__links a::after { inset-inline-start: auto; inset-inline-end: 0; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
  background: transparent;
  transition: all 0.25s var(--ease);
}
.lang-toggle:hover { border-color: var(--gold); }
.lang-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.lang-btn:hover { color: var(--paper); }
.lang-toggle__sep { opacity: 0.35; }
html[lang="en"] .lang-toggle__en,
html[lang="fr"] .lang-toggle__fr,
html[lang="ar"] .lang-toggle__ar { color: var(--gold); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--paper);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  top: 0; inset-inline: 0;
  background: var(--ink);
  padding: 100px var(--container-pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
  z-index: 80;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav__mobile.is-open { transform: translateY(0); }
.nav__mobile a { font-size: 18px; font-weight: 500; color: var(--paper); }
.nav__mobile a:hover { color: var(--gold); }

/* ----- Hero ----- */
.hero {
  position: relative;
  padding-block: 180px clamp(60px, 8vw, 120px);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 30%, rgba(201,165,92,0.14), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(11,20,38,0.06), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-block-end: 32px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
}
.dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.4;
  animation: pulse 2s infinite;
}
.dot--gold { background: var(--gold-deep); }
.dot--gold::after { display: none; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.6); opacity: 0; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-block-end: 32px;
}
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-out) 0.25s forwards;
}
.hero__line--accent {
  color: var(--gold-deep);
  animation-delay: 0.4s;
  position: relative;
}
.hero__line--accent::after {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 2px;
  margin-inline-start: 10px;
  vertical-align: middle;
  transform: translateY(-14px);
}
html[dir="rtl"] .hero__title { font-weight: 700; letter-spacing: -0.01em; }

.hero__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin-block-end: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.55s forwards;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-end: clamp(48px, 8vw, 80px);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}
.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-block-start: 32px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.85s forwards;
}
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-item__num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.trust-item__plus { color: var(--gold-deep); font-size: 0.7em; }
.trust-item__lbl { font-size: 13px; color: var(--muted); }

.hero__scroll {
  position: absolute;
  bottom: 32px; inset-inline-end: var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ----- Sections layout ----- */
.section { padding-block: var(--section-y); position: relative; }
.section__head { max-width: 720px; margin-block-end: clamp(40px, 6vw, 72px); }
.section--services { background: var(--paper); }
.section--why {
  background: var(--paper);
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.section--erp {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.section--erp::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 90% 20%, rgba(201,165,92,0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(201,165,92,0.08), transparent 60%);
  pointer-events: none;
}
.section--hosting { background: var(--paper-2); }
.section--industries { background: var(--paper); }
.section--testimonials { background: var(--paper-2); }
.section--contact { background: var(--paper); border-top: 1px solid var(--line); }

/* ----- Services grid ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service-card {
  background: var(--paper-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: background 0.4s var(--ease);
  min-height: 360px;
}
.service-card:hover { background: var(--paper); }
.service-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
  position: absolute;
  top: 24px; inset-inline-end: 28px;
}
.service-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--gold-soft);
  color: var(--gold-deep);
  border-radius: var(--r-md);
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
.service-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-block-start: auto;
  padding-block-start: 18px;
  border-top: 1px dashed var(--line-2);
}
.service-card__list li {
  font-size: 13px;
  color: var(--ink);
  padding-inline-start: 18px;
  position: relative;
  line-height: 1.5;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 8px; height: 1px;
  background: var(--gold-deep);
}
.service-card--feature { background: linear-gradient(180deg, var(--paper-card) 0%, #FFFCF5 100%); }
.service-card--feature .service-card__icon { background: var(--ink); color: var(--gold); }
.service-card__tag {
  position: absolute;
  top: 24px; inset-inline-start: 28px;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.service-card--feature .service-card__num { color: var(--gold-deep); }

/* ----- Why us ----- */
.why {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.why__points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-block-start: 32px;
}
.why__points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.check {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--gold-soft);
  color: var(--gold-deep);
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.why__points h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-block-end: 4px;
}
.why__points p { font-size: 14px; color: var(--muted); line-height: 1.5; }

.why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background-color: var(--paper-card);
}
.stat {
  background: var(--paper-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__pct { color: var(--gold-deep); font-size: 0.7em; }
.stat__lbl { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ----- ERP showcase ----- */
.erp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.erp__kicker { color: var(--gold); }
.erp__kicker::before { background: var(--gold); }
.erp__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block-end: 36px;
}
.erp__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--muted-light);
}
.erp__features li span:last-child { color: rgba(255,255,255,0.85); }
.erp__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.erp__visual { position: relative; }
.erp__mock {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
  overflow: hidden;
  transform: rotate(-1deg);
  transition: transform 0.5s var(--ease);
}
.erp__mock:hover { transform: rotate(0); }
.erp__mock-bar {
  display: flex; gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.erp__mock-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.erp__mock-bar span:first-child { background: #EF4444; }
.erp__mock-bar span:nth-child(2) { background: #F59E0B; }
.erp__mock-bar span:nth-child(3) { background: #10B981; }
.erp__mock-tabs {
  display: flex;
  gap: 24px;
  padding: 16px 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.erp__mock-tab {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
}
.erp__mock-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.erp__mock-body { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.erp__mock-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.erp__mock-label { font-size: 11px; color: rgba(255,255,255,0.55); }
.erp__mock-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: white;
  font-weight: 500;
}
.erp__mock-trend { font-size: 11px; color: var(--gold); font-family: var(--font-mono); }
.erp__mock-trend.up { color: #10B981; }
.erp__mock-chart {
  grid-column: 1 / -1;
  height: 120px;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  overflow: hidden;
}
.erp__mock-chart svg { width: 100%; height: 100%; }

/* ----- Hosting plans ----- */
.hosting-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 18px 32px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-block-end: 48px;
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hosting-features > div { display: flex; align-items: center; gap: 8px; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.plan--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: scale(1.02);
}
.plan--featured .plan__sub { color: var(--muted-light); }
.plan--featured .plan__specs li { color: rgba(255,255,255,0.78); }
.plan--featured .plan__specs li::before { background: var(--gold); }
.plan--featured .plan__amount { color: var(--paper); }
.plan--featured .plan__label { color: var(--gold); }
.plan--featured .plan__name { color: var(--paper); }
.plan--featured .plan__from,
.plan--featured .plan__unit,
.plan--featured .plan__billed { color: var(--muted-light); }
.plan__pop {
  position: absolute;
  top: -12px; inset-inline-end: 24px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.plan__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.plan__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-block: 6px;
}
.plan__sub { font-size: 14px; color: var(--muted); }
.plan__specs {
  display: flex; flex-direction: column;
  gap: 8px;
  padding-block: 18px;
  border-block: 1px dashed var(--line-2);
  margin-block: 6px;
}
.plan--featured .plan__specs { border-color: rgba(255,255,255,0.1); }
.plan__specs li {
  font-size: 13.5px;
  color: var(--ink);
  padding-inline-start: 18px;
  position: relative;
}
.plan__specs li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 8px; height: 1px;
  background: var(--gold-deep);
}
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__from {
  font-size: 12px;
  color: var(--muted);
  text-transform: lowercase;
}
.plan__amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.plan__custom {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
}
.plan--featured .plan__custom { color: var(--paper); }
.plan__unit { font-size: 14px; color: var(--muted); }
.plan__req { font-size: 13px; color: var(--muted); margin-inline-start: 8px; }
.plan__billed { font-size: 12px; color: var(--muted); margin-block-start: -10px; }
.plan__btn { margin-block-start: auto; }

/* ----- Industries ----- */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.industry__num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-deep);
  display: block;
  margin-block-end: 12px;
}
.industry h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-block-end: 8px;
}
.industry p { font-size: 14px; color: var(--muted); margin-block-end: 18px; }
.industry ul { display: flex; flex-direction: column; gap: 6px; }
.industry ul li {
  font-size: 13px;
  color: var(--ink);
  padding-inline-start: 18px;
  position: relative;
}
.industry ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 9px;
  width: 8px; height: 1px;
  background: var(--gold-deep);
}

/* ----- Testimonials ----- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--gold);
  line-height: 0.6;
  height: 30px;
  font-weight: 400;
}
.testimonial blockquote {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
}
html[dir="rtl"] .testimonial blockquote { font-family: var(--font-arabic); }
.testimonial footer {
  margin-block-start: auto;
  padding-block-start: 16px;
  border-top: 1px dashed var(--line-2);
}
.testimonial footer strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.testimonial footer span { font-size: 13px; color: var(--muted); }
.testimonial--feature {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.testimonial--feature blockquote { color: var(--paper); }
.testimonial--feature footer strong { color: var(--paper); }
.testimonial--feature footer span { color: var(--muted-light); }
.testimonial--feature footer { border-top-color: rgba(255,255,255,0.1); }

/* ----- Contact ----- */
.contact__head { max-width: 720px; margin-block-end: clamp(40px, 6vw, 64px); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}
.contact__info {
  background: var(--ink);
  color: var(--paper);
  padding: 40px 36px;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.contact__info::before {
  content: "";
  position: absolute;
  top: -50%; inset-inline-end: -30%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(201,165,92,0.18), transparent 60%);
  pointer-events: none;
}
.contact__info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-block-end: 28px;
}
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
}
.contact__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.contact__ico {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  color: var(--gold);
  border-radius: 10px;
  flex-shrink: 0;
}
.contact__ico svg { width: 18px; height: 18px; }
.contact__lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-light);
  margin-block-end: 2px;
}
.contact__list a, .contact__list span:not(.contact__ico):not(.contact__lbl) {
  font-size: 15px;
  color: var(--paper);
  transition: color 0.2s var(--ease);
}
.contact__list a:hover { color: var(--gold); }
.contact__note {
  margin-block-start: 32px;
  padding: 16px;
  background: rgba(201,165,92,0.08);
  border: 1px dashed rgba(201,165,92,0.3);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--muted-light);
  position: relative;
  z-index: 1;
}

/* ----- Form ----- */
.contact__form {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.contact__form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-block-end: 24px;
  color: var(--ink);
}
.form__row {
  display: grid;
  gap: 16px;
  margin-block-end: 16px;
}
.form__row--2 { grid-template-columns: 1fr 1fr; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.form__field input,
.form__field select,
.form__field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  font-family: inherit;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper-card);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.form__field input.is-invalid,
.form__field select.is-invalid,
.form__field textarea.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%230B1426' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-inline-end: 36px;
}
html[dir="rtl"] .form__field select { background-position: left 14px center; padding-inline-end: 14px; padding-inline-start: 36px; }

.form__hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
html[dir="rtl"] .form__hp { left: auto; right: -9999px; }
.form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block-start: 8px;
  flex-wrap: wrap;
}
.form__legal { font-size: 12px; color: var(--muted); }
.form__status {
  margin-block-start: 14px;
  font-size: 13.5px;
  font-weight: 500;
  display: none;
  padding: 12px 14px;
  border-radius: var(--r-md);
}
.form__status.is-success {
  display: block;
  background: rgba(16,185,129,0.08);
  color: #065F46;
  border: 1px solid rgba(16,185,129,0.2);
}
.form__status.is-error {
  display: block;
  background: rgba(220,38,38,0.06);
  color: #991B1B;
  border: 1px solid rgba(220,38,38,0.2);
}

/* ----- Footer ----- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(56px, 7vw, 80px) 0;
  position: relative;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-block-end: 48px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-block-end: 6px;
  font-weight: 500;
}
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 20px;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer__top { transition: color 0.2s var(--ease); }
.footer__top:hover { color: var(--gold); }

/* ----- Toast ----- */
.toast {
  position: fixed;
  bottom: 24px; inset-inline-end: 24px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 14px;
  z-index: 200;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  pointer-events: none;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast--success { background: #065F46; }
.toast--error { background: #991B1B; }

/* ----- Reveal on scroll ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .why { grid-template-columns: 1fr; }
  .erp { grid-template-columns: 1fr; }
  .erp__visual { order: -1; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .industries { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .lang-toggle { padding: 6px 10px; font-size: 11px; }
  .nav__actions .btn { display: none; }
  .hero { padding-block: 140px 80px; min-height: auto; }
  .hero__trust { grid-template-columns: 1fr; gap: 18px; padding-block-start: 24px; }
  .hero__scroll { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why__stats { grid-template-columns: 1fr; }
  .hosting-features { flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-lg); }
  .form__row--2 { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; }
  .contact__info, .contact__form { padding: 28px 24px; }
  .service-card { padding: 28px 24px; min-height: auto; }
}

@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; }
  .hero__title { font-size: 44px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
}

/* ----- 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;
  }
}

/* ----- Print ----- */
@media print {
  .nav, .nav__mobile, .hero__scroll, .topbar, .toast { display: none !important; }
}

/* ============================================================
   DATA LAB SHOWCASE SECTION (04)
   ============================================================ */
.section--data-lab {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  position: relative;
  overflow: hidden;
}
.section--data-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(11,20,38,0.06) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}
.section--data-lab > .container { position: relative; z-index: 1; }

.data-lab__layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 56px;
  margin-block-start: 56px;
  align-items: start;
}

/* ---- Audience cards (left column) ---- */
.data-lab__audience {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.aud-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 22px 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.aud-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(11,20,38,0.18);
}
.aud-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
  display: block;
  margin-block-end: 8px;
}
.aud-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
}
.aud-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* "For business" featured card with embedded Sales & Strategy methods */
.aud-card--featured {
  border-inline-start-width: 4px;
  background: linear-gradient(180deg, var(--paper-card) 0%, rgba(201,165,92,0.04) 100%);
}
.aud-card__methods {
  margin-block-start: 18px;
  padding-block-start: 16px;
  border-block-start: 1px dashed var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aud-card__methods .method-group__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  font-weight: 500;
  text-transform: uppercase;
}
.aud-card__methods .method-tags { gap: 6px; }
.aud-card__methods .method-tag { font-size: 12.5px; padding: 6px 11px; }
html[dir="rtl"] .aud-card__methods .method-group__label {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  text-transform: none;
  font-size: 12.5px;
}

/* ---- Methods column (right column) ---- */
.data-lab__methods {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.data-lab__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-block-end: 14px;
  border-block-end: 1px dashed var(--line-2);
}
.method-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.method-group__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-weight: 500;
  opacity: 0.7;
}
.method-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.method-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.2;
  transition: all 0.25s var(--ease);
  font-weight: 500;
}
.method-tag:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-1px);
}
.method-tag--solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.method-tag--solid:hover {
  background: var(--gold-deep);
  color: var(--paper);
  border-color: var(--gold-deep);
}

/* Arabic readability inside data-lab */
html[dir="rtl"] .aud-card p { line-height: 1.85; font-size: 14.5px; }
html[dir="rtl"] .method-tag,
html[dir="rtl"] .method-group__label,
html[dir="rtl"] .data-lab__heading { font-family: var(--font-arabic); letter-spacing: 0; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .data-lab__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .data-lab__methods { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .data-lab__methods { padding: 24px 18px; }
  .aud-card { padding: 18px 20px; }
}

/* ============================================================
   CONTACT INFO — RTL bidi fixes for phone / email
   ============================================================ */
.contact__list a[href^="tel:"],
.contact__list a[href^="mailto:"],
.footer__col a[href^="tel:"],
.footer__col a[href^="mailto:"] {
  unicode-bidi: plaintext;
  display: block;
}
/* In RTL, right-align the LTR-content (phone/email) so it sits with the rest of the Arabic UI */
html[dir="rtl"] .contact__list a[href^="tel:"],
html[dir="rtl"] .contact__list a[href^="mailto:"],
html[dir="rtl"] .footer__col a[href^="tel:"],
html[dir="rtl"] .footer__col a[href^="mailto:"],
html[dir="rtl"] .footer__col a {
  text-align: right;
}

/* ============================================================
   DATA LAB FEEDBACK FORM (light/white panel)
   ============================================================ */
.dlab-feedback {
  margin-block-start: 64px;
  padding: 48px 52px;
  background: var(--paper-card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(11,20,38,0.12);
}
.dlab-feedback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(201,165,92,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.dlab-feedback > * { position: relative; z-index: 1; }
.dlab-feedback__head { padding-top: 4px; }
.dlab-feedback__head .section__kicker {
  color: var(--gold-deep);
  margin-block-end: 16px;
  display: inline-block;
}
.dlab-feedback__head h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--ink);
}
.dlab-feedback__head p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 32ch;
}
.dlab-feedback__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dlab-feedback__form .form__field label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dlab-feedback__form .form__field input,
.dlab-feedback__form .form__field textarea {
  background: var(--paper);
  border: 1px solid var(--line-2);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.dlab-feedback__form .form__field input::placeholder,
.dlab-feedback__form .form__field textarea::placeholder {
  color: rgba(11,20,38,0.32);
}
.dlab-feedback__form .form__field input:focus,
.dlab-feedback__form .form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper-card);
}
.dlab-feedback__form .form__field input.is-invalid,
.dlab-feedback__form .form__field textarea.is-invalid {
  border-color: #C75A3A;
  background: rgba(199,90,58,0.06);
}
.dlab-feedback__form .form__field textarea { resize: vertical; min-height: 110px; }
.dlab-feedback__form .form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-block-start: 6px;
}
.dlab-feedback__form .form__status { color: var(--muted); font-size: 13.5px; }
.dlab-feedback__form .form__status.is-error { color: #C75A3A; }
.dlab-feedback__form .form__status.is-success { color: var(--gold-deep); }

html[dir="rtl"] .dlab-feedback__form .form__field label { font-family: var(--font-arabic); letter-spacing: 0; text-transform: none; font-size: 12.5px; }
html[dir="rtl"] .dlab-feedback__form .form__field input,
html[dir="rtl"] .dlab-feedback__form .form__field textarea { font-family: var(--font-arabic); }

@media (max-width: 900px) {
  .dlab-feedback {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 24px;
  }
  .dlab-feedback__head p { max-width: none; }
}

/* ============================================================
   COMMUNITY-APPROVED FEEDBACK (Data Lab section)
   ============================================================ */
.dlab-community {
  margin-block-start: 40px;
  padding-block: 8px;
}
.dlab-community__head {
  text-align: center;
  margin-block-end: 32px;
}
.dlab-community__head .section__kicker {
  margin-block-end: 12px;
  display: inline-block;
  padding-inline-start: 26px;
}
.dlab-community__head h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.dlab-community__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.dlab-community__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  padding: 28px 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  background: var(--paper-card);
}
.community-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.community-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px -16px rgba(11,20,38,0.18);
}
.community-card__mark {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 0.6;
  height: 18px;
  font-weight: 400;
}
.community-card__msg {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  flex: 1;
}
.community-card__foot {
  padding-block-start: 12px;
  border-block-start: 1px dashed var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.community-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.community-card__date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

html[dir="rtl"] .community-card__msg,
html[dir="rtl"] .community-card__name { font-family: var(--font-arabic); }
html[dir="rtl"] .community-card__date { font-family: var(--font-arabic); letter-spacing: 0; }
