/* ================================================================
   STAREG — Premium Public Website Design System
   Arabic-First · RTL · Mobile-First · Saudi/GCC Premium Brand
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ───────────────────────────────────── */
:root {
  /* Brand Colors */
  --gold:        #C8A96E;
  --gold-light:  #DEC28E;
  --gold-dim:    #A8893E;
  --gold-pale:   rgba(200,169,110,0.12);
  --gold-border: rgba(200,169,110,0.22);

  /* Neutral Scale */
  --ink-900:  #0C0C0F;
  --ink-800:  #141417;
  --ink-700:  #1C1C21;
  --ink-600:  #252529;
  --ink-500:  #2F2F35;
  --ink-400:  #3D3D45;
  --ink-300:  #52525C;
  --ink-200:  rgba(255,255,255,0.06);
  --ink-100:  rgba(255,255,255,0.04);

  /* Text */
  --text-primary:   #F2F0EC;
  --text-secondary: #9E9EA8;
  --text-muted:     #5E5E68;
  --text-gold:      #C8A96E;

  /* Semantic */
  --success: #22C55E;
  --warning: #F59E0B;
  --danger:  #EF4444;

  /* Surfaces */
  --surface:   #18181D;
  --surface-2: #1E1E25;
  --surface-3: #242430;

  /* Borders */
  --border:      rgba(255,255,255,0.07);
  --border-soft: rgba(255,255,255,0.04);
  --border-gold: rgba(200,169,110,0.22);

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:   0 6px 28px rgba(0,0,0,0.45);
  --shadow-lg:   0 16px 56px rgba(0,0,0,0.55);
  --shadow-gold: 0 6px 32px rgba(200,169,110,0.18);

  /* Spacing */
  --section-gap: 96px;
  --section-gap-sm: 64px;

  /* Transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s var(--ease);
  --t-mid:  0.25s var(--ease);
  --t-slow: 0.4s var(--ease);

  /* Typography */
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font:    var(--font-ar);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}
body {
  font-family: var(--font-ar);
  background: var(--ink-900);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  direction: rtl;
}
body.lang-en {
  font-family: var(--font-en);
  direction: ltr;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 640px) { .container { padding-inline: 18px; } }

