:root {
  --bg: #041121;
  --bg-alt: #071a33;
  --panel: rgba(8, 24, 45, 0.76);
  --panel-2: rgba(9, 21, 39, 0.92);
  --line: rgba(126, 184, 255, 0.18);
  --line-strong: rgba(244, 205, 85, 0.28);
  --text: #f6f2e8;
  --muted: #b9c7dc;
  --blue: #2a7fe7;
  --cyan: #36daf5;
  --gold: #f4cd55;
  --gold-soft: #f8e59d;
  --success: #5de6b1;
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.35);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 48px));
  --font-code:
    "JetBrains Mono", "IBM Plex Mono", "Azeret Mono", "Cascadia Code", Consolas,
    monospace;

  color-scheme: dark;
  forced-color-adjust: none;
}

/* 1. TYPOGRAPHY & BLUR FIX */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ios-retina-text { font-weight: 500 !important; letter-spacing: -0.01em; }

/* 3. ELEMENT APPEARANCE RESET (Zero Native Styles) */
button, input, select, textarea, .clickable, a {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  outline: none; border-radius: 0;
}

/* 4. HARDWARE ACCELERATION CLASS */
.ios-render-fix {
  transform: translateZ(0); -webkit-transform: translateZ(0);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  perspective: 1000; -webkit-perspective: 1000;
  will-change: transform;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--fm);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

* {
  box-sizing: border-box;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Color Variations ── */
[data-color="blue"] {
  --gold: #3b82f6;
  --gold-soft: #60a5fa;
  --blue: #1d4ed8;
  --cyan: #38bdf8;
  --line-strong: rgba(59, 130, 246, 0.28);
}
[data-color="green"] {
  --gold: #10b981;
  --gold-soft: #34d399;
  --blue: #047857;
  --cyan: #6ee7b7;
  --line-strong: rgba(16, 185, 129, 0.28);
}
[data-color="purple"] {
  --gold: #8b5cf6;
  --gold-soft: #a78bfa;
  --blue: #6d28d9;
  --cyan: #c084fc;
  --line-strong: rgba(139, 92, 246, 0.28);
}
[data-color="rose"] {
  --gold: #f43f5e;
  --gold-soft: #fb7185;
  --blue: #be123c;
  --cyan: #fda4af;
  --line-strong: rgba(244, 63, 94, 0.28);
}

/* ── Light Mode Override ── */
[data-color="light"] {
  color-scheme: light;
  --bg: #f4f1ec;
  --bg-alt: #eae6df;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-2: rgba(245, 243, 238, 0.95);
  --line: rgba(0, 30, 80, 0.1);
  --line-strong: rgba(180, 140, 40, 0.22);
  --text: #1a1a2e;
  --muted: #4a5568;
  --blue: #2563eb;
  --cyan: #0891b2;
  --gold: #b8860b;
  --gold-soft: #a07608;
  --success: #059669;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

[data-color="light"] body {
  background:
    radial-gradient(
      circle at 15% 18%,
      rgba(37, 99, 235, 0.06),
      rgba(255, 255, 255, 0) 24%
    ),
    radial-gradient(
      circle at 82% 14%,
      rgba(184, 134, 11, 0.06),
      rgba(255, 255, 255, 0) 18%
    ),
    radial-gradient(
      circle at 55% 88%,
      rgba(8, 145, 178, 0.05),
      rgba(255, 255, 255, 0) 24%
    ),
    linear-gradient(180deg, #f4f1ec 0%, #ebe8e0 48%, #f0ede6 100%);
}

[data-color="light"] body::before {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, rgba(255, 255, 255, 0) 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, rgba(255, 255, 255, 0) 1px);
  opacity: 0.3;
}

[data-color="light"] body::after {
  background:
    radial-gradient(
      circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
      rgba(37, 99, 235, 0.04),
      rgba(255, 255, 255, 0) 18%
    ),
    radial-gradient(
      circle at calc(var(--spotlight-x, 50%) + 10%)
        calc(var(--spotlight-y, 50%) + 8%),
      rgba(184, 134, 11, 0.03),
      rgba(255, 255, 255, 0) 16%
    );
}

[data-color="light"] ::selection {
  background: rgba(37, 99, 235, 0.15);
  color: #1a1a2e;
}

[data-color="light"] html {
  scrollbar-color: var(--gold) var(--bg);
}

[data-color="light"] ::-webkit-scrollbar-track {
  background: var(--bg);
}
[data-color="light"] ::-webkit-scrollbar-thumb {
  background: rgba(184, 134, 11, 0.35);
  border-color: var(--bg);
}
[data-color="light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(184, 134, 11, 0.65);
}

/* Light mode header */
[data-color="light"] .global-header-inner {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

[data-color="light"] .global-brand img {
  filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.1));
}

[data-color="light"] .global-nav-link:hover,
[data-color="light"] .global-nav-trigger:hover,
[data-color="light"] .global-nav-item:hover > .global-nav-trigger {
  background: rgba(0, 0, 0, 0.04);
}

[data-color="light"] .global-dropdown {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

[data-color="light"] .global-dropdown-link:hover {
  background: rgba(0, 0, 0, 0.04);
}

[data-color="light"] .global-lang {
  border-color: rgba(0, 30, 80, 0.12);
  color: var(--muted);
}

[data-color="light"] .global-cta {
  background: linear-gradient(135deg, #b8860b, #d4a017);
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 134, 11, 0.2);
}

[data-color="light"] .global-mobile-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

[data-color="light"] .global-burger {
  border-color: rgba(0, 30, 80, 0.12);
  background: rgba(0, 0, 0, 0.03);
}

[data-color="light"] .global-burger span,
[data-color="light"] button.global-burger#global-burger span {
  background: var(--text) !important;
}

[data-color="light"] .global-mobile-header {
  border-bottom-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .global-mobile-brand strong,
[data-color="light"] .global-mobile-link,
[data-color="light"] .global-mobile-group summary,
[data-color="light"] .mobile-social a {
  color: var(--text);
}

[data-color="light"] .global-mobile-group a {
  color: var(--muted);
}

[data-color="light"] .global-mobile-close {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Light mode cards & panels */
[data-color="light"] .insight-card,
[data-color="light"] .pillar-card,
[data-color="light"] .service-strip,
[data-color="light"] .pricing-mini,
[data-color="light"] .contact-route-card,
[data-color="light"] .contact-data-card,
[data-color="light"] .brief-card,
[data-color="light"] .matrix-card,
[data-color="light"] .detail-slab,
[data-color="light"] .editorial-block,
[data-color="light"] .editorial-note {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7),
    rgba(245, 243, 238, 0.6)
  );
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

[data-color="light"] .subhero-metric {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 30, 80, 0.08);
}

/* Light mode footer */
[data-color="light"] .global-footer {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 30, 80, 0.08);
}

/* Light mode announcement */
[data-color="light"] .announcement {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.1);
  color: var(--text);
}

/* Light mode search */
[data-color="light"] .search-toolbar {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .search-input {
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  color: var(--text) !important;
}

[data-color="light"] .search-result-card {
  background: rgba(255, 255, 255, 0.65) !important;
  border-color: rgba(0, 30, 80, 0.06) !important;
}

[data-color="light"] .search-result-card:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(37, 99, 235, 0.15) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06) !important;
}

/* Light mode game cards */
[data-color="light"] .game-card-premium,
[data-color="light"] .game-intro-card,
[data-color="light"] .game-side-card,
[data-color="light"] .leaderboard-card,
[data-color="light"] .player-profile-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .game-card-premium:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

/* Light mode background text */
[data-color="light"] #mashhor-bg-text {
  color: rgba(0, 30, 80, 0.03) !important;
  -webkit-text-stroke-color: rgba(0, 30, 80, 0.04) !important;
}

/* Light mode WhatsApp float */
[data-color="light"] .wa-float-msg {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Light mode scroll progress */
[data-color="light"] .scroll-progress {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

/* Light mode back to top */
[data-color="light"] .back-to-top {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 30, 80, 0.1);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Light mode pricing */
[data-color="light"] .pricing-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 30, 80, 0.08);
}

/* Light mode sticky CTA */
[data-color="light"] .sticky-mobile-cta {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

/* Light mode floating brands — removed */
/* Light mode cursor — removed */

/* ══════════════════════════════════════════════════════════════
   COMPREHENSIVE LIGHT MODE — Full Component Overrides
   Mashhor Hub Brand: warm whites, gold accents, deep blue text
   ══════════════════════════════════════════════════════════════ */

/* ── Hero Copy (Main Hero Background) ── */
[data-color="light"] .hero-copy {
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.04), rgba(255, 255, 255, 0) 48%),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.92),
      rgba(245, 243, 238, 0.95)
    ) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06) !important;
}

[data-color="light"] .hero-visual {
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(37, 99, 235, 0.08),
      rgba(255, 255, 255, 0) 32%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 243, 238, 0.94)) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
}

/* ── Subhero Panel (Used on sub-pages) ── */
[data-color="light"] .subhero-panel {
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.06),
      rgba(255, 255, 255, 0) 26%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 243, 238, 0.94)) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06) !important;
}

[data-color="light"] .subhero-panel h1 {
  color: #1a1a2e;
}

[data-color="light"] .subhero-panel h1 span {
  color: var(--gold);
}

[data-color="light"] .subhero-metric {
  background: rgba(255, 255, 255, 0.65) !important;
  border-color: rgba(0, 30, 80, 0.08) !important;
}

/* ── Announcement Bar ── */
[data-color="light"] .announcement {
  background: rgba(37, 99, 235, 0.06) !important;
  border-color: rgba(37, 99, 235, 0.12) !important;
  color: #2d3748 !important;
}

/* ── Hero Carousel ── */
[data-color="light"] .hero-carousel {
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ── Hero Section Text ── */
[data-color="light"] .hero h1 {
  color: #1a1a2e;
}

[data-color="light"] .hero h1 span {
  color: var(--gold);
}

[data-color="light"] .eyebrow {
  color: var(--blue);
}

[data-color="light"] .lead {
  color: #3a4a5e;
}

[data-color="light"] .section h2 {
  color: #1a1a2e;
}

[data-color="light"] .section h2 span {
  color: var(--gold);
}

[data-color="light"] .section-header p.eyebrow {
  color: var(--blue);
}

/* ── Proof Chips (Hero) ── */
[data-color="light"] .proof-chip {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 30, 80, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-color="light"] .proof-chip:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(184, 134, 11, 0.25);
}

[data-color="light"] .proof-chip strong {
  color: var(--gold);
}

[data-color="light"] .proof-chip span {
  color: #4a5568;
}

/* ── Hero Console ── */
[data-color="light"] .hero-console {
  background:
    radial-gradient(
      circle at top right,
      rgba(184, 134, 11, 0.08),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(245, 243, 238, 0.9)) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06) !important;
}

[data-color="light"] .hero-console-top {
  color: #4a5568;
}

[data-color="light"] .console-dots span {
  background: rgba(0, 30, 80, 0.2);
}

[data-color="light"] .console-panel {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .console-panel h3 {
  color: #1a1a2e;
}

[data-color="light"] .console-panel p {
  color: #4a5568;
}

[data-color="light"] .console-stat {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .console-stat:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(184, 134, 11, 0.2);
}

[data-color="light"] .console-stat strong {
  color: var(--cyan);
}

[data-color="light"] .console-stat span {
  color: #4a5568;
}

/* ── Hero Side Card ── */
[data-color="light"] .hero-side-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75),
    rgba(245, 243, 238, 0.7)
  ) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
}

[data-color="light"] .hero-side-card h3 {
  color: #1a1a2e;
}

[data-color="light"] .hero-side-card p {
  color: #4a5568;
}

/* ── Metrics Row (Hero) ── */
[data-color="light"] .metric {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75),
    rgba(245, 243, 238, 0.65)
  );
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-color="light"] .metric strong {
  color: var(--cyan);
}

[data-color="light"] .metric span {
  color: #4a5568;
}

/* ── Animated Stats Showcase ── */
[data-color="light"] .stat-item {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(184, 134, 11, 0.06),
      rgba(255, 255, 255, 0) 48%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(245, 243, 238, 0.7)) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06) !important;
}

[data-color="light"] .stat-item:hover {
  border-color: rgba(184, 134, 11, 0.25) !important;
  box-shadow:
    0 16px 48px rgba(184, 134, 11, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.06) !important;
}

[data-color="light"] .stat-item::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--gold), rgba(255, 255, 255, 0));
}

[data-color="light"] .stat-number {
  background: linear-gradient(135deg, var(--gold), var(--cyan)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-color="light"] .stat-label {
  color: #4a5568;
}

/* ── Service Icon Cards ── */
[data-color="light"] .service-icon-card {
  background-color: rgba(255, 255, 255, 0.8) !important;
  background-image: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.03),
    rgba(255, 255, 255, 0.6)
  ) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
}

[data-color="light"] .service-icon-card:hover {
  border-color: rgba(184, 134, 11, 0.25) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08) !important;
}

[data-color="light"] .service-icon-card h3 {
  color: #1a1a2e;
}

[data-color="light"] .service-icon-card p {
  color: #4a5568;
}

[data-color="light"] .service-icon-card .svc-icon {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12),
    rgba(8, 145, 178, 0.1)
  );
  border-color: rgba(37, 99, 235, 0.15);
}

[data-color="light"] .service-icon-card .text-link {
  color: var(--gold);
}

/* ── Why Choose Us Cards ── */
[data-color="light"] .why-card {
  background-color: rgba(255, 255, 255, 0.8) !important;
  background-image: linear-gradient(
    180deg,
    rgba(8, 145, 178, 0.03),
    rgba(255, 255, 255, 0.5)
  ) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
}

[data-color="light"] .why-card:hover {
  border-color: rgba(184, 134, 11, 0.25) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08) !important;
}

[data-color="light"] .why-body h3 {
  color: #1a1a2e;
}

[data-color="light"] .why-body p {
  color: #4a5568;
}

[data-color="light"] .why-icon {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12),
    rgba(8, 145, 178, 0.1)
  );
  border-color: rgba(37, 99, 235, 0.15);
}

[data-color="light"] .why-card:nth-child(2) .why-icon {
  background: linear-gradient(
    135deg,
    rgba(184, 134, 11, 0.12),
    rgba(212, 160, 23, 0.1)
  );
  border-color: rgba(184, 134, 11, 0.2);
}

[data-color="light"] .why-card:nth-child(3) .why-icon {
  background: linear-gradient(
    135deg,
    rgba(5, 150, 105, 0.12),
    rgba(8, 145, 178, 0.1)
  );
  border-color: rgba(5, 150, 105, 0.18);
}

[data-color="light"] .why-card:nth-child(4) .why-icon {
  background: linear-gradient(
    135deg,
    rgba(184, 134, 11, 0.1),
    rgba(37, 99, 235, 0.1)
  );
  border-color: rgba(184, 134, 11, 0.16);
}

/* ── Geography / Coverage Section ── */
[data-color="light"] .geo-map-panel {
  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(37, 99, 235, 0.06),
      rgba(255, 255, 255, 0) 32%
    ),
    radial-gradient(
      circle at 75% 70%,
      rgba(184, 134, 11, 0.05),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(245, 243, 238, 0.9)) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06) !important;
}

[data-color="light"] .geo-map-panel h3 {
  color: #1a1a2e;
}

[data-color="light"] .geo-map-panel p {
  color: #4a5568 !important;
}

[data-color="light"] .geo-point {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .geo-point:hover {
  border-color: rgba(184, 134, 11, 0.25);
}

[data-color="light"] .geo-point strong {
  color: #1a1a2e;
}

[data-color="light"] .geo-point span {
  color: #4a5568;
}

[data-color="light"] .geo-stat-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    rgba(245, 243, 238, 0.7)
  ) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05) !important;
}

[data-color="light"] .geo-stat-card:hover {
  border-color: rgba(184, 134, 11, 0.25) !important;
}

[data-color="light"] .geo-stat-card span {
  color: #4a5568;
}

[data-color="light"] .social-proof-strip {
  border-color: rgba(0, 30, 80, 0.06);
}

[data-color="light"] .social-proof-item {
  color: #4a5568;
}

/* ── Process / How We Work ── */
[data-color="light"] .process-step {
  background-color: rgba(255, 255, 255, 0.85) !important;
  background-image: linear-gradient(
    180deg,
    rgba(8, 145, 178, 0.03),
    rgba(255, 255, 255, 0.4)
  ) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05) !important;
}

[data-color="light"] .process-step:hover {
  border-color: rgba(184, 134, 11, 0.25) !important;
}

[data-color="light"] .process-step h3 {
  color: #1a1a2e;
}

[data-color="light"] .process-step p {
  color: #4a5568;
}

[data-color="light"] .process-icon {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.14),
    rgba(8, 145, 178, 0.1)
  );
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.08);
  color: #1a1a2e;
}

[data-color="light"] .process-step:nth-child(2) .process-icon {
  background: linear-gradient(
    135deg,
    rgba(184, 134, 11, 0.14),
    rgba(212, 160, 23, 0.1)
  );
  border-color: rgba(184, 134, 11, 0.2);
  box-shadow: 0 0 24px rgba(184, 134, 11, 0.08);
}

[data-color="light"] .process-step:nth-child(3) .process-icon {
  background: linear-gradient(
    135deg,
    rgba(5, 150, 105, 0.14),
    rgba(8, 145, 178, 0.1)
  );
  border-color: rgba(5, 150, 105, 0.18);
  box-shadow: 0 0 24px rgba(5, 150, 105, 0.08);
}

[data-color="light"] .process-step:nth-child(4) .process-icon {
  background: linear-gradient(
    135deg,
    rgba(184, 134, 11, 0.12),
    rgba(37, 99, 235, 0.12)
  );
  border-color: rgba(184, 134, 11, 0.18);
  box-shadow: 0 0 24px rgba(184, 134, 11, 0.06);
}

[data-color="light"] .process-timeline::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(0, 30, 80, 0.08),
    rgba(184, 134, 11, 0.2),
    rgba(0, 30, 80, 0.08),
    rgba(255, 255, 255, 0)
  );
}

/* ── Testimonials ── */
[data-color="light"] .testimonials-slider {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(37, 99, 235, 0.05),
      rgba(255, 255, 255, 0) 28%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(184, 134, 11, 0.04),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88),
      rgba(245, 243, 238, 0.92)
    ) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06) !important;
}

