/* ════════════════════════════════════════════════════════════════════════════
   BUNYAN — Theme: Diriyah at Dusk
   Editorial luxury Saudi aesthetic — overrides styles.css for hero + landing
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── Fonts ───────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,500;1,400&display=swap');

/* ─── Refined palette ─────────────────────────────────────────────────────── */
:root {
  /* Earth tones (Najdi mud at dusk) */
  --night:        #0A1614;
  --night-2:      #11201A;
  --night-3:      #16261F;
  --clay:         #2A1F12;
  --clay-light:   #3D2E1A;
  /* Cream paper (editorial body text) */
  --paper:        #F4ECDA;
  --paper-dim:    #E8DEC9;
  --paper-faint:  rgba(244,236,218,0.55);
  /* Gold (single accent — used sparingly) */
  --gold:         #D4AF37;
  --gold-soft:    #B8943A;
  --gold-warm:    #E8C66A;
  /* Green (state indicator only) */
  --emerald:      #0E6E4E;
  --emerald-lit:  #14A373;
  /* Editorial line color */
  --rule:         rgba(212,175,55,0.22);
  --rule-faint:   rgba(244,236,218,0.10);
  /* Easing curves — slow cinema only */
  --ease-cinema:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-mud:     cubic-bezier(0.65, 0, 0.35, 1);
}

/* ─── Body — film-grain dusk gradient ─────────────────────────────────────── */
body {
  background:
    /* Top-right warm dusk highlight */
    radial-gradient(circle at 85% 10%, rgba(212,175,55,0.06) 0%, transparent 50%),
    /* Bottom-left earth shadow */
    radial-gradient(circle at 10% 95%, rgba(42,31,18,0.5) 0%, transparent 60%),
    /* Base vertical fade */
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 60%, var(--night-3) 100%);
  background-attachment: fixed;
  color: var(--paper-dim);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  position: relative;
}
/* 1995 Pentax film-grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: overlay;
  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.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.93 0 0 0 0 0.86 0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ─── Mashrabiya geometric overlay (top-right hero corner) ────────────────── */
.mashrabiya {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: screen;
}

/* ─── Editorial type system ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Reem Kufi', 'IBM Plex Sans Arabic', serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--paper);
}

/* English editorial accent (used for "BUNYAN", section labels, numerals) */
.editorial-en,
.section-num,
.eyebrow {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold);
}

/* Editorial small-caps label */
.label-rule {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.label-rule::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* ════════════════════════════════════════════════════════════════════════════
   NAVBAR — minimal editorial bar
   ════════════════════════════════════════════════════════════════════════════ */
.nav {
  background: linear-gradient(180deg, rgba(10,22,20,0.85) 0%, rgba(10,22,20,0) 100%);
  backdrop-filter: blur(8px);
  border-bottom: none;
  padding: 0.5rem 0;
}
.nav-inner {
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--rule-faint);
  align-items: center;
}
.brand-ar {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
}
.brand-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-top: 1px;
}
.nav-links a {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--paper-dim);
  opacity: 0.7;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.5s var(--ease-cinema);
}
.nav-links a::after {
  content: '';
  position: absolute;
  inset: auto 0 -4px 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-cinema);
}
.nav-links a:hover {
  color: var(--gold);
  opacity: 1;
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ════════════════════════════════════════════════════════════════════════════
   HERO — Diriyah at Dusk
   ════════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 6rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Replace the existing 3D background with an editorial layered scene */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg::before {
  /* Soft dusk glow — top-right "sun about to set" */
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 90vw; height: 90vw;
  background: radial-gradient(circle,
    rgba(212,175,55,0.18) 0%,
    rgba(212,175,55,0.06) 30%,
    transparent 60%);
  filter: blur(60px);
  animation: dusk-breath 16s ease-in-out infinite;
}
@keyframes dusk-breath {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.08); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Top editorial meta row — "ISSUE 01 / VOL.MMXXVI" magazine vibe */
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule-faint);
}
.hero-meta-left,
.hero-meta-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--paper-faint);
}
.hero-meta-right { gap: 2rem; }
.hero-meta strong { color: var(--gold); font-weight: 500; font-style: normal; }