/* ── Typography ──────────────────────────────────────────────── */
.display-hero {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.display-lg {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
}
.display-md {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.3;
}
.heading-lg {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
}
.heading-md {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.45;
}
.body-lg  { font-size: 1.0625rem; line-height: 1.8; }
.body-md  { font-size: 0.9375rem; line-height: 1.75; }
.body-sm  { font-size: 0.875rem;  line-height: 1.7; }
.caption  { font-size: 0.75rem;   line-height: 1.5; letter-spacing: 0.02em; }
.label-tag {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* EN mode overrides */
.lang-en .display-hero { letter-spacing: -0.02em; line-height: 1.1; }
.lang-en .display-lg   { letter-spacing: -0.015em; }
.lang-en .label-tag    { letter-spacing: 0.1em; }

/* ── Color utilities ─────────────────────────────────────────── */
.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-gold      { color: var(--gold); }

/* ── Section Eyebrow ─────────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--gold); border-radius: 2px; flex-shrink: 0;
}
body.lang-en .section-eyebrow::after {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--gold); border-radius: 2px; flex-shrink: 0;
}
body.lang-en .section-eyebrow::before { display: none; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 28px;
  border-radius: var(--r-full); font-size: 0.9375rem; font-weight: 600;
  transition: all var(--t-mid); white-space: nowrap; cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink-900);
  box-shadow: 0 4px 20px rgba(200,169,110,0.28);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 28px rgba(200,169,110,0.38);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 20px;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── Card ────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.card-gold {
  background: linear-gradient(135deg, rgba(200,169,110,0.08) 0%, rgba(200,169,110,0.03) 100%);
  border-color: var(--border-gold);
}
.card-hover {
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
}
.card-hover:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

/* ── Badge ───────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 600;
}
.badge-gold { background: var(--gold-pale); color: var(--gold); border: 1px solid var(--border-gold); }
.badge-green { background: rgba(34,197,94,0.1); color: #4ADE80; }
.badge-muted { background: var(--ink-200); color: var(--text-secondary); }

/* ── Divider ─────────────────────────────────────────────────── */
.divider {
  width: 100%; height: 1px;
  background: var(--border);
}

/* ── Navigation ──────────────────────────────────────────────── */
.nav-wrap {
  position: fixed; top: 0; inset-inline: 0; z-index: 1000;
  transition: background var(--t-mid), backdrop-filter var(--t-mid), border-bottom var(--t-mid);
}
.nav-wrap.scrolled {
  background: rgba(12,12,15,0.9);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.375rem; font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav-logo-star { color: var(--gold); font-size: 1.2rem; }
.nav-logo-ar   { font-family: var(--font-ar); font-size: 1.1rem; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--text-primary); background: var(--ink-200); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Language Switcher */
.lang-switch {
  display: flex; align-items: center;
  background: var(--ink-600); border-radius: var(--r-full);
  padding: 3px; gap: 2px; border: 1px solid var(--border);
}
.lang-btn {
  padding: 5px 13px; border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 700;
  color: var(--text-muted); cursor: pointer;
  transition: all var(--t-fast); border: none; background: none;
  font-family: inherit;
}
.lang-btn.active {
  background: var(--gold);
  color: var(--ink-900);
}

/* Mobile Menu Button */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all var(--t-mid);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none; position: fixed; inset: 68px 0 0 0;
  background: rgba(12,12,15,0.97); backdrop-filter: blur(24px);
  z-index: 999; padding: 24px;
  flex-direction: column; gap: 4px;
  transform: translateY(-10px); opacity: 0;
  transition: all var(--t-mid);
  pointer-events: none;
}
.mobile-nav.open {
  display: flex; opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav a {
  display: block; padding: 14px 16px;
  font-size: 1rem; font-weight: 500;
  color: var(--text-secondary); border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.mobile-nav a:hover { color: var(--text-primary); background: var(--ink-200); }
.mobile-nav .mobile-nav-divider {
  height: 1px; background: var(--border); margin: 8px 0;
}
.mobile-nav .mobile-nav-actions {
  display: flex; flex-direction: column; gap: 10px; margin-top: 8px;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .nav-actions .lang-switch { display: flex; }
}
@media (min-width: 961px) {
  .mobile-nav { display: none !important; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 88px; padding-bottom: 64px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 0%, rgba(200,169,110,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(200,169,110,0.04) 0%, transparent 45%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: 0.025;
  background-image: linear-gradient(var(--text-primary) 1px, transparent 1px),
                    linear-gradient(90deg, var(--text-primary) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* ── Hero Two-Column Layout ──────────────────────────────────── */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 2;
  width: 100%;
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 640px;
}
@media (max-width: 1024px) {
  .hero-content { max-width: 100%; }
}

/* ── Hero Visual Panel ───────────────────────────────────────── */
.hero-visual {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
}
@media (max-width: 1024px) {
  .hero-visual { display: none; }
}

/* Main creator showcase card */
.hero-showcase-card {
  background: linear-gradient(145deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-xl);
  padding: 28px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,169,110,0.08);
  position: relative; overflow: hidden;
}
.hero-showcase-card::before {
  content: '';
  position: absolute; top: 0; inset-inline-start: 0; inset-inline-end: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-showcase-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800;
  border: 2px solid var(--border-gold);
  position: relative; margin-bottom: 16px; flex-shrink: 0;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-ar);
}
.hero-showcase-verified {
  position: absolute; bottom: 0; inset-inline-end: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--ink-900);
  font-size: 0.65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink-800);
}
.hero-showcase-name {
  font-size: 1.125rem; font-weight: 700; margin-bottom: 4px;
}
.hero-showcase-cat {
  font-size: 0.8rem; color: var(--text-muted); margin-bottom: 14px;
}
.hero-showcase-price-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); margin-bottom: 14px;
}
.hero-showcase-price {
  font-size: 1.25rem; font-weight: 800; color: var(--gold);
}
.hero-showcase-rating {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.8125rem; color: var(--text-secondary);
}

/* Small notification cards floating around */
.hero-notif {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  width: 100%; max-width: 360px;
}
.hero-notif-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.hero-notif-icon-success { background: rgba(34,197,94,0.12); }
.hero-notif-icon-gold    { background: var(--gold-pale); }
.hero-notif-text { flex: 1; }
.hero-notif-text strong {
  display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 1px;
}
.hero-notif-text span {
  font-size: 0.7rem; color: var(--text-muted);
}

/* Mini creators strip */
.hero-mini-creators {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
}
.hero-mini-avatars {
  display: flex;
}
.hero-mini-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--ink-800);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-ar);
  margin-inline-start: -8px;
}
.hero-mini-avatar:first-child { margin-inline-start: 0; }
.hero-mini-label { font-size: 0.75rem; color: var(--text-secondary); }
.hero-mini-label strong { color: var(--gold); }