[data-color="light"] .testimonial-content blockquote {
  color: #2d3748;
  border-inline-start-color: var(--gold);
}

[data-color="light"] .testimonial-author strong {
  color: #1a1a2e;
}

[data-color="light"] .testimonial-avatar {
  border-color: rgba(184, 134, 11, 0.3);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12),
    rgba(8, 145, 178, 0.12)
  );
  color: var(--gold);
}

[data-color="light"] .testimonial-dot {
  background: rgba(0, 30, 80, 0.15);
}

[data-color="light"] .testimonial-dot.active {
  background: var(--gold);
  box-shadow: 0 0 14px rgba(184, 134, 11, 0.3);
}

/* ── Statement / Brand Narrative Cards ── */
[data-color="light"] .statement-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    rgba(245, 243, 238, 0.7)
  ) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
}

[data-color="light"] .statement-card h2 {
  color: #1a1a2e;
}

[data-color="light"] .statement-card h2 span {
  color: var(--gold);
}

[data-color="light"] .statement-card li {
  color: #4a5568;
}

[data-color="light"] .statement-card .eyebrow {
  color: var(--blue);
}

/* ── Project / Portfolio Cards ── */
[data-color="light"] .project-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    rgba(245, 243, 238, 0.7)
  ) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
}

[data-color="light"] .project-card:hover {
  border-color: rgba(184, 134, 11, 0.25) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08) !important;
}

[data-color="light"] .project-card h3 {
  color: #1a1a2e;
}

[data-color="light"] .project-card p {
  color: #4a5568;
}

[data-color="light"] .project-card.featured {
  border-color: rgba(184, 134, 11, 0.2) !important;
  background: linear-gradient(
    180deg,
    rgba(184, 134, 11, 0.04),
    rgba(255, 255, 255, 0.8)
  ) !important;
}

[data-color="light"] .project-kicker {
  color: var(--gold);
}

[data-color="light"] .project-card .text-link {
  color: var(--gold);
}

/* ── Client Logos ── */
[data-color="light"] .client-logo-item {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .client-logo-item:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(184, 134, 11, 0.2);
}

[data-color="light"] .client-logo-item img {
  filter: brightness(0.9) contrast(1.1);
  opacity: 0.85;
}

[data-color="light"] .client-logo-item:hover img {
  filter: brightness(1) contrast(1.1);
  opacity: 1;
}

/* ── Hero Carousel ── */
[data-color="light"] .hero-carousel-container {
  border-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .hero-slide-overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
}

/* ── Section Dividers ── */
[data-color="light"] .section-divider {
  border-color: rgba(0, 30, 80, 0.06) !important;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(184, 134, 11, 0.15),
    rgba(255, 255, 255, 0)
  ) !important;
}

/* ── Lead Magnet Section ── */
[data-color="light"] .lead-magnet .section-header h2 {
  color: #1a1a2e;
}

[data-color="light"] .lead-magnet .lead {
  color: #4a5568;
}

[data-color="light"] .lead-magnet-form {
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
}

[data-color="light"] .lead-magnet-form input[type="email"] {
  color: #1a1a2e !important;
}

[data-color="light"] .lead-magnet-form input[type="email"]::placeholder {
  color: #8a94a6;
}

/* ── Buttons ── */
[data-color="light"] .button-gold {
  background: linear-gradient(135deg, #b8860b, #d4a017);
  color: #fff;
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.25);
}

[data-color="light"] .button-gold:hover {
  box-shadow: 0 12px 32px rgba(184, 134, 11, 0.35);
}

[data-color="light"] .ghost-button {
  border-color: rgba(0, 30, 80, 0.2);
  color: #2d3748;
}

[data-color="light"] .ghost-button:hover {
  border-color: rgba(184, 134, 11, 0.35);
  color: var(--gold);
  background: rgba(184, 134, 11, 0.04);
}

/* ── Text Links ── */
[data-color="light"] .text-link {
  color: var(--gold);
}

[data-color="light"] .text-link:hover {
  color: #96700a;
}

/* ── Generic Cards, Contact, Timeline, Pricing ── */
[data-color="light"] .card,
[data-color="light"] .contact-card,
[data-color="light"] .timeline-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75),
    rgba(245, 243, 238, 0.65)
  );
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-color="light"] .card h3,
[data-color="light"] .contact-card h3,
[data-color="light"] .timeline-card h3 {
  color: #1a1a2e;
}

[data-color="light"] .card p,
[data-color="light"] .contact-card p,
[data-color="light"] .timeline-card p {
  color: #4a5568;
}

/* ── Light Mode Form Fields ── */
[data-color="light"] .form-group input,
[data-color="light"] .form-group select,
[data-color="light"] .form-group textarea {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 30, 80, 0.12);
  color: #1a1a2e;
}

[data-color="light"] .form-group input:focus,
[data-color="light"] .form-group select:focus,
[data-color="light"] .form-group textarea:focus {
  background: #ffffff;
  border-color: rgba(184, 134, 11, 0.35);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.08);
}

[data-color="light"] .form-group select option {
  background: #ffffff;
  color: #1a1a2e;
}

/* ── Pricing & Details ── */
[data-color="light"] .insight-card h3,
[data-color="light"] .detail-slab h3,
[data-color="light"] .resource-card h3 {
  color: #1a1a2e !important;
}

[data-color="light"] .insight-card p,
[data-color="light"] .detail-slab ul li,
[data-color="light"] .detail-slab p,
[data-color="light"] .resource-card p {
  color: #4a5568 !important;
}

[data-color="light"] .pricing-card {
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
}

[data-color="light"] .pricing-card h3,
[data-color="light"] .pricing-card .price {
  color: #1a1a2e !important;
}

[data-color="light"] .pricing-card .list li,
[data-color="light"] .pricing-card .mini-label,
[data-color="light"] .pricing-note {
  color: #4a5568 !important;
}

[data-color="light"] .pricing-card.highlight {
  border-color: rgba(184, 134, 11, 0.25) !important;
  background: linear-gradient(
    180deg,
    rgba(184, 134, 11, 0.04),
    rgba(255, 255, 255, 0.85)
  ) !important;
}

/* ── Trust Band ── */
[data-color="light"] .trust-item {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75),
    rgba(245, 243, 238, 0.65)
  );
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-color="light"] .trust-item strong {
  color: var(--gold);
}

[data-color="light"] .trust-item span {
  color: #4a5568;
}

/* ── Step Cards ── */
[data-color="light"] .step-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75),
    rgba(245, 243, 238, 0.65)
  );
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ── Showcase Banner ── */
[data-color="light"] .showcase-banner {
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.06),
      rgba(255, 255, 255, 0) 26%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.75),
      rgba(245, 243, 238, 0.65)
    ) !important;
  border-color: rgba(0, 30, 80, 0.1) !important;
}

[data-color="light"] .showcase-banner h3 {
  color: #1a1a2e;
}

[data-color="light"] .showcase-banner p {
  color: #4a5568;
}

/* ── Metric Box ── */
[data-color="light"] .metric-box {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .metric-box strong {
  color: var(--gold);
}

[data-color="light"] .metric-box span {
  color: #4a5568;
}

/* ── Logo Pill ── */
[data-color="light"] .logo-pill {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 30, 80, 0.08);
  color: #4a5568;
}

/* ── Copyright & Footer text ── */
[data-color="light"] .copyright {
  color: rgba(0, 30, 80, 0.45);
}

[data-color="light"] .footer-links a {
  color: #4a5568;
}

/* ── Hero Premium glow ── */
[data-color="light"] .hero.hero-premium::before,
[data-color="light"] .subhero::before {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0) 68%);
}

/* ── Floating Chips in Hero ── */
[data-color="light"] .floating-chip {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 30, 80, 0.1);
  color: #4a5568;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

/* ── Contact Form / Brief ── */
[data-color="light"] .contact-method strong {
  color: #1a1a2e;
}

[data-color="light"] .contact-method span {
  color: #4a5568;
}

/* ── Featured Card, Process Step, Geo Stat general hover adjustments ── */
[data-color="light"] .featured-card,
[data-color="light"] .cs-stat {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ── Geo Portfolio Card (inline styles override) ── */
[data-color="light"] .geo-portfolio-card {
  background: linear-gradient(
    135deg,
    rgba(184, 134, 11, 0.08),
    rgba(255, 255, 255, 0.8)
  ) !important;
  border-color: rgba(184, 134, 11, 0.25) !important;
}

/* ── WhatsApp Float ── */
[data-color="light"] .wa-float-msg {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 30, 80, 0.08);
  color: #1a1a2e;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ── Mobile Navigation ── */
[data-color="light"] .global-mobile-link {
  color: #1a1a2e;
}

[data-color="light"] .global-mobile-link:hover {
  color: var(--gold);
}

/* ── Theme Color Picker ── */
.theme-color-picker {
  position: relative;
  display: inline-flex;
}

.color-picker-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0;
  color: var(--gold);
  transition: all 0.3s ease;
}

.color-picker-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.color-picker-toggle svg {
  width: 20px;
  height: 20px;
}

.color-picker-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 16px;
  display: flex;
  gap: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.color-picker-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.color-dot:hover {
  transform: scale(1.15);
}

.color-dot.active {
  border-color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.3);
}

.global-mobile-header-actions .color-picker-menu {
  right: 0;
  left: auto;
  transform: translateY(10px);
}

.global-mobile-header-actions .color-picker-menu.show {
  transform: translateY(0);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold) var(--bg);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
  
}

::-webkit-scrollbar-thumb {
  background: rgba(244, 205, 85, 0.4);
  border-radius: 10px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 205, 85, 0.8);
}

::selection {
  background: rgba(244, 205, 85, 0.2);
  color: var(--gold);
  text-shadow: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Alexandria", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 15% 18%,
      rgba(42, 127, 231, 0.22),
      rgba(255, 255, 255, 0) 24%
    ),
    radial-gradient(
      circle at 82% 14%,
      rgba(244, 205, 85, 0.14),
      rgba(255, 255, 255, 0) 18%
    ),
    radial-gradient(
      circle at 55% 88%,
      rgba(54, 218, 245, 0.12),
      rgba(255, 255, 255, 0) 24%
    ),
    linear-gradient(180deg, #041121 0%, #06182f 48%, #020a15 100%);
  line-height: 1.8;
  cursor: auto;
}

.page-shell {
  opacity: 0;
  animation: pageFadeIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html[lang^="en"] h1,
html[lang^="en"] h2,
html[lang^="en"] h3,
html[lang^="en"] .eyebrow,
html[lang^="en"] .mini-label,
html[lang^="en"] .global-nav-link,
html[lang^="en"] .global-nav-trigger,
html[lang^="en"] .global-dropdown-link,
html[lang^="en"] .global-lang,
html[lang^="en"] .global-cta,
html[lang^="en"] .button,
html[lang^="en"] .ghost-button,
html[lang^="en"] .project-kicker,
html[lang^="en"] .tag-link,
html[lang^="en"] .mono-label {
  font-family: var(--font-code);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 40%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  opacity: 0.26;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
      rgba(54, 218, 245, 0.12),
      rgba(255, 255, 255, 0) 18%
    ),
    radial-gradient(
      circle at calc(var(--spotlight-x, 50%) + 10%)
        calc(var(--spotlight-y, 50%) + 8%),
      rgba(244, 205, 85, 0.08),
      rgba(255, 255, 255, 0) 16%
    );
  pointer-events: none;
  opacity: 0.9;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.page-shell.platform-page {
  padding-top: 26px;
}

[data-platform-header],
[data-platform-footer] {
  display: block;
}

.global-header {
  width: var(--container);
  margin: 18px auto 20px;
  position: sticky;
  top: 18px;
  z-index: 1300;
}

.global-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 45, 0.92),
    rgba(5, 16, 31, 0.88)
  );
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.global-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}

.global-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(54, 218, 245, 0.2));
}

.global-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.global-brand-copy strong {
  font-size: 1rem;
  font-weight: 800;
}

.global-brand-copy small {
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}

.global-nav-link,
.global-nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  white-space: nowrap;
  font:
    600 0.9rem/1 "Space Grotesk",
    sans-serif;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.global-nav-link:hover,
.global-nav-trigger:hover,
.global-nav-link.is-active,
.global-nav-item:hover > .global-nav-trigger {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transform: translateY(-1px);
}

.global-nav-link.is-active,
.global-mobile-link.is-active {
  color: var(--gold-soft);
}

.global-nav-item {
  position: relative;
}

.global-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: 0;
  min-width: 280px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(4, 17, 33, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.38);
  display: grid;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.global-nav-item:hover .global-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.global-dropdown-link {
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--muted);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.global-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.global-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.global-lang,
.global-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
  flex-wrap: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.global-lang {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.global-cta {
  background: linear-gradient(135deg, var(--gold), #f6b52d);
  color: #07152b;
  box-shadow: 0 14px 32px rgba(244, 205, 85, 0.18);
  min-width: 132px;
  padding-inline: 20px;
}

.global-lang:hover,
.global-cta:hover {
  transform: translateY(-2px);
}

.global-burger {
  display: none;
}

/* Critical CSS Fix: iOS Toggle Menu Compatibility */
button.global-burger#global-burger {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent !important;
  padding: 0;
  position: relative;
  /* Reset Safari default styling */
  appearance: none !important;
  -webkit-appearance: none !important;
  /* Remove iOS tap highlight */
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

button.global-burger#global-burger span {
  position: absolute;
  inset-inline-start: 13px; /* Slightly adjusted to center 20px in 46px */
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: white ; /* Forced White for iOS visibility */
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    top 0.25s ease;
}

.global-burger span:nth-child(1) {
  top: 16px;
}
.global-burger span:nth-child(2) {
  top: 22px;
}
.global-burger span:nth-child(3) {
  top: 28px;
}
.global-burger.open span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
.global-burger.open span:nth-child(2) {
  opacity: 0;
}
.global-burger.open span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.global-mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 100px 24px 100px; /* Increased bottom padding to prevent sticky WA overlay */
  background: rgba(4, 17, 33, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: none;
  z-index: 1250;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  gap: 6px;
  align-content: start;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.35s;
}

html[dir="rtl"] .global-mobile-panel {
  transform: translateX(-100%);
}

.global-mobile-panel.open {
  transform: translateX(0) !important;
  visibility: visible;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

.global-mobile-link,
.global-mobile-group summary,
.global-mobile-group a {
  display: block;
  padding: 14px 8px;
  color: var(--muted);
  font-size: 1.05rem;
  border-radius: 12px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.global-mobile-link:hover,
.global-mobile-link:active,
.global-mobile-group a:hover,
.global-mobile-group a:active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.global-mobile-link.is-active {
  color: var(--gold) !important;
  background: rgba(244, 205, 85, 0.06);
}

.global-mobile-group {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
}

.global-mobile-group summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.global-mobile-group summary::after {
  content: "▾";
  font-size: 0.75rem;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.global-mobile-group[open] summary::after {
  transform: rotate(180deg);
}

.global-mobile-group summary::-webkit-details-marker {
  display: none;
}

.global-mobile-group a {
  padding-inline-start: 20px;
  font-size: 0.95rem;
}

/* ── Mobile Header & Frame ── */
.global-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.global-mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.global-mobile-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.global-mobile-brand strong {
  font-size: 1.1rem;
  color: var(--text);
}

.global-mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.global-mobile-header-actions .theme-toggle,
.global-mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.global-mobile-header-actions .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.global-mobile-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.global-mobile-nav-frame {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 12px;
  margin-bottom: 24px;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-weight: 700;
  flex: 1;
  text-align: center;
  transition: all 0.25s ease;
}

.mobile-lang:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #f6b52d);
  color: #07152b;
  font-weight: 700;
  flex: 1;
  text-align: center;
  box-shadow: 0 10px 24px rgba(244, 205, 85, 0.15);
  transition: all 0.25s ease;
}

/* ── Mobile Menu Social Icons ── */
.mobile-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 24px;
}

.mobile-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.mobile-social a:hover {
  transform: scale(1.15);
}

.mobile-social a img,
.mobile-social a svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

/* Brand colors for SVG icons — specificity must beat .parent a */
a.social-snapchat { color: #FFFC00 !important; }
a.social-tiktok {
  color: #fff !important;
  filter: drop-shadow(1px 1px 0 #00f2fe) drop-shadow(-1px -1px 0 #ff0050);
}
a.social-pinterest { color: #E60023 !important; }


.mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(244, 205, 85, 0.25);
}

.global-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1240;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: none;
}

body.mobile-nav-open .global-mobile-backdrop {
  opacity: 1;
  visibility: visible;
}

.global-footer {
  width: var(--container);
  margin: 110px auto 36px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 32px;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 45, 0.9),
    rgba(4, 17, 33, 0.94)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  position: relative;
  overflow: hidden;
}

.global-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/map.webp") no-repeat center center;
  background-size: cover;
  opacity: 0.6;
  mix-blend-mode: overlay;
  z-index: 0;
  pointer-events: none;
}

.global-footer-grid,
.global-footer-legal,
.global-footer-bottom {
  position: relative;
  z-index: 1;
}

.global-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 22px;
}

.global-footer-brand img {
  width: 30px;
  margin-bottom: 16px;
}

/* ── Footer Social Icons ── */
.global-footer-social {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  flex-wrap: nowrap !important;
  gap: 12px;
  margin: 20px 0;
}

.global-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 25px;
  height: 25px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.global-footer-social a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.global-footer-social a svg {
  width: 90%; /* Visually balance full-bleed SVGs with padded images */
  height: 90%;
  display: block;
  object-fit: contain;
}

.global-footer-social a:hover {
  transform: translateY(-3px) scale(1.15);
  filter: brightness(1.2);
}

