/* Car Services.me — shared site styles */
:root {
  --bg: #0a0a0a;
  --bg2: #050505;
  --panel: #111111;
  --line: #222222;
  --lime: #f08c1a;
  --lime2: #ffb347;
  --brand: #f08c1a;
  --brand2: #ffb347;
  --silver: #c8ccd2;
  --muted: #a0a0a0;
  --dim: #666666;
}

.font-orbitron { font-family: 'Orbitron', sans-serif; }
body {
  font-family: 'Inter', 'Cairo', sans-serif;
  background-color: var(--bg);
  color: #fff;
}
html[lang="ar"] body {
  font-family: 'Cairo', 'Inter', sans-serif;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; border-left: 1px solid #222; }
::-webkit-scrollbar-thumb { background: rgba(240, 140, 26, 0.25); }

.vertical-streaks {
  background-image: linear-gradient(90deg, transparent 99%, rgba(240, 140, 26, 0.02) 100%);
  background-size: 10vw 100%;
}
.crt-scanlines {
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
  background-size: 100% 4px;
}

@keyframes fadeInNav {
  0% { opacity: 0; }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes blurReveal {
  0% { opacity: 0; filter: blur(12px); transform: translateY(30px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes fadeInNav {
  0% { opacity: 0; }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
@keyframes ticker-ltr {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  filter: blur(6px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}
.reveal-on-scroll.reveal-left {
  transform: translate3d(-28px, 0, 0);
}
.reveal-on-scroll.reveal-right {
  transform: translate3d(28px, 0, 0);
}
.reveal-on-scroll.reveal-scale {
  transform: translate3d(0, 18px, 0) scale(0.97);
}
.reveal-on-scroll.reveal-left.in-view,
.reveal-on-scroll.reveal-right.in-view,
.reveal-on-scroll.reveal-scale.in-view {
  transform: translate3d(0, 0, 0) scale(1);
}

/* Stagger children when parent enters view */
.reveal-stagger > *.reveal-on-scroll,
.reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger.in-view > * {
  opacity: 1;
  transform: none;
}

/* Image mask reveal */
.img-reveal {
  overflow: hidden;
  isolation: isolate;
}
.img-reveal > img,
.img-reveal img {
  transform: scale(1.08);
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
  opacity: 0.85;
}
.img-reveal.in-view > img,
.img-reveal.in-view img,
.reveal-on-scroll.in-view.img-reveal > img,
.reveal-on-scroll.in-view.img-reveal img {
  transform: scale(1);
  opacity: 1;
}

/* Premium card hover */
.fx-card {
  position: relative;
  transition:
    border-color 0.35s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease;
}
.fx-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(600px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(240,140,26,0.08), transparent 45%);
  transition: opacity 0.35s ease;
}
.fx-card:hover {
  border-color: rgba(240, 140, 26, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.fx-card:hover::after { opacity: 1; }

/* Soft press on CTAs */
.fx-press {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease, box-shadow 0.25s ease;
}
.fx-press:hover { transform: translateY(-2px); }
.fx-press:active { transform: translateY(0) scale(0.985); }

/* Metallic sheen sweep (logos / primary buttons) */
.fx-sheen {
  position: relative;
  overflow: hidden;
}
.fx-sheen::before {
  content: "";
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 62%
  );
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
  z-index: 2;
}
.fx-sheen:hover::before,
.fx-sheen.is-shine::before {
  animation: sheenSweep 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes sheenSweep {
  to { transform: translateX(120%) skewX(-18deg); }
}

/* Floating logo breath on hero */
.fx-float {
  animation: softFloat 5.5s ease-in-out infinite;
}
@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Section divider line draw */
.fx-line {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 80ms);
}
html[dir="rtl"] .fx-line { transform-origin: right center; }
.reveal-on-scroll.in-view .fx-line,
.in-view > .fx-line,
.fx-line.in-view {
  transform: scaleX(1);
}

/* Soft parallax helper */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Page hero entrance */
.page-hero {
  opacity: 0;
  animation: pageHeroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
@keyframes pageHeroIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* AI chat strip entrance */
.hero-ai-chat {
  opacity: 0;
  transform: translateY(24px);
  animation: aiStripIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
@keyframes aiStripIn {
  to { opacity: 1; transform: none; }
}

/* Gallery tile lift */
.fx-tile {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease, border-color 0.35s ease;
}
.fx-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border-color: rgba(240, 140, 26, 0.3);
}

#scroll-progress {
  transform-origin: right center;
  transform: scaleX(0);
  transition: transform 120ms linear;
}
html[dir="ltr"] #scroll-progress { transform-origin: left center; }

.animate-ticker { animation: ticker 28s linear infinite; }
html[dir="ltr"] .animate-ticker { animation-name: ticker-ltr; }

.magnetic-card {
  --mx: 0px;
  --my: 0px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.magnetic-card:hover { transform: translate3d(var(--mx), var(--my), 0); }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-stagger > *,
  .page-hero,
  .hero-ai-chat,
  .fx-float,
  .fx-sheen::before,
  .img-reveal > img,
  .img-reveal img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .fx-card:hover,
  .fx-tile:hover,
  .fx-press:hover {
    transform: none !important;
  }
}

.form-input {
  background: #111;
  border: 1px solid #222;
  color: white;
  padding: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: rgba(240, 140, 26, 0.5);
  background: #1a1a1a;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  padding: 3px;
  background: rgba(0,0,0,0.35);
}
.lang-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 9999px;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s ease;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.lang-btn:hover { color: var(--lime); }
html[dir="rtl"] .lang-btn[data-lang="ar"],
html[dir="ltr"] .lang-btn[data-lang="en"] {
  color: #0a0a0a;
  background: var(--lime);
}

/* Clear brand mark in nav / footer — transparent logo, no noisy plate */
.brand-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.25rem;
  border-radius: 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.brand-logo-frame--menu { padding: 0.1rem 0.2rem; }
.brand-logo-frame--footer {
  padding: 0.15rem 0.25rem;
  background: transparent;
}
.brand-logo-img {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: min(52vw, 12.5rem);
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45));
}
@media (min-width: 768px) {
  .brand-logo-img { height: 2.95rem; max-width: 14rem; }
  .brand-logo-frame--footer .brand-logo-img { height: 3.75rem; max-width: 16rem; }
}

.site-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.75);
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.site-modal.active { display: flex; }
.site-modal-card {
  width: min(560px, 100%);
  max-height: 85vh;
  overflow: auto;
  background: #111;
  border: 1px solid #222;
  padding: 28px;
}

.form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding: 4px;
  background: #0a0a0a;
  border: 1px solid #222;
}
.form-tab {
  flex: 1;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.7);
  background: transparent;
  border: 0;
  cursor: pointer;
}

#mobile-menu {
  transition: transform .3s ease, opacity .3s ease;
}
html[dir="rtl"] #mobile-menu { transform: translateX(100%); }
html[dir="ltr"] #mobile-menu { transform: translateX(-100%); }
#mobile-menu[aria-hidden="false"] {
  transform: translateX(0) !important;
  opacity: 1;
  pointer-events: auto;
}

