@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap");
/* ========================================================================
   WebStackRank — Global stylesheet
   ====================================================================== */

:root{
  --bg:            #07060f;
  --bg-alt:        #0c0a1a;
  --bg-elev:       #131127;
  --surface:       rgba(255,255,255,0.025);
  --surface-2:     rgba(255,255,255,0.045);
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.14);
  --text:          #f4f2ff;
  --text-dim:      #a8a3c4;
  --text-muted:    #6f6a8c;
  --primary:       #6d5cff;
  --primary-2:     #9b6bff;
  --accent:        #ff7ab8;
  --warn:          #ffb86b;
  --success:       #4ade80;
  --grad-1: linear-gradient(135deg,#5b4cff 0%, #8b5cf6 45%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(91,76,255,.18), rgba(236,72,153,.18));
  --grad-text: linear-gradient(110deg,#9b8cff 0%, #b78cff 30%, #ff9bc9 70%, #ffb78c 100%);
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-glow: 0 30px 80px -20px rgba(91,76,255,.45);
  --font-display: "Bricolage Grotesque", "Sora", "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Sora", "Inter Tight", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

*{ box-sizing: border-box; }
html{
  /* Mobile Safari measures scroll width from <html>, not <body> — so we need
     this here too. `clip` is preferred over `hidden` because it doesn't create
     a scroll container (which would break position: sticky inside descendants). */
  overflow-x: clip;
}
body{
  margin:0;
  padding:0;  /* override legacy app.css padding-top: var(--wsr-navbar-height) */
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* Fallback for browsers that don't support `clip` (pre-2022 Firefox/Safari). */
  overflow-x: hidden;
}

/* ── ambient page glows ──────────────────────────────────────────── */
.page-glow{
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(91,76,255,.20), transparent 60%),
    radial-gradient(800px 600px at 100% 20%, rgba(236,72,153,.13), transparent 60%),
    radial-gradient(700px 500px at 60% 110%, rgba(91,76,255,.12), transparent 60%);
}
main{ position: relative; z-index: 1; }

/* ── Typography ──────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--text);
  margin: 0;
}
h1{ font-size: clamp(2.6rem, 5.4vw, 5rem); font-weight: 600; letter-spacing: -.035em; }
h2{ font-size: clamp(2rem, 3.6vw, 3.4rem); letter-spacing: -.03em; }
h3{ font-size: clamp(1.4rem, 1.9vw, 1.85rem); }
h4{ font-size: 1.15rem; }
p { color: var(--text-dim); margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover{ color: var(--text); }

.grad-text{
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.muted{ color: var(--text-dim); }
.mono{ font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

.eyebrow{
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-dim);
  padding: .45rem .75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(8px);
}
.eyebrow::before{
  content:""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 12px var(--primary);
}

/* ── Layout helpers ──────────────────────────────────────────────── */
.container{ max-width: 1280px; }
section{ position: relative; padding: clamp(64px, 9vw, 130px) 0; }
.section-head{ max-width: 760px; margin: 0 auto 4rem; text-align: center; }
.section-head .eyebrow{ margin-bottom: 1.25rem; }
.section-head p{ font-size: 1.05rem; margin-top: 1rem; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn{
  --bs-btn-padding-x: 1.4rem;
  --bs-btn-padding-y: .85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: -.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  display: inline-flex; align-items: center; gap: .55rem;
  position: relative; overflow: hidden;
  white-space: nowrap;              /* prevent label wrapping inside the button (fixes "Get Started" breaking onto 2 lines in narrow navbars) */
  line-height: 1.2;
  min-height: 40px;
}
.btn-grad{
  background: var(--grad-1);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(139,92,246,.55), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-grad:hover{
  color:#fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px -8px rgba(139,92,246,.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-grad::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s ease;
}
.btn-grad:hover::after{ transform: translateX(100%); }
.btn-ghost{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.25);
  color: var(--text);
  transform: translateY(-2px);
}
.btn-ghost:hover{ color: var(--text); }
.btn .arrow{ transition: transform .25s ease; display:inline-block; }
.btn:hover .arrow{ transform: translateX(3px); }
.btn-sm{ --bs-btn-padding-x: 1.05rem; --bs-btn-padding-y: .55rem; font-size: .82rem; }
.btn-lg{ --bs-btn-padding-x: 1.85rem; --bs-btn-padding-y: 1.05rem; font-size: 1.02rem; }

/* ── Cards ───────────────────────────────────────────────────────── */
.card-base{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
  height: 100%;
}
.card-base::before{
  content:""; position: absolute; inset: 0;
  background: radial-gradient(400px 240px at var(--mx,50%) var(--my,0%), rgba(139,92,246,.10), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.card-base:hover{
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.card-base:hover::before{ opacity: 1; }
.card-base .ico{
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(91,76,255,.22), rgba(236,72,153,.18));
  border: 1px solid var(--border);
  color: var(--text);
  margin-bottom: 1.1rem;
}
.card-base h3{ font-size: 1.2rem; margin-bottom: .55rem; }
.card-base p{ font-size: .92rem; margin: 0; color: var(--text-dim); }

/* ── Top promo bar + Navbar ──────────────────────────────────────── */
.promo-bar{
  background: linear-gradient(90deg, rgba(91,76,255,.15), rgba(236,72,153,.12));
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  text-align: center;
  padding: .55rem 1rem;
  color: var(--text-dim);
  position: relative; z-index: 30;
}
.promo-bar a{ color: var(--text); border-bottom: 1px solid currentColor; }
.promo-bar .pulse{
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); margin-right: .4rem; vertical-align: middle;
  box-shadow: 0 0 10px var(--success);
  animation: pulse 1.8s infinite;
}
@keyframes pulse{ 0%,100%{opacity:1} 50%{opacity:.4} }

.navbar-wsr{
  position: sticky; top: 0; z-index: 50;
  padding: .85rem 0;
  backdrop-filter: blur(14px);
  background: rgba(7,6,15,.65);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.navbar-wsr.scrolled{
  background: rgba(7,6,15,.85);
  border-bottom-color: var(--border);
}
.navbar-wsr .brand{
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  letter-spacing: -.025em; color: var(--text);
  display: inline-flex; align-items: center; gap: .55rem;
}
.navbar-wsr .brand .rank{
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.navbar-wsr .brand .mark{
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-1);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem; color: #fff; font-weight: 700;
  box-shadow: 0 4px 12px rgba(139,92,246,.4);
}
.nav-link-wsr{
  font-size: .92rem; color: var(--text-dim);
  padding: .45rem .85rem; border-radius: 8px;
  font-weight: 400;
}
.nav-link-wsr:hover, .nav-link-wsr.active{ color: var(--text); background: rgba(255,255,255,.04); }
.nav-link-wsr.active{ background: rgba(255,255,255,.05); }

.lang-pill{
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem;
  border: 1px solid var(--border); border-radius: 999px;
  font-size: .82rem; color: var(--text-dim);
  background: rgba(255,255,255,.02);
}

/* ── Mega menu ───────────────────────────────────────────────────── */
.has-mega{ position: relative; }
/* Invisible bridge to cover the 10px gap between the trigger and the mega panel.
   Without this, the cursor leaves the .has-mega bounding box while transiting and
   fires mouseleave, closing the menu before it can reach the panel.
   Bridge is only active on desktop (where the gap exists); mobile uses inline layout. */
@media (min-width: 992px){
  .has-mega::before{
    content: "";
    position: absolute;
    top: 100%; left: 50%;
    width: min(880px, 92vw); height: 18px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 99;
  }
  .has-mega:hover::before,
  .has-mega.open::before{ pointer-events: auto; }
}
.nav-link-wsr{ display: inline-flex; align-items: center; gap: .3rem; }
.has-mega > .nav-link-wsr{ cursor: pointer; padding-right: .7rem; }
.has-mega > .nav-link-wsr::after{ content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .2s ease; }
.has-mega.open > .nav-link-wsr::after{ transform: rotate(225deg) translateY(0); }
.mega{
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(880px, 92vw);
  background: rgba(12,10,26,.96);
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 100;
}
.has-mega.open .mega{ opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mega a{
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .85rem; border-radius: 12px;
  transition: background .2s ease;
}
.mega a:hover{ background: rgba(255,255,255,.04); color: var(--text); }
.mega a .ico{
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(91,76,255,.22), rgba(236,72,153,.18));
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--text);
}
.mega a .title{ font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--text); display: block; margin-bottom: .1rem; }
.mega a p{ font-size: .78rem; color: var(--text-dim); margin: 0; line-height: 1.4; }
@media (max-width: 991px){
  .mega{ position: static; transform: none; width: 100%; padding: .75rem 0; background: transparent; border: 0; box-shadow: none; opacity: 1; pointer-events: auto; display: none; }
  .has-mega.open .mega{ display: block; transform: none; }
  .mega-grid{ grid-template-columns: 1fr; gap: 0; }
  .mega a{ padding: .65rem .85rem; }
  .has-mega > .nav-link-wsr::after{ margin-left: auto; }
}

/* ── Floating Action Stack (back-to-top + chat + WhatsApp) ───────── */
.fab-stack{
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 250;
  display: flex;
  flex-direction: column-reverse; /* WhatsApp at bottom, chat middle, top button above */
  align-items: flex-end;
  gap: 12px;
  pointer-events: none; /* children re-enable */
}
.fab-stack > *{ pointer-events: auto; }

/* RTL: anchor to bottom-left instead */
html[dir="rtl"] .fab-stack{ right: auto; left: 22px; align-items: flex-start; transform-origin: bottom left; }

/* Generic FAB button */
.fab{
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.55), 0 4px 12px -4px rgba(0,0,0,.4);
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s ease, opacity .2s ease;
  position: relative;
}
.fab:hover{ transform: translateY(-3px) scale(1.04); color: #fff; }
.fab:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }
.fab:active{ transform: translateY(-1px) scale(.98); }

/* Tooltip label on the left of the button (right in RTL) */
.fab::before{
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(12,10,26,.95);
  color: var(--text);
  padding: .45rem .8rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(8px);
}
html[dir="rtl"] .fab::before{ right: auto; left: calc(100% + 12px); transform: translateY(-50%) translateX(-6px); }
.fab:hover::before, .fab:focus-visible::before{ opacity: 1; transform: translateY(-50%) translateX(0); }

/* WhatsApp variant */
.fab--whatsapp{
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.55), 0 4px 12px -4px rgba(18,140,126,.35);
}
.fab--whatsapp::after{
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.45);
  animation: fab-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes fab-pulse{
  0%   { transform: scale(.92); opacity: .75; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Live chat variant */
.fab--chat{
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 50%, var(--accent) 100%);
  box-shadow: 0 12px 28px -8px rgba(139,92,246,.55);
}

/* Back-to-top variant: hidden until scrolled */
.fab--top{
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.fab--top.visible{ opacity: 1; visibility: visible; transform: none; }
.fab--top:hover{ background: rgba(255,255,255,.1); color: var(--text); }

/* Chat popup panel */
.fab-chat-wrap{ position: relative; display: inline-flex; }
.fab-chat-panel{
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 320px;
  max-width: calc(100vw - 44px);
  background: rgba(12,10,26,.96);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,.7);
  backdrop-filter: blur(16px);
  transform-origin: bottom right;
  opacity: 0; transform: translateY(8px) scale(.96); pointer-events: none;
  transition: opacity .25s ease, transform .25s cubic-bezier(.4,0,.2,1);
}
html[dir="rtl"] .fab-chat-panel{ right: auto; left: 0; transform-origin: bottom left; }
.fab-chat-wrap.open .fab-chat-panel{ opacity: 1; transform: none; pointer-events: auto; }

.fab-chat-head{
  padding: 1rem 1.1rem .85rem;
  background: linear-gradient(135deg, rgba(139,92,246,.25), rgba(236,72,153,.18));
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: .85rem;
}
.fab-chat-head .avatar{
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-1);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  flex-shrink: 0;
}
.fab-chat-head .name{ font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--text); }
.fab-chat-head .status{ font-size: .73rem; color: var(--text-dim); display: flex; align-items: center; gap: .35rem; margin-top: .15rem; }
.fab-chat-head .status::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.fab-chat-head .close-x{
  margin-left: auto;
  background: transparent; border: 0; color: var(--text-muted);
  cursor: pointer; font-size: 1.15rem; padding: .15rem .35rem; line-height: 1;
  border-radius: 6px;
}
html[dir="rtl"] .fab-chat-head .close-x{ margin-left: 0; margin-right: auto; }
.fab-chat-head .close-x:hover{ color: var(--text); background: rgba(255,255,255,.05); }