/* Specific SVG Colors to match brand identity */
.global-footer-social a.social-snapchat svg {
  color: #FFFC00;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.global-footer-social a.social-tiktok svg {
  color: #fff;
  filter: drop-shadow(1.5px 1.5px 0px #ff0050) drop-shadow(-1.5px -1.5px 0px #00f2fe);
}

[data-color="light"] .global-footer-social a.social-tiktok svg {
  color: #000;
}

.global-footer-social a.social-pinterest svg {
  color: #E60023;
}

@media (max-width: 768px) {
  .global-footer-social {
    justify-content: center;
    gap: 16px;
  }
}

.global-footer-brand h3,
.global-footer-col h4 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.global-footer-brand p,
.global-footer-col a {
  color: var(--muted);
}

.global-footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.global-footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.global-footer-col a {
  font-size: 0.92rem;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

html[dir="ltr"] .global-footer-col a:hover {
  color: var(--text);
  transform: translateX(3px);
}

html[dir="rtl"] .global-footer-col a:hover {
  color: var(--text);
  transform: translateX(-3px);
}

.global-footer-cta {
  display: inline-flex;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.global-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.global-footer-legal a {
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.7;
  transition:
    opacity 0.25s ease,
    color 0.25s ease;
}

.global-footer-legal a:hover {
  opacity: 1;
  color: var(--text);
}

.global-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.85; /* Better visibility for logos */
}

/* Force LTR order so Partners are always Left, Payments are always Right */
.global-footer-bottom { 
  direction: ltr; 
}
.footer-copy {
  direction: auto;
  text-align: center;
}

.footer-bottom-parteners,
.footer-bottom-payments {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom-payments {
  justify-content: flex-end;
}

.footer-bottom-parteners img,
.footer-bottom-payments img {
  height: 24px;
  max-width: 60px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-bottom-parteners img:hover,
.footer-bottom-payments img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .global-footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }
  .footer-bottom-parteners,
  .footer-bottom-payments {
    justify-content: center;
  }
}

/* ── Editorial Block (for legal pages) ── */
.editorial-block {
  max-width: 860px;
  margin: 0 auto;
}

.editorial-block h2 {
  margin: 48px 0 18px;
  font-size: 1.5rem;
}

.editorial-block h3 {
  margin: 36px 0 12px;
  font-size: 1.18rem;
  color: var(--text);
}

.editorial-block p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.editorial-block ul {
  color: var(--muted);
  line-height: 1.85;
  padding-inline-start: 20px;
  margin-bottom: 14px;
}

.editorial-block ul li {
  margin-bottom: 6px;
}

.editorial-block .editorial-note {
  font-size: 0.88rem;
  color: var(--muted);
  opacity: 0.6;
}

.topbar,
.hero,
.section,
.footer,
.announcement {
  width: calc(100% - 32px);
  max-width: 900px;
  margin: 12px auto 16px;
}

.announcement {
  margin-top: 18px;
  padding: 14px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 24, 45, 0.52);
  backdrop-filter: blur(18px);
  font-family: inherit;
  color: var(--gold-soft);
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.6;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(4, 17, 33, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand-copy small,
.eyebrow,
.mini-label,
.tag,
.nav a,
.lang-switch,
.project-kicker {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy small {
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav a:hover,
.lang-switch:hover,
.text-link:hover {
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch,
.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.lang-switch {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.button {
  background: linear-gradient(135deg, var(--gold), #f6b52d);
  color: #07152b;
  box-shadow: 0 12px 30px rgba(244, 205, 85, 0.14);
}

.ghost-button {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.button:hover,
.ghost-button:hover,
.lang-switch:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
}

.button,
.ghost-button,
.global-cta,
.global-footer-cta {
  position: relative;
  overflow: hidden;
}

.button::after,
.ghost-button::after,
.global-cta::after,
.global-footer-cta::after {
  content: "";
  position: absolute;
  inset: -120% auto -120% -30%;
  width: 40%;
  transform: rotate(18deg) translateX(-180%);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transition: transform 0.75s ease;
}

.button:hover::after,
.ghost-button:hover::after,
.global-cta:hover::after,
.global-footer-cta:hover::after {
  transform: rotate(18deg) translateX(560%);
}

.hero {
  width: var(--container);
  margin: 0 auto;
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
  padding-top: 34px;
}

.hero-copy,
.hero-visual,
.card,
.project-card,
.contact-card,
.feature-panel,
.timeline-card,
.pricing-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 48%),
    linear-gradient(160deg, rgba(10, 28, 53, 0.94), rgba(4, 17, 33, 0.9));
  transform-style: preserve-3d;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.hero h1 span,
.section h2 span {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(244, 205, 85, 0.22);
}

.lead,
.section-intro,
.card p,
.project-card p,
.contact-card p,
.timeline-card p,
.footer p,
.metric span,
.list li,
.stats p {
  color: var(--muted);
}

.hero-actions,
.contact-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-visual {
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(54, 218, 245, 0.22),
      rgba(255, 255, 255, 0) 32%
    ),
    linear-gradient(180deg, rgba(7, 21, 43, 0.86), rgba(3, 10, 21, 0.96));
}
.subhero .subhero-panel h1 {
  margin-bottom: 22px;
}
.hero-copy h1 {
  margin-bottom: 24px;
}
.lead {
  margin-top: 0;
}

.logo-stage {
  position: relative;
  z-index: 2;
  width: min(80%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  animation: floatLogo 6s ease-in-out infinite;
}

.logo-stage img {
  width: 88%;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(54, 218, 245, 0.22));
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(54, 218, 245, 0.34);
}

.orbit.one {
  inset: 12%;
  box-shadow: inset 0 0 36px rgba(42, 127, 231, 0.18);
  animation: spin 18s linear infinite;
}

.orbit.two {
  inset: 2%;
  border-color: rgba(244, 205, 85, 0.28);
  animation: spinReverse 24s linear infinite;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(5, 16, 31, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.floating-chip strong {
  display: block;
  margin-bottom: 6px;
}

.floating-chip small {
  color: var(--muted);
}

.floating-chip.one {
  top: 14%;
  left: 6%;
}

.floating-chip.two {
  right: 5%;
  bottom: 12%;
}

.metrics-row,
.stats-grid,
.grid-3,
.grid-4,
.contact-grid,
.timeline,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.metrics-row {
  margin-top: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric,
.stats,
.card,
.project-card,
.contact-card,
.timeline-card,
.pricing-card {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.03)
  );
}

.metric strong,
.stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.5rem;
  color: var(--cyan);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding-top: clamp(60px, 8vw, 110px);
}

.section-header {
  max-width: 760px;
  margin-bottom: 32px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.card:hover,
.project-card:hover,
.contact-card:hover,
.timeline-card:hover,
.pricing-card:hover,
.insight-card:hover,
.pillar-card:hover,
.service-strip:hover,
.pricing-mini:hover,
.contact-route-card:hover,
.contact-data-card:hover,
.brief-card:hover,
.matrix-card:hover,
.detail-slab:hover,
.editorial-block:hover,
.editorial-note:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
}

.card,
.project-card,
.contact-card,
.timeline-card,
.pricing-card,
.insight-card,
.pillar-card,
.service-strip,
.pricing-mini,
.contact-route-card,
.contact-data-card,
.brief-card,
.matrix-card,
.detail-slab,
.editorial-block,
.editorial-note {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  background-color: #051224;
}

.mini-label {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold-soft);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--gold-soft);
  background: rgba(244, 205, 85, 0.08);
  border: 1px solid rgba(244, 205, 85, 0.14);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.project-card.featured {
  background:
    radial-gradient(
      circle at top left,
      rgba(244, 205, 85, 0.12),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03)
    );
}

.project-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-inline-start: 18px;
}

.list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(244, 205, 85, 0.3);
}

.contact-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.contact-card.primary {
  background:
    radial-gradient(
      circle at top left,
      rgba(42, 127, 231, 0.22),
      rgba(255, 255, 255, 0) 26%
    ),
    linear-gradient(145deg, rgba(8, 24, 45, 0.94), rgba(4, 17, 33, 0.92));
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-method strong {
  display: block;
  margin-bottom: 4px;
}

.contact-method span {
  color: var(--muted);
  font-size: 0.94rem;
}

.text-link {
  color: var(--gold-soft);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(244, 205, 85, 0.14);
  color: var(--gold);
  font-weight: 800;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card.highlight {
  border-color: rgba(244, 205, 85, 0.28);
  background:
    radial-gradient(
      circle at top left,
      rgba(244, 205, 85, 0.12),
      rgba(255, 255, 255, 0) 26%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.03)
    );
}

.price {
  display: block;
  margin: 14px 0;
  color: var(--gold-soft);
  font-size: 1.8rem;
  font-weight: 800;
}

.footer {
  padding: clamp(60px, 8vw, 110px) 0 44px;
  text-align: center;
}

.footer img {
  width: min(190px, 42vw);
  margin: 0 auto 18px;
}

.footer p {
  max-width: 740px;
  margin: 0 auto 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.footer-links a {
  color: var(--muted);
}

.copyright {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.trust-band,
.steps-row {
  display: grid;
  gap: 18px;
}

.trust-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.025)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  color: var(--gold-soft);
  font-weight: 900;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.steps-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.025)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.step-number {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(42, 127, 231, 0.22),
    rgba(54, 218, 245, 0.18)
  );
  color: var(--gold-soft);
  font-weight: 900;
}

.pricing-note {
  margin-top: 16px;
  color: var(--muted);
  max-width: 720px;
}

.hero.hero-premium {
  grid-template-columns: 1fr;
  align-items: start;
}

.hero.hero-premium::before,
.subhero::before {
  content: "";
  position: absolute;
  inset: auto auto 10% 3%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(54, 218, 245, 0.14),
    rgba(255, 255, 255, 0) 68%
  );
  filter: blur(8px);
  pointer-events: none;
}

.hero-copy.hero-copy-premium {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.hero-lead-group {
  width: 100%;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.proof-chip {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition:
    border-color 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease;
}

.proof-chip:hover {
  border-color: rgba(244, 205, 85, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.proof-chip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-soft);
  font-size: 1.05rem;
}

.proof-chip span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.hero-side-stack {
  display: grid;
  gap: 18px;
}

.hero-console,
.hero-side-card,
.showcase-banner {
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-console {
  min-height: 460px;
  padding: 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(244, 205, 85, 0.12),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(180deg, rgba(9, 21, 39, 0.98), rgba(5, 16, 31, 0.96));
  animation: floatConsole 8s ease-in-out infinite;
}

.hero-console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
}

.console-dots {
  display: flex;
  gap: 7px;
}

.console-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 24px;
  align-items: start;
}

.console-panel {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.console-panel h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.console-panel p {
  color: var(--muted);
  font-size: 0.94rem;
}

.console-stat-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-column: 1 / -1;
}

.console-stat {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.console-stat:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(244, 205, 85, 0.2);
  transform: translateX(4px);
}

html[dir="rtl"] .console-stat:hover {
  transform: translateX(-4px);
}

.console-stat strong {
  display: block;
  color: var(--cyan);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.console-stat span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero-side-card {
  padding: 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
}

.hero-side-card h3 {
  margin-bottom: 8px;
}

.hero-side-card p {
  color: var(--muted);
}

.logo-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.showcase-banner {
  padding: 30px;
  background:
    radial-gradient(
      circle at top left,
      rgba(42, 127, 231, 0.18),
      rgba(255, 255, 255, 0) 26%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    );
}

.showcase-banner h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.showcase-banner p {
  color: var(--muted);
  max-width: 780px;
}

.showcase-aside {
  display: grid;
  gap: 18px;
}

.metric-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-box {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-box strong {
  display: block;
  font-size: 1.4rem;
  color: var(--gold-soft);
  margin-bottom: 4px;
}

.metric-box span {
  color: var(--muted);
  font-size: 0.88rem;
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.statement-card {
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.statement-card:first-child {
  background:
    radial-gradient(
      circle at top left,
      rgba(244, 205, 85, 0.08),
      rgba(255, 255, 255, 0) 24%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    );
}

.statement-card:last-child {
  background:
    radial-gradient(
      circle at bottom right,
      rgba(54, 218, 245, 0.08),
      rgba(255, 255, 255, 0) 24%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    );
}

.statement-card p,
.statement-card li {
  color: var(--muted);
}

.statement-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.statement-card li {
  padding-inline-start: 22px;
  position: relative;
  line-height: 1.7;
}

.statement-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(54, 218, 245, 0.3);
}

.contact-premium {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.contact-panel-premium,
.contact-form-faux {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-panel-premium {
  background:
    radial-gradient(
      circle at top left,
      rgba(42, 127, 231, 0.16),
      rgba(255, 255, 255, 0) 24%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    );
}

.contact-form-faux {
  background: linear-gradient(
    180deg,
    rgba(9, 21, 39, 0.98),
    rgba(5, 16, 31, 0.96)
  );
}

.contact-form-faux .faux-row {
  display: grid;
  gap: 12px;
}

.faux-input {
  min-height: 54px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.faux-input.large {
  min-height: 120px;
}

.subhero {
  width: var(--container);
  margin: 0 auto;
  min-height: auto;
  align-items: start;
  padding-top: 34px;
}

.subhero-panel {
  padding: clamp(32px, 4.4vw, 56px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      circle at top left,
      rgba(54, 218, 245, 0.14),
      rgba(255, 255, 255, 0) 26%
    ),
    linear-gradient(180deg, rgba(8, 24, 45, 0.92), rgba(4, 17, 33, 0.96));
  box-shadow: var(--shadow);
}

.subhero-panel h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.9rem);
  max-width: none;
}

.subhero-side,
.editorial-grid,
.pillar-grid,
.service-architecture,
.route-grid,
.brief-grid,
.matrix-grid,
.detail-grid,
.pricing-mini-grid,
.subhero-metrics {
  display: grid;
  gap: 18px;
}

.subhero-side {
  align-content: start;
}

.insight-card,
.pillar-card,
.service-strip,
.pricing-mini,
.contact-route-card,
.contact-data-card,
.brief-card,
.matrix-card,
.detail-slab,
.editorial-block,
.editorial-note {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: var(--shadow);
}

.editorial-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.editorial-block {
  padding: 34px;
  background:
    radial-gradient(
      circle at top left,
      rgba(244, 205, 85, 0.1),
      rgba(255, 255, 255, 0) 24%
    ),
    linear-gradient(180deg, rgba(8, 24, 45, 0.92), rgba(4, 17, 33, 0.96));
}

.subhero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.subhero-metric {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.subhero-metric b {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 1.2rem;
}

.insight-card strong,
.pricing-mini strong,
.contact-data-card strong,
.brief-card strong,
.matrix-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Space Grotesk", sans-serif;
}

.pillar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-architecture {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-strip {
  display: grid;
  gap: 14px;
}

.service-strip-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.service-strip-top span {
  display: inline-flex;
  min-width: 46px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(244, 205, 85, 0.12);
  color: var(--gold);
  font-weight: 900;
}

.service-strip ul,
.detail-slab ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-strip li,
.detail-slab li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--muted);
}

.service-strip li::before,
.detail-slab li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.route-grid,
.brief-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.contact-route-card.primary,
.brief-card.primary {
  background:
    radial-gradient(
      circle at top left,
      rgba(42, 127, 231, 0.18),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(180deg, rgba(8, 24, 45, 0.94), rgba(4, 17, 33, 0.96));
}

.contact-route-list,
.contact-data-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-route-item,
.contact-data-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-route-item small,
.contact-data-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.pricing-mini-grid,
.matrix-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-mini b {
  display: block;
  margin: 12px 0 18px;
  font-size: 1.65rem;
  color: var(--gold-soft);
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-closing {
  width: var(--container);
  margin: 90px auto 0;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      circle at top left,
      rgba(244, 205, 85, 0.14),
      rgba(255, 255, 255, 0) 24%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(54, 218, 245, 0.12),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(180deg, rgba(8, 24, 45, 0.92), rgba(4, 17, 33, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.platform-closing-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  margin-bottom: 12px;
}

.platform-closing-copy p {
  color: var(--muted);
  max-width: 60ch;
}

.platform-closing-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.badge-row,
.link-collection,
.faq-stack {
  display: grid;
  gap: 14px;
}

.badge-row {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.mini-badge,
.tag-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  text-align: center;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.mini-badge:hover,
.tag-link:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 205, 85, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.link-collection,
.library-grid,
.resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.archive-list {
  display: grid;
  gap: 16px;
}

.archive-link {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: var(--shadow);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.archive-link:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 205, 85, 0.3);
}

.archive-link strong {
  font-size: 1.05rem;
}

.archive-link span,
.archive-link small {
  color: var(--muted);
}

.faq-item {
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.resource-card {
  min-height: 100%;
}

.resource-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.resource-card li {
  color: var(--muted);
  padding-inline-start: 16px;
  position: relative;
}

.resource-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.search-shell {
  display: grid;
  gap: 18px;
}

.search-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: var(--shadow);
}

.search-input {
  width: 100%;
  min-height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 17, 33, 0.72);
  color: var(--text);
  padding: 0 18px;
  font:
    500 1rem/1.2 "Alexandria",
    sans-serif;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

html[lang^="en"] .search-input {
  font-family: var(--font-code);
}

.search-input:focus {
  border-color: rgba(54, 218, 245, 0.42);
  box-shadow: 0 0 0 4px rgba(54, 218, 245, 0.08);
}

.search-count,
.mono-label {
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.search-grid,
.prompt-grid,
.call-steps {
  display: grid;
  gap: 18px;
}

.search-grid,
.prompt-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.search-result-card,
.prompt-card,
.call-step {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background-color: #051224;
  background-image: linear-gradient(
    180deg,
    rgba(54, 218, 245, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease;
}

.search-result-card:hover,
.prompt-card:hover,
.call-step:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 205, 85, 0.28);
}

.search-result-card p,
.prompt-card p,
.call-step p {
  color: var(--muted);
}

.search-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
}

.empty-state {
  padding: 30px;
  border-radius: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: var(--muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.magnetic-hover {
  will-change: transform;
}

[data-depth] {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

[dir="rtl"] .floating-chip.one {
  right: 6%;
  left: auto;
}

[dir="rtl"] .floating-chip.two {
  left: 5%;
  right: auto;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes floatLogo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes floatConsole {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS — CONSOLIDATED
   ══════════════════════════════════════════════════════ */

/* ── TABLET ─ max-width: 1080px ──────────────────────── */
@media (max-width: 1080px) {
  .hero {
    min-height: auto;
  }

  .hero.hero-premium {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy.hero-copy-premium {
    min-height: auto;
  }

  .hero-side-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: static;
  }

  .hero-console {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero,
  .subhero,
  .split-feature,
  .editorial-grid,
  .statement-grid,
  .contact-premium,
  .route-grid,
  .brief-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .global-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3,
  .grid-4,
  .project-grid,
  .contact-grid,
  .timeline,
  .pricing-grid,
  .metrics-row,
  .pillar-grid,
  .matrix-grid,
  .detail-grid,
  .pricing-mini-grid,
  .service-architecture,
  .platform-closing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subhero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── MOBILE ─ max-width: 760px ───────────────────────── */
@media (max-width: 760px) {
  :root {
    --container: calc(100% - 24px);
  }

  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

  /* ── ALL GRIDS → single column ── */
  .announcement {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-inline-end: 44px !important;
    font-size: 0.8rem !important;
  }

  .announcement,
  .split-feature,
  .statement-grid,
  .contact-premium,
  .topbar,
  .hero,
  .hero.hero-premium,
  .subhero,
  .grid-3,
  .grid-4,
  .project-grid,
  .contact-grid,
  .timeline,
  .pricing-grid,
  .metrics-row,
  .trust-band,
  .steps-row,
  .hero-proof-grid,
  .console-stat-row,
  .metric-board,
  .logo-rail,
  .editorial-grid,
  .route-grid,
  .brief-grid,
  .pillar-grid,
  .matrix-grid,
  .detail-grid,
  .pricing-mini-grid,
  .service-architecture,
  .subhero-metrics,
  .platform-closing,
  .prompt-grid,
  .link-collection,
  .call-steps,
  .resource-grid,
  .archive-list,
  .badge-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .global-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
    text-align: center;
  }
  .global-footer-brand {
    grid-column: 1 / -1;
  }
  .global-footer-social  {
    justify-content: center;
      
  }

  .global-footer-brand p,
  .global-footer-col a {
    font-size: 0.8rem;
  }
  .global-footer-brand h3,
  .global-footer-col h4 {
    font-size: 0.95rem;
  }

  /* ── Header Mobile ── */
  .global-header {
    position: sticky;
    top: 10px;
    width: calc(100% - 24px);
  }


  .global-header-inner {
    grid-template-columns: 1fr auto;
    justify-content: space-between;
    border-radius: 20px;
    text-align: left;
    padding: 10px 14px;
    gap: 10px;
  }

  html[dir="rtl"] .global-header-inner {
    text-align: right;
  }

  .global-brand {
    gap: 10px;
    min-width: 0;
    overflow: hidden;
  }

  .global-brand img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .global-brand-copy {
    min-width: 0;
  }

  .global-brand-copy strong {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .global-brand-copy small {
    font-size: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .global-nav,
  .global-lang,
  .global-cta {
    display: none;
  }

  .global-actions {
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .global-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
  }

  /* ── Mobile Panel ── */
  .global-mobile-panel {
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ── Hero Mobile ── */
  .hero-carousel-container {
    margin-bottom: 20px;
  }
  .hero {
    padding-top: 6px;
    gap: 16px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    max-width: none;
  }

  .lead {
    font-size: 0.95rem;
  }

  .hero-copy,
  .hero-visual,
  .card,
  .project-card,
  .contact-card,
  .timeline-card,
  .pricing-card {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 24px 20px;
  }

  .hero-copy.hero-copy-premium {
    min-height: auto;
    padding: 24px 20px;
  }

  .hero-visual {
    min-height: 360px;
    padding: 18px 0;
  }

  .logo-stage {
    width: min(84%, 280px);
    border-radius: 24px;
  }

  .floating-chip {
    position: static;
    max-width: none;
    margin: 8px 0;
  }

  /* ── Hero Actions stacked on very small ── */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .hero-actions .ghost-button {
    text-align: center;
    justify-content: center;
  }

  /* ── Hero Console Mobile ── */
  .hero-console {
    min-height: auto;
    padding: 20px;
    animation: none;
  }

  .hero-side-card {
    padding: 18px;
  }

  /* ── Subhero Mobile ── */
  .subhero-panel {
    padding: 24px 20px;
  }

  .subhero-panel h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    max-width: none;
  }

  .subhero-metrics {
    gap: 10px;
  }

  .subhero-metric {
    padding: 14px 16px;
  }

  /* ── Metrics + Stats Mobile ── */
  .metrics-row {
    gap: 12px;
  }

  .metric {
    padding: 18px;
    border-radius: 22px;
  }

  .metric strong {
    font-size: 1.3rem;
  }

  /* ── Topbar Mobile ── */
  .topbar {
    position: static;
    flex-direction: column;
    border-radius: 22px;
    text-align: center;
    gap: 12px;
  }

  .topbar-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .lang-switch,
  .topbar .button,
  .topbar .ghost-button {
    width: 100%;
  }

  /* ── Section Headers Mobile ── */
  .section {
    padding-top: clamp(40px, 6vw, 80px);
  }

  .section h2 {
    font-size: clamp(1.5rem, 5vw, 2.4rem);
  }

  .section-header {
    margin-bottom: 24px;
  }

  /* ── Proof chips + tags ── */
  .proof-chip {
    padding: 14px;
  }

  .proof-chip strong {
    font-size: 1rem;
  }

  .tag-row {
    gap: 8px;
  }

  .tag {
    font-size: 0.72rem;
    padding: 6px 10px;
  }

  /* ── Platform Closing ── */
  .platform-closing {
    padding: 24px 20px;
    border-radius: 24px;
    margin-top: 60px;
  }

  .platform-closing-copy h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .platform-closing-actions {
    justify-content: stretch;
    flex-direction: column;
  }

  .platform-closing-actions .button,
  .platform-closing-actions .ghost-button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* ── Footer Mobile ── */
  .global-footer {
    padding: 28px 20px;
    margin-top: 50px;
    border-radius: 24px;
  }

  .global-footer-grid {
    gap: 32px;
  }

  .global-footer-brand {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .global-footer-brand img {
    margin: 0 auto 12px;
    width: 68px;
  }

  .global-footer-brand h3 {
    font-size: 1.1rem;
  }

  .global-footer-brand p {
    font-size: 0.85rem;
    max-width: 320px;
    margin: 0 auto;
  }

  .global-footer-cta {
    margin: 16px auto 0;
    font-size: 0.88rem;
  }

  .global-footer-col {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .global-footer-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .global-footer-col h4 {
    font-size: 0.92rem;
    margin-bottom: 10px;
    color: var(--gold-soft);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
  }

  .global-footer-col a {
    display: block;
    text-align: center;
    padding: 6px 0;
    font-size: 0.88rem;
  }

  html[dir="ltr"] .global-footer-col a:hover,
  html[dir="rtl"] .global-footer-col a:hover {
    transform: none;
  }

  .global-footer-legal {
    gap: 6px 16px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .global-footer-legal a {
    font-size: 0.78rem;
  }

  .global-footer-bottom {
    font-size: 0.76rem;
    margin-top: 10px;
    padding-top: 10px;
  }

  /* ── Project Grid Mobile ── */
  .project-grid {
    gap: 14px;
  }

  .project-card {
    padding: 20px;
    border-radius: 22px;
  }

  /* ── Statement Grid Mobile ── */
  .statement-card {
    padding: 22px;
    border-radius: 24px;
  }

  /* ── Insight / Editorial Cards ── */
  .insight-card,
  .editorial-block,
  .editorial-note {
    padding: 22px;
    border-radius: 22px;
  }

  .editorial-block {
    padding: 24px 20px;
  }

  /* ── Service Architecture ── */
  .service-strip {
    padding: 22px;
  }

  /* ── Pillar Grid ── */
  .pillar-card {
    padding: 22px;
  }

  /* ── Footer links legacy ── */
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  /* ── Contact Methods ── */
  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 14px;
  }

  /* ── Archive links ── */
  .archive-link {
    padding: 16px 18px;
  }

  /* ── Badge row ── */
  .badge-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════════════
   MASHHOR HUB PREMIUM UPGRADE — NEW SECTIONS
   ═══════════════════════════════════════════════════════ */

/* ── Particle Canvas ─────────────────────────────────── */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ── Typing Animation ────────────────────────────────── */
.typing-wrapper {
  display: inline;
}

.typing-text {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(244, 205, 85, 0.22);
  border-inline-end: 3px solid var(--gold);
  animation: blink-cursor 0.75s step-end infinite;
  padding-inline-end: 4px;
}

@keyframes blink-cursor {
  50% {
    border-color: transparent;
  }
}

/* ── Animated Counter ────────────────────────────────── */
.stats-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 44px 0;
}

.stat-item {
  position: relative;
  padding: 32px 24px;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(244, 205, 85, 0.08),
      rgba(255, 255, 255, 0) 48%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.025)
    );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.stat-item:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow:
    0 24px 60px rgba(244, 205, 85, 0.08),
    0 28px 72px rgba(0, 0, 0, 0.35);
}

.stat-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-number {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  color: var(--gold-soft);
  background: linear-gradient(135deg, var(--gold-soft), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  text-shadow: none;
}

.stat-suffix {
  font-size: 0.6em;
  font-weight: 700;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* ── Client Logo Carousel ────────────────────────────── */
.clients-section {
  padding: 60px 0 40px;
  overflow: hidden;
}

.clients-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    black 10%,
    black 90%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    black 10%,
    black 90%,
    rgba(255, 255, 255, 0) 100%
  );
}

.clients-track {
  display: flex;
  gap: 40px;
  animation: scroll-logos 60s linear infinite;
  width: max-content;
  will-change: transform;
  align-items: center;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo-item {
  flex-shrink: 0;
  width: 130px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.client-logo-item:hover {
  transform: scale(1.08);
  border-color: rgba(244, 205, 85, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.client-logo-item img {
  max-width: 95px;
  max-height: 55px;
  object-fit: contain;
  filter: brightness(1.2) contrast(1.1) opacity(0.85);
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
}

.client-logo-item:hover img {
  filter: brightness(1.3) contrast(1.1) opacity(1);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

[dir="rtl"] .clients-track {
  animation-name: scroll-logos-rtl;
}

@keyframes scroll-logos-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

/* ── Testimonials ────────────────────────────────────── */
.testimonials-section {
  padding: 60px 0;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(54, 218, 245, 0.08),
      rgba(255, 255, 255, 0) 28%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(244, 205, 85, 0.06),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(180deg, rgba(8, 24, 45, 0.92), rgba(4, 17, 33, 0.96));
  box-shadow: var(--shadow);
  padding: clamp(32px, 4vw, 56px);
  min-height: 280px;
}

.testimonial-slide {
  display: none;
  animation: fadeSlide 0.6s ease;
}

.testimonial-slide.active {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

[dir="rtl"] @keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.testimonial-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid rgba(244, 205, 85, 0.3);
  background: linear-gradient(
    135deg,
    rgba(42, 127, 231, 0.2),
    rgba(54, 218, 245, 0.2)
  );
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-soft);
  flex-shrink: 0;
}

.testimonial-content blockquote {
  margin: 0 0 16px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: var(--text);
  position: relative;
  padding-inline-start: 20px;
  border-inline-start: 3px solid var(--gold);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  color: var(--text);
  font-size: 1rem;
}

.testimonial-author span {
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 14px rgba(244, 205, 85, 0.4);
}

/* ── Why Choose Us ───────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.why-card {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #051224;
  background-image: linear-gradient(
    180deg,
    rgba(54, 218, 245, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(
    135deg,
    rgba(42, 127, 231, 0.2),
    rgba(54, 218, 245, 0.14)
  );
  border: 1px solid rgba(54, 218, 245, 0.16);
  flex-shrink: 0;
}

.why-card:nth-child(2) .why-icon {
  background: linear-gradient(
    135deg,
    rgba(244, 205, 85, 0.18),
    rgba(246, 181, 45, 0.12)
  );
  border-color: rgba(244, 205, 85, 0.2);
}

.why-card:nth-child(3) .why-icon {
  background: linear-gradient(
    135deg,
    rgba(93, 230, 177, 0.16),
    rgba(54, 218, 245, 0.12)
  );
  border-color: rgba(93, 230, 177, 0.18);
}

.why-card:nth-child(4) .why-icon {
  background: linear-gradient(
    135deg,
    rgba(244, 205, 85, 0.14),
    rgba(42, 127, 231, 0.14)
  );
  border-color: rgba(244, 205, 85, 0.16);
}

.why-body h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.why-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Geography / Coverage Map ────────────────────────── */
.geo-section {
  padding: 60px 0;
}

.geo-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: stretch;
}

.geo-map-panel {
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(42, 127, 231, 0.14),
      rgba(255, 255, 255, 0) 32%
    ),
    radial-gradient(
      circle at 75% 70%,
      rgba(244, 205, 85, 0.08),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(180deg, rgba(8, 24, 45, 0.92), rgba(4, 17, 33, 0.96));
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.geo-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.geo-point {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.geo-point:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 205, 85, 0.24);
}

.geo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.geo-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.3;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.geo-dot.kw {
  background: var(--gold);
  color: var(--gold);
}
.geo-dot.sa {
  background: var(--cyan);
  color: var(--cyan);
}
.geo-dot.ae {
  background: var(--success);
  color: var(--success);
}
.geo-dot.eg {
  background: var(--blue);
  color: var(--blue);
}

.geo-point strong {
  display: block;
  font-size: 1rem;
}

.geo-point span {
  color: var(--muted);
  font-size: 0.84rem;
}

.geo-stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}

.geo-stat-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.025)
  );
  box-shadow: var(--shadow);
  text-align: center;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.geo-stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.geo-stat-card .stat-number {
  font-size: 2rem;
}

.geo-stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ── Process / How We Work Timeline ──────────────────── */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line),
    var(--gold),
    var(--line),
    transparent
  );
  z-index: 0;
}

[dir="rtl"] .process-timeline::before {
  background: linear-gradient(
    270deg,
    transparent,
    var(--line),
    var(--gold),
    var(--line),
    transparent
  );
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 28px 20px 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #051224;
  background-image: linear-gradient(
    180deg,
    rgba(54, 218, 245, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
}

.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(42, 127, 231, 0.22),
    rgba(54, 218, 245, 0.16)
  );
  border: 2px solid rgba(54, 218, 245, 0.16);
  box-shadow: 0 0 32px rgba(54, 218, 245, 0.12);
}

.process-step:nth-child(2) .process-icon {
  background: linear-gradient(
    135deg,
    rgba(244, 205, 85, 0.2),
    rgba(246, 181, 45, 0.14)
  );
  border-color: rgba(244, 205, 85, 0.2);
  box-shadow: 0 0 32px rgba(244, 205, 85, 0.1);
}

.process-step:nth-child(3) .process-icon {
  background: linear-gradient(
    135deg,
    rgba(93, 230, 177, 0.18),
    rgba(54, 218, 245, 0.14)
  );
  border-color: rgba(93, 230, 177, 0.18);
  box-shadow: 0 0 32px rgba(93, 230, 177, 0.1);
}

.process-step:nth-child(4) .process-icon {
  background: linear-gradient(
    135deg,
    rgba(244, 205, 85, 0.16),
    rgba(42, 127, 231, 0.16)
  );
  border-color: rgba(244, 205, 85, 0.18);
  box-shadow: 0 0 32px rgba(244, 205, 85, 0.08);
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── WhatsApp Floating Widget ────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.mobile-nav-open .wa-float {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}

.wa-float-msg {
  padding: 12px 18px;
  border-radius: 18px 18px 4px 18px;
  background: rgba(4, 17, 33, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-size: 0.9rem;
  max-width: 240px;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}

[dir="rtl"] .wa-float-msg {
  border-radius: 18px 18px 18px 4px;
}

.wa-float:hover .wa-float-msg,
.wa-float-msg.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-float-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
}

.wa-float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 44px rgba(37, 211, 102, 0.45);
}

.wa-float-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ── Enhanced Service Cards with Icons ───────────────── */
.service-icon-card {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #051224;
  background-image: linear-gradient(
    180deg,
    rgba(54, 218, 245, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 16px;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.service-icon-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
}

.service-icon-card .svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: linear-gradient(
    135deg,
    rgba(42, 127, 231, 0.2),
    rgba(54, 218, 245, 0.14)
  );
  border: 1px solid rgba(54, 218, 245, 0.14);
}

.service-icon-card h3 {
  font-size: 1.1rem;
}

.service-icon-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.service-icon-card .text-link {
  margin-top: auto;
}

/* ── Glowing Section Divider ─────────────────────────── */
.section-divider {
  width: var(--container);
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line),
    var(--gold),
    var(--line),
    transparent
  );
  border: 0;
  opacity: 0.5;
}

/* ── Social Proof Strip ──────────────────────────────── */
.social-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.social-proof-item .sp-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

/* ── Mobile Responsive for New Sections ──────────────── */
@media (max-width: 1080px) {
  .stats-showcase,
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .geo-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-slide.active {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonial-avatar {
    margin: 0 auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .stats-showcase,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .geo-points,
  .geo-stats-panel {
    grid-template-columns: 1fr !important;
  }

  .testimonial-slide.active {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .testimonials-slider {
    padding: 24px 18px;
    min-height: auto;
    border-radius: 24px;
  }

  .testimonial-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
    margin: 0 auto;
  }

  .testimonial-content blockquote {
    font-size: 0.95rem;
    padding-inline-start: 14px;
  }

  .testimonial-dots {
    margin-top: 20px;
  }

  /* ── Stats Showcase Mobile ── */
  .stat-item {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .stat-number {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  /* ── Process Timeline Mobile ── */
  .process-step {
    padding: 22px 18px 20px;
    border-radius: 22px;
  }

  .process-icon {
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  /* ── Geo Section Mobile ── */
  .geo-map-panel {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .geo-point {
    padding: 14px;
  }

  .geo-stat-card {
    padding: 18px;
    border-radius: 20px;
  }

  .geo-stat-card .stat-number {
    font-size: 1.6rem;
  }

  .social-proof-strip {
    gap: 10px;
    padding: 10px 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .social-proof-item {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* ── Why Cards Mobile ── */
  .why-card {
    padding: 22px;
    border-radius: 22px;
    grid-template-columns: auto 1fr;
    gap: 14px;
  }

  .why-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.3rem;
  }

  .why-body h3 {
    font-size: 1.05rem;
  }

  .why-body p {
    font-size: 0.88rem;
  }

  /* ── Service Icon Cards Mobile ── */
  .service-icon-card {
    padding: 22px;
    border-radius: 22px;
  }

  .service-icon-card .svc-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border-radius: 14px;
  }

  /* ── WhatsApp Widget Mobile ── */
  .wa-float {
    bottom: 16px;
    inset-inline-end: 12px;
  }

  .wa-float-btn {
    width: 52px;
    height: 52px;
  }

  .wa-float-msg {
    display: none;
  }

  /* ── Back to Top Mobile ── */
  .back-to-top {
    bottom: 80px;
    inset-inline-end: 12px;
    width: 42px;
    height: 42px;
  }

  /* ── FAQ Mobile ── */
  .faq-item summary {
    padding: 18px 16px;
    font-size: 0.95rem;
    gap: 8px;
  }

  .faq-item p {
    padding: 0 16px 18px;
    font-size: 0.9rem;
  }

  /* ── Section Divider ── */
  .section-divider {
    width: calc(100vw - 24px);
  }
}

/* ══════════════════════════════════════════════════════════
   PHASE 2: ENHANCED UI/UX — NEW CSS
   ══════════════════════════════════════════════════════════ */

/* ── Scroll Progress Bar ─────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--gold));
  z-index: 999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 14px rgba(244, 205, 85, 0.4);
}

/* ── Back to Top Button ──────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 170px;
  inset-inline-end: 28px;
  z-index: 89;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 17, 33, 0.9);
  backdrop-filter: blur(12px);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease,
    background 0.25s ease,
    border-color 0.25s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(244, 205, 85, 0.12);
  border-color: rgba(244, 205, 85, 0.3);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Announcement Bar Improvements ───────────────────── */
.announcement {
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.announcement::before {
  content: "";
  position: absolute;
  inset: -120% auto -120% -30%;
  width: 30%;
  transform: rotate(18deg) translateX(-180%);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  animation: announcement-shimmer 6s ease-in-out infinite;
}

@keyframes announcement-shimmer {
  0%,
  100% {
    transform: rotate(18deg) translateX(-180%);
  }
  50% {
    transform: rotate(18deg) translateX(560%);
  }
}

.announcement-close {
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.25s ease;
  padding: 0;
}

.announcement-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.announcement.dismissed {
  display: none;
}

.global-mobile-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(2, 8, 18, 0.58);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 1100;
}

body.mobile-nav-open .global-mobile-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* ── Header Scroll Behavior ──────────────────────────── */
.global-header.scrolled .global-header-inner {
  padding: 10px 16px;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.global-header.hidden {
  transform: translateY(-120%);
}

/* ── Mobile Menu Enhancements ────────────────────────── */
.global-mobile-panel .mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 8px;
}

.global-mobile-panel .mobile-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

.global-mobile-panel .mobile-lang {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.global-mobile-panel .mobile-cta {
  background: linear-gradient(135deg, var(--gold), #f6b52d);
  color: #07152b;
}

/* ── Page Load Animation ─────────────────────────────── */
.page-shell {
  animation: pageLoad 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Enhanced Service Card Icon Hover ────────────────── */
.service-icon-card:hover .svc-icon {
  transform: scale(1.1) rotate(6deg);
  background: linear-gradient(
    135deg,
    rgba(244, 205, 85, 0.22),
    rgba(54, 218, 245, 0.18)
  );
  border-color: rgba(244, 205, 85, 0.24);
  box-shadow: 0 0 24px rgba(244, 205, 85, 0.12);
}

.service-icon-card .svc-icon {
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* ── Why Card Icon Pulse ─────────────────────────────── */
.why-card:hover .why-icon {
  animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

/* ── Enhanced Process Step Numbers ────────────────────── */
.process-step {
  counter-increment: process-counter;
}

.process-step::after {
  content: counter(process-counter, decimal-leading-zero);
  position: absolute;
  bottom: 12px;
  inset-inline-end: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-timeline {
  counter-reset: process-counter;
}

/* ══════════════════════════════════════════════════════════
   CONTACT FORM STYLES
   ══════════════════════════════════════════════════════════ */

.contact-form-container {
  max-width: 860px;
  margin: 0 auto;
}

/* ── Type Selector Tabs ──────────────────────────────── */
.contact-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 34px;
}

.contact-type-btn {
  position: relative;
  padding: 24px 20px;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  cursor: pointer;
  display: grid;
  gap: 8px;
  text-align: center;
  transition: all 0.35s ease;
  overflow: hidden;
  font-family: inherit;
  color: inherit;
}

.contact-type-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(244, 205, 85, 0.08),
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.contact-type-btn:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.contact-type-btn:hover::before {
  opacity: 1;
}

.contact-type-btn.active {
  border-color: rgba(244, 205, 85, 0.4);
  background: linear-gradient(
    180deg,
    rgba(244, 205, 85, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow:
    0 0 0 1px rgba(244, 205, 85, 0.15),
    0 12px 40px rgba(244, 205, 85, 0.06);
}

.contact-type-btn.active::before {
  opacity: 1;
}

.contact-type-btn.active::after {
  content: "✓";
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #07152b;
  font-size: 0.75rem;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.contact-type-icon {
  font-size: 2rem;
  display: block;
}

.contact-type-label {
  font-size: 1.15rem;
  font-weight: 700;
  display: block;
  position: relative;
  z-index: 1;
}

.contact-type-desc {
  font-size: 0.82rem;
  color: var(--muted);
  display: block;
  position: relative;
  z-index: 1;
}

/* ── Form Styles ─────────────────────────────────────── */
.contact-form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  gap: 18px;
}

.form-row-2 {
  grid-template-columns: 1fr 1fr;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

.required {
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 17, 33, 0.72);
  color: var(--text);
  font:
    400 0.95rem/1.5 "Alexandria",
    sans-serif;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

html[lang^="en"] .form-group input,
html[lang^="en"] .form-group select,
html[lang^="en"] .form-group textarea {
  font-family: "Space Grotesk", sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(185, 199, 220, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(54, 218, 245, 0.45);
  box-shadow: 0 0 0 4px rgba(54, 218, 245, 0.08);
  background: rgba(4, 17, 33, 0.88);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b9c7dc' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-inline-end: 42px;
}

[dir="rtl"] .form-group select {
  background-position: left 16px center;
  padding-inline-end: 18px;
  padding-inline-start: 42px;
}

.form-group select option {
  background: #071a33;
  color: var(--text);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ── Service Checkbox Grid ───────────────────────────── */
.service-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.88rem;
}

.service-check:hover {
  border-color: rgba(244, 205, 85, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.service-check input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
}

.service-check input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.service-check input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #07152b;
  font-size: 0.7rem;
  font-weight: 900;
}

.service-check input[type="checkbox"]:checked + span {
  color: var(--text);
}

.service-check span {
  color: var(--muted);
  transition: color 0.25s ease;
}

/* ── Form Actions & Submit ───────────────────────────── */
.form-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.form-submit-btn {
  min-width: 240px;
  font-size: 1rem;
  padding: 16px 32px;
  position: relative;
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

/* ── Form Success State ──────────────────────────────── */
.form-success {
  text-align: center;
  padding: 60px 30px;
  border-radius: 32px;
  border: 1px solid rgba(93, 230, 177, 0.2);
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(93, 230, 177, 0.08),
      rgba(255, 255, 255, 0) 48%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02)
    );
  animation: fadeSlide 0.6s ease;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 18px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 24px;
}

/* ── Company Fields Animation ────────────────────────── */
.form-company-fields,
.form-individual-fields {
  animation: fieldSlide 0.4s ease;
}

@keyframes fieldSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Contact Form Responsive ─────────────────────────── */
@media (max-width: 760px) {
  .contact-type-selector {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .service-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .form-submit-btn {
    width: 100%;
    min-width: auto;
  }

  .form-actions {
    justify-items: stretch;
  }

  .contact-form-container {
    padding: 0;
  }

  .form-success {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .contact-type-btn {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .contact-type-icon {
    font-size: 1.6rem;
  }

  .contact-type-label {
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════════════
   UTILITY & MESSAGE PAGES (404, THANK YOU, BOOKED)
   ═══════════════════════════════════════════════════ */
.utility-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
}

.message-card {
  max-width: 580px;
  width: 100%;
  padding: 56px 48px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  text-align: center;
}

.message-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(54, 218, 245, 0.1);
  border: 2px solid rgba(54, 218, 245, 0.25);
  color: var(--cyan);
}

.message-icon.icon-gold {
  background: rgba(244, 205, 85, 0.1);
  border-color: rgba(244, 205, 85, 0.25);
  color: var(--gold);
}

.message-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.message-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.message-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

html[dir="rtl"] .message-steps {
  text-align: right;
}

.msg-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.msg-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(42, 127, 231, 0.15);
  color: var(--cyan);
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  flex-shrink: 0;
}

.msg-step-copy {
  font-size: 0.95rem;
  color: var(--muted);
}

.msg-step-copy strong {
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 560px) {
  .message-card {
    padding: 36px 24px;
    border-radius: 20px;
  }
}

/* ═══════════════════════════════════════════════════
   PREMIUM OVERHAUL (AOS + CURSOR)
   ═══════════════════════════════════════════════════ */

/* ── Prevent Mobile Horizontal Overflow (Root Level) ── */
html, 
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important; /* High-performance clipping */
  position: relative;
  touch-action: manipulation;
}

@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden !important; }
}

/* ── Smart Mobile Panel (RTL/LTR Isolated) ── */
.global-mobile-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  height: 100dvh; /* Dynamic viewport height for mobile browsers */
  background: var(--panel-2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.4s;
  padding: 100px 24px;
  display: flex;
  flex-direction: column;
}

/* LTR Specific Positioning */
[dir="ltr"] .global-mobile-panel {
  left: 0;
  right: auto;
  transform: translateX(100%);
}

/* RTL Specific Positioning */
[dir="rtl"] .global-mobile-panel {
  right: 0;
  left: auto;
  transform: translateX(-100%);
}

/* Universal Open State (Shared) */
.global-mobile-panel.open {
  transform: translateX(0) !important;
  visibility: visible;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

/* ── Smart Color Picker Menu (RTL/LTR Isolated) ── */
.color-picker-menu {
  position: absolute;
  top: calc(100% + 12px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--panel-2);
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  gap: 10px;
}

/* LTR Color Picker - Align to right of button */
[dir="ltr"] .color-picker-menu {
  right: 0;
  left: auto;
}

/* RTL Color Picker - Align to left of button */
[dir="rtl"] .color-picker-menu {
  left: 0;
  right: auto;
}

.color-picker-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Global Header Container Safeguards ── */
.global-header {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
  position: sticky;
  top: 18px;
  z-index: 1300;
  left: 0;
  right: 0;
}

@media (max-width: 760px) {
  .global-header {
    width: calc(100% - 24px); /* Prevent 100vw scroll issues */
  }
}

/* ── Hero Carousel ── */
.hero-carousel-container {
  width: var(--container);
  margin: 0 auto 30px;
}
.hero-carousel {
  position: relative;
  width: 100%;
  height: clamp(250px, 40vh, 450px);
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.hero-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(3, 10, 21, 0.85) 0%,
    rgba(3, 10, 21, 0.3) 50%,
    rgba(3, 10, 21, 0.15) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}
.hero-slide-title {
  margin: 0 0 10px;
  font-size: 1.8rem;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.hero-carousel-prev,
.hero-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition:
    background 0.3s,
    transform 0.3s;
}
.hero-carousel-prev:hover,
.hero-carousel-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.05);
}
.hero-carousel-prev {
  left: 14px;
}
.hero-carousel-next {
  right: 14px;
}

/* ── Sticky Sidebars ── */
.subhero-side,
.hero-side-stack {
  position: sticky;
  top: 100px;
}

/* ── Mashhor Background Animation ── */
#mashhor-bg-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 20vw, 24rem);
  font-family: inherit;
  font-weight: 800;
  color: var(--white);
  line-height: 0.85;
  opacity: 0.015;
  z-index: -10;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
  animation: bgPulse 12s infinite alternate ease-in-out;
}

@keyframes bgPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.01;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.03;
  }
}
.hero-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dot.active {
  background: var(--gold);
}

/* =========================================
   CREATIVE UI/UX ENHANCEMENTS - INTERNAL PAGES
   ========================================= */

/* Hide accessibility link until focused globally */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--bg);
  color: var(--text);
  padding: 8px 12px;
  z-index: 9999;
  transition: top 0.2s;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  top: 0;
}

/* Ensure data-platform headers sit correctly and don't overlap initial content */
.page-shell,
.course-detail-shell,
.new-page-scope {
  position: relative;
  z-index: 1;
}

/* -------------------------------------
   Premium Blog Article Upgrades
------------------------------------- */
.new-page-scope .aw {
  padding-top: 40px !important;
  max-width: 800px !important;
}
.new-page-scope .ahero {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.02);
  transform: scale(0.98);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.new-page-scope .ahero:hover {
  transform: scale(1);
}
.new-page-scope .ab {
  color: var(--muted) !important;
  font-size: 1.15rem;
  line-height: 1.9;
}
.new-page-scope .ab p {
  margin-bottom: 30px;
}
.new-page-scope .ab h2 {
  color: var(--gold) !important;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 20px;
}
.new-page-scope .sb,
.new-page-scope .rc,
.new-page-scope .abio {
  background: linear-gradient(
    180deg,
    var(--panel-2) 0%,
    rgba(8, 24, 45, 0.4) 100%
  ) !important;
  border: 1px solid var(--line) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 20px !important;
}
.new-page-scope .rc:hover,
.new-page-scope .sb:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--line-strong) !important;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(244, 205, 85, 0.05) !important;
}
.new-page-scope .rct {
  color: var(--gold) !important;
}

/* -------------------------------------
   Premium Academy Course Upgrades
------------------------------------- */
.course-detail-hero {
  padding-top: 40px !important;
  padding-bottom: 60px !important;
}
.course-detail-title {
  color: var(--gold) !important;
  text-shadow: 0 0 40px rgba(244, 205, 85, 0.2);
  letter-spacing: -0.03em;
}
.course-detail-actions .button {
  background: linear-gradient(135deg, var(--gold) 0%, #d4a72c 100%) !important;
  color: #000 !important;
  border: none;
  box-shadow: 0 10px 30px rgba(244, 205, 85, 0.2);
}
.course-detail-actions .button:hover {
  box-shadow: 0 15px 40px rgba(244, 205, 85, 0.4);
  transform: translateY(-2px);
}
.course-detail-panel {
  background: linear-gradient(
    180deg,
    var(--panel-2) 0%,
    rgba(4, 17, 33, 0.8) 100%
  ) !important;
  border: 1px solid var(--line) !important;
}
.course-outcome-card,
.course-focus-card,
.course-fit-card,
.course-module,
.course-faq-card {
  background: linear-gradient(
    180deg,
    var(--panel-2) 0%,
    rgba(9, 21, 39, 0.9) 100%
  ) !important;
  border: 1px solid var(--line) !important;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s;
}
.course-outcome-card:hover,
.course-focus-card:hover,
.course-fit-card:hover,
.course-module:hover,
.course-faq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--gold) !important;
}

/* Fix inner container overlap issues */
.ac-hero,
.academy-track-hero {
  padding-top: 60px !important;
}

/* SOCIAL ICONS FOOTER */
.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-social-icons a {
  width: 44px;
  height: 44px;
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-social-icons a:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 20px rgba(244, 205, 85, 0.3);
}

/* == Case Study ROI Chips == */
.case-chip {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 100px;
  background: linear-gradient(
    135deg,
    rgba(244, 205, 85, 0.15),
    rgba(54, 218, 245, 0.1)
  );
  border: 1px solid rgba(244, 205, 85, 0.22);
  color: var(--gold);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* == Lead Magnet Section == */
.lead-magnet {
  text-align: center;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(54, 218, 245, 0.06),
    rgba(255, 255, 255, 0) 55%
  );
  padding-bottom: 80px;
}

.lead-magnet .section-header {
  align-items: center;
}

.lead-magnet-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 205, 85, 0.12);
}

/* == Gold CTA Button == */
.button-gold {
  background: linear-gradient(135deg, var(--gold), #e6b832) !important;
  color: #041121 !important;
  font-weight: 700;
}

.button-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244, 205, 85, 0.35);
}

/* == Influencer Directory Cards == */
.influencer-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    opacity 0.35s ease;
}

.influencer-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
}

.influencer-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(42, 127, 231, 0.2),
    rgba(54, 218, 245, 0.14)
  );
  border: 2px solid rgba(244, 205, 85, 0.2);
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.influencer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.influencer-info h3 {
  font-size: 1.15rem;
  margin: 0;
}
.influencer-handle {
  font-size: 0.85rem;
  color: var(--cyan);
  margin: 0;
}

/* ── Sitemap Directory UI ── */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
}

.sitemap-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 32px;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sitemap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 205, 85, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.sitemap-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sitemap-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(244, 205, 85, 0.08);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(244, 205, 85, 0.04);
}

.sitemap-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.2px;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sitemap-list li a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  padding-inline-start: 18px;
}

.sitemap-list li a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
  font-weight: 800;
}

html[dir="rtl"] .sitemap-list li a::before {
  left: auto;
  right: 0;
  content: "←";
  transform: translateX(4px);
}

.sitemap-list li a:hover {
  color: var(--text);
  padding-inline-start: 24px;
}

.sitemap-list li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.influencer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.influencer-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.influencer-stats strong {
  font-size: 1.1rem;
  color: var(--gold);
}

.influencer-stats span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.influencer-bio {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* == Influencer Form Overrides == */
.influencer-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.influencer-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.influencer-form input,
.influencer-form select,
.influencer-form textarea {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.influencer-form input:focus,
.influencer-form select:focus,
.influencer-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 205, 85, 0.12);
}

.influencer-form select {
  appearance: none;
  cursor: pointer;
}

/* == Filter Tag Active State == */
.tag.active {
  background: var(--gold) !important;
  color: #041121 !important;
  font-weight: 700;
  border-color: var(--gold) !important;
}

.tag {
  cursor: pointer;
  transition: all 0.25s ease;
}

@media (max-width: 760px) {
  .influencer-form div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* == Sticky Mobile CTA Bar (Unified) == */
.sticky-mobile-cta {
  display: none;
}

@media (max-width: 760px) {
  .sticky-mobile-cta {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(
      180deg,
      rgba(4, 17, 33, 0.97),
      rgba(4, 17, 33, 0.99)
    );
    border-top: 1px solid rgba(244, 205, 85, 0.15);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1200;
    border-radius: 0;
  }

  .sticky-cta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
  }

  .sticky-cta-text strong {
    font-size: 0.92rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-cta-text span {
    font-size: 0.75rem;
    color: var(--gold-soft);
  }

  .sticky-cta-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }

  .sticky-cta-primary,
  .sticky-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
  }

  .sticky-cta-primary {
    background: linear-gradient(135deg, var(--gold), #dfb13d);
    color: #041121;
  }

  .sticky-cta-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Footer just needs normal bottom padding to clear the CTA bar */
  .global-footer {
    margin-bottom: 0 !important;
    padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
  }

  /* Floating widgets sit above the CTA bar */
  .wa-float {
    bottom: calc(72px + env(safe-area-inset-bottom)) !important;
    inset-inline-end: 20px !important;
    z-index: 10000 !important;
  }
  .back-to-top {
    bottom: calc(132px + env(safe-area-inset-bottom)) !important;
    inset-inline-end: 20px !important;
  }

  /* Hide the sticky CTA when mobile nav is open */
  body.mobile-nav-open .sticky-mobile-cta {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .sticky-mobile-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  }

  .sticky-cta-text {
    text-align: center;
  }

  .sticky-cta-actions {
    justify-content: center;
  }

  .global-footer {
    padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important;
  }

  .wa-float {
    bottom: calc(110px + env(safe-area-inset-bottom)) !important;
  }
  .back-to-top {
    bottom: calc(170px + env(safe-area-inset-bottom)) !important;
  }
}

/* =========================================================================
   TEAM GRID
   ========================================================================= */

.team-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 20px;
  object-position: top;
}

.team-card h3 {
  margin-top: 15px;
  font-size: 1.05rem;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card p {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.82rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================================
   CASE STUDY TEMPLATE
   ========================================================================= */

.cs-hero-image {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: 24px;
  margin: 0px 0 60px 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg3);
}

.cs-content-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.cs-sidebar {
  position: sticky;
  top: 120px;
  background: var(--bg3);
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-meta span {
  font-size: 0.75rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.cs-meta strong {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.4;
}

.cs-tag {
  display: inline-block;
  background: rgba(244, 205, 85, 0.1);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
}

.cs-body {
  max-width: 800px;
  line-height: 1.8;
  color: var(--text2);
}

.cs-body h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.cs-body h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 16px;
}

.cs-body p {
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.cs-stat-row {
  display: flex;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px 32px;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cs-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-stat strong {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.cs-stat span {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
}

@media (max-width: 900px) {
  .cs-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cs-sidebar {
    position: static;
  }
  .cs-hero-image {
    aspect-ratio: 16/9;
    border-radius: 16px;
  }
}

/* =========================================================================
   GLOBAL UI/UX ENHANCEMENTS
   ========================================================================= */

.button,
.button-gold,
.global-cta,
.mobile-cta {
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease,
    filter 0.3s ease !important;
}

.button:hover,
.button-gold:hover,
.global-cta:hover,
.mobile-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(244, 205, 85, 0.35);
  filter: brightness(1.1);
}

.ghost-button {
  transition: all 0.3s ease;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.featured-card,
.process-step,
.geo-stat-card,
.geo-portfolio-card,
.cs-stat {
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease !important;
}

.featured-card:hover,
.process-step:hover,
.geo-stat-card:hover,
.cs-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(54, 218, 245, 0.12);
  border-color: rgba(54, 218, 245, 0.3);
}

.geo-portfolio-card:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(244, 205, 85, 0.2);
  border-color: rgba(244, 205, 85, 0.8) !important;
}

.global-header-inner {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.global-header:hover .global-header-inner {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.global-nav-link.is-active,
.global-mobile-link.is-active,
.global-dropdown-link.is-active {
  color: var(--gold) !important;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(244, 205, 85, 0.4);
}

/* =========================================================================
   FORM INTELLIGENCE & VALIDATION
   ========================================================================= */

.form-group {
  position: relative;
}

[data-form-error] {
  display: none;
  color: #ff4d4d;
  font-size: 13px;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.input-invalid {
  border-color: #ff4d4d !important;
  background: rgba(255, 77, 77, 0.05) !important;
}

.input-invalid ~ [data-form-error] {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.input-valid {
  border-color: #2ecc71 !important;
}

.input-valid::after {
  content: "✓";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #2ecc71;
  pointer-events: none;
}

html[dir="rtl"] .input-valid::after {
  right: auto;
  left: 16px;
}

.form-validating {
  opacity: 0.7;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   FLOATING BRAND ICONS — Reliable Lightweight Rebuild
   ═══════════════════════════════════════════════════ */
.floating-brands-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.floating-brand-icon {
  position: absolute;
  bottom: -50px; /* Safely placed below the screen to start */
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0;
  filter: grayscale(0.5) brightness(1.2);
  will-change: transform, bottom, opacity;
  /* animation-fill-mode "both" ensures the element stays at its 0% state during delays */
  animation: floatGently 25s ease-in-out infinite both;
}

@keyframes floatGently {
  0% {
    bottom: -50px;
    transform: translateX(0) rotate(0deg) scale(0.7);
    opacity: 0;
  }
  12% {
    opacity: 0.1;
  }
  30% {
    bottom: 30%;
    transform: translateX(20px) rotate(45deg) scale(0.85);
    opacity: 0.15;
  }
  60% {
    bottom: 70%;
    transform: translateX(-15px) rotate(120deg) scale(1);
    opacity: 0.15;
  }
  85% {
    bottom: 95%;
    transform: translateX(10px) rotate(240deg) scale(0.9);
    opacity: 0.1;
  }
  100% {
    bottom: 110%;
    transform: translateX(-5px) rotate(360deg) scale(0.7);
    opacity: 0;
  }
}

/* Light mode: slightly more visible */
[data-color="light"] .floating-brand-icon {
  filter: grayscale(0.4) brightness(0.7) contrast(1.2);
}




/* Disable on mobile for performance */
@media (max-width: 768px) {
  .floating-brands-container {
    display: none !important;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .floating-brand-icon {
    animation: none !important;
    opacity: 0.04 !important;
    transform: none !important;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: center;
}

/* ══════════════════════════════════════════════════════════════════
   GAME PAGE — Premium Styles
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero Section ── */
.game-hero {
  position: relative;
  padding: 140px 5% 80px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.game-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(42, 127, 231, 0.18),
      rgba(255, 255, 255, 0) 45%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(244, 205, 85, 0.12),
      rgba(255, 255, 255, 0) 40%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(54, 218, 245, 0.08),
      rgba(255, 255, 255, 0) 50%
    );
  pointer-events: none;
  z-index: 0;
}

.game-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
  z-index: 1;
}

.game-hero > * {
  position: relative;
  z-index: 2;
}

.game-hero .hero-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.game-hero .hero-stat {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.game-hero .hero-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line), transparent);
}

html[dir="rtl"] .game-hero .hero-stat:not(:last-child)::after {
  right: auto;
  left: -12px;
}

.game-hero .hero-stat .stat-val {
  font-family: var(--font-code);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.game-hero .hero-stat .stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 6px;
  display: block;
}

/* ── Game Intro Shell ── */
.game-intro-shell {
  padding: 60px 5%;
  position: relative;
}

.game-intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.game-intro-card,
.game-side-card {
  padding: clamp(28px, 3vw, 42px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, rgba(8, 24, 45, 0.92), rgba(4, 17, 33, 0.88));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.game-intro-card:hover,
.game-side-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 205, 85, 0.25);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.game-intro-card p,
.game-side-card p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.96rem;
}

.game-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
  font-family: var(--font-code);
}

.game-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.game-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 0.94rem;
}

.game-list li::before {
  content: "▸";
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-weight: 700;
}

.game-utility {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.game-utility > div {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.game-utility > div:hover {
  background: rgba(244, 205, 85, 0.04);
  border-color: rgba(244, 205, 85, 0.15);
}

.game-utility strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.game-utility span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ── Game Cards Grid ── */
.game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.game-card-premium {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(8, 24, 45, 0.94),
    rgba(4, 17, 33, 0.9)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
}

.game-card-premium::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(244, 205, 85, 0.3),
    rgba(255, 255, 255, 0) 60%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.game-card-premium:hover::before {
  opacity: 1;
}

.game-card-premium:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 205, 85, 0.2);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(244, 205, 85, 0.06);
}

.game-card-premium.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.game-card-premium .card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  border-radius: 18px;
  background: rgba(244, 205, 85, 0.06);
  border: 1px solid rgba(244, 205, 85, 0.12);
}

.game-card-premium h3 {
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.game-card-premium p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}

.game-card-premium .card-status {
  margin-top: 16px;
  font-size: 0.78rem;
}

.game-card-premium .card-difficulty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(54, 218, 245, 0.08);
  border: 1px solid rgba(54, 218, 245, 0.15);
  color: var(--cyan);
}

/* ── Player Profile Premium ── */
.player-profile-card {
  background: linear-gradient(
    145deg,
    rgba(8, 24, 45, 0.96),
    rgba(4, 17, 33, 0.92)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  margin-bottom: 36px;
}

.player-profile-card .xp-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
  margin: 16px 0 24px;
}

.player-profile-card .xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Leaderboard Premium ── */
.leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.leaderboard-card {
  background: linear-gradient(
    180deg,
    rgba(8, 24, 45, 0.94),
    rgba(4, 17, 33, 0.88)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.leaderboard-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 205, 85, 0.2);
}

.leaderboard-card .lb-header {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.leaderboard-card .lb-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
  transition: background 0.2s ease;
}

.leaderboard-card .lb-entry:last-child {
  border-bottom: 0;
}

.leaderboard-card .lb-entry:hover {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

/* ── Game Toast Premium ── */
.game-toast-premium {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: min(460px, 92vw);
  padding: 24px 30px;
  border-radius: var(--radius-lg);
  background: rgba(4, 17, 33, 0.96);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(54, 218, 245, 0.06);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.game-toast-premium.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── Question Randomization Badge ── */
.randomized-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(54, 218, 245, 0.08);
  border: 1px solid rgba(54, 218, 245, 0.2);
  color: var(--cyan);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  margin-top: 18px;
}

.randomized-badge::before {
  content: "🔀";
}

/* ══════════════════════════════════════════════════════════════════
   SEARCH PAGE — Enhanced Premium Styles
   ══════════════════════════════════════════════════════════════════ */

/* Enhanced Search Input */
.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input-wrap .search-icon-el {
  position: absolute;
  inset-inline-start: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.1rem;
  pointer-events: none;
  transition: color 0.3s ease;
  z-index: 2;
}

.search-input-wrap .search-input {
  padding-inline-start: 48px;
}

.search-input-wrap:focus-within .search-icon-el {
  color: var(--cyan);
}

/* Search shortcut hint */
.search-shortcut {
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.72rem;
  font-family: var(--font-code);
  opacity: 0.6;
  pointer-events: none;
}

/* Enhanced search count badge */
.search-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(244, 205, 85, 0.08);
  border: 1px solid rgba(244, 205, 85, 0.18);
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-family: var(--font-code);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Enhanced search result cards */
.search-result-card .result-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(54, 218, 245, 0.06);
  border: 1px solid rgba(54, 218, 245, 0.12);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Enhanced search chips with color coding */
.search-chip {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.search-chip:hover {
  background: rgba(244, 205, 85, 0.1);
  border-color: rgba(244, 205, 85, 0.25);
  color: var(--gold-soft);
  transform: translateY(-1px);
}

/* Enhanced empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.empty-state .empty-icon {
  font-size: 3rem;
  opacity: 0.4;
}

/* Search toolbar enhanced */
.search-toolbar {
  position: relative;
  overflow: hidden;
}

.search-toolbar::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(54, 218, 245, 0.15),
    rgba(255, 255, 255, 0) 50%,
    rgba(244, 205, 85, 0.15)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Responsive Overrides ── */
@media (max-width: 768px) {
  .game-intro-grid {
    grid-template-columns: 1fr;
  }

  .game-cards-grid {
    grid-template-columns: 1fr;
  }

  .leaderboard-grid {
    grid-template-columns: 1fr;
  }

  .game-hero {
    padding: 120px 5% 60px;
  }

  .game-hero .hero-stats {
    gap: 16px;
  }

  .game-hero .hero-stat {
    padding: 0 14px;
  }

  .game-hero .hero-stat .stat-val {
    font-size: 1.8rem;
  }

  .search-shortcut {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════
   PROGRAMMING PAGE — Bento Grid, Timeline, Utilities
   ══════════════════════════════════════════════════════════════════ */

/* ── Utility Classes ── */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-inline: auto;
}
.bg-panel {
  background: var(--panel);
  border: 1px solid var(--line);
}

[data-color="light"] .bg-panel {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 30, 80, 0.08);
}

/* ── Bento Grid ────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 32px 28px;
  position: relative;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  box-shadow: var(--shadow);
}

.bento-box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bento-box:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}

.bento-box:hover::before {
  opacity: 1;
}

.bento-content {
  position: relative;
  z-index: 1;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.bento-desc {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 0;
}

/* Bento icon styling (for future use) */
.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: linear-gradient(
    135deg,
    rgba(42, 127, 231, 0.18),
    rgba(54, 218, 245, 0.14)
  );
  border: 1px solid rgba(54, 218, 245, 0.14);
}

/* Light mode bento overrides */
[data-color="light"] .bento-box {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

[data-color="light"] .bento-box:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
  border-color: rgba(184, 134, 11, 0.25);
}

[data-color="light"] .bento-box::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(184, 134, 11, 0.4),
    rgba(255, 255, 255, 0)
  );
}

[data-color="light"] .bento-title {
  color: #1a1a2e;
}

[data-color="light"] .bento-desc {
  color: #4a5568;
}

/* ── Programming Timeline (Vertical Steps) ────────── */
.timeline:has(.timeline-item) {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-inline-start: 48px;
  grid-template-columns: none;
}

.timeline:has(.timeline-item)::before {
  content: "";
  position: absolute;
  inset-inline-start: 22px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--cyan), var(--gold));
  opacity: 0.4;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  position: relative;
}

.timeline-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

[data-color="light"] .timeline-item:not(:last-child) {
  border-bottom-color: rgba(0, 30, 80, 0.06);
}

.timeline-marker {
  position: absolute;
  inset-inline-start: -48px;
  top: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1rem;
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(
    135deg,
    rgba(244, 205, 85, 0.2),
    rgba(54, 218, 245, 0.14)
  );
  border: 2px solid var(--gold);
  color: var(--gold);
  box-shadow: 0 0 24px rgba(244, 205, 85, 0.12);
  z-index: 2;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.12);
  box-shadow: 0 0 32px rgba(244, 205, 85, 0.25);
}

[data-color="light"] .timeline-marker {
  background: linear-gradient(
    135deg,
    rgba(184, 134, 11, 0.12),
    rgba(37, 99, 235, 0.08)
  );
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 24px rgba(184, 134, 11, 0.1);
}

.timeline-content {
  padding: 4px 0;
}

.timeline-content h3 {
  color: var(--text);
  transition: color 0.25s ease;
}

.timeline-item:hover .timeline-content h3 {
  color: var(--gold);
}

.timeline-content p {
  margin: 0;
}

/* ── Programming Page Editorial Grid Override ──────── */
.editorial-block[style*="grid-template-columns"] {
  max-width: none;
}

/* ══════════════════════════════════════════════════════
   PROGRAMMING PAGE — RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════ */

/* ── TABLET ─ max-width: 1080px ── */
@media (max-width: 1080px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .bento-box[style*="grid-column:span 4"],
  .bento-box[style*="grid-column: span 4"] {
    grid-column: span 6 !important;
  }

  .bento-box[style*="grid-column:span 6"],
  .bento-box[style*="grid-column: span 6"] {
    grid-column: span 6 !important;
  }

  .bento-box[style*="grid-column:span 8"],
  .bento-box[style*="grid-column: span 8"] {
    grid-column: span 12 !important;
  }

  .bento-box[style*="grid-column:span 12"],
  .bento-box[style*="grid-column: span 12"] {
    grid-column: span 12 !important;
  }
}

/* ── MOBILE ─ max-width: 760px ── */
@media (max-width: 760px) {
  /* ── Bento Grid Mobile ── */
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .bento-box,
  .bento-box[style*="grid-column"] {
    grid-column: 1 / -1 !important;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .bento-title {
    font-size: 1.1rem;
  }

  .bento-desc {
    font-size: 0.88rem;
  }

  .bento-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  /* ── Programming Timeline Mobile ── */
  .timeline {
    padding-inline-start: 44px;
  }

  .timeline::before {
    inset-inline-start: 19px;
  }

  .timeline-marker {
    inset-inline-start: -44px;
    width: 38px;
    height: 38px;
    font-size: 0.88rem;
    top: 22px;
  }

  .timeline-item {
    padding: 18px 0;
  }

  .timeline-content h3 {
    font-size: 1.05rem !important;
  }

  .timeline-content p {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }

  /* ── Programming Capabilities Grid Mobile ── */
  .editorial-block[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .editorial-block[style*="grid-template-columns"] h3 {
    font-size: 1.15rem !important;
  }

  .editorial-block[style*="grid-template-columns"] p {
    font-size: 0.9rem !important;
  }

  /* ── Programming CTA Section ── */
  .section.text-center .subhero-panel {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .section.text-center .subhero-panel h2 {
    font-size: clamp(1.4rem, 5vw, 2rem) !important;
  }

  .section.text-center .subhero-panel .lead {
    font-size: 0.9rem;
    margin-bottom: 28px !important;
  }
}

/* =========================================
   PRICING UI COMPONENT
========================================= */

.pricing-section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: center; /* helps the middle one scale gracefully */
}

/* Base Pricing Card */
.pricing-card {
  background: rgba(14, 21, 33, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

/* Card Header elements */
.pricing-card .mini-label {
  color: var(--brand-accent, #b99e5c);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-base, #ffffff);
  margin-bottom: 1.5rem;
  min-height: 2.5rem; /* Standardize height */
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-accent, #b99e5c);
  margin-bottom: 2rem;
  display: block;
  line-height: 1;
}

/* Feature List */
.pricing-card .list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  flex-grow: 1;
}

.portfolio-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  display: flex;
}

.portfolio-carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollMarquee 30s linear infinite;
}

.portfolio-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px)); /* -50% of track width minus half gap */
  }
}

@keyframes scrollMarquee-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(50% + 12px));
  }
}