.nav-link-active { color: #f08c1a !important; }
.page-hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #222;
  background:
    radial-gradient(ellipse at top, rgba(240,140,26,0.08), transparent 55%),
    #0a0a0a;
}
.i18n-border { border-right: 1px solid rgba(255,255,255,0.2); padding-right: 1.5rem; }
html[dir="ltr"] .i18n-border {
  border-right: 0;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-right: 0;
  padding-left: 1.5rem;
}

/* Sit behind hero copy (start side) in both LTR and RTL */
.hero-gradient {
  background: linear-gradient(
    to left,
    rgba(10, 10, 10, 0.95),
    rgba(10, 10, 10, 0.7),
    transparent
  );
}
html[dir="ltr"] .hero-gradient {
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.95),
    rgba(10, 10, 10, 0.7),
    transparent
  );
}

.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--lime); }

/* —— AI chat strip + floating widget —— */
.agent-bot-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f08c1a;
  background: radial-gradient(circle at 50% 40%, rgba(240,140,26,0.35), rgba(240,140,26,0.05) 60%, transparent 70%), #12141a;
  box-shadow: 0 0 28px rgba(240, 140, 26, 0.35);
}
.agent-chip {
  border: 1px solid rgba(255,255,255,0.12);
  background: #15171c;
  color: #e5e7eb;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.agent-chip:hover { border-color: rgba(240,140,26,0.55); background: #1a1c22; }
.agent-send {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #f08c1a;
  color: #0a0a0a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s, transform 0.2s;
}
.agent-send:hover { filter: brightness(1.08); transform: scale(1.03); }

.agent-quick {
  border: 1px solid #222;
  background: #111;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  font-family: Orbitron, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d0d0d0;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.agent-quick:hover {
  border-color: rgba(240, 140, 26, 0.5);
  background: #151515;
  color: #fff;
}
.agent-chat-shell {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0d10;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.agent-chat-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(240,140,26,0.06), transparent);
}
.agent-chat-messages {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(240,140,26,0.05), transparent 70%);
}
.agent-bubble {
  padding: 0.85rem 1.05rem;
  font-size: 0.875rem;
  line-height: 1.55;
  border-radius: 18px;
}
.agent-bubble-user {
  background: #f08c1a;
  color: #0a0a0a;
  border-bottom-right-radius: 6px;
}
html[dir="rtl"] .agent-bubble-user {
  border-bottom-right-radius: 18px;
  border-bottom-left-radius: 6px;
}
.agent-bubble-ai {
  background: #15171c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8e8e8;
  border-bottom-left-radius: 6px;
}
html[dir="rtl"] .agent-bubble-ai {
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 6px;
}

