/* ==========================================================================
   SURE STORE — PREMIUM DISCORD BRANDING & PORTFOLIO
   Direction: "Chrome & Plum" — deep plum-black ground, brushed-silver type
   lifted from the logo's sheen, one inverted silver card for the hero tier.
   Palette anchors: #48313d, #1a0b13, plus dark grays / silvers
   Fonts: Syne (display, Latin) · Readex Pro (Arabic + Latin body) · JetBrains Mono
   Stable Fixed Positions (No jumping on language switch)
   ========================================================================== */

/* --------------------------------------------------------------------------
   DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Ground */
  --bg-primary: #110710;
  --bg-secondary: #0c050a;
  --surface-1: #1a0b13;
  --surface-2: #211019;
  --surface-3: #2a1620;

  /* Plum */
  --accent-plum: #48313d;
  --accent-plum-light: #644455;
  --accent-plum-bright: #8a4e70;
  --accent-plum-glow: rgba(138, 78, 112, 0.35);
  --plum-tint: #e4c3d5;

  /* Silver / chrome */
  --silver-50: #f6f2f4;
  --silver-100: #ece5e9;
  --silver-200: #d8ccd3;
  --silver-300: #b9a9b3;
  --chrome: linear-gradient(100deg, #ffffff 0%, #e9dfe5 30%, #b49aa8 62%, #f2ebef 100%);
  --chrome-card: linear-gradient(160deg, #f7f3f5 0%, #e3d9df 45%, #c4b3bd 100%);

  /* Neutrals */
  --gray-950: #0a0408;
  --gray-900: #150a11;
  --gray-800: #1f151d;
  --gray-700: #332631;
  --gray-600: #493b46;
  --gray-500: #7a6876;
  --gray-400: #a3929f;
  --gray-300: #cbbfc8;
  --gray-200: #e3dae0;
  --gray-100: #f5eff4;
  --white: #ffffff;
  --ink: #1a0b13;

  /* Lines */
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Typography */
  --font-display: 'Syne', 'Readex Pro', system-ui, sans-serif;
  --font-main: 'Readex Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Radii */
  --radius-card: 30px;
  --radius-btn: 9999px;
  --radius-box: 16px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.18s var(--ease-out);
  --trans-smooth: 0.45s var(--ease-out);

  --container: 1320px;
}

/* --------------------------------------------------------------------------
   PAGE TRANSITION ANIMATION (Requirement 6)
   -------------------------------------------------------------------------- */
body {
  opacity: 0;
  animation: pageFadeIn 0.35s ease-out forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.page-leaving {
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

/* --------------------------------------------------------------------------
   SCROLLBAR
   -------------------------------------------------------------------------- */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--accent-plum);
  border-radius: var(--radius-btn);
  border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-plum-light); }

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-plum) var(--bg-secondary);
}

::selection {
  background: var(--plum-tint);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background-color: var(--bg-primary);
  color: var(--gray-100);
  font-family: var(--font-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Arabic typography (Requirement 8) */
html[lang="ar"] {
  font-family: var(--font-arabic);
}

/* Layout direction stays LTR on language toggle (Requirement 7) */
body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
  line-height: 1.55;
  font-weight: 400;
}

/* Film grain over everything — subtle print texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (hover: hover) and (pointer: fine) {
  body, a, button, input, textarea, select {
    cursor: none !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--plum-tint);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   CUSTOM CURSOR (ONLY A CIRCULAR WHITE DOT)
   -------------------------------------------------------------------------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease-out, height 0.15s ease-out, opacity 0.15s ease-out;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.95);
  will-change: left, top;
  mix-blend-mode: difference;
}

.custom-cursor.hovering {
  width: 14px;
  height: 14px;
  box-shadow: 0 0 14px #ffffff;
}

.custom-cursor.clicking {
  transform: translate(-50%, -50%) scale(0.65);
}

@media (hover: none) or (pointer: coarse) {
  .custom-cursor { display: none !important; }
}

/* --------------------------------------------------------------------------
   AMBIENT BACKGROUND
   -------------------------------------------------------------------------- */
.ambient-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#ambientCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.orb-1 {
  width: 720px;
  height: 520px;
  background: radial-gradient(circle, rgba(138, 78, 112, 0.42) 0%, transparent 70%);
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-2 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(72, 49, 61, 0.55) 0%, transparent 70%);
  bottom: -240px;
  right: -180px;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* --------------------------------------------------------------------------
   NAVBAR — floating glass bar (Requirement 5 & 7)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container) - 24px, calc(100% - 28px));
  z-index: 1000;
  background: rgba(22, 11, 18, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px 10px 9px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px var(--line-strong), 0 6px 18px rgba(138, 78, 112, 0.35);
  flex-shrink: 0;
}

.brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--white);
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 2.4px;
  color: var(--gray-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gray-300);
  padding: 7px 16px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  transition: color var(--trans-fast), background var(--trans-fast);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--ink);
  background: var(--silver-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Small Commissions Pill (Requirement 5) */
.nav-commission-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: var(--gray-300);
  white-space: nowrap;
}

.badge-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--gray-200);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--trans-fast);
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: var(--line-strong);
}

.lang-toggle-btn svg {
  width: 14px;
  height: 14px;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  background: var(--silver-50);
  color: var(--ink);
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), background var(--trans-fast);
}

.nav-cta-btn svg {
  width: 15px;
  height: 15px;
}

.nav-cta-btn:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(228, 195, 213, 0.25);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   SHARED TYPE
   -------------------------------------------------------------------------- */
.chrome-text,
.gradient-plum-text {
  background: var(--chrome);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: chromeShift 8s ease-in-out infinite alternate;
}

@keyframes chromeShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--plum-tint);
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .section-tag {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  font-size: 0.82rem;
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   HERO + INSTANT PRICING (Requirement 5)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 104px 0 56px;
}

.hero-head {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 24px;
}

.hero-head-main .eyebrow {
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
}

.hero-title > span {
  display: block;
}

html[lang="ar"] .hero-title {
  letter-spacing: 0;
  line-height: 1.2;
  font-weight: 700;
}

.hero-head-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 4px;
}

.hero-desc {
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--gray-300);
  line-height: 1.6;
  max-width: 440px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 12px 0 0;
}

.hero-stats li + li {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.hero-stats strong {
  font-family: var(--font-main);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.hero-stats span {
  font-size: 0.74rem;
  color: var(--gray-400);
}

/* --------------------------------------------------------------------------
   4-TIER PRICING GRID (NO RIBBONS — Requirement 2)
   -------------------------------------------------------------------------- */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.tier-card {
  position: relative;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, #1f0f18 0%, #160a11 100%);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--trans-smooth), box-shadow var(--trans-smooth), border-color var(--trans-smooth);
  animation: cardRise 0.8s var(--ease-out) backwards;
}

.tier-card:nth-child(1) { animation-delay: 0.05s; }
.tier-card:nth-child(2) { animation-delay: 0.12s; }
.tier-card:nth-child(3) { animation-delay: 0.19s; }
.tier-card:nth-child(4) { animation-delay: 0.26s; }

@keyframes cardRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Light sweep on hover */
.tier-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at 50% -10%, rgba(228, 195, 213, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--trans-smooth);
}

.tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 34px 60px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(228, 195, 213, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tier-card:hover::before {
  opacity: 1;
}

.card-inner {
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-number {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.32);
}

.card-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--silver-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform var(--trans-smooth);
}

.tier-card:hover .card-badge-icon {
  transform: rotate(-8deg) scale(1.05);
}

.card-badge-icon svg {
  width: 18px;
  height: 18px;
}

.card-title-group {
  margin-bottom: 18px;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 6px;
}

html[lang="ar"] .tier-name {
  letter-spacing: 0;
}

.tier-summary {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gray-400);
  line-height: 1.5;
  min-height: 40px;
}

.card-divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong) 0%, transparent 100%);
  margin-bottom: 18px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.86rem;
  color: var(--gray-200);
}

.feature-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-300);
}

.feature-icon svg {
  width: 16px;
  height: 16px;
}

/* Price slab */
.card-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.price-label {
  font-size: 0.68rem;
  color: var(--gray-400);
  line-height: 1;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}

.currency {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-300);
}

.price-value {
  font-family: var(--font-main);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
}

.price-period {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-left: 3px;
}

/* Arabic shows prices in riyals: no dollar sign, "ر.س" after the number */
html[lang="ar"] .price-container .currency {
  display: none;
}