[dir="rtl"] .portfolio-carousel-track {
  animation-name: scrollMarquee-rtl;
}

.carousel-slide {
  flex: 0 0 auto;
  width: 85vw;
  max-width: 800px;
  height: 450px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

.carousel-slide:hover {
  transform: translateY(-10px) scale(1.02);
  z-index: 10;
  filter: brightness(1.1);
}

@media (min-width: 1024px) {
  .carousel-slide { width: 50vw; height: 500px; }
  .portfolio-carousel-track { gap: 32px; }
  @keyframes scrollMarquee {
    100% { transform: translateX(calc(-50% - 16px)); }
  }
  @keyframes scrollMarquee-rtl {
    100% { transform: translateX(calc(50% + 16px)); }
  }
}

.pricing-card .list li {
  position: relative;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  line-height: 1.5;
  padding-left: 1.5rem; /* Space for bullet */
  text-align: left;
}

[dir="rtl"] .pricing-card .list li {
  padding-left: 0;
  padding-right: 1.5rem;
  text-align: right;
}

.pricing-card .list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background-color: var(--brand-accent, #b99e5c);
  border-radius: 50%;
}

[dir="rtl"] .pricing-card .list li::before {
  left: auto;
  right: 0;
}

/* Highlight (Most Requested) Card */
.pricing-card.highlight {
  background: rgba(14, 21, 33, 0.85);
  border: 1px solid rgba(185, 158, 92, 0.4);
  box-shadow: 0 0 45px rgba(185, 158, 92, 0.1);
  transform: scale(1.05); /* slightly bigger */
  z-index: 2;
}

.pricing-card.highlight:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 0 60px rgba(185, 158, 92, 0.2);
  border-color: rgba(185, 158, 92, 0.8);
}