/* The headline — type as monument */
.hero h1 {
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 16rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 3rem 0 1.5rem;
  color: var(--paper);
  position: relative;
}
.hero h1 .word-bunyan {
  display: inline-block;
  background: linear-gradient(135deg,
    #C9A96E 0%, #F0D080 35%, #F8E5A8 50%, #E5C896 65%, #C9A96E 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-leaf 7s linear infinite;
  filter: drop-shadow(0 4px 24px rgba(212,175,55,0.18));
}
@keyframes gold-leaf {
  0%   { background-position: 0%   center; }
  100% { background-position: 200% center; }
}
.hero h1 .punctuation {
  color: var(--gold);
  font-style: italic;
}

/* Sub-headline — editorial italic */
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.4;
  color: var(--paper-dim);
  max-width: 36ch;
  margin: 0 0 2rem;
  letter-spacing: 0.005em;
}
.hero-tagline em {
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
  border-bottom: 1px solid rgba(212,175,55,0.4);
  padding-bottom: 1px;
}

/* Editorial body lead */
.hero-lead {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--paper-faint);
  max-width: 52ch;
  margin: 0 0 3rem;
  letter-spacing: 0.005em;
}

/* Hero CTA row — minimal editorial buttons */
.hero .cta-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Primary CTA — editorial pill */
.hero .btn-primary,
.hero .btn-primary.lg {
  background: var(--paper);
  color: var(--night);
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1.1rem 2.4rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 1px 0 rgba(244,236,218,0.18) inset, 0 18px 40px rgba(0,0,0,0.4);
  transition: all 0.6s var(--ease-cinema);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.hero .btn-primary:hover {
  background: var(--gold-warm);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(244,236,218,0.18) inset, 0 24px 60px rgba(212,175,55,0.4);
}
.hero .btn-primary svg {
  transition: transform 0.6s var(--ease-cinema);
}
.hero .btn-primary:hover svg {
  transform: translateX(-4px);
}

/* Secondary CTA — ghost editorial */
.hero .btn-demo-hero {
  background: transparent;
  color: var(--paper);
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 1.05rem 2.2rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.6s var(--ease-cinema);
  position: relative;
  overflow: hidden;
}
.hero .btn-demo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.0), rgba(212,175,55,0.15));
  opacity: 0;
  transition: opacity 0.6s var(--ease-cinema);
}
.hero .btn-demo-hero:hover {
  border-color: var(--gold);
  color: var(--gold-warm);
  transform: translateY(-2px);
}
.hero .btn-demo-hero:hover::before { opacity: 1; }

/* Stats row — editorial KPI strip */
.hero .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 3rem;
  border-top: 1px solid var(--rule-faint);
  max-width: 900px;
}
.hero .stat {
  position: relative;
  padding: 0 1.5rem;
}
.hero .stat:not(:first-child)::before {
  content: '';
  position: absolute;
  right: 0; top: 10%;
  width: 1px; height: 80%;
  background: var(--rule-faint);
}
.hero .stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.hero .stat span {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.85rem;
  color: var(--paper-faint);
  letter-spacing: 0.04em;
}

/* Replace badge with editorial label-rule */
.hero .badge {
  display: none; /* hidden in favour of .label-rule above headline */
}