html[lang="ar"] .price-period {
  font-family: var(--font-arabic);
  font-size: 0.8rem;
}

.order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  background: var(--silver-50);
  color: var(--ink);
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), background var(--trans-fast);
}

.order-btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--trans-fast);
}

.order-btn:hover {
  background: var(--white);
  box-shadow: 0 10px 24px rgba(228, 195, 213, 0.22);
}

.order-btn:hover svg {
  transform: translate(2px, -2px);
}

/* ---- Tier specifics ---- */
.gold-tier {
  background: linear-gradient(180deg, #26121d 0%, #170a12 100%);
}

/* Diamond: the inverted silver card */
.diamond-tier {
  background: var(--chrome-card);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 70px -18px rgba(138, 78, 112, 0.55), inset 0 1px 0 #ffffff;
}

.diamond-tier::before {
  background: radial-gradient(420px circle at 50% -10%, rgba(255, 255, 255, 0.7), transparent 60%);
}

.diamond-tier:hover {
  border-color: #ffffff;
  box-shadow: 0 40px 80px -18px rgba(138, 78, 112, 0.7), inset 0 1px 0 #ffffff;
}

.diamond-tier .card-number { color: rgba(26, 11, 19, 0.38); }

.diamond-tier .card-badge-icon {
  background: var(--ink);
  color: var(--silver-50);
}

.diamond-tier .tier-name { color: var(--ink); }
.diamond-tier .tier-summary { color: #5a4652; }
.diamond-tier .card-divider-line { background: linear-gradient(90deg, rgba(26, 11, 19, 0.22) 0%, transparent 100%); }
.diamond-tier .feature-item { color: #2a1620; }
.diamond-tier .feature-icon { color: #6b4a5c; }

.diamond-tier .card-bottom-bar {
  background: var(--ink);
  border-color: var(--ink);
}

.diamond-exclusive-feat {
  margin-top: 2px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px dashed rgba(26, 11, 19, 0.3);
  background: rgba(255, 255, 255, 0.4);
  align-items: flex-start;
}

.diamond-exclusive-feat .feature-text {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.4;
}

.diamond-exclusive-feat .feature-icon {
  color: var(--accent-plum-bright);
  margin-top: 1px;
}

.custom-tier .price-value {
  font-size: 1.2rem;
  white-space: nowrap;
}

.custom-tier .price-container {
  flex-wrap: wrap;
  white-space: normal;
  row-gap: 0;
}

.custom-tier .price-period {
  margin-left: 0;
  width: 100%;
}

.custom-tier .card-bottom-bar {
  background: transparent;
  border-style: dashed;
  border-color: var(--line-strong);
}

/* --------------------------------------------------------------------------
   MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 4, 8, 0.5);
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-group span {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  padding: 0 22px;
  transition: color var(--trans-fast);
}

html[lang="ar"] .marquee-group span {
  -webkit-text-stroke: 0;
  color: rgba(255, 255, 255, 0.35);
}

.marquee-group i {
  font-style: normal;
  color: var(--accent-plum-bright);
  font-size: 0.9rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   SECTIONS
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  z-index: 10;
  padding: 100px 0;
}

.section-tight {
  padding: 40px 0 90px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.section-head .section-tag {
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 640px;
}

html[lang="ar"] .section-title {
  letter-spacing: 0;
  line-height: 1.25;
  font-weight: 700;
}

.section-desc {
  font-size: 0.96rem;
  font-weight: 300;
  color: var(--gray-400);
  max-width: 380px;
  line-height: 1.6;
}

/* Scroll reveal (only when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .adv-card.reveal.in:hover {
  transform: translateY(-4px);
}

/* ---- Advantages ---- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.adv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 15, 24, 0.9) 0%, rgba(20, 9, 15, 0.9) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--trans-smooth), transform var(--trans-smooth);
}

.adv-card:nth-child(2) { transition-delay: 0.06s; }
.adv-card:nth-child(3) { transition-delay: 0.12s; }
.adv-card:nth-child(4) { transition-delay: 0.18s; }

.adv-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.adv-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum-tint);
  background: rgba(138, 78, 112, 0.14);
  border: 1px solid rgba(228, 195, 213, 0.14);
  margin-bottom: auto;
}

.adv-icon svg {
  width: 20px;
  height: 20px;
}

.adv-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 40px 0 8px;
  max-width: 80%;
}

.adv-desc {
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--gray-400);
  line-height: 1.55;
}

.adv-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ---- Process ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.process-step {
  position: relative;
  padding: 28px 28px 8px 0;
}

.process-step + .process-step {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.process-step::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--plum-tint);
  box-shadow: 0 0 12px var(--plum-tint);
}

.process-step + .process-step::before {
  left: -4px;
}

.process-num {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  margin-bottom: 18px;
}

.process-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.process-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gray-400);
  max-width: 320px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-section {
  padding-top: 70px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 120px;
}

.faq-aside .section-tag {
  margin-bottom: 12px;
}

.faq-aside .section-title {
  margin-bottom: 14px;
}

.payment-box {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.payment-label {
  display: block;
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.payment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-chips span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--gray-100);
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--white);
  gap: 18px;
  transition: color var(--trans-fast);
}

html[lang="ar"] .faq-question {
  font-family: var(--font-arabic);
  font-weight: 600;
}

.faq-question:hover {
  color: var(--plum-tint);
}

/* Plus → minus toggle */
.faq-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background var(--trans-fast), border-color var(--trans-fast);
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--trans-smooth);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-toggle {
  background: var(--silver-50);
  border-color: var(--silver-50);
  color: var(--ink);
}

.faq-item.active .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--trans-smooth), padding var(--trans-smooth);
}

.faq-item.active .faq-answer {
  max-height: 260px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.94rem;
  font-weight: 300;
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 620px;
}

/* --------------------------------------------------------------------------
   CTA PANEL
   -------------------------------------------------------------------------- */
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(600px circle at 0% 0%, rgba(138, 78, 112, 0.35), transparent 60%),
    linear-gradient(135deg, #24121c 0%, #150a11 100%);
  border: 1px solid var(--line-strong);
}

.cta-logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-strong), 0 14px 40px rgba(138, 78, 112, 0.5);
  animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(-4deg); }
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 8px;
}