.hero-ai-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-ai-expand-inner { overflow: hidden; min-height: 0; }
.hero-ai-chat.is-open .hero-ai-expand { grid-template-rows: 1fr; }
.hero-ai-messages {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.hero-ai-chat.is-open .hero-ai-messages {
  max-height: min(52vh, 420px);
  opacity: 1;
  padding-bottom: 0.25rem;
}

#agent-widget { position: relative; z-index: 95; }
.agent-fab {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 96;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #f08c1a;
  color: #0a0a0a;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-family: Orbitron, Cairo, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  max-width: calc(100vw - 1.5rem);
  box-shadow: 0 0 30px rgba(240, 140, 26, 0.28);
  transition: background 0.2s, transform 0.2s;
}
html[lang="ar"] .agent-fab {
  font-family: Cairo, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.agent-fab span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 11rem;
}
.agent-fab:hover { filter: brightness(1.06); transform: translateY(-1px); }
.agent-fab.is-open { background: #222; color: #fff; box-shadow: none; }

.agent-panel {
  position: fixed;
  bottom: 5.25rem;
  inset-inline-end: 1.5rem;
  z-index: 96;
  width: min(400px, calc(100vw - 1.5rem));
  height: min(580px, calc(100vh - 7rem));
  display: flex;
  flex-direction: column;
  background: #0c0d10;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  animation: agentPanelIn 0.28s ease;
}
html[lang="ar"] .agent-panel {
  font-family: Cairo, sans-serif;
}
.agent-panel[hidden] { display: none !important; }
@keyframes agentPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.agent-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #101218;
}
html[lang="ar"] .agent-panel-head .font-orbitron {
  font-family: Cairo, sans-serif;
  letter-spacing: 0.06em;
  text-transform: none;
}
.agent-panel-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
html[lang="ar"] .agent-panel-messages {
  font-size: 0.95rem;
  line-height: 1.7;
}
.agent-panel-quick {
  max-height: 5.5rem;
  overflow-y: auto;
}
html[lang="ar"] .agent-chip {
  font-family: Cairo, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0;
  white-space: normal;
  text-align: start;
  line-height: 1.35;
  max-width: 100%;
}
.agent-panel-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #101218;
}
.agent-panel-form input {
  flex: 1;
  background: #15171c;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: #fff;
  outline: none;
  font-size: 0.9rem;
  font-family: inherit;
}
html[lang="ar"] .agent-panel-form input {
  font-family: Cairo, sans-serif;
  font-size: 0.95rem;
}
.agent-panel-form input:focus { border-color: rgba(240,140,26,0.55); }