/* Ensure mobile looks good */
@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 3rem auto;
  }

  .pricing-card.highlight {
    transform: none; /* remove scale on mobile */
  }

  .pricing-card.highlight:hover {
    transform: translateY(-5px);
  }
}

.pricing-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
/* ═══════════════════════════════════════════════════
   PROJECT SCOPE WIZARD
   ═══════════════════════════════════════════════════ */
.wizard-section {
  padding: 80px 5%;
  position: relative;
  z-index: 10;
}
.wizard-container {
  max-width: 800px;
  margin: 0 auto;
}
.wizard-header {
  text-align: center;
  margin-bottom: 40px;
}
.wizard-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}
.wizard-header p {
  color: var(--muted);
  font-size: 1.1rem;
}
.wizard-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.wizard-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bg);
}
.progress-bar {
  height: 100%;
  background: var(--gold);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.wizard-step {
  display: none;
  animation: fadeSlideUp 0.5s ease forwards;
}
.wizard-step.active {
  display: block;
}
.wizard-step h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}
.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.wizard-option {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-family: inherit;
  font-weight: 500;
}
.wizard-option:hover {
  border-color: var(--gold);
  background: rgba(244, 205, 85, 0.05);
  transform: translateY(-2px);
}
.wizard-back,
.wizard-restart {
  margin-top: 10px;
  padding: 10px 20px;
}
.wizard-result {
  background: rgba(244, 205, 85, 0.05);
  border: 1px solid rgba(244, 205, 85, 0.3);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-align: center;
}
.wizard-result h4 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.wizard-result p {
  color: var(--white);
  line-height: 1.6;
  font-size: 1.05rem;
  margin: 0;
}
.wizard-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .wizard-card {
    padding: 60px;
  }
  .wizard-options {
    flex-direction: row;
    justify-content: center;
  }
  .wizard-option {
    flex: 1;
  }
  .wizard-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════
   TEAM GRID
   ═══════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.team-card {
  text-align: center;
  padding: 0;
  overflow: hidden;
  border: none;
  background: transparent;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

/* ═══════════════════════════════════════════════════
   PORTFOLIO VISUAL GALLERY & CAROUSEL
   ═══════════════════════════════════════════════════ */
.portfolio-gallery-section {
  /* FIX FOR EDGE-TO-EDGE CAROUSEL BUG */
  padding: 80px 0;
  overflow: hidden;
}

.portfolio-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 20px 5%;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.portfolio-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  scroll-snap-align: center;
  flex: 0 0 85%;
  max-width: 800px;
  height: 450px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

@media (min-width: 1024px) {
  .carousel-slide { flex: 0 0 45%; height: 500px; scroll-snap-align: start; }
  .portfolio-carousel { padding: 20px 5%; gap: 32px; }
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 10, 21, 0.95) 0%, rgba(3, 10, 21, 0.4) 40%, rgba(3, 10, 21, 0) 100%);
}

.carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  z-index: 2;
  color: #ffffff;    /* Force white text to contrast overlay */
  text-align: left;
}

[dir="rtl"] .carousel-content {
  text-align: right;
}

.carousel-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #b8860b; /* Force gold text */
}

.carousel-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff; /* Force white text */
  line-height: 1.2;
}

.carousel-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85); /* Force semi-transparent white */
  max-width: 600px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .carousel-slide { height: 380px; flex: 0 0 85%; scroll-snap-align: center; }
  .carousel-title { font-size: 1.5rem; }
  .carousel-content { padding: 24px; }
}

/* ── Portfolio Uniform Grid Gallery ── */
.portfolio-masonry {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 5%;
  gap: 16px;
  padding: 20px 5%;
  margin-top: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.portfolio-masonry::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .portfolio-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow-x: visible;
    padding: 20px 5%;
  }
}

@media (min-width: 1200px) {
  .portfolio-masonry {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

.masonry-item {
  flex: 0 0 75%;
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #0a0f1a;
  aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
  .masonry-item {
    flex: none;
    aspect-ratio: 1 / 1;
  }
}

.masonry-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(184, 134, 11, 0.18);
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.masonry-item:hover img {
  transform: scale(1.08);
}

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 21, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 24px;
}

.masonry-item:hover .masonry-overlay {
  opacity: 1;
}

.masonry-title {
  color: #ffffff; /* Force white */
  font-size: 1.25rem;
  font-weight: 700;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  margin-bottom: 8px;
}

.masonry-item:hover .masonry-title {
  transform: translateY(0);
}

.masonry-cat {
  color: #b8860b; /* Force gold */
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.1s;
}

.masonry-item:hover .masonry-cat {
  transform: translateY(0);
}


/* ── Project Card Images ── */
.project-card {
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
}
.project-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
  background-color: var(--surface-1);
}
.project-card:hover .project-image {
  transform: scale(1.03);
}
/* Ensure the link sits at the bottom */
.project-card p {
  flex-grow: 1;
}