html[lang="ar"] .cta-title {
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 700;
}

.cta-desc {
  font-size: 0.94rem;
  font-weight: 300;
  color: var(--gray-300);
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--trans-fast), background var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}

.btn-primary {
  background: var(--silver-50);
  color: var(--ink);
}

.btn-primary svg {
  width: 15px;
  height: 15px;
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(228, 195, 213, 0.25);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   WORKS / PORTFOLIO PAGE
   Requirement 1: All works, Discord works, Wallpaper works only
   Requirement 10: no text over work images
   Requirement 9: backup / restore
   -------------------------------------------------------------------------- */
.works-section {
  position: relative;
  z-index: 10;
  padding: 130px 24px 90px;
  min-height: 85vh;
}

.works-container {
  max-width: var(--container);
  margin: 0 auto;
}

.works-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.works-title-area {
  max-width: 680px;
}

.works-title-area .eyebrow {
  margin-bottom: 14px;
}

.works-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
}

html[lang="ar"] .works-page-title {
  letter-spacing: 0;
  line-height: 1.25;
  font-weight: 700;
}

.works-page-subtitle {
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--gray-400);
}

.works-admin-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-btn);
  font-size: 0.78rem;
  font-weight: 600;
  color: #a7f3d0;
}

.admin-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  background: var(--silver-50);
  color: var(--ink);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--trans-fast);
}

.admin-action-btn:hover {
  background: #ffffff;
}

.admin-backup-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--gray-200);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--trans-fast);
}

.admin-backup-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.admin-logout-btn {
  height: 36px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gray-400);
  border-radius: 12px;
  font-size: 0.78rem;
  transition: all var(--trans-fast);
}

.admin-logout-btn:hover {
  color: var(--white);
  border-color: var(--line-strong);
}

.works-filters {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.filter-btn {
  height: 38px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: all var(--trans-fast);
}

.filter-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
  color: var(--ink);
  background: var(--silver-50);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  background: linear-gradient(180deg, #1d0e17 0%, #150a11 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 8px;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
  animation: cardRise 0.7s var(--ease-out) backwards;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85), 0 0 40px -10px var(--accent-plum-glow);
}

.work-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f060b;
  overflow: hidden;
  border-radius: 18px;
}

/* NO text badges over the image (Requirement 10) */
.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out);
}