/* Animated ring decoration */
@keyframes spin-slow  { to { transform: rotate(360deg); } }
@keyframes spin-slow-r { to { transform: rotate(-360deg); } }
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px dashed; pointer-events: none;
}
.hero-ring-1 {
  width: 340px; height: 340px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(200,169,110,0.08);
  animation: spin-slow 30s linear infinite;
}
.hero-ring-2 {
  width: 240px; height: 240px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(200,169,110,0.05);
  animation: spin-slow-r 20s linear infinite;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-pale); border: 1px solid var(--border-gold);
  border-radius: var(--r-full); padding: 7px 16px;
  font-size: 0.8125rem; font-weight: 600; color: var(--gold);
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  font-weight: 700; line-height: 1.18; margin-bottom: 24px;
}
.hero-title-accent { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary); line-height: 1.85;
  max-width: 560px; margin-bottom: 40px;
}
.hero-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.hero-stat-value {
  font-size: 1.5rem; font-weight: 800; color: var(--text-primary); line-height: 1;
}
.hero-stat-label {
  font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px;
}
.hero-stat-divider {
  width: 1px; height: 36px; background: var(--border); flex-shrink: 0;
}

/* Floating Card */
.hero-floating-card {
  position: absolute; z-index: 2;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  animation: float-card 4s ease-in-out infinite;
}
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
.hero-card-right {
  inset-inline-end: 4%;
  top: 28%;
  max-width: 200px;
}
.hero-card-bottom {
  inset-inline-end: 8%;
  bottom: 18%;
  max-width: 220px;
  animation-delay: 1.5s;
}
@media (max-width: 960px) {
  .hero-floating-card { display: none; }
  .hero-content { max-width: 100%; }
}

/* ── Sections ────────────────────────────────────────────────── */
.section { padding-block: var(--section-gap); }
.section-sm { padding-block: var(--section-gap-sm); }
.section-alt { background: var(--ink-800); }
.section-header { margin-bottom: 52px; }
.section-header-center { text-align: center; }
.section-header-center .section-eyebrow {
  justify-content: center;
}
.section-header-center .section-eyebrow::before { display: none; }

/* ── Occasion Tags ───────────────────────────────────────────── */
.occasions-grid {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.occasion-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; transition: all var(--t-mid);
}
.occasion-tag:hover, .occasion-tag.active {
  background: var(--gold-pale); border-color: var(--border-gold);
  color: var(--gold);
}

/* ── Creator Cards ───────────────────────────────────────────── */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
@media (max-width: 640px) { .creators-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 380px) { .creators-grid { grid-template-columns: 1fr; } }

.creator-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-mid);
  cursor: pointer;
}
.creator-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.creator-card-avatar {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800; color: var(--ink-900);
  position: relative; overflow: hidden;
  min-height: 180px;
}
.creator-card-body { padding: 16px; }
.creator-card-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.creator-card-cat  {
  font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 12px;
}
.creator-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.creator-card-price {
  font-size: 0.875rem; font-weight: 700; color: var(--gold);
}
.creator-card-response {
  font-size: 0.75rem; color: var(--text-muted);
}
.creator-card-badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
}