/* Old gradient styling on h1 — neutralized so word-bunyan can shine */
.hero h1 .grad {
  background: linear-gradient(135deg,
    #C9A96E 0%, #F0D080 35%, #F8E5A8 50%, #E5C896 65%, #C9A96E 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-leaf 7s linear infinite;
}

/* ════════════════════════════════════════════════════════════════════════════
   STAGGERED REVEAL on hero load
   ════════════════════════════════════════════════════════════════════════════ */
.hero-reveal > * {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal-up 1.4s var(--ease-cinema) forwards;
}
.hero-reveal > *:nth-child(1) { animation-delay: 0.1s; }
.hero-reveal > *:nth-child(2) { animation-delay: 0.25s; }
.hero-reveal > *:nth-child(3) { animation-delay: 0.4s; }
.hero-reveal > *:nth-child(4) { animation-delay: 0.55s; }
.hero-reveal > *:nth-child(5) { animation-delay: 0.7s; }
.hero-reveal > *:nth-child(6) { animation-delay: 0.85s; }
@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════════════════════
   SCROLL HINT — editorial vertical line
   ════════════════════════════════════════════════════════════════════════════ */
.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--paper-faint);
  font-size: 0.85rem;
  z-index: 3;
}
.scroll-hint .mouse { display: none; }
.scroll-hint::before {
  content: '';
  width: 60px; height: 1px;
  background: var(--gold);
  animation: scroll-line 2.5s var(--ease-cinema) infinite;
  transform-origin: left;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleX(0.3); opacity: 0.4; }
  50%      { transform: scaleX(1);   opacity: 1; }
}

/* ════════════════════════════════════════════════════════════════════════════
   SECTION HEADERS — editorial chapter style
   ════════════════════════════════════════════════════════════════════════════ */
.section-head {
  position: relative;
  margin-bottom: 4rem;
  padding-top: 4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: end;
  border-top: 1px solid var(--rule-faint);
}
.section-head::before {
  content: attr(data-num);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: -0.03em;
  align-self: start;
  margin-top: -0.3em;
}
.section-head .eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-head h2 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 0.6rem;
}
.section-head h2 .grad {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}
.section-head p {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--paper-faint);
  max-width: 56ch;
  line-height: 1.75;
}

/* ════════════════════════════════════════════════════════════════════════════
   "HOW IT WORKS" — editorial chapter cards
   ════════════════════════════════════════════════════════════════════════════ */
.how {
  padding: 8rem 0 6rem;
  position: relative;
}
.how::before {
  /* Najdi merlon silhouette as section divider */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24' preserveAspectRatio='none'><path d='M0 24 V12 L8 0 L16 12 V24 H24 V12 L32 0 L40 12 V24 H48 V12 L56 0 L64 12 V24 H72 V12 L80 0 L88 12 V24 H96 V12 L104 0 L112 12 V24 H120 Z' fill='%23D4AF37' fill-opacity='0.16'/></svg>");
  background-size: 120px 24px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-faint);
  border: 1px solid var(--rule-faint);
}
.step-card {
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  padding: 3rem 2rem 2.5rem;
  position: relative;
  transition: all 0.8s var(--ease-cinema);
  cursor: default;
}
.step-card::before {
  /* Subtle mashrabiya hex pattern, very faint */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52' fill='none'><polygon points='30,2 56,15 56,37 30,50 4,37 4,15' stroke='%23D4AF37' stroke-width='0.6' stroke-opacity='0.08'/><polygon points='30,12 46,21 46,33 30,42 14,33 14,21' stroke='%23D4AF37' stroke-width='0.6' stroke-opacity='0.06'/></svg>");
  background-size: 60px 52px;
  opacity: 0.5;
  transition: opacity 0.8s var(--ease-cinema);
}
.step-card:hover {
  background: linear-gradient(180deg, var(--night-3) 0%, var(--night-2) 100%);
}
.step-card:hover::before { opacity: 1; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
  position: relative;
}
.step-num::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
  margin-top: 1rem;
  opacity: 0.5;
}
.step-card h3 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
  position: relative;
}
.step-card p {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--paper-faint);
  font-weight: 300;
  position: relative;
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════════
   GLOBAL: refine eyebrow badges throughout
   ════════════════════════════════════════════════════════════════════════════ */
.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}

/* Marketplace section heads */
.marketplace-section { padding: 8rem 0; position: relative; }
.marketplace-section .section-head { display: block; padding-top: 4rem; }
.marketplace-section .section-head::before { content: none; }