@media (max-width: 640px) {
  .agent-panel {
    inset-inline: 0.75rem;
    bottom: 4.75rem;
    width: auto;
    height: min(72vh, 580px);
  }
  .agent-fab { inset-inline-end: 0.75rem; bottom: 1rem; }
  html[lang="ar"] .agent-fab span { max-width: 9.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll, .animate-ticker {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-ai-expand, .hero-ai-messages, .agent-panel { transition: none !important; animation: none !important; }
}

/* —— Welcome loader —— */
body.welcome-lock { overflow: hidden; }
#site-welcome {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem 4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
#site-welcome.is-visible { opacity: 1; pointer-events: auto; }
#site-welcome.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition-duration: 0.65s;
}
.welcome-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: min(92vw, 640px);
}
.welcome-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 42%, rgba(240,140,26,0.18), transparent 72%),
    #050505;
}
.welcome-glow {
  position: absolute;
  width: min(80vw, 520px);
  height: min(80vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,140,26,0.26), transparent 68%);
  filter: blur(12px);
  animation: welcomePulse 2.8s ease-in-out infinite;
}
@keyframes welcomePulse {
  0%, 100% { transform: scale(0.94); opacity: 0.5; }
  50% { transform: scale(1.04); opacity: 0.85; }
}
.welcome-stage {
  width: 100%;
  display: grid;
  place-items: center;
  min-height: 140px;
}
.welcome-logo {
  width: min(72vw, 420px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 50px rgba(240,140,26,0.28));
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  animation: welcomeLogoIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: filter 0.5s ease;
}
.welcome-logo.is-ready {
  filter: drop-shadow(0 22px 56px rgba(240,140,26,0.38));
}
@keyframes welcomeLogoIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.welcome-copy {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.welcome-title {
  font-family: Orbitron, sans-serif;
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  opacity: 0;
  animation: welcomeTextIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
html[lang="ar"] .welcome-title {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  font-size: clamp(1.35rem, 3.6vw, 1.9rem);
}
.welcome-tagline {
  margin: 0.7rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ca3af;
  opacity: 0;
  animation: welcomeTextIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
@keyframes welcomeTextIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.welcome-load {
  width: min(100%, 260px);
  margin-top: 1.5rem;
  opacity: 0;
  animation: welcomeTextIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.welcome-load.is-done .welcome-progress { opacity: 0.45; }
.welcome-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
}
.welcome-progress [data-welcome-progress-fill] {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f08c1a, #ffb067);
  border-radius: inherit;
  will-change: width;
}
.welcome-progress-label {
  margin: 0.75rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b0b0b0;
  font-family: Orbitron, sans-serif;
  min-height: 1.1em;
}
html[lang="ar"] .welcome-progress-label,
html[lang="ar"] .welcome-enter,
html[lang="ar"] .welcome-skip {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
}
.welcome-enter {
  margin-top: 1.35rem;
  min-width: 168px;
  background: #f08c1a;
  color: #0a0a0a;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-family: Orbitron, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(240,140,26,0.35);
  animation: welcomeEnterIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: filter 0.2s, transform 0.2s;
}
.welcome-enter:hover { filter: brightness(1.06); transform: translateY(-1px); }
.welcome-enter.is-hidden { display: none; }
@keyframes welcomeEnterIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.welcome-skip {
  position: absolute;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 3;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: #a0a0a0;
  font-family: Orbitron, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  opacity: 0;
  animation: welcomeTextIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
  transition: color 0.2s, border-color 0.2s;
}
.welcome-skip:hover { color: #fff; border-color: rgba(240,140,26,0.55); }

@media (prefers-reduced-motion: reduce) {
  .welcome-glow, .welcome-logo, .welcome-title, .welcome-tagline, .welcome-load, .welcome-skip {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