.fab-chat-body{ padding: .85rem 1.1rem 1.1rem; }
.fab-chat-body > p{ font-size: .85rem; color: var(--text-dim); margin: 0 0 .8rem; }
.fab-chat-opt{
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem .85rem;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  margin-bottom: .55rem;
  transition: all .2s ease;
}
.fab-chat-opt:last-child{ margin-bottom: 0; }
.fab-chat-opt:hover{ background: rgba(255,255,255,.06); border-color: var(--border-strong); color: var(--text); transform: translateX(-2px); }
html[dir="rtl"] .fab-chat-opt:hover{ transform: translateX(2px); }
.fab-chat-opt .icon{
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(91,76,255,.22), rgba(236,72,153,.18));
  border: 1px solid var(--border);
  font-size: .95rem;
}
.fab-chat-opt .icon.green{ background: rgba(37,211,102,.18); border-color: rgba(37,211,102,.35); color: #4ade80; }
.fab-chat-opt .icon.blue{ background: rgba(91,76,255,.22); border-color: rgba(91,76,255,.4); color: #9b8cff; }
.fab-chat-opt .icon.pink{ background: rgba(236,72,153,.18); border-color: rgba(236,72,153,.35); color: #ff9bc9; }
.fab-chat-opt .icon.yellow{ background: rgba(255,184,0,.12); border-color: rgba(255,184,0,.35); color: #ffb800; }
.fab-chat-opt .label{ font-family: var(--font-display); font-weight: 500; font-size: .9rem; line-height: 1.2; }
.fab-chat-opt .sub{ font-size: .72rem; color: var(--text-muted); }

/* Stream I — "Start AI Live Chat" trigger (button variant of .fab-chat-opt) */
button.fab-chat-opt{
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
html[dir="rtl"] button.fab-chat-opt{ text-align: right; }
.fab-chat-ai-trigger{
  background: linear-gradient(135deg, rgba(255,184,0,.10), rgba(255,184,0,.04));
  border-color: rgba(255,184,0,.28);
}
.fab-chat-ai-trigger:hover{
  background: linear-gradient(135deg, rgba(255,184,0,.16), rgba(255,184,0,.06));
  border-color: rgba(255,184,0,.5);
}

/* CSS GRID layout for the chatbot panel — more deterministic than nested flex.
   Previous flex chain left dead space top + bottom because:
   (1) my CSS targeted .wsr-chat-fineprint but the actual class is .wsr-chat-finish-row,
   (2) flex 1 1 auto wasn't being honored across 5 nested ancestors.
   Grid with explicit `auto auto 1fr` rows is unambiguous: topbar + header at
   natural height, the active step takes ALL remaining vertical space. */
.fab-chat-panel[data-view="chatbot"]{
  width: 380px;
  max-width: calc(100vw - 32px);
  height: min(620px, calc(100vh - 80px));
  display: grid !important;
  grid-template-rows: 1fr !important;     /* the AI body fills the panel */
  padding: 0 !important;
  overflow: hidden;
}
.fab-chat-panel[data-view="chatbot"] .fab-chat-head{ display: none !important; }
.fab-chat-panel[data-view="chatbot"] #fabChatBodyOptions[hidden]{ display: none !important; }

.fab-chat-body--ai{
  display: grid !important;
  grid-template-rows: 1fr !important;     /* the chatbot panel fills the slot */
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0;
  overflow: hidden;
}

.fab-chat-body--ai .wsr-chat-panel--embedded{
  display: grid !important;
  grid-template-rows: auto auto 1fr !important;  /* topbar / header / active step */
  height: 100% !important;
  width: 100% !important;
  max-height: none !important;
  min-height: 0;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Hidden steps (lead / rate / done while in chat mode) drop out of the grid
   entirely so the active chat step takes the full 1fr row. */
.fab-chat-body--ai .wsr-chat-step[hidden]{ display: none !important; }

/* The visible chat step is itself a grid: messages fills, input + finish row
   pin to the bottom. NOTE: real class is .wsr-chat-finish-row (NOT
   .wsr-chat-fineprint — my earlier rules missed this). */
.fab-chat-body--ai .wsr-chat-step--chat{
  display: grid !important;
  grid-template-rows: 1fr auto auto !important;  /* messages / input / finish */
  min-height: 0 !important;
  overflow: hidden;
}
.fab-chat-body--ai .wsr-chat-step--chat .wsr-chat-messages{
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 12px !important;
}
.fab-chat-body--ai .wsr-chat-finish-row{
  margin: 0 !important;
  padding: 4px 10px 10px !important;
  border-top: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.02);
  text-align: center;
}
/* Other steps (lead / rate / done) also need to fill the 1fr row when visible.
   Stack content from the top with normal block flow. */
.fab-chat-body--ai .wsr-chat-step--lead,
.fab-chat-body--ai .wsr-chat-step--rate,
.fab-chat-body--ai .wsr-chat-step--done{
  overflow-y: auto;
  min-height: 0;
}

/* Stream I — "Back to contact options" button shown inside the chatbot UI */
.fab-chat-back{
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; border: 0;
  color: var(--text-dim, #b8b1d4);
  font: inherit; font-size: .78rem;
  padding: .35rem .5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.fab-chat-back:hover{ color: var(--text, #f3f1ff); background: rgba(255,255,255,.06); }
.fab-chat-back:focus-visible{ outline: 2px solid #ffb800; outline-offset: 2px; }
.fab-chat-back i{ font-size: .95rem; }
html[dir="rtl"] .fab-chat-back i{ transform: scaleX(-1); }

/* Hide the standalone WhatsApp FAB entirely — WhatsApp is now the first
   option inside the unified chat panel (.fab-chat-opt with green icon), so a
   second floating WhatsApp button alongside the chat icon would be a duplicate
   entry point. The chat launcher itself stays as the single CTA. */
.fab-stack .fab--whatsapp{
  display: none !important;
}
/* Also hide back-to-top while the panel is OPEN (still useful for long-page
   scroll otherwise, so we keep it visible when the panel is closed). */
.fab-stack:has(.fab-chat-wrap.open) .fab--top{
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity .18s ease, transform .18s ease;
}

/* Mobile sizing — panel goes near-fullscreen on phones so the chatbot can breathe. */
@media (max-width: 575px){
  .fab-stack{ bottom: 16px; right: 16px; gap: 10px; }
  html[dir="rtl"] .fab-stack{ right: auto; left: 16px; }
  .fab{ width: 50px; height: 50px; font-size: 1.25rem; }
  .fab::before{ display: none; } /* hide tooltips on touch */
  .fab-chat-panel{ width: calc(100vw - 24px); }
  .fab-chat-panel[data-view="chatbot"]{
    width: calc(100vw - 24px);
    height: calc(100vh - 100px);    /* nearly full height on phones */
    max-height: calc(100vh - 100px);
  }
}

/* Hide legacy single WhatsApp button if present (replaced by .fab-stack) */
.wsr-whatsapp-btn{ display: none !important; }

/* Keep Sign in pill + Get Started CTA from wrapping at narrower laptop widths */
.wsr-login-pill,
.wsr-account__btn,
.navbar .btn-grad,
.navbar .btn{
  white-space: nowrap;
}
.wsr-login-pill span,
.wsr-account__btn span{ white-space: nowrap; }

/* Tighten navbar item gaps on laptops between 992-1280px so removing About
   still leaves Pricing/Industries/Portfolio/Reviews + the right-side pills
   to breathe without compressing. */
@media (min-width: 992px) and (max-width: 1280px){
  .navbar .nav-link-wsr{ padding-left: .55rem; padding-right: .55rem; font-size: .92rem; }
  .navbar .lang-pill,
  .navbar .wsr-ccy-pill{ font-size: .78rem; padding: .35rem .55rem; }
  .navbar .wsr-login-pill{ font-size: .82rem; padding: .42rem .7rem; }
  .navbar .btn-grad{ font-size: .82rem; padding: .5rem 1rem; }
}

/* =============================================================================
   Mobile sticky language bar (only ≤lg / under 992px). Desktop uses the
   existing navbar pill (.lang-pill on line ~298 of public.blade.php).
   ============================================================================= */
.mlang-bar{
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(8, 6, 18, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 5px 12px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 36px;
}
.mlang-form{ margin: 0; padding: 0; }
.mlang-toggle{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
}
.mlang-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 0;
  background: transparent;
  color: rgba(230, 232, 245, .7);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .12s ease;
  font-family: var(--font-display, system-ui), sans-serif;
  line-height: 1;
}
.mlang-pill:hover{
  color: #fff;
  background: rgba(255, 255, 255, .05);
}
.mlang-pill:active{ transform: scale(.97); }
.mlang-pill.is-active{
  background: linear-gradient(135deg, rgba(155, 107, 255, .25), rgba(155, 107, 255, .12));
  color: #fff;
  box-shadow: 0 1px 4px rgba(155, 107, 255, .2);
}
.mlang-flag{ font-size: 13px; line-height: 1; }
.mlang-code{ font-weight: 700; }

/* RTL: bar stays on top edge, but the toggle aligns to the start (left in AR) */
html[dir="rtl"] .mlang-bar{ justify-content: flex-start; }

/* Promo bar already sits below the language bar — no offset hack needed
   because the language bar is `position: sticky` (in normal flow). */

/* ── WhatsApp floating widget (legacy — kept for fallback) ───────── */
.wa-fab{
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.wa-btn{
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  color: #fff; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -6px rgba(37,211,102,.55);
  cursor: pointer;
  font-size: 1.6rem;
  position: relative;
  transition: transform .2s ease;
}
.wa-btn:hover{ transform: scale(1.06); color:#fff; }
.wa-btn::after{
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse{ 0%{transform: scale(.9); opacity:.8} 100%{transform: scale(1.4); opacity:0} }
.wa-panel{
  width: 320px; max-width: calc(100vw - 44px);
  background: rgba(12,10,26,.95);
  border: 1px solid var(--border-strong); border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,.6);
  backdrop-filter: blur(14px);
  transform-origin: bottom right;
  opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.wa-fab.open .wa-panel{ opacity: 1; transform: none; pointer-events: auto; }
.wa-head{
  background: linear-gradient(135deg, #25D366, #128C7E);
  padding: 1.2rem 1.2rem 1rem;
  color: #fff;
}
.wa-head .avatar{
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.3); margin-bottom: .55rem;
  font-family: var(--font-display); font-weight: 600;
}
.wa-head .name{ font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.wa-head .status{ font-size: .78rem; opacity: .85; display: flex; align-items: center; gap: .35rem; }
.wa-head .status::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b6ffb6; }
.wa-body{ padding: 1rem 1.2rem 1.2rem; }
.wa-bubble{ background: rgba(255,255,255,.06); border-radius: 12px 12px 12px 4px; padding: .75rem .9rem; font-size: .88rem; color: var(--text); margin-bottom: .85rem; }
.wa-bubble small{ display: block; font-size: .68rem; color: var(--text-muted); margin-top: .35rem; }
.wa-cta{
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  background: #25D366; color: #fff; padding: .75rem 1rem; border-radius: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  width: 100%; border: 0;
  text-decoration: none;
}
.wa-cta:hover{ background: #1ebe5b; color: #fff; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero{
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 9vw, 110px);
  position: relative;
}
.hero h1{ margin-bottom: 1.5rem; }
.hero .lead{ font-size: 1.15rem; color: var(--text-dim); max-width: 540px; margin-bottom: 2.25rem; }
.hero .cta-row{ display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.5rem; }
.hero .meta{ display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; font-size: .85rem; color: var(--text-muted); }
.hero .meta .dot{ width: 5px; height: 5px; background: var(--text-muted); border-radius: 50%; }

.hero-orb{
  position: absolute; right: -10%; top: 8%;
  width: 520px; height: 520px;
  background:
    radial-gradient(circle at 30% 30%, rgba(155,108,255,.45), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(236,122,184,.35), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  animation: floaty 14s ease-in-out infinite;
}
@keyframes floaty{
  0%,100%{ transform: translate(0,0) }
  50%{ transform: translate(-20px, 25px) }
}

.hero-card{
  position: absolute;
  background: rgba(20,18,42,.85);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  font-size: .82rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px -10px rgba(0,0,0,.6);
  display: flex; align-items: center; gap: .85rem;
  animation: floaty 8s ease-in-out infinite;
}
.hero-card .dot-grad{
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-1);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 36px;
}
.hero-card .label{ font-family: var(--font-mono); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); }
.hero-card .val{ font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--text); }

/* ── Stats strip ─────────────────────────────────────────────────── */
.stats-strip{
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.015);
}
.stat .num{
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.04em;
  line-height: 1;
}
.stat .lbl{ font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-top: .55rem; }

/* ── Marquee ─────────────────────────────────────────────────────── */
.marquee{
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{
  display: inline-flex; gap: 2.5rem;
  animation: scroll-x 40s linear infinite;
  white-space: nowrap;
}
.marquee-item{
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.05rem; color: var(--text-dim);
}
.marquee-item .bullet{ color: var(--primary); }
@keyframes scroll-x{ to{ transform: translateX(-50%); } }

/* ── Service pill row (One Agency, Every Digital Service) ────────── */
.service-pills{
  display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem;
  max-width: 880px; margin: 2.5rem auto 0;
}
.service-pills .pill{
  font-family: var(--font-display); font-size: .88rem;
  padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,.02);
  color: var(--text-dim);
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: .45rem;
}
.service-pills .pill:hover{
  border-color: var(--primary);
  color: var(--text);
  background: rgba(91,76,255,.08);
  transform: translateY(-2px);
}
.service-pills .pill::before{
  content:""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary);
}

/* ── Process steps ───────────────────────────────────────────────── */
.process-step{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  background: var(--surface);
  height: 100%;
  position: relative;
  transition: all .3s ease;
}
.process-step:hover{ border-color: var(--border-strong); transform: translateY(-3px); }
.process-step .step-num{
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-1);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: #fff; margin-bottom: 1.1rem;
}
/* Keep process step titles on a single line on tablet+ — fluid font size so
   the longest title ("Design & Prototype") fits the narrowest card width. */
.process-step h3 {
  font-size: clamp(1.05rem, 1.4vw + .35rem, 1.4rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -.015em;
}
@media (max-width: 575.98px) {
  /* On phones the cards stack full-width — let titles wrap naturally for legibility */
  .process-step h3 { white-space: normal; overflow: visible; font-size: 1.25rem; }
}

/* ── Industries grid ─────────────────────────────────────────────── */
.industry-card{
  text-align: center; padding: 1.6rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  transition: all .3s ease;
  height: 100%;
}
.industry-card:hover{ border-color: var(--primary); background: rgba(91,76,255,.06); transform: translateY(-3px); }
.industry-card .ico{
  width: 48px; height: 48px; margin: 0 auto 1rem;
  border-radius: 12px; background: rgba(255,255,255,.04);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.industry-card .name{ font-family: var(--font-display); font-weight: 500; font-size: 1rem; margin-bottom: .35rem; }
.industry-card p{ font-size: .82rem; margin: 0; }

/* ── Location cards ──────────────────────────────────────────────── */
.loc-card{
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; background: var(--surface); height: 100%;
  transition: all .3s ease;
}
.loc-card:hover{ border-color: var(--border-strong); transform: translateY(-3px); }
.loc-card .code{
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: .1em; color: var(--text); display: block; margin-bottom: .35rem;
}
.loc-card .city{ font-size: .85rem; color: var(--primary); margin-bottom: .85rem; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.loc-card p{ font-size: .88rem; margin: 0; }
.loc-card.compact{ padding: 1rem 1.25rem; }
.loc-card.compact .code{ font-size: 1rem; display: inline; margin-right: .85rem; }
.loc-card.compact .city{ display: inline; font-size: .88rem; color: var(--text-dim); text-transform: none; letter-spacing: normal; font-family: var(--font-body); }

/* ── Mid-section CTA card ────────────────────────────────────────── */
.midcta{
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(139,92,246,.18), transparent 60%),
    rgba(255,255,255,.02);
  text-align: center;
  position: relative; overflow: hidden;
}
.midcta::before{
  content:""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.midcta > *{ position: relative; }
.midcta .ico-pop{
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--grad-1);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-glow);
}

/* ── Footer CTA banner (Skipmatrix-inspired) ─────────────────────── */
/* Image+gradient background applies to EVERY .footer-cta sitewide.
   Tinted gradient overlay keeps the dark heading text readable on top
   of the underlying "web design.png" illustration. */
.footer-cta{
  /* Lower gradient alphas so the underlying web design.png illustration shows through clearly */
  background:
    linear-gradient(135deg,
      rgba(112, 92, 255, .55) 0%,
      rgba(196, 92, 235, .45) 45%,
      rgba(244, 110, 175, .42) 75%,
      rgba(255, 184, 107, .35) 100%),
    url('/images/images%202/web%20design.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  padding: clamp(70px, 10vw, 130px) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
}
.footer-cta::before{
  content:""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent 80%);
  z-index: 0;
  pointer-events: none;
}
.footer-cta::after{
  content:""; position: absolute;
  right: -10%; bottom: -50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.footer-cta .inner{ position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.footer-cta,
.footer-cta h1,
.footer-cta h2,
.footer-cta h3,
.footer-cta .h2,
.footer-cta p,
.footer-cta .lead {
  color: #ffffff !important;
}
.footer-cta h2{
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -.035em;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.footer-cta p{
  color: rgba(255,255,255,.94) !important;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.footer-cta .btn-light-grad{
  background: #ffffff; color: #0a0814;
  padding: 1rem 1.8rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  display: inline-flex; align-items: center; gap: .55rem;
  transition: all .25s ease;
  position: relative; z-index: 1;
}
.footer-cta .btn-light-grad:hover{ transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(0,0,0,.4); }
.footer-cta .btn-grad,
.footer-cta .btn-ghost-light,
.footer-cta .btn,
.footer-cta a { position: relative; z-index: 1; }
@media (max-width: 575.98px) {
  .footer-cta { background-position: center, center 30%; }
}

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer{
  background: #f4f3ef;
  color: #1a1726;
  padding: 80px 0 32px;
  position: relative;
  z-index: 2;
}
.site-footer h5{
  font-family: var(--font-display); font-size: .85rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: #6d5cff; margin-bottom: 1.25rem;
}
.site-footer a{ color: #3d3a52; font-size: .92rem; display: inline-block; padding: .25rem 0; }
.site-footer a:hover{ color: #6d5cff; }
.site-footer .brand{ font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: #1a1726; margin-bottom: 1rem; display: inline-block; }
.site-footer .brand .rank{ color: #6d5cff; }
.site-footer .desc{ color: #6a6680; font-size: .92rem; max-width: 280px; }
.site-footer .social{
  display: flex; gap: .55rem; margin-top: 1.25rem;
}
.site-footer .social a{
  width: 36px; height: 36px; border-radius: 10px;
  background: #e9e7e0; display: inline-flex; align-items: center; justify-content: center;
  color: #1a1726; padding: 0;
}
.site-footer .social a:hover{ background: #6d5cff; color: #fff; }
.site-footer .nl-input{
  display: flex; gap: .35rem; align-items: center;
  background: #e6e4dd; border-radius: 999px; padding: .35rem; max-width: 320px;
}
.site-footer .nl-input input{
  flex: 1; background: transparent; border: 0; outline: 0;
  padding: .55rem .85rem; color: #1a1726; font-size: .9rem;
}
.site-footer .nl-input input::placeholder{ color: #8a8698; }
.site-footer .nl-input button{
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-1); color: #fff;
  border: 0; display: inline-flex; align-items: center; justify-content: center;
}
.site-footer .legal{
  border-top: 1px solid #d9d6cc; padding-top: 1.5rem; margin-top: 3rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: #6a6680;
}
.site-footer .legal a{ font-size: .85rem; color: #3d3a52; margin-left: 1rem; padding: 0; }

/* ── Pricing table ───────────────────────────────────────────────── */
.compare-table{ width: 100%; color: var(--text); border-collapse: collapse; }
.compare-table thead th{
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted); padding: 1.25rem 1.4rem; border: 0; background: rgba(255,255,255,.025);
  font-weight: 500;
}
.compare-table thead th.plan{ font-family: var(--font-display); font-size: .95rem; color: var(--text); letter-spacing: -.01em; text-transform: none; font-weight: 600; }
.compare-table thead th.plan.featured{ background: rgba(139,92,246,.12); color: #fff; }
.compare-table tbody td{
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: .92rem;
  vertical-align: middle;
}
.compare-table tbody td.feat{ color: #fff; font-weight: 500; }
.compare-table tbody td.center{ text-align: center; color: var(--text-dim); }
.compare-table tbody td.featured{ background: rgba(139,92,246,.06); color: #fff; text-align: center; }
.compare-table .check{ color: var(--success); font-size: 1.15rem; }
.compare-table .dash{ color: var(--text-muted); }

/* ── Pricing ─────────────────────────────────────────────────────── */
.pricing-toggle{
  display: inline-flex; padding: .35rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
}
.pricing-toggle button{
  border: 0; background: transparent; color: var(--text-dim);
  padding: .55rem 1.25rem; border-radius: 999px; font-family: var(--font-display);
  font-size: .9rem; font-weight: 500;
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: .5rem;
}
.pricing-toggle button.active{ background: var(--grad-1); color: #fff; box-shadow: 0 4px 14px rgba(139,92,246,.4); }
.pricing-toggle .badge-save{ font-size: .65rem; padding: .15rem .4rem; border-radius: 999px; background: rgba(255,255,255,.18); }

.plan-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  position: relative;
  display: flex; flex-direction: column;
  transition: all .35s ease;
}
.plan-card:hover{ border-color: var(--border-strong); transform: translateY(-3px); }
.plan-card.featured{
  background:
    radial-gradient(500px 320px at 50% -10%, rgba(139,92,246,.20), transparent 60%),
    rgba(255,255,255,.04);
  border-color: rgba(139,92,246,.4);
  box-shadow: 0 24px 60px -20px rgba(139,92,246,.45);
}
.plan-card .plan-tag{
  display: inline-block; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: .8rem;
}
.plan-card .plan-tag.featured{
  background: var(--grad-1); color: #fff;
  padding: .25rem .65rem; border-radius: 999px;
  position: absolute; top: -12px; right: 1.5rem;
}
.plan-card h3{ font-size: 1.4rem; margin-bottom: .4rem; }
.plan-card .price{
  display: flex; align-items: baseline; gap: .35rem;
  margin: 1.25rem 0;
}
.plan-card .price .amt{
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 4vw, 3.4rem); letter-spacing: -.04em;
  line-height: 1;
}
.plan-card .price .cur{ font-family: var(--font-display); font-size: 1.1rem; color: var(--text-dim); }
.plan-card .price .per{ font-size: .85rem; color: var(--text-muted); margin-left: .2rem; }
.plan-card ul{ list-style: none; padding: 0; margin: 1.5rem 0 2rem; flex: 1; }
.plan-card ul li{
  position: relative; padding: .45rem 0 .45rem 1.75rem;
  font-size: .92rem; color: var(--text-dim);
  border-top: 1px dashed rgba(255,255,255,.06);
}
.plan-card ul li:first-child{ border-top: 0; }
.plan-card ul li::before{
  content:""; position: absolute; left: 0; top: .85rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(91,76,255,.18);
  border: 1px solid rgba(139,92,246,.4);
}
.plan-card ul li::after{
  content:""; position: absolute; left: 5px; top: 1.05rem;
  width: 5px; height: 9px;
  border-right: 2px solid var(--primary-2);
  border-bottom: 2px solid var(--primary-2);
  transform: rotate(45deg);
}

/* ── Forms ───────────────────────────────────────────────────────── */
.form-wsr label{
  font-size: .82rem; color: var(--text-dim);
  font-family: var(--font-display); font-weight: 500;
  margin-bottom: .4rem; display: block;
}
.form-wsr .form-control,
.form-wsr .form-select{
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-size: .95rem;
  transition: all .25s ease;
}
.form-wsr .form-control::placeholder{ color: var(--text-muted); }
.form-wsr .form-control:focus,
.form-wsr .form-select:focus{
  background: rgba(255,255,255,.04);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91,76,255,.15);
  color: var(--text);
}
.form-wsr textarea.form-control{ min-height: 130px; resize: vertical; }
.form-wsr .form-select{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a8a3c4'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right .9rem center !important;
  background-size: 14px 14px !important;
  padding-right: 2.2rem !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.form-wsr .form-select option{ background: #14122a; color: var(--text); }

/* Global safety net: ensure all native <select> dropdowns have dark, readable options
   (prevents browser-default white panels with faded text on dark theme) */
select option { background-color: #14101f; color: #e9e6ff; }
select option:checked, select option:hover { background-color: #1f1a30; color: #fff; }

/* Contact panel cards */
.contact-info{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  transition: all .25s ease;
}
.contact-info:hover{ border-color: var(--border-strong); transform: translateY(-2px); }
.contact-info .ico{
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 12px; background: rgba(91,76,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary-2);
}
.contact-info .label{ font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: .2rem; }
.contact-info .val{ font-family: var(--font-display); font-weight: 500; color: var(--text); font-size: .98rem; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-item{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: .85rem;
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq-item.open{ border-color: var(--border-strong); }
.faq-item .q{
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem;
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer;
}
.faq-item .q .chev{
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .3s ease;
  color: var(--text-dim);
  flex: 0 0 28px;
}
.faq-item.open .q .chev{ background: var(--grad-1); border-color: transparent; color: #fff; transform: rotate(45deg); }
.faq-item .a{
  max-height: 0; overflow: hidden;
  padding: 0 1.4rem;
  transition: max-height .4s ease, padding .3s ease;
  color: var(--text-dim);
  font-size: .92rem;
}
.faq-item.open .a{ padding: 0 1.4rem 1.4rem; max-height: 400px; }

/* ── Reveal animation ────────────────────────────────────────────── */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in{ opacity: 1; transform: none; }
.reveal-delay-1{ transition-delay: .1s; }
.reveal-delay-2{ transition-delay: .2s; }
.reveal-delay-3{ transition-delay: .3s; }
.reveal-delay-4{ transition-delay: .4s; }
.reveal-delay-5{ transition-delay: .5s; }

/* ── Tech chips marquee row ──────────────────────────────────────── */
.tech-row{ display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; max-width: 980px; margin: 0 auto; }
.tech-chip{
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .65rem 1.1rem;
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(255,255,255,.02);
  font-size: .9rem; color: var(--text);
  transition: all .25s ease;
}
.tech-chip:hover{ border-color: var(--primary); background: rgba(91,76,255,.08); transform: translateY(-2px); }
.tech-chip .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px currentColor; }
.tech-chip.c1 .dot{ color: #61dafb; background: #61dafb; }
.tech-chip.c2 .dot{ color: #4FC08D; background: #4FC08D; }
.tech-chip.c3 .dot{ color: #FF2D20; background: #FF2D20; }
.tech-chip.c4 .dot{ color: #f7df1e; background: #f7df1e; }
.tech-chip.c5 .dot{ color: #5b4cff; background: #5b4cff; }
.tech-chip.c6 .dot{ color: #ec4899; background: #ec4899; }

/* ── Why Choose / two-col list block ─────────────────────────────── */
.feat-row{
  display: flex; gap: 1.1rem;
  padding: 1.1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  align-items: flex-start;
  transition: all .25s ease;
}
.feat-row:hover{ border-color: var(--border-strong); transform: translateY(-2px); }
.feat-row .ico{
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(91,76,255,.22), rgba(236,72,153,.18));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  border: 1px solid var(--border);
}
.feat-row h4{ font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: .35rem; }
.feat-row p{ font-size: .88rem; margin: 0; }

/* ── Insight (blog) card ─────────────────────────────────────────── */
.insight-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  transition: all .3s ease;
}
.insight-card:hover{ border-color: var(--border-strong); transform: translateY(-4px); }
.insight-card .cover{
  aspect-ratio: 16/9;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 10px, rgba(255,255,255,.06) 10px, rgba(255,255,255,.06) 11px),
    var(--grad-soft);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.insight-card .cover .ico{
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(7,6,15,.7); backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
}
.insight-card .body{ padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.insight-card .meta{ font-family: var(--font-mono); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .55rem; }
.insight-card h3{ font-size: 1.05rem; line-height: 1.3; margin-bottom: .75rem; }
.insight-card p{ font-size: .88rem; margin: 0 0 1rem; flex: 1; }
.insight-card .more{ font-size: .85rem; color: var(--primary-2); font-family: var(--font-display); font-weight: 500; display: inline-flex; align-items: center; gap: .35rem; }

/* ── Page hero (interior pages) ──────────────────────────────────── */
.page-hero{
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;          /* contain the .hero-orb that sits at right:-30% */
  isolation: isolate;
}
.page-hero .crumbs{ font-size: .82rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.page-hero .crumbs a{ color: var(--primary-2); }
.page-hero h1{ font-size: clamp(2.4rem, 4.8vw, 4.4rem); margin-bottom: 1rem; }
.page-hero .lead{ font-size: 1.1rem; color: var(--text-dim); max-width: 640px; }

/* ── Blog-specific page-hero ────────────────────────────────────────
   Article headlines shouldn't billboard like service-page heroes — tighter
   H1, leaner lead, less top padding so the reading column starts higher.
   Applied only when the hero carries .page-hero--blog (set in
   resources/views/public/blog/show.blade.php). */
.page-hero--blog{ padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(24px, 3vw, 42px); }
.page-hero--blog h1{ font-size: clamp(1.55rem, 2.9vw, 2.4rem); line-height: 1.2; letter-spacing: -.018em; margin-bottom: .85rem; max-width: 820px; }
.page-hero--blog .lead{ font-size: .98rem; line-height: 1.65; max-width: 680px; }
.page-hero--blog .crumbs{ font-size: .74rem; margin-bottom: .85rem; }
.page-hero--blog .eyebrow{ font-size: .72rem; }
.page-hero--blog .byline .avatar{ width: 38px !important; height: 38px !important; font-size: .85rem; }
.page-hero--blog .byline .name{ font-size: .95rem; }
.page-hero--blog .byline .role{ font-size: .78rem; }

/* ── 3D Capability showcase ──────────────────────────────────────── */
.caps-section{ position: relative; overflow: hidden; }
.caps-section::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(600px 400px at 15% 30%, rgba(139,92,246,.10), transparent 60%),
    radial-gradient(600px 400px at 85% 70%, rgba(236,72,153,.08), transparent 60%);
}
.caps-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.cap-card{
  position: relative;
  padding: 1.5rem 1.65rem 1.75rem;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;                       /* center everything below the icon */
  display: flex; flex-direction: column; align-items: center;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
}
.cap-card::before{
  content:""; position:absolute; inset:-1px; border-radius: inherit; padding:1px;
  background: linear-gradient(135deg, transparent 40%, rgba(139,92,246,.3) 60%, rgba(236,72,153,.3) 80%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s; pointer-events:none;
}
.cap-card:hover{ transform: translateY(-6px); border-color: rgba(139,92,246,.45); box-shadow: 0 20px 50px -18px rgba(91,76,255,.35); }
.cap-card:hover::before{ opacity: 1; }
.cap-card .viz{
  position: relative;
  width: 100%;
  height: 130px;                           /* fixed, tight — no more wasted square space */
  margin-bottom: .85rem;
  display:flex; align-items:center; justify-content:center;
}
.cap-card .viz::after{
  content:""; position:absolute; left:50%; bottom:5%; transform:translateX(-50%);
  width: 55%; height: 22%;
  background: radial-gradient(ellipse at center, rgba(139,92,246,.5), transparent 70%);
  filter: blur(18px);
  z-index: 0;
}
.cap-card .viz img{
  position: relative; z-index: 1;
  max-height: 110px; width: auto; max-width: 100%;
  filter: drop-shadow(0 14px 28px rgba(139,92,246,.32));
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  animation: capFloat 6s ease-in-out infinite;
}
.cap-card:nth-child(2n) .viz img{ animation-delay: -2s; }
.cap-card:nth-child(3n) .viz img{ animation-delay: -4s; }
.cap-card:hover .viz img{ transform: scale(1.06) rotate(-2deg); }
@keyframes capFloat{
  0%, 100%{ transform: translateY(0) rotate(0); }
  50%{ transform: translateY(-10px) rotate(1deg); }
}
.cap-card .tag{
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-dim); margin-bottom: .65rem;
}
.cap-card .tag::before{
  content:""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 8px var(--primary);
}
.cap-card h3{ font-size: 1.25rem; margin: 0 0 .55rem; }
.cap-card p{ font-size: .92rem; color: var(--text-dim); margin: 0; line-height: 1.55; }

/* Inline 3D accents inside existing sections */
.viz-inline{
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1 / 1; max-width: 480px; margin: 0 auto;
}
.viz-inline::after{
  content:""; position:absolute; left:50%; bottom:5%; transform: translateX(-50%);
  width: 70%; height: 20%;
  background: radial-gradient(ellipse, rgba(139,92,246,.5), transparent 70%);
  filter: blur(30px); z-index: 0;
}
.viz-inline img{
  position: relative; z-index: 1;
  max-width: 92%; max-height: 92%;
  filter: drop-shadow(0 30px 60px rgba(139,92,246,.35));
  animation: capFloat 7s ease-in-out infinite;
}

/* ── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 991px){
  .caps-grid{ grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cap-card{ padding: 1.5rem 1.25rem 1.25rem; }
  .hero-orb{ width: 360px; height: 360px; right: -25%; opacity: .7; }
  .hero-card{ display: none; }
  .navbar-wsr .lang-pill{ display: none; }
}
@media (max-width: 767px){
  section{ padding: 60px 0; }
  .caps-grid{ grid-template-columns: 1fr; }
  .section-head{ margin-bottom: 2.5rem; }
  .hero{ padding: 60px 0 40px; }
  .hero .cta-row .btn{ width: 100%; justify-content: center; }
  .site-footer .legal{ flex-direction: column; align-items: flex-start; }
  .site-footer .legal a{ margin: 0 1rem 0 0; }
  .footer-cta{ padding: 60px 0; }
  .plan-card{ padding: 1.5rem; }
}

/* ── Selection ───────────────────────────────────────────────────── */
::selection{ background: rgba(139,92,246,.4); color: #fff; }

/* ── Scrollbar ───────────────────────────────────────────────────── */
::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.08); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover{ background: rgba(255,255,255,.16); }


/* ============================================================
   BLOG PAGE
   ============================================================ */

/* Topic filter chips */
.topic-row{ display:flex; flex-wrap:wrap; gap:.55rem; }
.topic{
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim);
  padding: .55rem .95rem;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 99px;
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex; align-items: center; gap: .5rem;
}
.topic span{
  font-size: .65rem;
  background: rgba(255,255,255,.05);
  padding: .15rem .45rem; border-radius: 99px;
  color: var(--text-muted);
}
.topic:hover{ color: var(--text); border-color: var(--border-strong); background: rgba(255,255,255,.05); }
.topic.active{
  color: white;
  background: var(--grad-1);
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(109,92,255,.35);
}
.topic.active span{ background: rgba(0,0,0,.25); color: rgba(255,255,255,.85); }

/* Cover image system — gradient placeholders + noise overlay */
.post-cover{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  isolation: isolate;
}
.post-cover-tall{ aspect-ratio: 16 / 11; }
.post-cover:not(.post-cover-tall){ aspect-ratio: 16 / 10; }

.cover-img{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .9s cubic-bezier(.2,.6,.2,1);
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 1rem;
}
.img-tag{
  font-size: .58rem; letter-spacing: .18em;
  color: rgba(255,255,255,.55);
  background: rgba(0,0,0,.32);
  padding: .25rem .55rem; border-radius: 4px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.08);
}
.cover-noise{
  position: absolute; inset:0;
  background-image:
    radial-gradient(ellipse at top right, rgba(255,122,184,.25), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(91,76,255,.32), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.cover-img-1{ background: linear-gradient(135deg,#1a0d3e 0%, #4c1d95 38%, #c026d3 70%, #fb7185 100%); }
.cover-img-2{ background: linear-gradient(135deg,#0c1840 0%, #1e3a8a 50%, #6d5cff 100%); }
.cover-img-3{ background: linear-gradient(160deg,#2b0f3d 0%, #831843 60%, #f97316 100%); }
.cover-img-4{ background: linear-gradient(135deg,#0a2540 0%, #047857 60%, #10b981 100%); }
.cover-img-5{ background: linear-gradient(135deg,#1a0033 0%, #4c1d95 50%, #8b5cf6 100%); }
.cover-img-6{ background: linear-gradient(135deg,#0c0a1a 0%, #312e81 50%, #ec4899 100%); }
.cover-img-7{ background: linear-gradient(160deg,#1f0a3d 0%, #7c2d12 50%, #fbbf24 100%); }
.cover-img-8{ background: linear-gradient(135deg,#062e3a 0%, #155e75 55%, #22d3ee 100%); }
.cover-img-9{ background: linear-gradient(160deg,#1e1b4b 0%, #6d28d9 50%, #f472b6 100%); }
.cover-img-10{ background: linear-gradient(135deg,#0b1426 0%, #1e40af 55%, #a855f7 100%); }
.cover-img-11{ background: linear-gradient(160deg,#2e1065 0%, #be185d 60%, #fb923c 100%); }
.cover-img-12{ background: linear-gradient(135deg,#0a0a23 0%, #312e81 40%, #14b8a6 100%); }

.post-tag-top{
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  padding: .35rem .7rem;
  border-radius: 99px;
  z-index: 2;
}

/* Post cards */
.post-feature, .post-side, .post-card{
  display: block;
  color: inherit; text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s ease, border-color .3s ease, box-shadow .35s ease;
  height: 100%;
}
.post-feature:hover, .post-side:hover, .post-card:hover{
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -20px rgba(91,76,255,.35);
}
.post-feature:hover .cover-img,
.post-side:hover .cover-img,
.post-card:hover .cover-img{ transform: scale(1.06); }

.post-body{ padding: 1.6rem 1.6rem 1.7rem; }
.post-feature .post-body{ padding: 1.9rem 2rem 2rem; }

.post-meta{
  display: inline-flex; flex-wrap:wrap; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .9rem;
}
.post-meta .cat{
  color: var(--primary-2);
  background: rgba(139,92,246,.1);
  padding: .25rem .55rem; border-radius: 4px;
  border: 1px solid rgba(139,92,246,.25);
}
.post-feature h2{
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 500; line-height: 1.18;
  color: var(--text);
  margin: 0 0 .9rem;
  letter-spacing: -.01em;
}
.post-side h3, .post-card h3{
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 500; line-height: 1.28;
  color: var(--text); margin: 0 0 1rem;
  letter-spacing: -.005em;
}
.post-feature p{
  color: var(--text-dim); font-size: .98rem;
  margin: 0 0 1.4rem; max-width: 56ch;
}

.byline{
  display: flex; align-items: center; gap: .8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.byline .avatar, .byline-tight .avatar{
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-1);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; font-size: .82rem;
  color: white;
}
.byline .name{ color: var(--text); font-size: .9rem; font-weight: 500; }
.byline .role{ color: var(--text-muted); font-size: .72rem; font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.byline-tight{
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted);
}
.cta-mini{
  margin-left: auto;
  color: var(--primary-2); font-size: .82rem;
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-display); font-weight: 500;
  text-transform: none; letter-spacing: 0;
  transition: gap .25s ease;
}
.post-feature:hover .cta-mini,
.post-side:hover .cta-mini,
.post-card:hover .cta-mini{ gap: .6rem; }

/* Newsletter strip */
.newsletter-strip{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2rem, 4vw, 3.6rem);
  border: 1px solid rgba(255,255,255,.1);
}
.ns-bg{
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(236,72,153,.55), transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(91,76,255,.7), transparent 60%),
    linear-gradient(135deg,#3b1e75 0%, #1e1b4b 50%, #831843 100%);
  z-index: -2;
}
.ns-grid{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
  z-index: -1;
}
.ns-content{
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem;
  align-items: center;
}
.ns-content h3{
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500; color: white; letter-spacing: -.015em;
  margin: .4rem 0 .8rem;
}
.ns-content p{ color: rgba(255,255,255,.75); margin: 0; max-width: 48ch; }
.ns-form{
  display: flex; gap: .6rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px;
  padding: .4rem;
  backdrop-filter: blur(10px);
}
.ns-form input{
  flex: 1;
  background: transparent; border: 0; outline: 0;
  color: white; padding: .7rem 1rem;
  font-family: var(--font-body); font-size: .95rem;
}
.ns-form input::placeholder{ color: rgba(255,255,255,.55); }
.ns-form button{
  border: 0; background: white; color: #1e1b4b;
  padding: .7rem 1.4rem; border-radius: 99px;
  font-family: var(--font-display); font-weight: 500;
  display: inline-flex; align-items: center; gap: .45rem;
  cursor: pointer;
  transition: transform .25s ease;
}
.ns-form button:hover{ transform: translateX(2px); }
@media (max-width: 768px){ .ns-content{ grid-template-columns: 1fr; gap: 1.5rem; } }

/* Author cards */
.author-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: all .35s ease;
  height: 100%;
}
.author-card:hover{
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -22px rgba(139,92,246,.35);
}
.avatar-lg{
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--grad-1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.4rem;
  color: white;
  margin: 0 auto 1.2rem;
  position: relative;
}
.avatar-lg::before{
  content:""; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
}
.author-card h4{
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 500; color: var(--text); margin: 0 0 .25rem;
}
.author-card .role{
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary-2); margin-bottom: 1rem;
}
.author-card p{
  color: var(--text-dim); font-size: .88rem;
  margin: 0 0 1.4rem;
}
.author-card .count{
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 1rem; border-top: 1px solid var(--border);
}


/* ============================================================
   HERO FX — animated code · design · rank · rocket
   ============================================================ */
.hero{ position: relative; isolation: isolate; overflow: hidden; }
.hero-fx{
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero > .container{ position: relative; z-index: 2; }

/* Grid */
.fx-grid{
  position: absolute; inset: -10% -10%;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 75%);
  animation: fxGridDrift 30s linear infinite;
}
@keyframes fxGridDrift {
  from{ transform: translate(0,0); }
  to{ transform: translate(-64px,-64px); }
}

/* Stars */
.fx-stars{ position:absolute; inset:0; }
.fx-stars span{
  position:absolute; width: 2px; height: 2px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 6px white, 0 0 12px rgba(155,107,255,.6);
  animation: twinkle 3s ease-in-out infinite;
}
.fx-stars span:nth-child(1){ top: 8%; left: 4%;  animation-delay: 0s; }
.fx-stars span:nth-child(2){ top: 18%; left: 88%; animation-delay: .4s; }
.fx-stars span:nth-child(3){ top: 30%; left: 12%; animation-delay: .9s; }
.fx-stars span:nth-child(4){ top: 65%; left: 92%; animation-delay: 1.3s; }
.fx-stars span:nth-child(5){ top: 78%; left: 8%;  animation-delay: 1.7s; }
.fx-stars span:nth-child(6){ top: 14%; left: 55%; animation-delay: 2.0s; }
.fx-stars span:nth-child(7){ top: 88%; left: 35%; animation-delay: 2.4s; }
.fx-stars span:nth-child(8){ top: 50%; left: 96%; animation-delay: .2s; }
.fx-stars span:nth-child(9){ top: 92%; left: 62%; animation-delay: .7s; }
.fx-stars span:nth-child(10){ top: 38%; left: 48%; animation-delay: 1.1s; }
@keyframes twinkle{ 0%,100%{ opacity: .25; transform: scale(.8); } 50%{ opacity: 1; transform: scale(1.3); } }

/* Floating code chips */
.fx-chip.fx-code{
  position: absolute;
  background: rgba(12,10,26,.72);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 1.6rem .85rem .65rem;
  font-family: var(--font-mono);
  font-size: .68rem; line-height: 1.55;
  color: var(--text-dim);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -24px rgba(91,76,255,.45);
  white-space: nowrap;
  animation: fxFloat 8s ease-in-out infinite;
}
.fx-code .dot{ position:absolute; top: 10px; width: 7px; height: 7px; border-radius: 50%; }
.fx-code .dot.d1{ left: 12px; background: #ff5f56; }
.fx-code .dot.d2{ left: 26px; background: #ffbd2e; }
.fx-code .dot.d3{ left: 40px; background: #27c93f; }
.fx-code pre{ margin: 0; color: var(--text-dim); }
.fx-code .kw{ color: #ec4899; }
.fx-code .vr{ color: #60a5fa; }
.fx-code .fn{ color: #fbbf24; }
.fx-code .st{ color: #4ade80; }
.fx-c1{ top: 14%; left: 4%; animation-delay: 0s; }
.fx-c2{ top: 68%; left: 6%; animation-delay: 2.6s; }
.fx-c3{ top: 8%; right: 30%; animation-delay: 1.2s; }

/* Design tokens */
.fx-token{
  position: absolute;
  background: rgba(12,10,26,.72);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: .75rem .85rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -24px rgba(236,72,153,.35);
  font-family: var(--font-mono); font-size: .68rem;
  color: var(--text-dim);
  animation: fxFloat 9s ease-in-out infinite;
}
.fx-token .swatch{ display:inline-block; width:14px; height:14px; border-radius: 4px; margin-right: 3px; vertical-align: middle; }
.fx-token .swatch.s1{ background: #6d5cff; }
.fx-token .swatch.s2{ background: #8b5cf6; }
.fx-token .swatch.s3{ background: #ec4899; }
.fx-token .swatch.s4{ background: #fb923c; }
.fx-token .lbl{ display:block; margin-top: .4rem; letter-spacing: .14em; text-transform: uppercase; font-size: .58rem; color: var(--text-muted); }
.fx-token .font-spec .big{ font-family: var(--font-display); font-size: 1.5rem; color: var(--text); font-weight: 500; line-height: 1; }
.fx-token .font-spec .small{ font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .3rem; color: var(--text-muted); }
.fx-token .ruler{ display:flex; gap: 4px; align-items:flex-end; height: 18px; }
.fx-token .ruler span{ width: 4px; background: linear-gradient(180deg, var(--primary), var(--accent)); border-radius: 2px; }
.fx-token .ruler span:nth-child(1){ height: 8px; }
.fx-token .ruler span:nth-child(2){ height: 12px; }
.fx-token .ruler span:nth-child(3){ height: 16px; }
.fx-token .ruler span:nth-child(4){ height: 10px; }
.fx-token .ruler span:nth-child(5){ height: 14px; }
.fx-t1{ top: 28%; right: 36%; animation-delay: 1s; }
.fx-t2{ top: 80%; right: 42%; animation-delay: 2.2s; }
.fx-t3{ top: 50%; left: 22%; animation-delay: 3s; }

/* Rank chips */
.fx-rank{
  position: absolute;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(12,10,26,.72);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  padding: .5rem .9rem;
  font-family: var(--font-mono); font-size: .7rem;
  color: var(--text);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -24px rgba(74,222,128,.3);
  animation: fxFloat 10s ease-in-out infinite;
}
.fx-rank i{ color: #4ade80; }
.fx-rank em{ font-style: normal; color: #4ade80; margin-left: .25rem; font-size: .65rem; }
.fx-r1{ top: 22%; left: 32%; animation-delay: .5s; }
.fx-r2{ top: 60%; right: 24%; animation-delay: 1.8s; }
.fx-r3{ top: 36%; right: 4%; animation-delay: 2.8s; }

@keyframes fxFloat{
  0%,100%{ transform: translateY(0) rotate(-1deg); }
  50%{ transform: translateY(-14px) rotate(1deg); }
}

/* Rocket — scroll-tracked */
.fx-rocket{
  position: absolute;
  bottom: 6%; left: 50%;
  transform: translate3d(-50%, 0, 0) rotate(-12deg);
  will-change: transform;
  filter: drop-shadow(0 12px 24px rgba(139,92,246,.6));
  transition: transform .15s linear;
}
.rk-fire{ transform-origin: 30px 78px; animation: fxFire .15s steps(2) infinite; }
@keyframes fxFire{ from{ transform: scaleY(1) scaleX(1); opacity:.9; } to{ transform: scaleY(1.18) scaleX(.88); opacity: 1; } }

@media (max-width: 991px){
  .fx-c2, .fx-c3, .fx-t2, .fx-t3, .fx-r2, .fx-r3, .fx-rocket{ display: none; }
  .fx-c1{ top: 76%; left: 4%; }
  .fx-t1{ display: none; }
  .fx-r1{ top: 8%; right: 4%; left: auto; }
}

/* ============================================================
   ROCKET BOOST SECTION — service · speed · quality
   ============================================================ */
.boost-section{
  position: relative;
  padding: 110px 0 130px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139,92,246,.22), transparent 55%),
    var(--bg);
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.boost-section::before{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  z-index: -1;
}
.boost-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.boost-card{
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.6,.2,1), border-color .3s ease;
}
.boost-card:hover{ transform: translateY(-6px); border-color: var(--border-strong); }
.boost-card .rk-wrap{
  position: relative;
  width: 110px; height: 200px;
  margin: 0 auto 1.5rem;
}
.boost-card .rk{
  position: absolute; bottom: 38px; left: 50%;
  transform: translateX(-50%);
  animation: rkHover 3.4s ease-in-out infinite;
  filter: drop-shadow(0 18px 26px rgba(139,92,246,.5));
}
.boost-card:nth-child(2) .rk{ animation-delay: .4s; }
.boost-card:nth-child(3) .rk{ animation-delay: .8s; }
@keyframes rkHover{
  0%,100%{ transform: translateX(-50%) translateY(0); }
  50%{ transform: translateX(-50%) translateY(-10px); }
}
.boost-card .smoke{
  position: absolute; left: 50%; bottom: 0;
  width: 70px; height: 36px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center bottom, rgba(139,92,246,.4), transparent 70%);
  border-radius: 50%;
  filter: blur(6px);
  animation: smokePulse 2.2s ease-in-out infinite;
}
@keyframes smokePulse{ 0%,100%{ opacity:.4; transform: translateX(-50%) scale(.85); } 50%{ opacity:.8; transform: translateX(-50%) scale(1.1); } }
.boost-card h3{
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 500;
  color: var(--text);
  margin: 0 0 .55rem; letter-spacing: -.01em;
}
.boost-card .metric{
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary-2); margin-bottom: 1rem;
}
.boost-card p{ color: var(--text-dim); font-size: .95rem; margin: 0; }
.boost-card .bg-glow{
  position: absolute; left: 50%; top: -20%;
  width: 280px; height: 280px;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: .35;
}
.boost-card:nth-child(1) .bg-glow{ background: #6d5cff; }
.boost-card:nth-child(2) .bg-glow{ background: #ec4899; }
.boost-card:nth-child(3) .bg-glow{ background: #fbbf24; }

@media (max-width: 991px){
  .boost-grid{ grid-template-columns: 1fr; gap: 1.5rem; }
  .boost-section{ padding: 80px 0 90px; }
}


/* ============================================================
   RTL / Arabic mode
   ============================================================ */
html[dir="rtl"] body { font-family: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif; }
html[dir="rtl"] .text-end { text-align: left !important; }
html[dir="rtl"] .text-start { text-align: right !important; }
html[dir="rtl"] .ms-auto { margin-left: 0 !important; margin-right: auto !important; }
html[dir="rtl"] .me-auto { margin-right: 0 !important; margin-left: auto !important; }
html[dir="rtl"] .ms-1, html[dir="rtl"] .ms-2, html[dir="rtl"] .ms-3 { margin-left: 0 !important; }
html[dir="rtl"] .ms-1 { margin-right: .25rem !important; }
html[dir="rtl"] .ms-2 { margin-right: .5rem !important; }
html[dir="rtl"] .ms-3 { margin-right: 1rem !important; }
html[dir="rtl"] .me-1, html[dir="rtl"] .me-2, html[dir="rtl"] .me-3 { margin-right: 0 !important; }
html[dir="rtl"] .me-1 { margin-left: .25rem !important; }
html[dir="rtl"] .me-2 { margin-left: .5rem !important; }
html[dir="rtl"] .me-3 { margin-left: 1rem !important; }
html[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
html[dir="rtl"] .navbar-nav { padding-right: 0; }
html[dir="rtl"] .footer-grid, html[dir="rtl"] .grid { direction: rtl; }
html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] select { text-align: right; }
html[dir="rtl"] .bi { display: inline-block; }


/* ============================================================
   Typing rotator + table dark mode + nav toggler hardening
   ============================================================ */
.type-rotator{
  display: inline-block;
  position: relative;
  min-width: 4ch;
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f59e0b 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  border-right: 3px solid #ec4899;
  padding-right: 4px;
  animation: caretBlink 1s steps(1) infinite;
  white-space: nowrap;
}
@keyframes caretBlink { 50% { border-right-color: transparent; } }
.type-rotator.swapping{ animation: typeWipe .35s ease forwards, caretBlink 1s steps(1) infinite; }
@keyframes typeWipe { 0%{ opacity:1; transform: translateY(0); } 50%{ opacity:0; transform: translateY(-6px); } 100%{ opacity:1; transform: translateY(0); } }

/* Bricolage / Sora rendering polish */
h1{ font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
h2{ font-weight: 700; letter-spacing: -.025em; }
.btn{ font-weight: 600; }
.brand{ font-weight: 700 !important; }

/* Pricing comparison table — force dark surface */
.compare-wrap{ border:1px solid var(--border); border-radius: var(--radius-lg); overflow:hidden; background: var(--surface); }
.compare-wrap table{ width:100%; color: var(--text-dim); margin: 0; border-collapse: collapse; background: transparent; }
.compare-wrap thead th{
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.compare-wrap thead th:first-child{
  text-align: left;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.compare-wrap thead th.featured{ background: rgba(139,92,246,.15); color: #fff; }
.compare-wrap tbody td{
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: .92rem;
  text-align: center;
  background: transparent;
}
.compare-wrap tbody td:first-child{
  text-align: left;
  color: var(--text);
  font-weight: 500;
  padding-left: 1.4rem;
}
.compare-wrap tbody td.featured{ background: rgba(139,92,246,.06); }
.compare-wrap tbody tr:last-child td{ border-bottom: 0; }
.compare-wrap tbody tr:hover td{ background: rgba(255,255,255,.02); }
.compare-wrap tbody tr:hover td.featured{ background: rgba(139,92,246,.1); }

/* Mobile navbar toggler — make sure it's clickable and visible */
@media (max-width: 991.98px){
  .navbar-wsr .navbar-toggler{
    display: inline-flex !important;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border) !important;
    border-radius: 10px;
    color: var(--text) !important;
    padding: 0;
    z-index: 10;
    position: relative;
  }
  .navbar-wsr .navbar-toggler:focus{ box-shadow: 0 0 0 2px rgba(139,92,246,.35); outline: none; }
  .navbar-wsr .navbar-toggler i{ font-size: 1.5rem; line-height: 1; }
  .navbar-wsr .navbar-collapse{
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(15,12,30,.95);
    border: 1px solid var(--border);
    border-radius: 14px;
    backdrop-filter: blur(20px);
  }
  .navbar-wsr .navbar-nav{ flex-direction: column; gap: .25rem !important; margin-bottom: 1rem; }
  .navbar-wsr .nav-link-wsr{ padding: .75rem 1rem !important; border-radius: 8px; }
  .navbar-wsr .nav-link-wsr:hover, .navbar-wsr .nav-link-wsr.active{ background: rgba(139,92,246,.1); }
}


/* Modern footer */
.site-footer-modern{
  background: linear-gradient(180deg, #0a0814 0%, #100a24 60%, #060410 100%);
  color: var(--text-dim); padding: 0 0 1.5rem;
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(139,92,246,.15);
}
.site-footer-modern a{ color: rgba(255,255,255,.55); text-decoration: none; transition: all .2s ease; }
.site-footer-modern a:hover{ color: #fff; }
.sf-glow{ position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(139,92,246,.22), transparent 60%);
  pointer-events: none; filter: blur(40px); }
.sf-grid-bg{ position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  pointer-events: none; }
.sf-cta{ margin-top: 3rem; position: relative; z-index: 2;
  background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(236,72,153,.12));
  border: 1px solid rgba(139,92,246,.3); border-radius: 28px;
  padding: 2.5rem 3rem; backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -30px rgba(139,92,246,.4); }
.sf-cta-inner{ display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.sf-eyebrow{ font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--primary-2); margin-bottom: .75rem; }
.sf-cta-title{ font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: #fff; letter-spacing: -.025em; line-height: 1.1; margin: 0; }
.sf-cta-actions{ display: flex; gap: 1rem; flex-wrap: wrap; }
.sf-cta-actions .btn{ padding: 1rem 1.8rem !important; font-size: .95rem; }
.sf-cta-actions .btn-grad{ padding-right: 1.5rem !important; }
.sf-cta-actions .arrow{ margin-left: .5rem; display: inline-block; }
.btn-ghost-light{ background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); color: #fff !important; padding: .85rem 1.4rem; border-radius: 99px; font-weight: 600; transition: all .25s ease; }
.btn-ghost-light:hover{ background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.sf-main{ display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 2.5rem; padding: 5rem 0 2.5rem; position: relative; z-index: 2; }
/* Second footer row — Newsletter (left) + Trust badges (right).
   Trust col is wider than newsletter so all three 120px-icon badges
   fit on a single line. */
.sf-secondary{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: 2.5rem;
  padding: 0 0 3rem;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 1rem;
  padding-top: 2.5rem;
  position: relative;
  z-index: 2;
}
.sf-col h5{ font-family: var(--font-display); font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; }
.sf-col a{ display: block; padding: .35rem 0; font-size: .92rem; }
.sf-col a:hover{ transform: translateX(3px); }
.sf-col-brand .sf-brand{ font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff !important; letter-spacing: -.03em; margin-bottom: 1rem; display: inline-block; }
.sf-col-brand .sf-brand .rank{ background: linear-gradient(135deg, #8b5cf6, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sf-desc{ font-size: .92rem; color: rgba(255,255,255,.55); max-width: 360px; line-height: 1.6; margin-bottom: 1.5rem; }
.sf-social{ display: flex; gap: .55rem; margin-bottom: 1.5rem; }
.sf-social a{ width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7) !important; transition: all .25s ease; }
.sf-social a:hover{ background: linear-gradient(135deg, #8b5cf6, #ec4899); border-color: transparent; color: #fff !important; transform: translateY(-2px); }
.sf-meta{ display: flex; flex-direction: column; gap: .55rem; }
.sf-meta span{ font-size: .85rem; color: rgba(255,255,255,.55); display: inline-flex; align-items: center; gap: .55rem; }
.sf-meta i{ color: var(--primary-2); }
.sf-col-newsletter .sf-nl-desc{ font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.55; margin-bottom: 1rem; }
.sf-nl-form{ display: flex; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 4px; transition: border-color .25s ease; margin-bottom: 1rem; }
.sf-nl-form:focus-within{ border-color: rgba(139,92,246,.5); }
.sf-nl-form input{ flex: 1; background: transparent; border: 0; outline: 0; padding: .6rem .8rem; color: #fff; font-size: .9rem; font-family: var(--font-body); }
.sf-nl-form input::placeholder{ color: rgba(255,255,255,.4); }
.sf-nl-form button{ width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, #8b5cf6, #ec4899); border: 0; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.05rem; transition: transform .2s ease; }
.sf-nl-form button:hover{ transform: translateX(2px); }
.sf-trust{ display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; color: rgba(255,255,255,.45); }
.sf-trust i{ color: var(--success); }
/* Trust + payment badges live in their own .sf-col-trust column. The 3
   badges sit on a single horizontal row; the column is wide enough to
   fit them per the .sf-secondary grid (1fr/1fr). Icons enlarged ~90% per
   user request (was 24px → now 46px). */
.sf-trust-badges{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: .6rem;
  margin-top: 0;
}
/* No pill, no outline, no background — just icon + label inline. */
.sf-trust-badge{
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .01em;
  cursor: default;
  transition: color .15s ease, transform .15s ease;
}
.sf-trust-badge:hover{
  color: #ffffff;
  transform: translateY(-1px);
}
.sf-trust-badge i{
  font-size: .92rem;
  background: linear-gradient(135deg, #5b4cff 0%, #8b5cf6 45%, #ec4899 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Solid fallback for browsers that don't support text-fill-color on icon fonts */
  color: #b78cff;
}
.sf-trust-badge img{
  width: 120px;
  height: 120px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.sf-wordmark{ font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 14vw, 14rem); line-height: .9; letter-spacing: -.05em; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(139,92,246,.05) 50%, transparent 100%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; margin: 0 0 2rem; position: relative; }
.sf-wordmark span{ background: linear-gradient(180deg, rgba(236,72,153,.25) 0%, rgba(139,92,246,.1) 60%, transparent 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sf-legal{ display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: rgba(255,255,255,.45); position: relative; z-index: 2; }
.sf-links{ display: inline-flex; gap: 1.5rem; }
.sf-status{ display: inline-flex; align-items: center; gap: .5rem; }
.sf-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(74,222,128,.2); animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(74,222,128,.2); } 50% { box-shadow: 0 0 0 8px rgba(74,222,128,.05); } }
@media (max-width: 991px){
  .sf-main{ grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding: 4rem 0 2rem; }
  .sf-col-brand{ grid-column: 1 / -1; }
  .sf-secondary{ grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 1.5rem; }
  .sf-col-newsletter{ grid-column: 1 / -1; }
  .sf-col-trust{ grid-column: 1 / -1; }
  .sf-trust-badges{ flex-direction: row; }
  .sf-cta{ padding: 1.8rem; }
}
@media (max-width: 640px){
  .sf-main{ grid-template-columns: 1fr 1fr; }
  .sf-cta-inner{ flex-direction: column; align-items: flex-start; }
  .sf-cta-actions{ width: 100%; }
  .sf-cta-actions .btn{ flex: 1; justify-content: center; }
  .sf-legal{ flex-direction: column; align-items: flex-start; }
}

/* RTL footer */
html[dir="rtl"] .sf-col a:hover{ transform: translateX(-3px); }
html[dir="rtl"] .sf-main, html[dir="rtl"] .sf-cta-inner, html[dir="rtl"] .sf-legal{ direction: rtl; }
html[dir="rtl"] .sf-nl-form button .bi-arrow-right::before{ content:"\f12f"; }
html[dir="rtl"] .sf-wordmark{ direction: ltr; }
html[dir="rtl"] .sf-cta-actions .arrow{ transform: scaleX(-1); }

/* ============================================================
   LEGACY COMPATIBILITY — port old `wsr-*` classes used in
   the 21 EN + 7 AR SEO landing pages so they inherit the new
   design system without rewriting each Blade file.
   ============================================================ */

/* Container width — old container-xl had its own padding */
.container-xl{ max-width: 1280px; padding-left: 1.5rem; padding-right: 1.5rem; }

/* Section wrappers */
.wsr-section{
  padding: clamp(64px, 9vw, 130px) 0;
  position: relative;
  background: transparent;
}
.wsr-section-dark{ background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.wsr-section-darker{ background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Card — match .card-base look */
.wsr-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  color: var(--text);
}
.wsr-card::before{ display:none !important; }
.wsr-card:hover{
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-4px);
}
.wsr-card h3, .wsr-card h2{ color: var(--text); }
.wsr-card p{ color: var(--text-dim); }

/* Muted utility classes */
.wsr-muted, .text-muted-wsr{ color: var(--text-dim) !important; }

/* Badge / tag pills */
.wsr-badge{
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim);
  padding: .45rem .85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
}
.wsr-badge-outline{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim);
  padding: .35rem .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
}
.wsr-tag{
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .9rem;
  transition: all .25s ease;
}
.wsr-tag:hover{ border-color: var(--border-strong); background: var(--surface-2); }
.wsr-tag i{ color: var(--primary-2) !important; }
.badge-wsr, .badge-wsr-yellow{
  display: inline-block;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-2);
  padding: .25rem .6rem; border: 1px solid var(--border); border-radius: 999px;
  background: rgba(139,92,246,.08);
}

/* Yellow accent — map to new primary-2 (purple) */
.wsr-card .bi[style*="wsr-yellow"],
.wsr-card i[style*="wsr-yellow"]{ color: var(--primary-2) !important; }

/* Legacy CSS vars used inline by SEO pages — alias to new tokens */
:root{
  --wsr-yellow:        #9b6bff;
  --wsr-text:          #f4f2ff;
  --wsr-muted:         #a8a3c4;
  --wsr-text-muted:    #a8a3c4;
  --wsr-text-faint:    #6f6a8c;
  --wsr-border:        rgba(255,255,255,0.07);
  --wsr-card-bg:       rgba(255,255,255,0.025);
  --wsr-elevated:      rgba(255,255,255,0.045);
  --wsr-bg:            #07060f;
  --wsr-bg-alt:        #0c0a1a;
  --wsr-radius-md:     16px;
  --wsr-radius-lg:     24px;
  --wsr-radius-sm:     10px;
  --wsr-gradient:      linear-gradient(135deg,#5b4cff 0%, #8b5cf6 45%, #ec4899 100%);
  --wsr-space-6:       1.65rem;
  --wsr-duration:      .25s;
  --wsr-duration-slow: .35s;
  --wsr-ease:          cubic-bezier(.4,0,.2,1);
}

/* gradient-text utility used inline */
.gradient-text{
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* fw-* weight utilities */
.fw-700{ font-weight: 700; }
.fw-800{ font-weight: 800; }

/* Section labels used on legacy pages */
.section-label{
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-dim);
  padding: .45rem .75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
}
.section-label::before{
  content:""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 12px var(--primary);
}

/* Legacy hero variants — make them feel like .page-hero */
.wsr-page-hero{ position: relative; padding: clamp(80px, 10vw, 150px) 0 clamp(50px, 6vw, 80px); }
.wsr-hero-grid, .wsr-hero-glow{ display: none; }
.wsr-page-hero-title{ font-size: clamp(2.4rem, 4.8vw, 4.4rem); margin-bottom: 1rem; color: var(--text); }
.wsr-page-hero-subtitle{ font-size: 1.1rem; color: var(--text-dim); max-width: 720px; }
.wsr-hero-stats{ margin-top: 2.5rem; }
.wsr-hero-stat-value{ font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; display: block; }
.wsr-hero-stat-label{ font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); letter-spacing: .14em; text-transform: uppercase; }
.wsr-hero-stat-divider{ width: 1px; height: 34px; background: var(--border); }
.wsr-divider-glow{ height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* Section heading title used by <x-section-heading> already mapped, but ensure legacy markup keeps working */
.wsr-section-title{ max-width: 760px; margin: 0 auto 4rem; text-align: center; }
.wsr-section-title .subtitle{
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-dim);
  padding: .45rem .75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  margin-bottom: 1.25rem;
}
.wsr-section-title .subtitle::before{
  content:""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 12px var(--primary);
}
.wsr-section-title h2{ font-size: clamp(2rem, 3.6vw, 3.4rem); color: var(--text); margin: 0; letter-spacing: -.03em; }
.wsr-section-title .description{ font-size: 1.05rem; color: var(--text-dim); margin: 1rem auto 0; max-width: 640px; }

/* Buttons used by legacy pages */
.btn-wsr-primary{
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--grad-1);
  color: #fff;
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px -6px rgba(139,92,246,.55), inset 0 1px 0 rgba(255,255,255,.18);
  text-decoration: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.btn-wsr-primary:hover{ color:#fff; transform: translateY(-2px); box-shadow: 0 14px 38px -8px rgba(139,92,246,.7); }
.btn-wsr-outline, .btn-wsr-ghost, .btn-wsr-white{
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  text-decoration: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.btn-wsr-outline:hover, .btn-wsr-ghost:hover, .btn-wsr-white:hover{ color: var(--text); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.25); transform: translateY(-2px); }
.btn-wsr-cta{
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; color: var(--bg);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 0; text-decoration: none;
}
.btn-wsr-cta:hover{ transform: translateY(-2px); color: var(--bg); box-shadow: 0 14px 38px -8px rgba(0,0,0,.4); }

/* Legacy CTA band */
.wsr-cta-band{
  padding: clamp(60px, 8vw, 120px) 0;
  background: linear-gradient(135deg, #fbbf24 0%, #fb923c 35%, #ec4899 70%, #8b5cf6 100%);
  position: relative; overflow: hidden;
  color: #0a0814;
}
.wsr-cta-band-title{ font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.6rem); color: #0a0814; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 0 0 1rem; }
.wsr-cta-band-subtitle{ color: rgba(10,8,20,.75); font-size: 1.05rem; margin-bottom: 2rem; }

/* Legacy form classes used by submission/calculator */
.wsr-form-label{ display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: .55rem; }
.wsr-form-control, .wsr-form-select{
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px;
  padding: .85rem 1rem;
  font-family: var(--font-body); font-size: .95rem;
  width: 100%;
  transition: all .25s ease;
}
.wsr-form-control:focus, .wsr-form-select:focus{
  outline: none; border-color: var(--primary-2);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(139,92,246,.18);
}
.wsr-form-control::placeholder{ color: var(--text-muted); }
.wsr-form-group{ margin-bottom: 1rem; }

/* Legacy alerts */
.wsr-alert{
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .9rem 1rem; border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.wsr-alert-icon{ font-size: 1.1rem; color: var(--primary-2); }
.wsr-alert-success{ border-color: rgba(74,222,128,.4); background: rgba(74,222,128,.08); }
.wsr-alert-error{ border-color: rgba(239,68,68,.4); background: rgba(239,68,68,.08); }
.wsr-alert-warning{ border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.08); }
.wsr-alert-info{ border-color: rgba(91,76,255,.4); background: rgba(91,76,255,.08); }

/* Legacy page-h1 heading */
.page-h1{ font-size: clamp(2.4rem, 4.8vw, 4.4rem); color: var(--text); }

/* Trust strip / hero-stat */
.wsr-trust-strip{ padding: 32px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background: var(--bg-alt); }
.wsr-trust-strip-inner{ display:flex; flex-wrap:wrap; gap: 1rem; justify-content:center; }
.wsr-trust-item{
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: .85rem;
}
.wsr-trust-icon{ color: var(--primary-2); }

/* Animate-on-scroll (legacy classname) — default to VISIBLE so SEO crawlers,
   no-JS users, and slow connections always see content. JS may still add .visible/.in
   redundantly; that keeps the end-state explicit and matches old app.js expectations. */
.animate-on-scroll,
.animate-on-scroll.visible,
.animate-on-scroll.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal.in{ opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Faded process number (legacy) */
.wsr-process-card{ position: relative; padding: 1.65rem; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; }
.wsr-process-number{ position:absolute; top: 1rem; right: 1rem; font-family: var(--font-display); font-size: 3rem; font-weight:800; color: rgba(255,255,255,.06); }
.wsr-process-icon{ width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items:center; justify-content:center; background:linear-gradient(135deg,rgba(91,76,255,.22),rgba(236,72,153,.18)); border:1px solid var(--border); color: var(--text); }
.wsr-process-title{ font-size: 1.1rem; margin-bottom: .5rem; color: var(--text); }
.wsr-process-desc{ color: var(--text-dim); font-size: .92rem; }

/* Legacy result-card */
.wsr-result-card{ padding: 1.65rem; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); transition: all .35s ease; height: 100%; }
.wsr-result-card:hover{ transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.wsr-result-metric{ font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin-bottom: .4rem; }
.wsr-result-label{ font-size: 1.05rem; margin-bottom: .85rem; color: var(--text); }
.wsr-result-description{ color: var(--text-dim); font-size: .95rem; line-height: 1.7; }
.wsr-result-note{ font-family: var(--font-mono); font-size: .7rem; color: var(--text-muted); margin-top: 1rem; }

/* Legacy industry card */
.wsr-industry-card{
  display: flex; gap: .85rem; align-items: center;
  padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text); text-decoration: none;
  transition: all .25s ease;
}
.wsr-industry-card:hover{ border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); color: var(--text); }
.wsr-industry-card-icon{ width:44px; height:44px; border-radius: 12px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(135deg,rgba(91,76,255,.22),rgba(236,72,153,.18)); border:1px solid var(--border); }
.wsr-industry-card-title{ font-size: 1rem; color: var(--text); }
.wsr-industry-card-desc{ font-size: .85rem; color: var(--text-dim); margin-top: .15rem; }

/* Legacy service card */
.wsr-service-card{ padding: 1.65rem; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); transition: all .35s ease; height: 100%; }
.wsr-service-card:hover{ transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.wsr-service-card-icon{ width:44px; height:44px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(135deg,rgba(91,76,255,.22),rgba(236,72,153,.18)); border:1px solid var(--border); color: var(--text); margin-bottom: 1.1rem; }
.wsr-service-card-icon i{ font-size: 1.25rem; }
.wsr-service-card-title{ font-size: 1.2rem; margin-bottom: .55rem; color: var(--text); }
.wsr-service-card-desc{ font-size: .92rem; color: var(--text-dim); margin-bottom: 1rem; }

/* Legacy FAQ classes (in case any inline use) */
.wsr-faq-item{
  background: var(--surface); border:1px solid var(--border);
  border-radius: 14px; margin-bottom: .75rem; overflow: hidden;
  transition: all .25s ease;
}
.wsr-faq-item.open{ border-color: var(--border-strong); }
.wsr-faq-question{
  width: 100%; background: transparent; border: 0;
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  color: var(--text); text-align: left; cursor: pointer;
}
.wsr-faq-icon{
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--text-dim); flex-shrink: 0; transition: all .25s ease;
}
.wsr-faq-icon .close-icon{ display: none; }
.wsr-faq-item.open .wsr-faq-icon{ background: var(--grad-1); border-color: transparent; color: #fff; }
.wsr-faq-item.open .wsr-faq-icon .open-icon{ display: none; }
.wsr-faq-item.open .wsr-faq-icon .close-icon{ display: inline-block; }
.wsr-faq-answer{ padding: 0 1.4rem; max-height: 0; overflow: hidden; transition: padding .25s ease, max-height .35s ease; color: var(--text-dim); font-size: .95rem; line-height: 1.7; }
.wsr-faq-item.open .wsr-faq-answer{ padding: 0 1.4rem 1.4rem; max-height: 400px; }
.wsr-faq-answer p{ margin: 0; color: var(--text-dim); }

/* Legacy delay utility — mirrors reveal-delay-* */
.delay-1{ transition-delay: .08s; }
.delay-2{ transition-delay: .16s; }
.delay-3{ transition-delay: .24s; }
.delay-4{ transition-delay: .32s; }
.delay-5{ transition-delay: .4s; }

/* Suppress legacy section heading subtitle horizontal lines if present */
.wsr-section-title .subtitle::after{ display: none; }

/* ============================================================
   Bootstrap 5 paginator on the public site
   ============================================================ */
.pagination .page-link{
    background: rgba(255,255,255,0.04);
    color: #e0e2f0;
    border-color: rgba(255,255,255,0.10);
    transition: background 150ms ease, color 150ms ease;
}
.pagination .page-link:hover{
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    border-color: rgba(255,255,255,0.20);
}
.pagination .page-item.active .page-link{
    background: linear-gradient(135deg, #4f5cff 0%, #6f3cff 100%);
    border-color: transparent;
    color: #ffffff;
}
.pagination .page-item.disabled .page-link{
    background: rgba(255,255,255,0.02);
    color: #6e7090;
    border-color: rgba(255,255,255,0.06);
}
/* "Showing N to M of X results" emitted by bootstrap-5 paginator */
nav[aria-label="Pagination Navigation"] p,
nav[aria-label="Pagination Navigation"] .small,
nav[aria-label="Pagination Navigation"] .text-muted{
    color: #b8bcd6 !important;
    opacity: 1 !important;
}

/* =============================================================================
   Blog show — typography (.blog-prose), hero, share bar
   ============================================================================= */
.blog-hero-figure{
    margin: 0 0 2rem;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0e0a1c;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.05);
}
.blog-hero-figure picture,
.blog-hero-figure img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article body — sane reading sizes. Display font on headings, system on body. */
.blog-prose{
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
    font-size: 1.0625rem;
    line-height: 1.72;
    color: var(--text, #e6e8f5);
    letter-spacing: -0.005em;
}
.blog-prose > * + *{ margin-top: 1.15em; }
.blog-prose h1, .blog-prose h2, .blog-prose h3,
.blog-prose h4, .blog-prose h5, .blog-prose h6{
    font-family: var(--font-display, "Bricolage Grotesque"), system-ui, sans-serif;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.018em;
    font-weight: 700;
    margin-top: 2.2em;
    margin-bottom: 0.7em;
}
/* User-requested heading sizes: H1=18, H2=25, H3=15 (user revised H2
   from 16 → 25 after seeing it too cramped). */
.blog-prose h1{ font-size: 18px; line-height: 1.3; }
.blog-prose h2{ font-size: 25px; line-height: 1.3; }
.blog-prose h3{ font-size: 15px; line-height: 1.4; }
.blog-prose h4{ font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .05em; color: #cdd0ec; }
.blog-prose h5{ font-size: 0.95rem; text-transform: uppercase; letter-spacing: .07em; color: #b8bcd6; }
.blog-prose h6{ font-size: 0.875rem; text-transform: uppercase; letter-spacing: .1em; color: #b8bcd6; }
.blog-prose h2 + p, .blog-prose h3 + p, .blog-prose h4 + p{ margin-top: .6em; }
.blog-prose p{ margin: 0; color: var(--text, #e6e8f5); }
/* Inline links use the theme gradient text. Solid colour fallback for the
   text underline + non-supporting browsers. */
.blog-prose a{
    background: var(--grad-text);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #b78cff;                          /* fallback for browsers without -webkit-text-fill-color */
    text-decoration: underline;
    text-decoration-color: rgba(155, 107, 255, .55);
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: text-decoration-color .15s, filter .15s;
    font-weight: 600;
}
.blog-prose a:hover{
    filter: brightness(1.18);
    text-decoration-color: #ec4899;
}
.blog-prose strong, .blog-prose b{ color: #ffffff; font-weight: 700; }
.blog-prose em, .blog-prose i{ color: #f0f0ff; }
.blog-prose ul, .blog-prose ol{ padding-left: 1.3rem; margin: 0; }
.blog-prose ul li, .blog-prose ol li{ margin-bottom: .55em; line-height: 1.65; }
.blog-prose ul{ list-style: none; }
.blog-prose ul li{ position: relative; padding-left: 1.2rem; }
.blog-prose ul li::before{ content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary-2, #9b6bff); }
.blog-prose ol{ list-style: decimal; }
.blog-prose ol li::marker{ color: var(--primary-2, #9b6bff); font-weight: 700; }
.blog-prose blockquote{
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--primary-2, #9b6bff);
    background: rgba(155,107,255,.05);
    border-radius: 0 12px 12px 0;
    color: #d6d8ec;
    font-style: italic;
}
.blog-prose blockquote p{ margin: 0; }
.blog-prose code{
    font-family: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, monospace;
    font-size: .9em;
    padding: .15em .4em;
    background: rgba(255,255,255,.07);
    border-radius: 5px;
    color: #ffd166;
}
.blog-prose pre{
    background: #0c0a1a;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: .9rem;
    line-height: 1.6;
}
.blog-prose pre code{ background: transparent; padding: 0; color: #e6e8f5; }
.blog-prose hr{ border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); margin: 2.5rem 0; }
.blog-prose img{ max-width: 100%; height: auto; border-radius: 12px; margin: 1.5rem 0; }
/* Tables — clean, professional. Auto-scrolls on narrow screens via wrapper. */
.blog-prose table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.75rem 0;
    font-size: .95rem;
    line-height: 1.55;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.blog-prose thead{ background: linear-gradient(135deg, rgba(155,107,255,.10), rgba(155,107,255,.04)); }
/* Force identical padding + vertical-align on th and td so columns line up
   exactly. Earlier .85rem (th) vs .8rem (td) plus the implicit th
   vertical-align:bottom was causing the header text to sit higher and the
   first column header to appear shifted left of the body rows below it. */
.blog-prose th,
.blog-prose td{
    padding: .85rem 1rem;
    vertical-align: top;
    text-align: start;       /* RTL-aware (start instead of left) */
    box-sizing: border-box;
}
.blog-prose th{
    color: #ffffff;
    font-weight: 700;
    border-bottom: 2px solid rgba(155,107,255,.3);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.4;
}
.blog-prose td{
    color: var(--text, #e6e8f5);
    border-bottom: 1px solid rgba(255,255,255,.06);
    line-height: 1.55;
}
/* Comparison tables (like the dimension/portal/agency one) often have an
   empty first-cell in the header row + row-headers in the first column —
   force the table to lay columns out evenly so the row-header column
   doesn't push the first data column off-alignment. */
.blog-prose table{ table-layout: auto; }

/* Quill comparison tables that lost their proper headers come through as
   one row with a single <td> followed by data rows with N cells. The
   blog-show <script> sets colspan + this class on the affected row so it
   reads as an intentional banner header instead of squished into column 1. */
.blog-prose .wsr-table-merged-header td{
    background: linear-gradient(135deg, rgba(155,107,255,.18), rgba(155,107,255,.06));
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .82rem;
    padding: 1rem 1.25rem;
    border-bottom: 2px solid rgba(155,107,255,.35);
}
.blog-prose tbody tr:last-child td{ border-bottom: 0; }
.blog-prose tbody tr:hover td{ background: rgba(155,107,255,.04); }
.blog-prose tbody tr:nth-child(even) td{ background: rgba(255,255,255,.015); }
.blog-prose tbody tr:nth-child(even):hover td{ background: rgba(155,107,255,.05); }
/* Allow horizontal scroll for very wide tables on mobile without breaking layout */
.blog-prose > .table-wrap,
.blog-prose .table-wrap{ overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.75rem 0; }
.blog-prose > .table-wrap > table,
.blog-prose .table-wrap > table{ margin: 0; }
@media (max-width: 575px){
    .blog-prose table{ display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; font-size: .875rem; }
    .blog-prose th, .blog-prose td{ padding: .65rem .75rem; }
}

/* =============================================================================
   Blog share bar — colorful, brand-accurate icon buttons
   ============================================================================= */
.blog-share-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: .25rem;
}
.blog-share-icons{
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.blog-share-label{
    font-size: .8rem;
    color: var(--text-muted, #b8bcd6);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-right: .25rem;
}
.blog-share-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.05rem;
    text-decoration: none !important;
    border: 0;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .22s ease, filter .18s ease;
    position: relative;
}
.blog-share-btn:hover{
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.15);
}
.blog-share-btn:active{ transform: translateY(-1px) scale(1.02); }
.blog-share-btn--whatsapp{ background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); box-shadow: 0 4px 14px rgba(37,211,102,.32); }
.blog-share-btn--facebook{ background: linear-gradient(135deg, #1877F2 0%, #0a52b8 100%); box-shadow: 0 4px 14px rgba(24,119,242,.32); }
.blog-share-btn--x{        background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%); box-shadow: 0 4px 14px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); }
.blog-share-btn--linkedin{ background: linear-gradient(135deg, #0A66C2 0%, #054a91 100%); box-shadow: 0 4px 14px rgba(10,102,194,.32); }
.blog-share-btn--email{    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%); box-shadow: 0 4px 14px rgba(251,146,60,.32); }
.blog-share-btn--copy{     background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%); box-shadow: 0 4px 14px rgba(99,102,241,.32); }
.blog-share-btn--copy.copied{ background: linear-gradient(135deg, #22c55e 0%, #15803d 100%); }
.blog-share-btn--copy.copied::after{
    content: "Copied!";
    position: absolute;
    top: -32px; left: 50%; transform: translateX(-50%);
    background: #15803d; color: #fff; font-size: .7rem; font-weight: 700;
    padding: .2rem .55rem; border-radius: 6px; white-space: nowrap;
    animation: wsrCopiedFade .25s ease;
}
@keyframes wsrCopiedFade { from { opacity: 0; transform: translate(-50%, 4px) } to { opacity: 1; transform: translate(-50%, 0) } }

/* =============================================================================
   Unified pagination — applies wherever Laravel renders a paginator.
   Self-contained: declares its own gradient so it works inside admin.css /
   customer.css (which don't load site.css) when duplicated there.
   ============================================================================= */
.wsr-paginator{
    --wp-grad: linear-gradient(135deg, #5b4cff 0%, #8b5cf6 45%, #ec4899 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 1rem;
    padding: .85rem 1.1rem;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
}
.wsr-paginator-info{
    color: var(--text-muted, #b8bcd6);
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
}
.wsr-paginator-info strong{ color: #ffffff; font-weight: 700; }
.wsr-paginator-list{
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.wsr-paginator-list li{ display: inline-flex; }
.wsr-paginator-list a,
.wsr-paginator-list span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .55rem;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
    line-height: 1;
}
.wsr-paginator-list a:hover{
    background: rgba(139,92,246,.18);
    border-color: rgba(139,92,246,.4);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139,92,246,.22);
    text-decoration: none;
}
.wsr-paginator-list .active span,
.wsr-paginator-list .current{
    background: var(--wp-grad);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(139,92,246,.35);
    cursor: default;
}
.wsr-paginator-list .disabled span,
.wsr-paginator-list .disabled a{
    color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.02);
    border-color: rgba(255,255,255,.04);
    cursor: not-allowed;
    opacity: .55;
    pointer-events: none;
}
.wsr-paginator-list .dots{ background: transparent; border: 0; }
.wsr-paginator-list .dots span{
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.35);
    min-width: auto;
    padding: 0 .25rem;
    box-shadow: none;
}
.wsr-paginator-list svg{ width: 14px; height: 14px; display: block; }

@media (max-width: 575px){
    .wsr-paginator{ flex-direction: column; align-items: stretch; text-align: center; padding: .75rem; }
    .wsr-paginator-info{ order: 2; }
    .wsr-paginator-list{ order: 1; justify-content: center; }
    .wsr-paginator-list a,
    .wsr-paginator-list span{ min-width: 32px; height: 32px; font-size: .8125rem; }
}

/* =============================================================================
   Mobile button optimisation — down to 300px viewports
   The navbar "Get Started" button + hero CTAs wrap or overflow on 320px screens
   without these constraints.
   ============================================================================= */
@media (max-width: 575px){
    .btn{
        --bs-btn-padding-x: 1.1rem;
        --bs-btn-padding-y: .7rem;
        font-size: .875rem;
        min-height: 38px;
        gap: .35rem;
    }
    .btn .arrow{ font-size: .9em; }
    /* Hero / page-hero CTA stacks vertically and fills the column width */
    .hero .btn,
    .page-hero .btn{
        width: 100%;
        justify-content: center;
    }
    .hero .btn + .btn,
    .page-hero .btn + .btn{ margin-top: .6rem; }
}
@media (max-width: 380px){
    .btn{
        --bs-btn-padding-x: .9rem;
        --bs-btn-padding-y: .6rem;
        font-size: .8rem;
        min-height: 36px;
    }
    /* Navbar "Get Started" CTA on a 320px-wide phone needs to shrink without
       breaking layout — also kill any text wrap. */
    .navbar .btn,
    .nav-cta,
    .navbar-nav .btn{
        --bs-btn-padding-x: .8rem;
        --bs-btn-padding-y: .55rem;
        font-size: .78rem;
    }
    /* Form action bars stack their buttons */
    .admin-form-actionbar{ flex-wrap: wrap; }
    .admin-form-actionbar .btn{ flex: 1 1 auto; min-width: 90px; }
    /* Floating chat button shrinks slightly on tiny phones */
    .fab{ width: 48px !important; height: 48px !important; }
    /* Share bar shrinks too */
    .blog-share-btn{ width: 36px; height: 36px; font-size: .95rem; }
}
/* Tap target minimums (WCAG 2.5.5 Level AAA = 44x44 — keep everything above 38) */
@media (max-width: 575px){
    a.btn, button.btn, .blog-share-btn, .wsr-paginator-list a, .wsr-paginator-list span{
        min-height: 40px;
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   Saudi Arabia service pages (.service-page) — minimal layout that reuses
   the .blog-prose typography rules already defined above. Keeps the country
   pages visually consistent with blog posts so we don't fork the typography
   system. The CTA card uses the existing yellow-accent CTA pattern.
   ────────────────────────────────────────────────────────────────────────── */
.service-page{
    /* Widened from 880px so long-form copy reads less cramped on desktop. */
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}
.service-page nav.breadcrumb{
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-dim, #9aa0c0);
    margin: 0 0 2rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    display: block;
}
.service-page nav.breadcrumb a{
    color: var(--text-dim, #9aa0c0);
    text-decoration: none;
    border: none;
}
.service-page nav.breadcrumb a:hover{
    color: var(--primary-2, #9b6bff);
}
.service-page nav.breadcrumb span{
    color: var(--text, #e6e8f5);
}
.service-page article > header{
    margin-bottom: 2rem;
}
.service-page article > header h1{
    /* User-requested compact heading sizes: H1=18px / H2=16px / H3=15px.
       Headings stay distinguished by weight + spacing, not just size. */
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -.01em;
    margin: 0 0 1rem;
    color: var(--text, #ffffff);
    font-weight: 800;
}
.service-page article > header .lead{
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dim, #cdd0ec);
    margin: 0;
}
/* User-requested heading sizes: H1=18 (set on .service-page header h1
   above), H2=25, H3=15. :not() guards avoid touching the structural
   section heads (.cta h2, .cta-faq h2, .cta-mini h2). */
.service-page article h2:not(.cta h2):not(.cta-faq h2):not(.cta-mini h2){
    font-size: 25px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 2em 0 .6em;
    color: var(--text, #ffffff);
}
.service-page article h3{
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    margin: 1.5em 0 .5em;
    color: var(--text, #f0f0ff);
}
.service-page section.cta{
    margin-top: 3rem;
    padding: 2rem 1.75rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #fde047 0%, #facc15 50%, #eab308 100%);
    color: #0a0a14;
    text-align: center;
}
.service-page section.cta h2{
    color: #0a0a14 !important;
    margin-top: 0;
    font-size: 1.5rem;
}
.service-page section.cta p{
    color: #0a0a14 !important;
    margin-bottom: 1rem;
}
.service-page section.cta a.btn.btn-primary{
    display: inline-block;
    background: #0a0a14;
    color: #fde047 !important;
    padding: .65rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    margin: .35rem .25rem;
    border: 2px solid #0a0a14;
    transition: transform .15s ease, box-shadow .15s ease;
}
.service-page section.cta a.btn.btn-primary:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
    color: #ffffff !important;
}
.service-page section.cta p.thank-you{
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-style: italic;
    font-size: .9rem;
    opacity: .8;
}
@media (max-width: 575px){
    .service-page{ padding: 1.5rem 1rem 3rem; }
    .service-page section.cta{ padding: 1.5rem 1rem; }
}

/* ============================================================
   GCC Country Hub cards (May 2026)
   ------------------------------------------------------------
   Shared view at resources/views/public/country-hub.blade.php is
   rendered by 5 controllers (Saudi/Qatar/Kuwait/Oman/Bahrain).
   ============================================================ */
.country-hub{
  padding-bottom: 4rem;
}
/* Country hub section heads: left-aligned, full-width. The global
   .section-head rule centers + caps at 760px; override here so all the
   hub's intro blocks ("What we deliver / More from / Across the Gulf")
   sit flush-left like the rest of the page content. */
.country-hub .section-head,
.country-hub .section-head p{
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.country-hub .section-head{
  margin-bottom: 1.75rem;
}
.country-hub .section-head p{
  max-width: 760px;
}
.country-service-card{
  display: block;
  background: var(--surface-2, rgba(255,255,255,.03));
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 14px;
  padding: 1.4rem 1.4rem 1.2rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.country-service-card:hover{
  transform: translateY(-3px);
  border-color: rgba(155, 107, 255, .55);
  box-shadow: 0 12px 32px -10px rgba(91, 76, 255, .35);
  color: inherit;
  text-decoration: none;
}
.country-service-card .csc-icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-1);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(139, 92, 246, .35);
}
.country-service-card .csc-title{
  font-size: 1.05rem;
  font-weight: 700;
  margin: .9rem 0 .3rem;
}
.country-service-card .csc-tag{
  font-size: .85rem;
  color: var(--text-muted, #b8b1d4);
  margin: 0 0 .9rem;
}
.country-service-card .csc-cta{
  font-size: .85rem;
  color: #ffb78c;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.country-link-card{
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--surface-2, rgba(255,255,255,.03));
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 12px;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: border-color .2s ease, transform .2s ease;
}
.country-link-card:hover{
  border-color: rgba(155, 107, 255, .55);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.country-link-card i{
  font-size: 1.5rem;
  color: #ffb78c;
}
.country-link-card span{ display: flex; flex-direction: column; gap: .15rem; }
.country-link-card strong{ font-size: .95rem; font-weight: 700; }
.country-link-card em{ font-size: .8rem; font-style: normal; color: var(--text-muted, #b8b1d4); }

/* "Have a different question?" CTA below FAQ on each GCC service page */
.service-page .cta-faq{
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(91,76,255,.10), rgba(236,72,153,.08));
  border: 1px solid rgba(155, 107, 255, .25);
  border-radius: 14px;
  text-align: center;
}
.service-page .cta-faq h2{
  font-size: 1.35rem;
  margin: 0 0 .5rem;
}
.service-page .cta-faq p{
  color: var(--text-muted, #b8b1d4);
  max-width: 620px;
  margin: 0 auto 1rem;
}
/* Reset the global .cta-mini rule (which is `display: inline-flex` for
   blog-card chips) so our service-page section stacks h2 then row in a
   regular block flow. Without this the h2 + .cta-mini-row sit side by
   side as flex children. */
.service-page .cta-mini{
  display: block !important;
  margin: 2.5rem 0 2rem;
  text-align: center;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.service-page .cta-mini h2{
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 0 0 1.5rem;
  text-align: center;
  display: block;
  width: 100%;
  /* Gradient text matching other section heads on these pages */
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-page .cta-mini-row{
  display: grid;
  /* Always 4 columns ≥768px, 2 columns 480–767px, 1 column <480px */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
@media (max-width: 767px){
  .service-page .cta-mini-row{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px){
  .service-page .cta-mini-row{ grid-template-columns: 1fr; }
}
.service-page .cta-mini-row a{
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  min-height: 64px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.service-page .cta-mini-row a:hover{
  border-color: rgba(155, 107, 255, .55);
  background: rgba(155, 107, 255, .08);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.service-page .cta-mini-row i{
  font-size: 1.25rem;
  color: #ffb78c;
  flex-shrink: 0;
}
.service-page .cta-mini-row span{
  display: flex; flex-direction: column; gap: .1rem;
  font-size: .78rem; color: var(--text-muted, #b8b1d4);
  line-height: 1.3;
  min-width: 0;
}
.service-page .cta-mini-row strong{
  display: block;
  font-size: .9rem; font-weight: 700; color: var(--text, #f3f1ff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Yellow main CTA at end of service page ──────────────────
   Gradient bg, glowing edge, button-styled phone/email. */
.service-page section.cta{
  position: relative;
  margin: 2.5rem 0 1.5rem;
  padding: 2.25rem 2rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, #ffb800 0%, #ffd166 55%, #ffb800 100%);
  border-radius: 18px;
  text-align: center;
  color: #1a1d24;
  overflow: hidden;
  box-shadow:
    0 12px 36px -8px rgba(255, 184, 0, .45),
    inset 0 1px 0 rgba(255,255,255,.35);
}
.service-page section.cta::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 100%, rgba(255,122,184,.3), transparent 55%);
  pointer-events: none;
}
.service-page section.cta > *{ position: relative; z-index: 1; }
.service-page section.cta h2{
  color: #1a1d24;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 .6rem;
  letter-spacing: -0.01em;
}
.service-page section.cta p{
  color: rgba(26, 29, 36, .85);
  max-width: 620px;
  margin: 0 auto 1.4rem;
  font-size: .98rem;
  line-height: 1.55;
}
.service-page section.cta-actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-top: 1rem;
}
.service-page section.cta .cta-btn-primary,
.service-page section.cta .btn-primary{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  background: #1a1d24;
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid #1a1d24;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, .4);
}
.service-page section.cta .cta-btn-primary:hover,
.service-page section.cta .btn-primary:hover{
  background: linear-gradient(135deg, #5b4cff 0%, #8b5cf6 45%, #ec4899 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(91, 76, 255, .5);
  color: #ffffff !important;
  text-decoration: none;
}
.service-page section.cta .cta-btn-secondary{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1.4rem;
  background: rgba(26, 29, 36, .08);
  color: #1a1d24 !important;
  border: 2px solid rgba(26, 29, 36, .25);
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: all .15s ease;
}
.service-page section.cta .cta-btn-secondary:hover{
  background: #1a1d24;
  color: #ffd166 !important;
  border-color: #1a1d24;
  transform: translateY(-2px);
  text-decoration: none;
}
.service-page section.cta .cta-btn-secondary i{ font-size: 1rem; }

/* ── Thank-you closing line ───────────────────────────────── */
.service-page p.thank-you{
  margin: 3rem auto 1rem;
  padding: 1.25rem 1rem;
  max-width: 720px;
  text-align: center;
  color: var(--text-muted, #b8b1d4);
  font-size: .95rem;
  line-height: 1.6;
}
.service-page p.thank-you strong{ color: var(--text, #f3f1ff); }

/* Blog share-bar (last row of the article card) needs breathing room
   below the "All articles" / Share buttons so the next .footer-cta
   newsletter section doesn't sit flush against the article. */
.blog-share-bar{ margin-bottom: 1.5rem; }

/* Mobile-drawer "Create account" button — flex-fill was stretching it
   without centering the label. */
.wsr-drawer .btn,
.wsr-drawer__footer .btn{
  text-align: center;
  justify-content: center;
  align-items: center;
}

/* Home page "Now serving the GCC" band */
.home-gcc-band{
  padding: 3.5rem 0;
  background:
    linear-gradient(135deg, rgba(91,76,255,.10), rgba(236,72,153,.08)),
    var(--bg, #0c0a1a);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Mobile: GCC band sits between Industries and "Our Reach" sections.
   On mobile the next section uses `padding-top:0` so without explicit
   bottom space on the band the chips touch the next eyebrow. Likewise
   the "Our Reach" eyebrow needs visible breathing room from above. */
@media (max-width: 767px){
  .home-gcc-band{ padding: 2.5rem 0 3rem; }
  /* The "Our Reach" section uses inline `style="padding-top:0"` to collapse
     spacing on desktop. On mobile we restore a sensible top spacing so the
     eyebrow doesn't hug the GCC band's bottom border. Targets the section
     immediately after the GCC band. */
  .home-gcc-band + section[style*="padding-top:0"]{ padding-top: 2.5rem !important; }
}
.home-gcc-band .gcc-band-head{
  text-align: center;
  margin-bottom: 1.6rem;
}
.home-gcc-band .gcc-band-head h2{
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 .4rem;
}
.home-gcc-band .gcc-band-head p{
  color: var(--text-muted, #b8b1d4);
  margin: 0;
}
.home-gcc-band .gcc-chip-row{
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
}
.home-gcc-band .gcc-chip{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text, #f3f1ff);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  transition: all .2s ease;
}
.home-gcc-band .gcc-chip:hover{
  background: var(--grad-1);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