/* ── Steps (How It Works) ────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.steps-grid::after {
  content: '';
  position: absolute; top: 32px; inset-inline-start: 10%;
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps-grid::after { display: none; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
}
.step-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 20px 16px; position: relative; z-index: 1;
}
.step-number-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-pale); border: 2px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
  font-size: 1.5rem; position: relative;
}
.step-num-badge {
  position: absolute; top: -4px; inset-inline-end: -4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--ink-900);
  font-size: 0.65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 8px; }
.step-desc  { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Trust Section ───────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 500px) { .trust-grid { grid-template-columns: 1fr; gap: 14px; } }

.trust-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
  transition: border-color var(--t-mid);
}
.trust-card:hover { border-color: var(--border-gold); }
.trust-card--maroof {
  display: flex; flex-direction: column; justify-content: center;
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(200,169,110,0.05) 0%, var(--surface) 60%);
}
.trust-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--gold-pale); border: 1px solid var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 16px;
}
.trust-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.trust-desc  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* Maroof Badge */
.maroof-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 10px 18px;
  font-size: 0.8125rem; color: var(--text-secondary);
}
.maroof-logo-inline {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 700; color: var(--text-primary);
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; gap: 14px; } }
@media (min-width: 640px) and (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }

.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 24px;
}
.testimonial-stars { color: var(--gold); font-size: 0.875rem; margin-bottom: 14px; }
.testimonial-text  {
  font-size: 0.9rem; color: var(--text-secondary);
  line-height: 1.8; margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700; color: var(--ink-900);
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.875rem; font-weight: 700; }
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); }

/* ── Creators Join Section ───────────────────────────────────── */
.join-benefits {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 640px) { .join-benefits { grid-template-columns: 1fr; gap: 12px; } }

.join-benefit {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px 20px;
}
.join-benefit-icon { font-size: 1.5rem; margin-bottom: 12px; }
.join-benefit-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 6px; }
.join-benefit-desc  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item.open { border-color: var(--border-gold); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer;
  font-size: 0.9375rem; font-weight: 600;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--gold); }
.faq-chevron {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink-200); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.75rem;
  transition: all var(--t-mid);
}
.faq-item.open .faq-chevron {
  background: var(--gold-pale); color: var(--gold); transform: rotate(180deg);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-mid);
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer-text {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8;
  border-top: 1px solid var(--border); padding-top: 16px;
}