/* Pricing — refined cards */
.pricing { padding: 8rem 0; }
.price-card {
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  border: 1px solid var(--rule-faint);
  padding: 3rem 2.5rem;
  transition: all 0.8s var(--ease-cinema);
  position: relative;
}
.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, var(--night-2) 100%);
}
.price-card h3 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.6rem;
  color: var(--paper);
}
.price-card .price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 4rem;
  color: var(--gold);
  margin: 1rem 0;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ════════════════════════════════════════════════════════════════════════════
   WIZARD OVERLAY — Editorial book-like interior
   ════════════════════════════════════════════════════════════════════════════ */
.wizard-overlay {
  background: rgba(10, 22, 20, 0.96);
  backdrop-filter: blur(24px);
}
.wizard-modal {
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  border: 1px solid var(--rule-faint);
  border-radius: 0;
  position: relative;
}
.wizard-modal::before {
  /* Hairline gold border on top */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Wizard header — editorial chapter header */
.wizard-head {
  border-bottom: 1px solid var(--rule-faint);
  padding: 1.5rem 2.5rem;
  background: linear-gradient(180deg, rgba(212,175,55,0.04) 0%, transparent 100%);
}
.step-counter {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.step-counter span#current-step {
  font-weight: 500;
  font-size: 1.8rem;
}

/* Progress track — gold thread */
.progress-track {
  background: var(--rule-faint);
  height: 1px;
}
.progress-fill {
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-warm));
  box-shadow: 0 0 12px rgba(212,175,55,0.5);
  height: 1px;
  transition: width 0.8s var(--ease-cinema);
}
.progress-labels .pl {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--paper-faint);
  opacity: 0.5;
  transition: all 0.5s var(--ease-cinema);
}
.progress-labels .pl.active {
  color: var(--gold);
  opacity: 1;
  font-weight: 500;
}
.progress-labels .pl.done {
  color: var(--paper-dim);
  opacity: 0.7;
}

/* Wizard body — editorial spacing */
.wizard-body { padding: 3rem 2.5rem 2rem; }

/* Step heads (within wizard) — like chapter openings */
.step-hero, .step-head {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule-faint);
}
.step-hero h2, .step-head h2 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--paper);
}
.step-hero h2 .grad,
.step-head h2 .grad {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
}
.step-hero p, .step-head p {
  font-size: 1rem;
  color: var(--paper-faint);
  line-height: 1.7;
  font-weight: 300;
}

/* Choice cards — editorial selection */
.choice-card {
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  border: 1px solid var(--rule-faint);
  padding: 2.5rem 2rem;
  text-align: right;
  cursor: pointer;
  transition: all 0.6s var(--ease-cinema);
  position: relative;
  border-radius: 0;
}
.choice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.0), rgba(212,175,55,0.08));
  opacity: 0;
  transition: opacity 0.6s var(--ease-cinema);
  pointer-events: none;
}
.choice-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.choice-card:hover::before { opacity: 1; }
.choice-card.selected {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,175,55,0.10) 0%, var(--night-2) 100%);
  box-shadow: 0 12px 40px rgba(212,175,55,0.18);
}
.choice-card h3 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.4rem;
  margin: 1rem 0 0.5rem;
}