.work-card:hover .work-img {
  transform: scale(1.05);
}

.work-content {
  padding: 16px 12px 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  order: -1;
}

html[lang="ar"] .work-title {
  font-family: var(--font-arabic);
  font-weight: 600;
}

.work-category-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--plum-tint);
  font-weight: 500;
  margin-bottom: 8px;
}

html[lang="ar"] .work-category-label {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  font-size: 0.76rem;
}

.work-desc {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.work-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-500);
}

.work-delete-btn {
  padding: 5px 12px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
  border-radius: var(--radius-btn);
  font-size: 0.72rem;
  font-weight: 600;
  transition: all var(--trans-fast);
}

.work-delete-btn:hover {
  background: #dc2626;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   MODALS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 3, 6, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: linear-gradient(170deg, #22111b 0%, #140910 100%);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 32px 26px 24px;
  position: relative;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8), 0 0 60px -10px var(--accent-plum-glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: scale(0.95) translateY(14px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-step {
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--trans-fast);
}

.modal-close-btn svg {
  width: 15px;
  height: 15px;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--silver-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.modal-icon-badge.success {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
}

.modal-icon-badge svg {
  width: 24px;
  height: 24px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 6px;
}

html[lang="ar"] .modal-title {
  letter-spacing: 0;
  font-weight: 700;
}

.modal-subtitle {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.modal-form-step {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-300);
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: rgba(8, 3, 6, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--white);
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.form-input[type="file"] {
  height: auto;
  padding: 10px 12px;
}

.form-textarea {
  height: auto;
  min-height: 110px;
  padding: 12px 16px;
  line-height: 1.55;
  resize: vertical;
}

.form-req {
  color: #f87171;
}

/* Example image upload */
.upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(8, 3, 6, 0.6);
  color: var(--gray-300);
  font-size: 0.86rem;
  text-align: center;
  transition: border-color var(--trans-fast), background var(--trans-fast), color var(--trans-fast);
}

.upload-drop svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.upload-drop:hover,
.upload-drop.dragging {
  border-color: var(--plum-tint);
  background: rgba(228, 195, 213, 0.06);
  color: var(--white);
}

.upload-input:focus-visible + .upload-previews,
.upload-drop:focus-within {
  outline: 2px solid var(--plum-tint);
  outline-offset: 3px;
}

.upload-previews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.upload-previews:empty {
  display: none;
}

.upload-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(8, 3, 6, 0.6);
}

.upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.upload-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(10, 4, 8, 0.8);
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-remove:hover {
  background: #dc2626;
}

.ref-reminder {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.1);
  color: #fcd34d;
  font-size: 0.82rem;
}

.form-error {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  font-size: 0.82rem;
  line-height: 1.5;
}

.modal-primary-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Free-text answers (may be Arabic) use the text face, not mono */
.modal-meta-val[dir="auto"] {
  font-family: var(--font-main);
  max-width: 65%;
  text-align: end;
  overflow-wrap: anywhere;
}

.form-input::placeholder {
  color: var(--gray-500);
}

.form-input:focus {
  outline: none;
  border-color: var(--plum-tint);
  box-shadow: 0 0 0 4px rgba(228, 195, 213, 0.12);
}

.order-summary {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
}

.order-summary-row span {
  color: var(--gray-400);
}

.order-summary-row strong {
  color: var(--white);
  font-weight: 600;
}

.order-summary-price {
  font-family: var(--font-main);
  color: var(--plum-tint) !important;
}

/* Payment choice + Al Rajhi transfer steps */
.pay-options {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.pay-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-box);
  background: rgba(8, 3, 6, 0.6);
  color: var(--white);
  text-align: start;
  transition: border-color var(--trans-fast), background var(--trans-fast);
}

.pay-option:hover,
.pay-option:focus-visible {
  border-color: var(--plum-tint);
  background: rgba(228, 195, 213, 0.06);
}

.pay-option:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.pay-option-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--silver-50);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-option-icon svg {
  width: 20px;
  height: 20px;
}

.pay-option-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pay-option-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.pay-option-text span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

#modalStepRajhi .form-group,
#modalStepPay .form-error,
#modalStepRajhi .form-error {
  width: 100%;
  margin-bottom: 12px;
}

.bank-box {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-box);
  background: rgba(8, 3, 6, 0.5);
}