/* ── Contact Form ────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); color: var(--text-primary);
  font-size: 0.9375rem; font-family: inherit;
  transition: border-color var(--t-fast), background var(--t-fast);
  outline: none; appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold); background: var(--surface-2);
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form-select { cursor: pointer; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--ink-800);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-brand p {
  font-size: 0.875rem; color: var(--text-muted);
  line-height: 1.8; margin-top: 14px; max-width: 280px;
}
.footer-col-title {
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem; color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--gold); }
.footer-social {
  display: flex; gap: 10px; margin-top: 20px;
}
.social-btn {
  width: 38px; height: 38px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.875rem;
  transition: all var(--t-fast); cursor: pointer;
}
.social-btn:hover {
  background: var(--gold-pale); border-color: var(--border-gold);
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8125rem; color: var(--text-muted); }

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg,
    rgba(200,169,110,0.1) 0%,
    rgba(200,169,110,0.04) 50%,
    rgba(200,169,110,0.08) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-xl);
  padding: 60px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(200,169,110,0.1) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 640px) { .cta-banner { padding: 40px 24px; } }

/* ── Scroll Animations ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Utility ─────────────────────────────────────────────────── */
.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.flex-wrap  { flex-wrap: wrap; }
.gap-2  { gap: 8px; }
.gap-3  { gap: 12px; }
.gap-4  { gap: 16px; }
.gap-6  { gap: 24px; }
.gap-8  { gap: 32px; }
.mt-2   { margin-top: 8px; }
.mt-4   { margin-top: 16px; }
.mt-6   { margin-top: 24px; }
.mt-8   { margin-top: 32px; }
.mb-2   { margin-bottom: 8px; }
.mb-4   { margin-bottom: 16px; }
.mb-6   { margin-bottom: 24px; }
.mb-8   { margin-bottom: 32px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Gradient text */
.gradient-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pill separator */
.pill-sep {
  display: inline-block; width: 4px; height: 4px;
  border-radius: 50%; background: var(--text-muted);
  margin-inline: 6px;
}

/* Section gradient border top */
.gradient-border-top {
  border-top: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.gradient-border-top::before {
  content: '';
  position: absolute; top: -1px; inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

/* ── Maroof Badge ─────────────────────────────────────────────── */
.maroof-badge-real {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-md);
  padding: 10px 18px;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
}
.maroof-badge-real:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--gold);
}
.maroof-badge-real img {
  height: 36px; width: auto;
  display: block;
  /* Slight lightening so the teal Maroof logo reads on dark bg */
  filter: brightness(1.1) saturate(0.9);
}
.maroof-badge-real .maroof-badge-label {
  display: flex; flex-direction: column; gap: 1px;
}
.maroof-badge-real .maroof-badge-label strong {
  font-size: 0.875rem; font-weight: 700;
  color: var(--text-primary); line-height: 1.3;
}
.maroof-badge-real .maroof-badge-label span {
  font-size: 0.7rem; color: var(--text-muted);
}

/* Maroof trust strip (between how-it-works and creators) */
.maroof-trust-strip {
  background: var(--ink-800);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 20px;
}
.maroof-trust-strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.maroof-trust-strip .strip-label {
  font-size: 0.875rem; font-weight: 600; color: var(--text-secondary);
}
.maroof-strip-sep {
  width: 1px; height: 28px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .maroof-strip-sep { display: none; }
  .maroof-trust-strip-inner { gap: 10px; }
}

/* Footer Maroof row */
.footer-trust-row {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 20px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  flex-wrap: wrap;
}
.footer-trust-row .footer-trust-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted);
}
.maroof-badge-footer img {
  height: 32px; width: auto; display: block;
  filter: brightness(0.85) saturate(0.7);
  opacity: 0.8;
  transition: opacity var(--t-fast), filter var(--t-fast);
}
.maroof-badge-footer:hover img {
  opacity: 1;
  filter: brightness(1.0) saturate(1.0);
}

/* ── CTA Pulse Animation ──────────────────────────────────────── */
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 4px 20px rgba(200,169,110,0.28), 0 0 0 0 rgba(200,169,110,0.4); }
  50%       { box-shadow: 0 6px 28px rgba(200,169,110,0.38), 0 0 0 12px rgba(200,169,110,0); }
}
.btn-cta-pulse {
  animation: pulse-gold 2.5s ease-in-out infinite;
  min-width: 220px;
}

/* ── Hero Social Proof Chips ─────────────────────────────────── */
.hero-proof-chips {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 28px;
}
.hero-proof-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 6px 14px;
  font-size: 0.8125rem; color: var(--text-secondary);
  white-space: nowrap;
}
.hero-proof-chip strong { color: var(--text-primary); font-weight: 700; }
.hero-proof-dot {
  color: var(--text-muted); font-size: 0.6rem; line-height: 1;
}

/* ── Status Badge Dot Blink (in-progress) ───────────────────── */
@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}
.badge-dot-blink {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: currentColor;
  animation: blink-dot 2s ease-in-out infinite;
  vertical-align: middle; margin-inline-end: 4px;
}