/* Wizard footer — refined */
.wizard-foot {
  padding: 1.25rem 2.5rem;
  border-top: 1px solid var(--rule-faint);
  background: linear-gradient(0deg, rgba(212,175,55,0.04) 0%, transparent 100%);
}
.wizard-foot .btn-primary {
  background: var(--paper);
  color: var(--night);
  font-family: 'Reem Kufi', sans-serif;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.85rem 2.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.wizard-foot .btn-primary:hover {
  background: var(--gold-warm);
}
.wizard-foot .btn-ghost {
  font-family: 'Reem Kufi', sans-serif;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
}

/* ════════════════════════════════════════════════════════════════════════════
   AUTH MODAL — editorial intimate
   ════════════════════════════════════════════════════════════════════════════ */
.auth-overlay { background: rgba(10, 22, 20, 0.95); backdrop-filter: blur(20px); }
.auth-modal {
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  border: 1px solid var(--rule);
  border-radius: 0;
  position: relative;
}
.auth-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.auth-modal h3, .auth-modal h2 {
  font-family: 'Reem Kufi', sans-serif;
  color: var(--paper);
}
.auth-tab {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--paper-faint);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease-cinema);
}
.auth-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.auth-submit-btn {
  background: var(--paper) !important;
  color: var(--night) !important;
  border-radius: 999px !important;
  font-family: 'Reem Kufi', sans-serif !important;
  font-weight: 600 !important;
}
.auth-submit-btn:hover {
  background: var(--gold-warm) !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   FOOTER — editorial colophon
   ════════════════════════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--rule);
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, var(--night) 0%, #060D0B 100%);
  margin-top: 6rem;
  position: relative;
}
footer::before {
  /* Najdi merlon at footer top */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 16px;
  transform: scaleY(-1);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24' preserveAspectRatio='none'><path d='M0 24 V12 L8 0 L16 12 V24 H24 V12 L32 0 L40 12 V24 H48 V12 L56 0 L64 12 V24 H72 V12 L80 0 L88 12 V24 H96 V12 L104 0 L112 12 V24 H120 Z' fill='%23D4AF37' fill-opacity='0.12'/></svg>");
  background-size: 120px 24px;
  background-repeat: repeat-x;
}
footer h4 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
footer ul { list-style: none; padding: 0; }
footer li {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.92rem;
  color: var(--paper-faint);
  padding: 0.4rem 0;
  font-weight: 300;
}

/* ════════════════════════════════════════════════════════════════════════════
   VOICE BUTTON — editorial integration
   ════════════════════════════════════════════════════════════════════════════ */
#va-mic-btn {
  background: var(--paper) !important;
  border: 1px solid var(--gold) !important;
  color: var(--night) !important;
  width: 60px !important;
  height: 60px !important;
  font-size: 26px !important;
  box-shadow: 0 12px 32px rgba(212,175,55,0.35), 0 0 0 0 rgba(212,175,55,0.5) !important;
}
#va-mic-btn::after {
  /* Subtle gold ring orbit */
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.3;
  animation: mic-orbit 4s linear infinite;
}
@keyframes mic-orbit {
  0%   { transform: scale(1);   opacity: 0.4; }
  100% { transform: scale(1.3); opacity: 0; }
}
#va-mic-btn.va-listening {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-lit)) !important;
  color: var(--paper) !important;
  border-color: var(--gold-warm) !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   PRICING & MARKETPLACE refinements
   ════════════════════════════════════════════════════════════════════════════ */
.feat-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  padding: 0.35rem 0.8rem;
  border-radius: 0;
}

.company-card {
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  border: 1px solid var(--rule-faint);
  border-radius: 0;
  padding: 1.75rem 1.5rem;
  transition: all 0.6s var(--ease-cinema);
  position: relative;
}
.company-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 24px; height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.6s var(--ease-cinema), width 0.6s var(--ease-cinema);
}
.company-card:hover {
  border-color: var(--rule);
  transform: translateY(-3px);
}
.company-card:hover::before {
  opacity: 1;
  width: 100%;
}
.company-card h4 {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 0.3rem;
}
.company-spec {
  font-size: 0.88rem;
  color: var(--paper-faint);
  font-weight: 300;
  margin: 0.5rem 0;
}
.company-stats span {
  font-size: 0.78rem;
  color: var(--paper-faint);
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE TUNING
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { padding: 6rem 0 4rem; }
  .hero-content { padding: 0 1.5rem; }
  .hero h1 { font-size: clamp(3rem, 18vw, 9rem); }
  .hero .stats { grid-template-columns: repeat(2, 1fr); }
  .hero .stat { padding: 1rem; }
  .hero .stat:nth-child(2)::before,
  .hero .stat:nth-child(4)::before { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .scroll-hint { display: none; }
}