.bank-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  font-size: 0.84rem;
  color: var(--gray-400);
}

.bank-amount strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--plum-tint);
}

.bank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

.bank-label {
  color: var(--gray-400);
  flex-shrink: 0;
}

.bank-value {
  flex: 1;
  min-width: 0;
  text-align: end;
  color: var(--white);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.bank-mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.bank-copy {
  flex-shrink: 0;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  color: var(--gray-300);
  font-size: 0.74rem;
  transition: all var(--trans-fast);
}

.bank-copy:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.modal-primary-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.receipt-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  font-size: 0.82rem;
}

.step-success-box {
  width: 100%;
  background: rgba(8, 3, 6, 0.5);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
}

.mandatory-ar-msg {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.5;
  font-family: var(--font-arabic);
}

.mandatory-en-msg {
  font-size: 0.84rem;
  color: var(--plum-tint);
}

.modal-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

.modal-meta-label {
  color: var(--gray-400);
}

.modal-meta-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--white);
}

.modal-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.modal-primary-btn {
  width: 100%;
  height: 50px;
  padding: 0 18px;
  background: var(--silver-50);
  color: var(--ink);
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--trans-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-primary-btn svg {
  width: 16px;
  height: 16px;
}

.modal-primary-btn:hover {
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(228, 195, 213, 0.22);
}

.modal-primary-btn.discord-btn {
  background: #5865f2;
  color: #ffffff;
}

.modal-primary-btn.discord-btn:hover {
  background: #6b77ff;
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.4);
}

.modal-secondary-btn {
  width: 100%;
  height: 46px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--gray-300);
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all var(--trans-fast);
}

.modal-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 4, 8, 0) 0%, rgba(10, 4, 8, 0.9) 100%);
  padding: 44px 0 26px;
  overflow: hidden;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--white);
}

.footer-motto {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.86rem;
  color: var(--gray-400);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 9.2rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  margin: 36px 0 20px;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.6px;
  color: var(--gray-400);
}

html[lang="ar"] .footer-status,
html[lang="ar"] .nav-commission-pill {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-commission-pill { display: none; }
}

@media (max-width: 1140px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card { min-height: 230px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-head { grid-template-columns: 1fr; gap: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-aside { position: static; }
  .process-grid { grid-template-columns: 1fr; border-top: none; }
  .process-step,
  .process-step + .process-step {
    padding: 22px 0 22px 26px;
    border-left: 1px solid var(--line-strong);
  }
  .process-step::before,
  .process-step + .process-step::before { left: -4px; top: 30px; }
  .process-num { font-size: 3rem; margin-bottom: 10px; }
  .cta-panel { grid-template-columns: 1fr; text-align: left; gap: 20px; padding: 30px 24px; }
  .cta-logo { width: 64px; height: 64px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .navbar { top: 10px; padding: 7px 8px 7px 10px; border-radius: 16px; }
  .brand-subtitle { display: none; }
  .lang-toggle-btn { padding: 0 10px; }
  .lang-toggle-btn svg { display: none; }
  .nav-cta-btn { padding: 0 12px; }
  .hero-section { padding-top: 96px; }
  .pricing-grid-4,
  .works-grid,
  .adv-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats strong { font-size: 1.15rem; }
  .section { padding: 72px 0; }
  .section-tight { padding: 24px 0 64px; }
  .works-section { padding: 104px 16px 64px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 16px; }
  .faq-question { font-size: 1rem; padding: 20px 0; }
}

@media (max-width: 400px) {
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   UTILITIES (replace inline style attributes so the CSP can forbid them)
   Scripts still show/hide these with element.style.display.
   -------------------------------------------------------------------------- */
.is-hidden { display: none; }
.is-flex { display: flex; }
.icon-14 { width: 14px; height: 14px; }
.modal-actions-spaced { margin-top: 10px; }
.modal-card-wide { max-width: 500px; }
.form-select-dark { background: #130a10; color: #fff; }
.form-file-compact { padding: 6px 10px; }

.admin-code-hint {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--gray-400);
}

#adminCodeField {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  text-align: center;
}

.admin-login-error {
  color: #f87171;
  font-size: 0.84rem;
  text-align: center;
  padding: 6px;
  background: rgba(239, 68, 68, 0.12);
  border-radius: 8px;
}