/* ── Price Tooltip ───────────────────────────────────────────── */
.price-tooltip-wrap { position: relative; display: inline-block; }
.price-tooltip-wrap::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 6px); inset-inline-start: 50%;
  transform: translateX(-50%);
  background: var(--surface-3); border: 1px solid var(--border-gold);
  color: var(--text-secondary); font-size: 0.7rem; font-weight: 500;
  padding: 5px 10px; border-radius: var(--r-sm);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity var(--t-fast);
  z-index: 10;
}
body.lang-en .price-tooltip-wrap::after {
  transform: translateX(-50%);
}
.price-tooltip-wrap:hover::after { opacity: 1; }

/* ── Nav Active State ────────────────────────────────────────── */
.nav-links a.active {
  color: var(--gold) !important;
  font-weight: 600;
}

/* ── Mobile Section Padding ──────────────────────────────────── */
@media (max-width: 640px) {
  .section { padding-block: 48px; }
  .section-alt { padding-block: 48px; }
  .container { padding-inline: 16px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb { background: var(--ink-400); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* ── Hero Visual Enhancement ─────────────────────────────────── */
.hero-video-preview {
  background: linear-gradient(145deg, var(--surface-3) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(200,169,110,0.25);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  width: 100%; max-width: 360px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  position: relative; overflow: hidden;
}
.hero-video-preview::before {
  content: '';
  position: absolute; top: 0; inset-inline-start: 0; inset-inline-end: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.5), transparent);
}
.hero-video-thumb {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
  position: relative; overflow: hidden;
}
.hero-video-thumb::after {
  content: '▶';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45);
  color: #fff; font-size: 1rem;
  border-radius: var(--r-md);
}
.hero-video-info { flex: 1; }
.hero-video-info-title {
  font-size: 0.8rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 3px; line-height: 1.3;
}
.hero-video-info-meta {
  font-size: 0.72rem; color: var(--text-muted);
}
.hero-video-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--r-full); padding: 3px 10px;
  font-size: 0.7rem; font-weight: 600; color: var(--success);
  white-space: nowrap; flex-shrink: 0;
}

/* ── Legal Section ───────────────────────────────────────────── */
.legal-section {
  background: var(--ink-800);
  border-top: 1px solid var(--border);
  padding-block: 72px;
}
.legal-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.legal-tab-btn {
  background: transparent;
  border: none; border-bottom: 2px solid transparent;
  padding: 12px 20px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted);
  cursor: pointer; transition: all var(--t-fast);
  font-family: var(--font-ar);
  margin-bottom: -1px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.legal-tab-btn:hover { color: var(--text-primary); }
.legal-tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(200,169,110,0.05);
}
.legal-tab-content { display: none; }
.legal-tab-content.active { display: block; }
.legal-content-body {
  max-width: 800px;
  color: var(--text-secondary);
  font-size: 0.9375rem; line-height: 1.9;
}
.legal-content-body h3 {
  font-size: 1.125rem; font-weight: 700;
  color: var(--text-primary);
  margin-top: 32px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.legal-content-body h3:first-child { margin-top: 0; }
.legal-content-body p { margin-bottom: 14px; }
.legal-content-body ul {
  padding-inline-start: 20px; margin-bottom: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.legal-content-body li::marker { color: var(--gold); }
.legal-last-updated {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-pale); border: 1px solid var(--border-gold);
  border-radius: var(--r-full); padding: 5px 14px;
  font-size: 0.75rem; color: var(--text-gold); font-weight: 600;
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .legal-tabs { gap: 4px; }
  .legal-tab-btn { padding: 10px 14px; font-size: 0.82rem; }
  .legal-section { padding-block: 48px; }
}

/* ── Toast ───────────────────────────────────────────────────── */
.toast-stack {
  position: fixed; bottom: 24px; inset-inline-end: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 10px;
}
.toast-item {
  background: var(--surface-3); border: 1px solid var(--border-gold);
  border-radius: var(--r-md); padding: 14px 20px;
  font-size: 0.875rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg); max-width: 340px;
  animation: toast-in 0.3s var(--ease);
  color: var(--text-primary);
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.toast-success { border-color: rgba(34,197,94,0.3); }
.toast-error   { border-color: rgba(239,68,68,0.3); }