/* ═══════════════════════════════════════════════════
   PORTFOLIO PREMIUM ANIMATIONS & GLASSMORPHISM (V2)
   ═══════════════════════════════════════════════════ */

/* 1. Masonry Upgrades: Immersive Hover & Glassmorphism */
.masonry-item {
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  will-change: transform;
}
.masonry-item:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 20px 50px rgba(184, 134, 11, 0.2), 0 0 0 1px rgba(184, 134, 11, 0.1);
  z-index: 10;
}
.masonry-overlay {
  background: linear-gradient(to top, rgba(3, 10, 21, 0.95) 0%, rgba(3, 10, 21, 0.4) 50%, rgba(3, 10, 21, 0) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: flex-end;
  padding: 32px 24px;
}
.masonry-title {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.masonry-cat {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
  background: rgba(184, 134, 11, 0.15);
  border: 1px solid rgba(184, 134, 11, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.masonry-item:hover .masonry-title,
.masonry-item:hover .masonry-cat {
  transform: translateY(0);
  opacity: 1;
}

/* 2. Carousel Glow & Cinema Effect */
.portfolio-carousel {
  padding-bottom: 40px !important; /* Space for shadows */
}
.carousel-slide {
  transform: scale(0.98);
  opacity: 0.85;
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: grayscale(20%);
}
.carousel-slide.is-snapped,
.carousel-slide:hover {
  transform: scale(1);
  opacity: 1;
  filter: grayscale(0%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(184, 134, 11, 0.15);
  border: 1px solid rgba(255,255,255,0.08);
}
.carousel-content {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(255, 255, 255, 0) 100%);
  padding-top: 100px; /* Fade smoothly */
}
.carousel-tag {
  transition: all 0.3s ease;
}
.carousel-slide:hover .carousel-tag {
  background: rgba(184, 134, 11, 0.2);
  border-color: rgba(184, 134, 11, 0.5);
  box-shadow: 0 0 15px rgba(184, 134, 11, 0.3);
}

/* 3. Project Cards Hover Shine (Light sweep) */
.project-card {
  position: relative;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
  z-index: 5;
  pointer-events: none;
}
.project-card:hover::before {
  left: 200%;
}
.project-image {
  border: 1px solid rgba(255,255,255,0.03);
}

/* 4. Smooth Staggered Load for Reveal */
.reveal {
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}


/* ── 4-Col Grid for Featured Projects ── */
@media (min-width: 1200px) {
  .grid-4-desktop {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .grid-4-desktop .project-image {
    height: 180px; /* shorter to look nice as 4 columns */
  }
  .grid-4-desktop h3 {
    font-size: 1.25rem !important;
  }
}


/* ═══════════════════════════════════════════════════
   PORTFOLIO CONVERSION & TRUST ELEMENTS
   ═══════════════════════════════════════════════════ */
.portfolio-metrics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 40px 5%;
  text-align: center;
  margin: 40px auto;
  max-width: var(--container);
  border-radius: 20px;
}
.metric-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
  background: linear-gradient(135deg, #FFDF00, #B8860B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-item p {
  color: var(--text-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.trust-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.trust-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-1);
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.trust-badge:hover {
  background: rgba(184, 134, 11, 0.15);
  border-color: rgba(184, 134, 11, 0.4);
  transform: translateY(-2px);
  color: var(--gold);
}

.conversion-slab {
  background: url('../images/raw/video-bg.jpg') center/cover;
  padding: 100px 5%;
  border-radius: 32px;
  text-align: center;
  margin: 80px auto;
  max-width: var(--container);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
}
.conversion-slab::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(3, 10, 21, 0.95) 0%, rgba(3, 10, 21, 0.8) 100%);
}
.conversion-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.conversion-content p.eyebrow {
  margin-bottom: 16px;
  color: var(--gold);
}
.conversion-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.1;
}
.conversion-content p.lead-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.25rem;
  margin-bottom: 40px;
}
.conversion-content .button {
  padding: 18px 40px;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(184, 134, 11, 0.3);
  transform: scale(1);
  transition: all 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.conversion-content .button:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(184, 134, 11, 0.4);
}

/* Light Mode Overrides */
[data-color="light"] .portfolio-metrics-bar {
  background: rgba(255,255,255,0.8);
  border-color: rgba(0,0,0,0.05);
}
[data-color="light"] .trust-badge {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
  color: #1a1a2e;
}
[data-color="light"] .trust-badge:hover {
  background: rgba(184, 134, 11, 0.1);
}
[data-color="light"] .conversion-slab::before {
  background: linear-gradient(135deg, rgba(240, 244, 248, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
}
[data-color="light"] .conversion-content h2 { color: #1a1a2e; }
[data-color="light"] .conversion-content p.lead-desc { color: #4a5568; }


@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400..800&family=Tajawal:wght@300..800&display=swap');
html[dir="rtl"] {
    --fh: 'Cairo', sans-serif !important;
    --fb: 'Tajawal', sans-serif !important;
}

/* ══════════════════════════════════════════════════════════════
   HIGH-PRIORITY CRO SECTIONS
   ══════════════════════════════════════════════════════════════ */

/* ── Case Study Project Card Upgrades (ROI Focused) ── */
.case-study-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.metric-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.metric-icon-bg {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(54, 218, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}
.metric-icon-bg svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.metric-row-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.metric-row-text .m-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.metric-row-text .m-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.metric-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(93, 230, 177, 0.15);
  color: var(--success);
  padding: 6px 12px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(93, 230, 177, 0.3);
  width: max-content;
}
.metric-highlight svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
[data-color="light"] .metric-icon-bg { background: rgba(8, 145, 178, 0.1); color: var(--cyan); }
[data-color="light"] .metric-highlight { background: rgba(5, 150, 105, 0.1); color: var(--success); border-color: rgba(5, 150, 105, 0.2); }

/* ── Tech Stack & Trust Signals Marquee ── */
.tech-marquee-section {
  padding: 40px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
.tech-marquee-wrapper {
  display: flex;
  width: max-content;
  animation: tech-scroll 120s linear infinite;
  will-change: transform;
  align-items: center;
}
.tech-marquee-wrapper:hover {
  animation-play-state: paused;
}
.tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  filter: opacity(0.55);
  transition: filter 0.3s ease, transform 0.3s ease;
  user-select: none;
  flex-shrink: 0;
  white-space: nowrap;
}
.tech-item:hover {
  filter: opacity(1);
  transform: translateY(-2px);
}
.tech-item img {
  height: 28px;
  width: auto;
  max-width: 118px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.tech-item span {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  white-space: nowrap !important;
  display: inline-block;
}
@keyframes tech-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
}

@keyframes tech-scroll-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); } 
}

[dir="rtl"] .tech-marquee-wrapper {
  animation-name: tech-scroll-rtl;
}

@media (max-width: 767px) {
  .tech-marquee-section {
    padding: 10px 0;
  }

  .tech-marquee-wrapper {
    animation-duration: 90s;
  }

  .tech-item {
    padding: 0 20px;
    gap: 10px;
    filter: opacity(0.7);
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .tech-item:hover {
    transform: none;
    filter: opacity(1);
  }

  .tech-item img {
    height: 20px;
    width: auto;
    flex-shrink: 0;
  }

  .tech-item span {
    font-size: 0.85rem;
    white-space: nowrap !important;
  }
}

[data-color="light"] .tech-item {
  filter: grayscale(100%) opacity(0.8);
}

/* ── "Our Proven Process" Section ── */
.process-timeline-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  margin-top: 40px;
}
.process-timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--cyan) 100%);
  opacity: 0.3;
}
@media (min-width: 768px) {
  .process-timeline-wrap::before {
    left: 50%;
    transform: translateX(-50%);
  }
}
.p-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 70px;
}
@media (min-width: 768px) {
  .p-step {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
    width: 100%;
  }
  .p-step:nth-child(even) {
    flex-direction: row-reverse;
  }
}
.p-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  box-shadow: 0 0 20px rgba(244, 205, 85, 0.2);
  color: var(--gold);
}
.p-step-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
@media (min-width: 768px) {
  .p-step-icon {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
.p-step-content {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .p-step-content {
    width: calc(50% - 60px);
  }
}
.p-step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--gold);
}
.p-step-content p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}
[data-color="light"] .p-step-icon { background: #fff; box-shadow: 0 0 20px rgba(184, 134, 11, 0.2); }
[data-color="light"] .p-step-content { background: rgba(255, 255, 255, 0.8); }

/* ── Web Dev & UI/UX Service Sections ── */
.special-service-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: linear-gradient(135deg, rgba(8, 24, 45, 0.9), rgba(12, 35, 64, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.special-service-box::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(54, 218, 245, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
@media (min-width: 992px) {
  .special-service-box {
    flex-direction: row;
    align-items: center;
    padding: 60px;
  }
  .special-service-content {
    flex: 1;
    padding-right: 40px;
  }
  .special-service-box.reverse {
    flex-direction: row-reverse;
  }
  .special-service-box.reverse .special-service-content {
    padding-right: 0;
    padding-left: 40px;
  }
  .special-service-box.reverse::after {
    left: -50px;
    right: auto;
  }
}
.special-service-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.special-service-content .lead {
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.special-service-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Fixed Price Guarantee Badge */
.fixed-price-guarantee {
  background: linear-gradient(135deg, rgba(244, 205, 85, 0.1), rgba(244, 205, 85, 0.02));
  border: 1px solid rgba(244, 205, 85, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.fpg-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bg);
}
.fpg-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.fpg-content h4 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 6px;
  font-family: var(--fh);
}
.fpg-content p {
  color: var(--text);
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}
[data-color="light"] .special-service-box { background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 243, 238, 0.7)); }
[data-color="light"] .fixed-price-guarantee { background: linear-gradient(135deg, rgba(184, 134, 11, 0.08), rgba(184, 134, 11, 0.02)); border-color: rgba(184, 134, 11, 0.2); }

/* ═══ LIVE SEARCH COMPONENT ═══ */
.bilingual-search-wrapper { position: relative; width: 170px; font-family: inherit; margin: 0 4px; }
.bilingual-search-wrapper.mobile-search { width: 100%; margin: 0 0 20px; }

.bilingual-search-input {
  width: 100%; height: 46px; padding: 0 18px; font-size: 0.85rem;
  border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text); outline: none;
  -webkit-appearance: none; appearance: none;
  transition: all 0.3s ease;
}

[data-color="light"] .bilingual-search-input {
  background: rgba(255,255,255,0.4);
}

.bilingual-search-input::placeholder { color: var(--muted); opacity: 0.7; }
.bilingual-search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(54, 218, 245, 0.12);
  background: rgba(54, 218, 245, 0.02);
}

.bilingual-search-dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 250px; margin: 0; padding: 6px; list-style: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  max-height: 380px; overflow-y: auto; z-index: 9999;
}
.bilingual-search-dropdown[hidden] { display: none; }
.bilingual-search-dropdown li { border-bottom: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.bilingual-search-dropdown li:last-child { border-bottom: none; }

.bilingual-search-dropdown a { 
  display: block; padding: 14px 16px; text-decoration: none; color: var(--text); 
  font-weight: 500; font-size: 0.92rem; transition: all 0.2s ease; 
}
.bilingual-search-dropdown a:hover, .bilingual-search-dropdown a:focus { 
  background: rgba(54, 218, 245, 0.08); color: var(--cyan); padding-left: 20px; 
}

.bilingual-search-dropdown .no-results { padding: 20px 16px; text-align: center; color: var(--muted); font-size: 0.9rem; border: none; }

html[dir="rtl"] .bilingual-search-input { text-align: right; }
html[dir="rtl"] .bilingual-search-dropdown { text-align: right; left: auto; right: 0; }
html[dir="rtl"] .bilingual-search-dropdown a:hover { padding-left: 16px; padding-right: 20px; }

@media (max-width: 1380px) {
  .global-header-inner {
    gap: 10px;
    padding-inline: 14px;
  }

  .global-brand {
    gap: 10px;
  }

  .global-nav-link,
  .global-nav-trigger {
    padding-inline: 10px;
    font-size: 0.84rem;
  }

  .bilingual-search-wrapper {
    width: 150px;
    margin-inline: 0;
  }

  .global-lang,
  .global-cta {
    padding-inline: 16px;
  }

  .global-cta {
    min-width: 118px;
  }
}

@media(max-width: 1024px) {
  .desktop-search { display: none; } /* Hide search securely on tablet/mobile so header stays uncompressed */
}
[data-color="light"] .fpg-content p { color: #1a1a2e; }

/* ═════ 1. HIGH-PERFORMANCE SCROLL REVEAL ═════ */
.mashhor-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(35px);
  transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform, filter;
}

.mashhor-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ═════ 2. INTERACTIVE 3D TILT ═════ */
.mashhor-tilt {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
  will-change: transform;
}

.mashhor-tilt.is-tilting {
  transition: none !important;
}


/* ═══════════════════════════════════════════════════════════════════════
   CASE STUDY ENHANCEMENT COMPONENTS
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. KPI METRICS GRID ── */
.cs-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.cs-kpi-card {
  position: relative;
  padding: 28px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(8, 24, 45, 0.7), rgba(4, 17, 33, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  overflow: hidden;
  transition: all 0.35s ease;
}

.cs-kpi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  opacity: 0.7;
}

.cs-kpi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 205, 85, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.cs-kpi-value {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gold);
  background: linear-gradient(135deg, var(--gold-soft), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.cs-kpi-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cs-kpi-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.65;
  margin-top: 4px;
}

/* ── 2. BEFORE / AFTER COMPARISON BARS ── */
.cs-comparison {
  margin: 40px 0;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8, 24, 45, 0.6), rgba(4, 17, 33, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-comparison-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-comparison-title::before {
  content: "📊";
  font-size: 1.2rem;
}

.cs-comparison-row {
  margin-bottom: 24px;
}

.cs-comparison-row:last-child {
  margin-bottom: 0;
}

.cs-comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.cs-comparison-metric {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.cs-comparison-values {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.cs-val-before {
  color: rgba(255, 255, 255, 0.35);
}

.cs-val-arrow {
  color: var(--gold);
}

.cs-val-after {
  color: var(--gold);
}

.cs-bar-track {
  position: relative;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.cs-bar-before {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.cs-bar-after {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  box-shadow: 0 0 16px rgba(244, 205, 85, 0.25);
  transition: width 1.4s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

.cs-comparison-legend {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.cs-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cs-legend-dot.before {
  background: rgba(255, 255, 255, 0.15);
}

.cs-legend-dot.after {
  background: linear-gradient(135deg, var(--gold), var(--cyan));
}

/* ── 3. PROJECT TIMELINE ── */
.cs-timeline {
  position: relative;
  margin: 40px 0;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8, 24, 45, 0.6), rgba(4, 17, 33, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-timeline-title::before {
  content: "📅";
  font-size: 1.2rem;
}

.cs-timeline-track {
  position: relative;
  padding-inline-start: 32px;
}

.cs-timeline-track::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  inset-inline-start: 11px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--cyan), rgba(255, 255, 255, 0.06));
  border-radius: 2px;
}

.cs-timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.cs-timeline-item:last-child {
  padding-bottom: 0;
}

.cs-timeline-item::before {
  content: "";
  position: absolute;
  inset-inline-start: -27px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--gold);
  z-index: 1;
  transition: all 0.3s ease;
}

.cs-timeline-item:hover::before {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(244, 205, 85, 0.4);
  transform: scale(1.2);
}

.cs-timeline-phase {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold);
  margin-bottom: 4px;
}

.cs-timeline-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.cs-timeline-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── 4. SERVICES USED ── */
.cs-services-used {
  margin: 40px 0;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(8, 24, 45, 0.6), rgba(4, 17, 33, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-services-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-services-title::before {
  content: "🔗";
  font-size: 1.2rem;
}

.cs-services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cs-service-link:hover {
  background: rgba(244, 205, 85, 0.08);
  border-color: rgba(244, 205, 85, 0.25);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cs-service-link svg {
  width: 18px;
  height: 18px;
  opacity: 0.6;
  flex-shrink: 0;
}

.cs-service-link:hover svg {
  opacity: 1;
}

/* ── SECTION LABEL ── */
.cs-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin-bottom: 8px;
}

.cs-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 205, 85, 0.3), transparent);
}

/* ── LIGHT MODE OVERRIDES ── */
[data-color="light"] .cs-kpi-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(245, 243, 238, 0.7));
  border-color: rgba(0, 30, 80, 0.1);
}

[data-color="light"] .cs-kpi-card:hover {
  border-color: rgba(184, 134, 11, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

[data-color="light"] .cs-comparison,
[data-color="light"] .cs-timeline,
[data-color="light"] .cs-services-used {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(245, 243, 238, 0.65));
  border-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .cs-bar-track {
  background: rgba(0, 30, 80, 0.06);
}

[data-color="light"] .cs-bar-before {
  background: rgba(0, 30, 80, 0.1);
}

[data-color="light"] .cs-val-before {
  color: rgba(0, 30, 80, 0.35);
}

[data-color="light"] .cs-timeline-track::before {
  background: linear-gradient(180deg, var(--gold), var(--cyan), rgba(0, 30, 80, 0.06));
}

[data-color="light"] .cs-timeline-item::before {
  background: var(--bg);
}

[data-color="light"] .cs-service-link {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 30, 80, 0.1);
  color: #1a1a2e;
}

[data-color="light"] .cs-service-link:hover {
  background: rgba(184, 134, 11, 0.06);
  border-color: rgba(184, 134, 11, 0.25);
  color: var(--gold);
}

[data-color="light"] .cs-comparison-legend {
  border-top-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .cs-legend-dot.before {
  background: rgba(0, 30, 80, 0.12);
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 760px) {
  .cs-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cs-kpi-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .cs-kpi-value {
    font-size: 1.6rem;
  }

  .cs-comparison,
  .cs-timeline,
  .cs-services-used {
    padding: 22px 18px;
    border-radius: 20px;
    margin: 28px 0;
  }

  .cs-comparison-header {
    flex-direction: column;
    gap: 4px;
  }

  .cs-timeline-track {
    padding-inline-start: 28px;
  }

  .cs-services-grid {
    gap: 8px;
  }

  .cs-service-link {
    padding: 10px 14px;
    font-size: 0.82rem;
    border-radius: 12px;
  }
}

@media (max-width: 420px) {
  .cs-kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cs-kpi-card {
    padding: 16px 12px;
  }

  .cs-kpi-value {
    font-size: 1.4rem;
  }

  .cs-kpi-label {
    font-size: 0.72rem;
  }
}


/* ── CASE STUDIES: ALIGNED WITH PLATFORM VISUAL SYSTEM ── */
.story-shell,
.story-band,
.story-cta {
  width: var(--container);
  margin: 0 auto;
}

.story-shell {
  padding-top: 34px;
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

/* ... existing story styles ... */

/* ── PORTFOLIO CATEGORY HEADERS ── */
.portfolio-category {
  max-width: var(--container, 1400px);
  margin-left: auto;
  margin-right: auto;
  padding: 0 5%;
  margin: 70px auto 35px auto;
}
.portfolio-category-header {
  margin-bottom: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 15px;
  position: relative;
}
.portfolio-category-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', 'Alexandria', sans-serif;
}
.portfolio-category-header h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(244, 205, 85, 0.4);
}
.portfolio-category-header p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 8px 0 0 22px;
  max-width: 60ch;
  line-height: 1.6;
}
[data-color="light"] .portfolio-category-header {
  border-bottom-color: rgba(0, 30, 80, 0.08);
}
[data-color="light"] .portfolio-category-header h3 {
  color: #1a1a2e;
}

.story-copy {
  padding: clamp(32px, 4.4vw, 56px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(54, 218, 245, 0.14), rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, rgba(8, 24, 45, 0.94), rgba(4, 17, 33, 0.98));
  box-shadow: var(--shadow);
}

.story-kicker,
.story-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Space Grotesk", sans-serif;
}

.story-kicker {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(244, 205, 85, 0.16);
  background: rgba(244, 205, 85, 0.08);
}

.story-title {
  margin: 0 0 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.35rem, 4.5vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text);
  max-width: 12ch;
}

.story-desc,
.story-card p,
.story-block p,
.story-list li,
.story-mini-card p {
  color: var(--muted);
  line-height: 1.85;
}

.story-desc {
  max-width: 62ch;
  font-size: 1.02rem;
}

.story-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 28px;
  max-width: 680px;
}

.story-actions .button,
.story-actions .ghost-button,
.story-cta-actions .button,
.story-cta-actions .ghost-button {
  width: 100%;
  min-height: 54px;
  justify-content: center;
}

.story-support-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
}

.story-support-row a {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Space Grotesk", sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 4px;
}

.story-support-row a:hover {
  color: var(--text);
  border-bottom-color: var(--gold);
}

.story-panel,
.story-card,
.story-block,
.story-mini-card,
.story-cta-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.story-panel {
  padding: 28px;
}

.story-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.story-metric {
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.story-metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 1.18rem;
  font-family: "Space Grotesk", sans-serif;
}

.story-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.story-band {
  padding-top: clamp(60px, 7vw, 96px);
}

.story-band--compact {
  padding-top: 22px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.story-card,
.story-mini-card {
  grid-column: span 4;
}

.story-block {
  grid-column: span 6;
  padding: 30px;
}

.story-block.full {
  grid-column: 1 / -1;
}

.story-card,
.story-mini-card {
  padding: 24px;
}

.story-card h3,
.story-block h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.18;
}

.story-mini-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.04rem;
}

.story-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.story-list li {
  position: relative;
  padding-inline-start: 18px;
}

.story-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.88em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(244, 205, 85, 0.08);
}

.story-cta {
  padding-top: clamp(60px, 7vw, 96px);
  padding-bottom: clamp(72px, 8vw, 110px);
}

.story-cta-box {
  padding: clamp(28px, 3.8vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.story-cta-box h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.story-cta-box p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.8;
}

.story-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.story-panel:hover,
.story-card:hover,
.story-block:hover,
.story-mini-card:hover,
.story-cta-box:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
}

[data-color="light"] .story-copy {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0) 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 243, 238, 0.94));
  border-color: rgba(0, 30, 80, 0.1);
}

[data-color="light"] .story-kicker {
  background: rgba(184, 134, 11, 0.08);
  border-color: rgba(184, 134, 11, 0.18);
  color: #8b6914;
}

[data-color="light"] .story-support-row a {
  color: #536173;
  border-bottom-color: rgba(0, 30, 80, 0.14);
}

[data-color="light"] .story-support-row a:hover {
  color: #1a1a2e;
  border-bottom-color: rgba(184, 134, 11, 0.28);
}

[data-color="light"] .story-panel,
[data-color="light"] .story-card,
[data-color="light"] .story-block,
[data-color="light"] .story-mini-card,
[data-color="light"] .story-cta-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 243, 238, 0.68));
  border-color: rgba(0, 30, 80, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.06);
}

[data-color="light"] .story-metric {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 30, 80, 0.08);
}

[data-color="light"] .story-metric strong,
[data-color="light"] .story-card h3,
[data-color="light"] .story-block h3,
[data-color="light"] .story-mini-card strong,
[data-color="light"] .story-cta-box h2,
[data-color="light"] .story-title {
  color: #1a1a2e;
}

[data-color="light"] .story-desc,
[data-color="light"] .story-card p,
[data-color="light"] .story-block p,
[data-color="light"] .story-list li,
[data-color="light"] .story-mini-card p,
[data-color="light"] .story-panel-label,
[data-color="light"] .story-metric span {
  color: #536173;
}

@media (max-width: 1024px) {
  .story-hero,
  .story-cta-box {
    grid-template-columns: 1fr;
  }

  .story-card,
  .story-mini-card,
  .story-block {
    grid-column: 1 / -1;
  }

  .story-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .story-shell {
    padding-top: 22px;
  }

  .story-band,
  .story-cta {
    padding-top: 54px;
  }

  .story-copy,
  .story-panel,
  .story-card,
  .story-block,
  .story-mini-card,
  .story-cta-box {
    padding: 22px;
    border-radius: 24px;
  }

  .story-metrics {
    grid-template-columns: 1fr;
  }

  .story-support-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .story-title {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .story-actions,
  .story-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 🎮 MARKET GAME HUB PREMIUM STYLING                              */
/* ═══════════════════════════════════════════════════════════════ */

.game-hero {
    padding: 100px 5% 60px;
    background: radial-gradient(circle at 50% -20%, rgba(54, 218, 245, 0.15), var(--bg-alt) 70%);
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--line);
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 25px;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    min-width: 120px;
}
.stat-val {
    font-size: 2rem;
    font-family: var(--font-code);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.randomized-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(244, 205, 85, 0.1);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: var(--font-code);
    letter-spacing: 0.02em;
    border: 1px solid rgba(244, 205, 85, 0.3);
}

.game-intro-shell {
    padding: 60px 5%;
    border-bottom: 1px solid var(--line);
}
.game-intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.game-kicker {
    display: block;
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    font-weight: 600;
}
.game-intro-card, .game-side-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.game-list {
    margin-top: 25px;
    list-style: none;
    padding: 0;
}
.game-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--muted);
}
.game-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cyan);
}
[dir="rtl"] .game-list li {
    padding-left: 0;
    padding-right: 30px;
}
[dir="rtl"] .game-list li::before {
    left: auto;
    right: 0;
    content: '←';
}

.game-utility {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.game-utility div strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
    font-family: var(--font-code);
}
.game-utility div span {
    color: var(--muted);
    font-size: 0.9rem;
}

.player-profile-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.xp-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}
.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #ffdf80);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 10px rgba(244, 205, 85, 0.5);
}

.game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.game-card-premium {
    background: linear-gradient(145deg, rgba(8,24,45,0.95), rgba(4,17,33,0.9));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.game-card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(244, 205, 85, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.game-card-premium:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 205, 85, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px rgba(244, 205, 85, 0.1);
}
.game-card-premium:hover::before { opacity: 1; }
.game-card-premium.disabled {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(1);
    border-color: rgba(255,255,255,0.02);
}
.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
}
.game-card-premium:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
}
.game-card-premium h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text);
}
.game-card-premium p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}
.card-difficulty {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--cyan);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.card-status {
    padding-top: 15px;
    border-top: 1px dashed rgba(255,255,255,0.08);
    font-size: 0.88rem;
    margin-top: auto;
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.leaderboard-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 24px;
}
.lb-header {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}
.lb-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dotted rgba(255,255,255,0.03);
    font-size: 0.95rem;
}
.lb-entry:last-child {
    border-bottom: none;
}

.game-toast-premium {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(4,17,33,0.95);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(244,205,85,0.15);
    z-index: 99999;
    text-align: center;
    min-width: 300px;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.game-toast-premium.show {
    bottom: 40px;
}
@media (max-width: 768px) {
    .game-intro-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; }
    .game-hero { padding-top: 80px; }
}


.portfolio-category-header.reveal {
  max-width: var(--container, 1400px);
  margin-left: auto;
  margin-right: auto;
}

/* ── Prompt Vault Premium UI ── */
.vault-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.viewer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  padding: 40px 0;
}

.vcard {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.vcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(196, 255, 71, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.vcard:hover {
  transform: translateY(-8px);
  border-color: rgba(196, 255, 71, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(196, 255, 71, 0.05);
}

.vcard:hover::before {
  opacity: 1;
}

.vcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 1;
}

.vcard-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vtag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 100px;
}

.vtag-cat { background: rgba(196, 255, 71, 0.1); color: var(--lime); }
.vtag-tool { background: rgba(255, 255, 255, 0.05); color: var(--muted); border: 1px solid rgba(255, 255, 255, 0.1); }

.vcard-copy-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.vcard-copy-btn:hover {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
  transform: scale(1.1);
}

.vcard-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin: 0;
  z-index: 1;
}

.vcard-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  z-index: 1;
}

.vcard-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime);
  background: rgba(196, 255, 71, 0.05);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px dashed rgba(196, 255, 71, 0.2);
  z-index: 1;
}

.vcard-body-wrap {
  position: relative;
  margin-top: 8px;
  z-index: 1;
}

.vcard-body {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  font-family: inherit;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  white-space: pre-wrap;
  max-height: 160px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.vcard-body::-webkit-scrollbar { width: 4px; }
.vcard-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }

/* Load More Button */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 40px 0 60px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.4s ease;
}

.load-more-btn:hover {
  background: var(--lime);
  color: #000;
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(196, 255, 71, 0.2);
}

.load-more-btn svg {
  transition: transform 0.4s ease;
}

.load-more-btn:hover svg {
  transform: rotate(180deg);
}

[dir="rtl"] .vcard-title,
[dir="rtl"] .vcard-desc,
[dir="rtl"] .vcard-body {
  text-align: right;
}

/* --- PDF Download Cards --- */
.pdf-download-section {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.service-pdf-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-pdf-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 50px rgba(196, 255, 71, 0.1);
}

.service-pdf-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(196, 255, 71, 0.1);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.service-pdf-content {
  flex: 1;
}

.service-pdf-content h3 {
  font-family: 'Space Grotesk', 'Alexandria', sans-serif;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.service-pdf-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.service-pdf-action {
  flex-shrink: 0;
}

.service-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--lime);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.service-pdf-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(196, 255, 71, 0.3);
}

.service-pdf-btn svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .service-pdf-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .service-pdf-action {
    width: 100%;
  }
  .service-pdf-btn {
    width: 100%;
    justify-content: center;
  }
}
