/**
 * IFCC - Clean & Optimized
 * Removed duplicate backgrounds, borders, and overwhelming visual effects
 * Optimized for desktop and mobile responsiveness
 */
:root {
 color-scheme: dark;
 /* Typography config - synced from staging.nerdherd.io/fonts/v2 (CI pipeline #4892) */
 --font-primary: system-ui, -apple-system, 'Segoe UI', Inter, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
 --font-arabic: 'Tajawal', 'Cairo', 'Segoe UI', system-ui, -apple-system, 'Noto Sans Arabic', Arial, sans-serif;
 --font-mono: 'SF Mono', 'Monaco', 'Cascadia Code', 'Consolas', monospace;

 /* Colors - Brighter, cleaner palette */
 --bg: #0F0F11;                    /* Brighter background */
 --surface-elevated: 0 0% 10%;     /* Lighter elevated */
 --accent: 356 88% 58%;            /* #DC1F35 - IFCC crimson */
 --accent-hover: 356 89% 52%;      /* #C41E2F */
 --accent-light: 356 88% 58% / 0.15; /* Brighter accent light */
 --white: 0 0% 100%;               /* Pure white */
 --muted: 240 4% 70%;             /* Lighter muted text */
 --muted-light: 240 4% 75%;      /* Even lighter muted */

 /* Shadows - Converted to HSL format */

/* Glass Effects - Brighter, cleaner */
--glass-border-hover: hsl(356 88% 58% / 0.35);

/* Layered Backgrounds for Visual Separation - Balanced */
--bg-layer-elevated-2: linear-gradient(135deg, hsl(0 0% 11%) 0%, hsl(0 0% 9.5%) 100%);

 --spacing-sm: 8px;
 --spacing-md: 16px;
 --spacing-lg: 24px;
 --spacing-xl: 32px;

 /* Z-Index */
 --z-elevated: 2;
 --z-modal: 100001;
 --z-loader: 99999;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

h1, h2, h3, h4, h5, h6 {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

html {
  scroll-padding-top: 80px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: none;
  overscroll-behavior-y: auto;
  overscroll-behavior-x: none;
  width: 100%;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsl(0 0% 25% / 0.6) hsl(0 0% 4% / 0.9);
  background-color: #0a0a0c;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px
}

*::-webkit-scrollbar-track {
  background: hsl(0 0% 4% / 0.9);
  border-radius: 4px
}

*::-webkit-scrollbar-thumb {
  background: hsl(0 0% 25% / 0.6);
  border-radius: 4px;
  border: 1px solid hsl(0 0% 4% / 0.3);
  transition: background 0.2s ease
}

*::-webkit-scrollbar-thumb:hover {
  background: hsl(0 0% 35% / 0.8);
  border: 1px solid hsl(0 0% 4% / 0.5)
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  padding: clamp(20px, 4vw, 40px);
  padding-top: max(clamp(20px, 4vw, 40px), env(safe-area-inset-top, 0));
  padding-bottom: max(clamp(20px, 4vw, 40px), env(safe-area-inset-bottom, 0));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.modal.modal--hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.modal:not(.modal--hidden) {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: hsl(0 0% 0% / 0.88);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: auto;
}

.modal:not(.modal--hidden) .modal__overlay {
  opacity: 1
}

.modal__content {
  background: hsl(0 0% 3.9% / 0.98);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid hsl(0 0% 100% / 0.08);
  border-radius: 28px;
  padding: 0;
  max-width: clamp(320px, 95vw, 680px);
  width: 100%;
  margin: auto;
  max-height: calc(100vh - clamp(20px, 4vw, 80px));
  overflow: hidden;
  box-shadow: 0 8px 32px hsl(0 0% 0% / 0.6);
  z-index: 2;
  position: relative;
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.modal:not(.modal--hidden) .modal__content {
  transform: scale(1) translateY(0);
  opacity: 1
}

.modal__close {
  position: absolute;
  top: clamp(16px, 3vw, 24px);
  right: clamp(16px, 3vw, 24px);
  width: clamp(36px, 5.5vw, 44px);
  height: clamp(36px, 5.5vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(0 0% 3.9% / 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 12px;
  color: hsl(var(--muted-light));
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  flex-shrink: 0
}

.modal__close:hover {
  background: hsl(var(--accent) / 0.15);
  border-color: hsl(var(--accent) / 0.3);
  color: hsl(var(--white));
  transform: rotate(90deg) scale(1.1)
}

.modal__close:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 2px;
}

[dir="rtl"] .modal__close {
  right: auto;
  left: clamp(16px, 3vw, 24px);
}

.btn--loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid hsl(var(--white) / 0.3);
  border-top-color: hsl(var(--white));
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal__header {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.5vw, 20px);
  flex-shrink: 0;
  padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  border-bottom: 1px solid hsl(0 0% 100% / 0.1);
  flex-shrink: 0
}

@media (hover: none) and (pointer: coarse) {
  button,
  a,
  [role="button"] {
      min-height: 44px;
      min-width: 44px
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
      scroll-behavior: smooth
  }

  * {
      scroll-margin-top: 80px
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
      scroll-behavior: auto
  }
}

body {
  font-family: var(--font-primary);
  background-color: #0a0a0c;
  background-image: radial-gradient(clamp(800px, 75vw, 1600px) clamp(600px, 60vh, 1200px) at 40% 20%, rgb(220 31 53 / 9%), #000000 65%);
  background-attachment: fixed;
  color: hsl(var(--white));
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto
}

img,
video,
iframe,
embed,
object,
svg {
  max-width: 100%;
  height: auto
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div,
a,
button {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto
}

input,
textarea,
select {
  user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

[dir="rtl"] body {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background:
    radial-gradient(circle at center, rgba(15,15,17,0.98) 0%, rgba(15,15,17,0.85) 35%, transparent 75%),
    radial-gradient(clamp(900px, 85vw, 1800px) clamp(700px, 65vh, 1400px) at 35% 25%, rgba(220,31,53,0.18), transparent 70%),
    radial-gradient(clamp(600px, 55vw, 1200px) clamp(450px, 45vh, 900px) at 65% 75%, rgba(220,31,53,0.12), transparent 65%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: visible;
  opacity: 1;
  will-change: opacity, visibility;
  overflow: hidden;
  pointer-events: auto;
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  touch-action: none;
  -webkit-overflow-scrolling: none
}

#loader.loader--fade {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
  display: none;
  height: 0;
  width: 0;
  overflow: hidden
}

.loader-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
  visibility: visible;
}

.loader-core.css-loaded {
  opacity: 1;
  visibility: visible;
}

body.css-loading .loader-core {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.ifcc-logo-svg {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 0 24px rgba(220, 31, 53, 0.7)) drop-shadow(0 0 48px rgba(220, 31, 53, 0.5));
  /* Removed logoGlow animation - logo is now static */
  transition: transform 0.3s ease;
}

.nav {
  position: fixed;
  inset: 0 auto auto 0;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(60px, 8vw, 82px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  z-index: 99999;
  background: linear-gradient(180deg,
    hsl(0 0% 4% / 0.98) 0%,
    hsl(0 0% 3% / 0.95) 50%,
    hsl(0 0% 4% / 0.92) 100%);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border-bottom: 1px solid hsl(0 0% 100% / 0.08);
  box-shadow:
    0 4px 32px hsl(0 0% 0% / 0.6),
    0 0 0 1px hsl(0 0% 100% / 0.04) inset,
    0 0 48px hsl(var(--accent) / 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  box-sizing: border-box
}

.nav.nav--scrolled {
  height: clamp(60px, 10vw, 76px);
  min-height: 60px;
  /* Premium scrolled state - matching Intelligence Tab panel styling */
  background: linear-gradient(180deg,
    hsl(0 0% 5% / 0.98) 0%,
    hsl(0 0% 4% / 0.96) 50%,
    hsl(0 0% 5% / 0.94) 100%);
  backdrop-filter: blur(64px) saturate(220%);
  -webkit-backdrop-filter: blur(64px) saturate(220%);
  border-bottom: 1px solid hsl(var(--accent) / 0.15);
  box-shadow:
    0 8px 48px hsl(0 0% 0% / 0.8),
    0 0 80px hsl(var(--accent) / 0.12),
    0 0 0 1px hsl(0 0% 100% / 0.06) inset,
    inset 0 1px 2px hsl(0 0% 100% / 0.04);
}

.nav.nav--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none
}

.nav__brand {
  font-family: var(--font-primary);
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.1;
  color: hsl(var(--white));
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  position: relative;
  padding: clamp(8px, 1.2vw, 12px) clamp(14px, 2vw, 20px);
  border-radius: 14px;
  background: linear-gradient(135deg,
    hsl(0 0% 8% / 0.6) 0%,
    hsl(0 0% 6% / 0.5) 100%);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid hsl(0 0% 100% / 0.08);
  box-shadow:
    0 2px 12px hsl(0 0% 0% / 0.4),
    0 0 0 1px hsl(0 0% 100% / 0.03) inset;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 48px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav__brand-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: hsl(var(--accent));
  filter: drop-shadow(0 0 8px hsl(var(--accent) / 0.4));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__brand:hover .nav__brand-logo {
  color: hsl(var(--accent));
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px hsl(var(--accent) / 0.5));
}

.nav__brand,
[dir="rtl"] .nav__brand {
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  letter-spacing: 0.03em;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
  direction: ltr;
}

.nav__brand:hover {
  color: hsl(var(--accent));
  transform: translateY(-1px);
  background: linear-gradient(135deg,
    hsl(0 0% 10% / 0.7) 0%,
    hsl(0 0% 8% / 0.6) 100%);
  border-color: hsl(var(--accent) / 0.2);
  box-shadow:
    0 4px 16px hsl(0 0% 0% / 0.4),
    0 0 20px hsl(var(--accent) / 0.12),
    0 0 0 1px hsl(0 0% 100% / 0.05) inset;
}

.nav__brand:hover .nav__brand-text {
  color: hsl(var(--white));
  text-shadow: 0 0 16px hsl(var(--accent) / 0.4);
}

.nav__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: linear-gradient(135deg,
    hsl(0 0% 10% / 0.6) 0%,
    hsl(0 0% 8% / 0.5) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 10px;
  cursor: pointer;
  color: hsl(var(--white));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__menu-toggle:hover,
.nav__menu-toggle[aria-expanded="true"] {
  /* Premium hover state - matching Intelligence Tab buttons */
  background: linear-gradient(135deg,
    hsl(var(--accent) / 0.2) 0%,
    hsl(var(--accent) / 0.12) 100%);
  backdrop-filter: blur(24px) saturate(220%);
  -webkit-backdrop-filter: blur(24px) saturate(220%);
  border-color: hsl(var(--accent) / 0.5);
  box-shadow:
    0 6px 24px hsl(0 0% 0% / 0.6),
    0 0 32px hsl(var(--accent) / 0.25),
    0 0 0 1px hsl(var(--accent) / 0.15) inset;
  transform: scale(1.05);
}

.nav__menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
  height: 16px;
  position: relative
}

.nav__menu-line {
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__menu-toggle[aria-expanded="true"] .nav__menu-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.nav__menu-toggle[aria-expanded="true"] .nav__menu-line:nth-child(2) {
  opacity: 0
}

.nav__menu-toggle[aria-expanded="true"] .nav__menu-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* Mobile: Show menu toggle */
@media (max-width: 768px) {
  .nav__menu-toggle { display: flex; }

  .hero__logo-background {
    width: clamp(250px, 70vw, 400px);
    height: clamp(250px, 70vw, 400px);
    opacity: 0.06;
  }

  [dir="rtl"] .hero__title {
    font-size: clamp(20px, 6vw, 32px);
    margin-bottom: clamp(16px, 2.5vh, 20px);
    gap: clamp(12px, 2vh, 18px);
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  [dir="rtl"] .hero__line-1 {
    font-size: clamp(20px, 6vw, 32px);
    margin-bottom: 0;
  }

  [dir="rtl"] .hero__line-2 {
    font-size: clamp(20px, 6vw, 32px);
    font-weight: 700;
  }

  [dir="rtl"] .hero__subtitle {
    font-size: clamp(15px, 4vw, 20px);
    margin: clamp(12px, 2vh, 16px) 0 clamp(28px, 5vh, 40px);
    line-height: 1.5;
  }

  [dir="rtl"] .hero__actions {
    flex-direction: column;
    gap: clamp(12px, 3vw, 16px);
    max-width: clamp(280px, 90vw, 320px);
  }

  [dir="rtl"] .hero__btn {
    padding: clamp(14px, 3vw, 16px) clamp(20px, 4vw, 24px);
    font-size: clamp(13px, 3vw, 15px);
    min-height: clamp(48px, 8vw, 56px);
  }

  [dir="rtl"] .hero__btn svg {
    width: 18px;
    height: 18px;
  }

  .service-widget--enhanced {
    padding: clamp(24px, 4vw, 32px);
    border-radius: 18px;
  }

  .service-widget--enhanced .service-widget__icon-badge {
    width: clamp(48px, 6vw, 56px);
    height: clamp(48px, 6vw, 56px);
    min-width: clamp(48px, 6vw, 56px);
    border-radius: 12px;
  }

  .form__group--half {
    flex: 1 1 100%;
    width: 100%;
  }
  .hero {
    min-height: auto;
    max-height: 90vh;
    padding: 0;
    margin-bottom: clamp(40px, 6vh, 60px);
  }

  .hero.section {
    min-height: auto;
    max-height: 90vh;
    margin-bottom: clamp(40px, 6vh, 60px);
  }

  .hero__content {
    padding: clamp(100px, 15vh, 120px) clamp(20px, 4vw, 32px) clamp(24px, 4vh, 32px);
    min-height: auto;
    gap: clamp(16px, 3vh, 24px);
  }

  .hero__title {
    margin-bottom: clamp(16px, 2.5vh, 20px);
    gap: clamp(10px, 1.8vh, 16px);
    font-size: clamp(20px, 6vw, 32px);
    line-height: 1.1;
    letter-spacing: -0.025em;
  }

  .hero__subtitle {
    margin-top: clamp(12px, 2vh, 16px);
    margin-bottom: clamp(28px, 5vh, 40px);
    font-size: clamp(15px, 4vw, 20px);
    line-height: 1.5;
  }

  .hero__actions {
    gap: clamp(16px, 3.5vw, 20px);
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }

  .hero__btn {
    width: 100%;
    padding: clamp(18px, 4vw, 24px) clamp(24px, 5vw, 32px);
    font-size: clamp(14px, 3.5vw, 17px);
    min-height: clamp(56px, 10vw, 68px);
    font-weight: 700;
  }

  .hero__btn svg {
    width: clamp(16px, 3.5vw, 20px);
    height: clamp(16px, 3.5vw, 20px);
  }

  .btn--large {
    padding: var(--spacing-md) 40px;
    font-size: 16px;
    min-height: 56px;
    width: 100%;
  }

  .workspace-os-card__loader-logo { font-size: 36px; }

  .workspace-os-card__loader-subtitle { font-size: 12px; }

  .workspace-os-card__loader-spinner {
    width: 32px;
    height: 32px;
    border-width: 2px;
  }

  .workspace-os-card__desktop-icons {
    top: 12px;
    left: 12px;
  }

  .workspace-os-card__icon-img {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .workspace-os-card__icon-label {
    font-size: 10px;
    max-width: 48px;
  }

  .workspace-os-card__window {
    display: none;
  }

  .workspace-os-card__window--active {
    display: flex;
    width: 90% !important;
    max-width: 280px !important;
    max-height: 220px !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .workspace-os-card__window-header { padding: 6px 10px; }

  .workspace-os-card__window-control {
    width: 10px;
    height: 10px;
  }

  .workspace-os-card__window-title { font-size: 12px; }

  .workspace-os-card__window-content { padding: 12px; }

  .workspace-os-card__terminal { font-size: 13px; }

  .workspace-os-card__taskbar {
    height: 32px;
    padding: 0 8px;
  }

  .workspace-os-card__taskbar-start { padding: 4px 8px; }

  .workspace-os-card__taskbar-start-icon { font-size: 9px; }

  .workspace-os-card__taskbar-app {
    height: 24px;
    padding: 0 8px;
  }

  .workspace-os-card__taskbar-tray {
    padding: 4px 8px;
    gap: 8px;
  }

  .workspace-os-card__taskbar-time { font-size: 9px; }

  .workspace-os-card__taskbar-indicator {
    width: 6px;
    height: 6px;
  }

  .navigation-loading-content {
    gap: 28px;
    padding: var(--spacing-xl) 20px;
    max-width: 100%;
  }

  .navigation-loading-spinner-wrapper {
    width: 110px;
    height: 110px;
  }

  .ifcc-spinner { border-width: 4px; }

  .ifcc-spinner::before {
    border-width: 4px;
    inset: -5px;
  }

  .navigation-loading-letter {
    font-size: 1.5rem;
    letter-spacing: -0.015em;
  }

  .navigation-loading-text {
    font-size: 16px;
    line-height: 1.65;
    padding: 0 20px;
  }

  .navigation-loading-quote {
    font-size: 14px;
    line-height: 1.7;
  }

  .navigation-loading-indicator {
    font-size: 11px;
    margin-top: 10px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
  }

  .cards .card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: clamp(20px, 5vw, 32px);
    box-sizing: border-box;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 24px);
  }

  .service-widget--radar,
  .service-widget--curved,
  .service-widget--timeline {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: clamp(20px, 4vw, 28px);
    padding: clamp(20px, 4vw, 28px);
    margin-bottom: clamp(40px, 8vw, 60px);
  }

  .service-widget--split {
    grid-template-columns: 1fr;
    grid-template-rows: auto 2px auto;
    padding: 0;
    margin-bottom: clamp(40px, 8vw, 60px);
  }

  .footer {
    min-height: auto;
    padding: clamp(32px, 6vw, 48px) clamp(20px, 4vw, 32px) clamp(24px, 4vw, 32px);
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 32px);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(12px, 2vw, 16px);
    text-align: left;
  }

  .footer__bottom-left,
  .footer__bottom-center,
  .footer__bottom-right {
    justify-content: flex-start;
    width: 100%;
  }

  .footer__bottom-center { text-align: left; }

  .service-widget__radar-visual {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .service-widget__radar-container {
    width: 180px;
    height: 180px;
  }

  .service-widget__radar-content,
  .service-widget__curved-content,
  .service-widget__content,
  .service-widget__timeline {
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .service-widget__curved-visual {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .service-widget__split-left,
  .service-widget__split-right { padding: var(--spacing-xl) 24px; }

  .service-widget__split-visual {
    width: 100%;
    max-width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .workspace-os-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }

  .workspace-os-card__screenshot {
    height: 300px;
    border-right: none;
    border-bottom: 1px solid hsl(0 0% 100% / 0.12);
  }

  .workspace-os-card__content { padding: var(--spacing-xl) 24px; }

  .nav__link {
    width: 100%;
    text-align: center;
    padding: clamp(14px, 3vw, 18px) clamp(20px, 5vw, 24px);
    font-size: clamp(15px, 3.5vw, 17px);
    min-height: 48px;
    border-radius: 12px;
    background: hsl(0 0% 3.9% / 0.3);
    border: 1px solid hsl(0 0% 100% / 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
  }

  .nav__link:hover,
  .nav__link:active {
    background: hsl(var(--accent) / 0.1);
    border-color: hsl(var(--accent) / 0.2);
    transform: translateX(4px)
  }

  [dir="rtl"] .nav__link:hover,
  [dir="rtl"] .nav__link:active {
    transform: translateX(-4px)
  }

  .map-container {
    height: 400px;
    min-height: 400px;
  }

  .quick-actions__grid {
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 20px);
    padding: clamp(16px, 3vw, 32px) clamp(16px, 4vw, 24px) 20px;
  }

  .quick-action {
    padding: clamp(20px, 4vw, 28px) clamp(16px, 4vw, 24px);
    flex-direction: row;
    gap: clamp(12px, 2.5vw, 20px);
  }


  .quick-action__content h3 {
    font-size: clamp(16px, 2.2vw, 18px);
    word-break: normal;
    overflow-wrap: normal;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .quick-action__content p {
    font-size: clamp(13px, 1.8vw, 14px);
    white-space: normal;
  }

  .quick-action__icon {
    width: clamp(48px, 10vw, 56px);
    height: clamp(48px, 10vw, 56px);
    min-width: clamp(48px, 10vw, 56px);
    min-height: clamp(48px, 10vw, 56px);
  }

  .quick-action svg:last-child {
    width: 18px;
    height: 18px;
  }

  .modal__content {
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    border-radius: 20px;
  }

  .modal__header { padding: 28px 20px 20px; }

  .modal__form { padding: 20px 20px 28px; }

  .form__row {
    flex-direction: column;
    gap: 14px;
  }

  .form__group input {
    min-height: 48px;
    height: 48px;
  }

  .form__group textarea {
    min-height: 80px;
  }

  .btn {
    min-height: 48px;
    font-size: 16px;
    padding: 14px 24px;
  }

  .modal__close {
    top: max(16px, env(safe-area-inset-top, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
  }

  [dir="rtl"] .modal__close {
    right: auto;
    left: max(16px, env(safe-area-inset-left, 0px));
  }

  .map-live-indicator--enhanced {
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .footer__brand-logo { font-size: clamp(20px, 5vw, 24px); }

    .btn--lang {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .nav__right {
        position: fixed;
        top: clamp(60px, 8vw, 82px);
        right: 0;
        left: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem;
        background: hsl(0 0% 10% / 0.98);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: none;
        border-radius: 0 0 16px 16px;
        box-shadow:
            0 0 0 1px hsl(0 0% 100% / 0.08),
            0 8px 32px hsl(0 0% 0% / 0.8);
        min-width: 200px;
        max-width: 280px;
        z-index: 999998;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }

    .nav__right.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav__right .btn--lang {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
        min-height: 52px;
        border-radius: 12px;
        font-size: 16px;
    }

    [dir="rtl"] .nav__right {
        margin-left: 0;
        margin-right: auto;
        left: 0;
        right: auto;
    }

    body {
        background-color: #121214;
        background-image: radial-gradient(
            clamp(600px, 90vw, 1200px) clamp(500px, 70vh, 1000px) at 40% 15%,
            rgb(220 31 53 / 14%),
            hsl(0 0% 9%) 60%
        );
        background-attachment: fixed;
    }
}

/* Desktop: Hide menu toggle */
@media (min-width: 769px) {
  .nav__menu-toggle { display: none ; }
  .nav__right { display: flex ; }
}

.btn--lang {
  padding: clamp(8px, 1.2vw, 10px) clamp(16px, 2vw, 24px);
  font-weight: 600;
  font-size: clamp(12px, 1.4vw, 13px);
  min-width: 90px;
  max-height: calc(clamp(60px, 8vw, 82px) - 32px);
  background: linear-gradient(135deg,
    hsl(0 0% 8% / 0.6) 0%,
    hsl(0 0% 6% / 0.5) 100%);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 12px;
  color: hsl(var(--muted-light));
  margin-left: clamp(6px, 1.2vw, 12px);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  pointer-events: auto;
  z-index: 100001;
  font-family: var(--font-primary);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 2px 12px hsl(0 0% 0% / 0.4),
    0 0 0 1px hsl(0 0% 100% / 0.03) inset;
  transform: translateY(0);
  will-change: transform;
}

.btn--lang:hover {
  color: hsl(var(--white));
  /* Premium hover state - matching Intelligence Tab buttons */
  background: linear-gradient(135deg,
    hsl(var(--accent) / 0.2) 0%,
    hsl(var(--accent) / 0.12) 100%);
  border: 1px solid hsl(var(--accent) / 0.4);
  box-shadow:
    0 6px 20px hsl(0 0% 0% / 0.5),
    0 0 32px hsl(var(--accent) / 0.2),
    0 0 0 1px hsl(var(--accent) / 0.1) inset;
  transform: translateY(-2px);
}

.btn--lang:active {
  transform: translateY(0) scale(0.97);
  box-shadow:
    0 2px 8px hsl(0 0% 0% / 0.4),
    0 0 16px hsl(var(--accent) / 0.15);
}

.lang-toggle-hidden {
  display: none
}

[dir="rtl"] .btn--lang {
  margin-right: 0;
  margin-left: 12px;
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  letter-spacing: normal;
}

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Canvas kept hidden — no JS draws on it */

.main {
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
  visibility: visible;
  display: block;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 0;
  margin-top: 0
}

body.css-loaded .main,
body.page-revealed .main {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  display: block;
}

.section {
  padding: clamp(60px, 10vh, 120px) 0;
  opacity: 1;
  transform: none;
  scroll-margin-top: clamp(60px, 8vh, 80px);
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow-x: hidden;
  background: transparent;
  margin-bottom: clamp(40px, 6vh, 80px);
}

body.css-loaded .section,
body.page-revealed .section {
  opacity: 1;
  transform: none;
}

.section#edge {
  padding: 0;
  overflow: hidden
}

.section.inview {
  opacity: 1;
  transform: translateY(0)
}

.container {
  max-width: clamp(360px, 92vw, 1500px);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: var(--z-elevated);
  isolation: isolate;
  overflow-x: hidden;
}

.hero {
  min-height: 60vh;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(40px, 8vh, 80px) 0 clamp(30px, 6vh, 80px);
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 0;
  margin-top: 0;
  margin-bottom: 0;
  background: transparent;
}

.hero__logo-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 45vw, 600px);
  height: clamp(300px, 45vw, 600px);
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
  filter: blur(0.5px);
  transition: opacity 0.3s ease;
  will-change: transform;
}

.hero__logo-bg-svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
}

.hero.section {
  padding: clamp(80px, 12vh, 160px) 0 clamp(50px, 8vh, 120px);
  margin-bottom: 0;
  scroll-margin-top: 0;
  margin-top: 0;
  min-height: 100vh
}

.hero__content {
  max-width: clamp(320px, 85vw, 1000px);
  margin-top: clamp(20px, 4vh, 60px);
  padding: 0 clamp(16px, 3vw, 40px);
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vh, 32px);
  box-sizing: border-box;
}

.hero__title {
  font-family: var(--font-primary);
  font-size: clamp(22px, 3.5vw, 38px);
  line-height: clamp(1.1, 1.2, 1.3);
  margin: 0 0 clamp(16px, 2.5vh, 32px);
  font-weight: 800;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vh, 12px);
  letter-spacing: -0.03em;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: hsl(var(--white));
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  max-width: clamp(320px, 90vw, 900px);
}

.hero__line-1,
.hero__line-2 {
  font-family: var(--font-primary);
  opacity: 1;
  transform: none;
  filter: blur(0);
  display: block;
  text-align: center;
  width: 100%;
  line-height: 1.2;
  margin: 0;
}

body.css-loaded .hero__line-1,
body.page-revealed .hero__line-1 {
  animation: none;
  font-weight: 800
}

body.css-loaded .hero__line-2,
body.page-revealed .hero__line-2 {
  animation: none;
  font-weight: 700
}

[dir="rtl"] .hero__line-1,
[dir="rtl"] .hero__line-2 {
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  line-height: 1.2;
  margin-bottom: 0;
  opacity: 1;
  transform: none;
  filter: blur(0);
  display: block;
}

[dir="rtl"] body.css-loaded .hero__line-1,
[dir="rtl"] body.page-revealed .hero__line-1 {
  animation: none;
  font-weight: 800;
}

[dir="rtl"] body.css-loaded .hero__line-2,
[dir="rtl"] body.page-revealed .hero__line-2 {
  animation: none;
  font-weight: 700;
}

.accent-underline {
  position: relative;
  white-space: nowrap;
  display: inline-block;
  padding-bottom: 12px;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  width: calc(100% + 24px);
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--accent)), hsl(var(--accent)), transparent);
  box-shadow: 0 0 8px rgba(220, 31, 53, 0.3), 0 0 16px rgba(220, 31, 53, 0.25);
  border-radius: 2px;
}

.accent-underline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: rgba(220, 31, 53, 0.2);
  opacity: 1;
}

[dir="rtl"] .accent-underline::after,
[dir="rtl"] .accent-underline::before {
  left: auto;
  right: 50%;
  transform: translateX(50%)
}

@keyframes underlineGrow {
  from { width: 0; }
  to { width: calc(100% + 24px); }
}

@keyframes underlineScan {
  0%, 100% {
      transform: translateX(-50%) translateY(0);
      opacity: 0.6;
  }
  50% {
      transform: translateX(-50%) translateY(-1px);
      opacity: 1;
  }
}

@keyframes underlineTrack {
  to { opacity: 1; }
}

.hero__subtitle {
  opacity: 1;
  animation: none;
  font-family: var(--font-primary);
  color: hsl(var(--muted-light));
  font-size: clamp(16px, 2vw, 22px);
  margin: 0 0 clamp(32px, 5vh, 64px);
  line-height: clamp(1.4, 1.5, 1.6);
  letter-spacing: 0.02em;
  font-weight: 500;
  text-align: center;
  max-width: clamp(280px, 80vw, 600px);
  position: relative;
}

.hero__subtitle::after {
  display: none;
  content: none;
}

body.page-revealed .hero__subtitle {
  animation: none;
  opacity: 1;
  transform: none
}

.hero__actions {
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 1;
  max-width: clamp(320px, 90vw, 800px);
  margin: 0 auto;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  padding: clamp(12px, 2vw, 18px) clamp(20px, 3vw, 32px);
  border: none;
  border-radius: clamp(8px, 1.5vw, 12px);
  font-family: var(--font-primary);
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.hero__btn svg {
  width: clamp(16px, 2vw, 20px);
  height: clamp(16px, 2vw, 20px);
  transition: transform 0.3s ease;
}

.hero__btn--primary {
  background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent-hover)));
  color: hsl(var(--white));
  box-shadow: 0 4px 20px hsl(var(--accent) / 0.4),
              0 0 0 1px hsl(var(--accent) / 0.2) inset;
}

.hero__btn--primary:hover {
  background: linear-gradient(135deg, hsl(var(--accent-hover)), hsl(var(--accent)));
  box-shadow: 0 6px 30px hsl(var(--accent) / 0.6),
              0 0 0 1px hsl(var(--accent) / 0.3) inset;
  transform: translateY(-2px);
}

.hero__btn--secondary {
  background: hsl(0 0% 100% / 0.1);
  color: hsl(var(--white));
  border: 1px solid hsl(0 0% 100% / 0.2);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.hero__btn--secondary:hover {
  background: hsl(0 0% 100% / 0.15);
  border-color: hsl(0 0% 100% / 0.3);
  box-shadow: 0 4px 20px hsl(0 0% 0% / 0.3);
  transform: translateY(-2px);
}

.footer-sub-clickable {
  cursor: pointer;
  transition: color 0.3s ease;
}

.btn--loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.workspace-os-card__screenshot-inner.workspace-screenshot-visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   ENHANCED ARABIC HERO STYLES - Matching English Approach
   ============================================================ */

/* Arabic Hero Title - Base */
[dir="rtl"] .hero__title {
  font-family: var(--font-arabic);
  font-size: clamp(22px, 3.5vw, 38px);
  line-height: clamp(1.1, 1.2, 1.3);
  margin: 0 0 clamp(16px, 2.5vh, 32px);
  font-weight: 800;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vh, 12px);
  letter-spacing: -0.02em;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: hsl(var(--white));
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  max-width: clamp(320px, 90vw, 900px);
}

/* Arabic Hero Line 1 - Main Title */
[dir="rtl"] .hero__line-1 {
  font-family: var(--font-arabic);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0;
  opacity: 1;
  transform: none;
  filter: blur(0);
  display: block;
  animation: none;
}

[dir="rtl"] .hero__subtitle {
  font-family: var(--font-arabic);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  line-height: clamp(1.4, 1.5, 1.6);
  letter-spacing: 0.02em;
  word-spacing: 0.05em;
  color: hsl(var(--muted-light));
  text-align: center;
  max-width: clamp(280px, 80vw, 600px);
  margin: 0 0 clamp(32px, 5vh, 64px);
  opacity: 1;
  transform: none;
  filter: blur(0);
  animation: none;
  text-transform: none;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
  text-rendering: optimizeLegibility;
}

[dir="rtl"] .accent-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
    hsl(var(--accent)) 0%,
    hsl(356 89% 52%) 50%,
    hsl(var(--accent)) 100%);
  border-radius: 2px;
  transform: scaleX(1);
  transform-origin: right center;
}

[dir="rtl"] .hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 24px);
  max-width: clamp(400px, 85vw, 600px);
  margin: 0 auto;
  opacity: 1;
  transform: none;
  filter: blur(0);
}

[dir="rtl"] .hero__btn {
  font-family: var(--font-arabic);
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 700;
  padding: clamp(15px, 2.5vw, 18px) clamp(22px, 3.5vw, 28px);
  min-height: clamp(50px, 7vw, 60px);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.02em;
}

[dir="rtl"] .hero__btn svg {
  width: 19px;
  height: 19px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .hero__btn--primary {
  background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(356 89% 52%) 100%);
  color: hsl(var(--white));
  box-shadow:
    0 4px 16px hsl(var(--accent) / 0.4),
    inset 0 0 0 1px hsl(var(--accent) / 0.3);
}

[dir="rtl"] .hero__btn--primary:hover {
  background: linear-gradient(135deg, hsl(var(--accent) / 0.9) 0%, hsl(356 89% 52% / 0.9) 100%);
  box-shadow:
    0 8px 24px hsl(var(--accent) / 0.5),
    inset 0 0 0 1px hsl(var(--accent) / 0.4);
  transform: translateY(-2px);
}

[dir="rtl"] .hero__btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: hsl(var(--white));
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

[dir="rtl"] .hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE ARABIC HERO STYLES
   ============================================================ */

/* Mobile - Arabic */

/* Tablet - Arabic */
@media (min-width: 769px) and (max-width: 1024px) {
  [dir="rtl"] .hero__title {
    font-size: clamp(24px, 4vw, 36px);
    gap: clamp(12px, 2vh, 18px);
  }

  [dir="rtl"] .hero__subtitle {
    font-size: clamp(15px, 2.5vw, 20px);
    margin-bottom: clamp(28px, 4vh, 40px);
  }

  [dir="rtl"] .hero__actions {
    flex-direction: row;
    gap: clamp(16px, 2.5vw, 20px);
    max-width: clamp(400px, 85vw, 520px);
  }

  [dir="rtl"] .hero__btn {
    flex: 1;
  }

  .nav {
    padding: 0 clamp(24px, 4vw, 48px);
    gap: clamp(16px, 2.5vw, 24px)
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 32px);
  }

  .cards .card {
    padding: clamp(24px, 4vw, 36px);
    min-width: 0;
    box-sizing: border-box;
  }

  .service-widget--radar,
  .service-widget--curved,
  .service-widget--timeline {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 32px);
    padding: clamp(24px, 4vw, 32px);
  }

  .service-widget--split {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .service-widget__radar-visual { max-width: 280px; }

  .service-widget__split-visual { max-width: 180px; }

  .footer__main {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(28px, 4vw, 36px);
  }

  .footer__bottom {
    flex-direction: row;
    gap: clamp(12px, 2vw, 16px);
  }

  .footer__bottom-left,
  .footer__bottom-center,
  .footer__bottom-right {
    min-width: 200px;
  }

  .footer__bottom-center { text-align: center; }
  .modal__title { font-size: 28px; }

  .form__input-icon { left: 16px; }

  .form__group input,
  .form__group textarea {
    padding: 15px 16px 15px 48px;
  }


  .modal__form {
    padding: 28px 36px 36px;
    gap: 20px;
  }

  .modal__header {
    gap: 20px;
    padding: 36px 36px 30px;
  }

  .modal__content {
    max-width: clamp(500px, 85vw, 680px);
    max-height: calc(100vh - clamp(40px, 6vw, 64px));
    border-radius: 26px;
  }

  .modal {
    padding: clamp(20px, 3vw, 32px);
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes underlineExpand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ============================================================
   FALLBACK FOR ARABIC CONTENT WITHOUT DIR ATTRIBUTE
   ============================================================ */

.hero__title:lang(ar),
.hero__subtitle:lang(ar),
.hero__line-1:lang(ar),
.hero__line-2:lang(ar) {
  font-family: var(--font-arabic);
  letter-spacing: 0.02em;
  word-spacing: 0.05em;
}
.btn--outline:hover {
 background: linear-gradient(135deg,
 hsl(var(--accent) / 0.15) 0%,
          hsl(var(--accent) / 0.08) 100%);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-color: hsl(var(--accent));
  color: hsl(var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 4px 16px hsl(var(--accent) / 0.3),
 0 0 24px hsl(var(--accent) / 0.15),
 0 0 0 1px hsl(var(--accent) / 0.2) inset,
      inset 0 1px 0 hsl(240 4% 13% / 0.25)
}

.btn--large {
  padding: clamp(16px, 2vw, 20px) clamp(32px, 4vw, 48px);
  font-size: clamp(15px, 1.5vw, 17px);
  min-height: clamp(52px, 6vh, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn svg {
  transition: transform 0.3s ease
}

.btn:hover svg {
  transform: translateX(4px)
}

[dir="rtl"] .btn:hover svg {
  transform: translateX(-4px)
}

@media (max-width: 1024px) {
.grid-3::before,
  .grid-3::after {
      display: none
  }
}

.card__icon {  color: hsl(var(--accent));
  margin: 0;
  padding: clamp(20px, 2.8vw, 24px);
  background: hsl(var(--accent) / 0.12);
  border: 1.5px solid hsl(var(--accent) / 0.25);
  border-radius: clamp(18px, 2.5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 7vw, 64px);
  height: clamp(56px, 7vw, 64px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.3);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  align-self: flex-start;
  transform: scale(1);
  will-change: transform;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: hsl(var(--white));
  transition: color 0.3s ease;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
  list-style: none;
  padding-left: 0;
}

[dir="rtl"] .card__title {  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.4;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1
}

/* Map-related styles moved to map.css to avoid duplication */

.service-widget {
  margin: clamp(60px, 8vh, 100px) auto;
  max-width: 1000px;
  width: 100%;
  position: relative;
  transform: translateY(0) scale(1);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
  will-change: transform;
}

/* ============================================
   ENHANCED SERVICE WIDGETS - Polished Cards
   Engage, Hunt, Command - Clean & Professional
   ============================================ */

@media (max-width: 480px) {
  .service-widget--enhanced {
    padding: clamp(20px, 3vw, 28px);
    border-radius: 16px;
  }

  .service-widget--enhanced .service-widget__title { font-size: clamp(20px, 2.2vw, 24px); }

  .service-widget--enhanced .service-widget__text { font-size: clamp(14px, 1.5vw, 16px); }

  .service-widget--enhanced .service-widget__icon-badge {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .service-widget__radar-stats { grid-template-columns: 1fr; }

  .hero {
    min-height: auto;
    max-height: 85vh;
    padding: 0;
    margin-bottom: clamp(30px, 5vh, 50px);
  }

  .hero.section {
    min-height: auto;
    max-height: 85vh;
    margin-bottom: clamp(30px, 5vh, 50px);
  }

  .hero__content {
    padding: clamp(90px, 14vh, 110px) clamp(16px, 3vw, 24px) clamp(20px, 3vh, 28px);
    min-height: auto;
    gap: clamp(12px, 2.5vh, 20px);
  }

  .hero__title {
    margin-bottom: clamp(10px, 1.8vh, 14px);
    gap: clamp(10px, 1.8vh, 16px);
    line-height: 1.3;
  }

  .hero__subtitle {
    margin-top: clamp(6px, 1.2vh, 10px);
    margin-bottom: 0;
    font-size: clamp(14px, 3.5vw, 16px);
  }

  #loader,
  .loader-core {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
  }

  .workspace-os-card__desktop-icons {
    top: 12px;
    left: 12px;
    gap: 12px;
  }

  .workspace-os-card__window--active {
    width: 95% !important;
    max-width: 260px !important;
    max-height: 180px !important;
    left: 50% !important;
    right: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .workspace-os-card__terminal { font-size: 13px; }

  .service-widget--radar,
  .service-widget--curved,
  .service-widget--timeline {
    padding: clamp(16px, 3vw, 24px);
    margin-bottom: clamp(32px, 6vw, 48px);
  }

  .service-widget--split {
    padding: 0;
    margin-bottom: clamp(32px, 6vw, 48px);
  }

  .service-widget__radar-visual,
  .service-widget__curved-visual,
  .service-widget__split-visual {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .service-widget__radar-content,
  .service-widget__curved-content,
  .service-widget__content {
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .service-widget__title {
    font-size: clamp(18px, 2vw, 22px);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .service-widget__text {
    font-size: clamp(13px, 1.4vw, 15px);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .footer { padding: clamp(24px, 5vw, 40px) clamp(16px, 3vw, 24px) clamp(20px, 4vw, 28px); }

  .footer__main { gap: clamp(20px, 4vw, 28px); }

  .footer__brand-logo { font-size: clamp(24px, 2.5vw, 32px); }

  .footer__offices-title,
  .footer__links-title,
  .footer__contact-title { font-size: clamp(15px, 1.6vw, 17px); }

  .footer__bottom {
    flex-direction: column;
    gap: clamp(10px, 2vw, 14px);
    padding-top: clamp(20px, 3vw, 24px);
  }

    body {
        background-color: #161616;
        background-image: radial-gradient(
            clamp(400px, 95vw, 800px) clamp(400px, 65vh, 800px) at 40% 15%,
            rgb(220 31 53 / 16%),
            hsl(0 0% 10%) 55%
        );
        background-attachment: fixed;
    }

  .modal {
    padding: clamp(10px, 2vw, 16px);
  }

  .modal__content {
    max-width: calc(100vw - 20px);
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 20px;
    margin: 10px;
  }

  .modal__close {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
    font-size: 18px;
  }

  .modal__header {
    gap: 12px;
    padding: 24px 16px 20px;
  }

  .modal__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .modal__title {
    font-size: 18px;
    line-height: 1.3;
  }

  .modal__subtitle {
    font-size: 12px;
    line-height: 1.4;
  }

  .modal__form {
    padding: 16px 16px 20px;
    gap: 14px;
  }

  .form__row {
    flex-direction: column;
    gap: 0;
  }

  .form__group {
    margin: 0;
  }

  .form__group--half { width: 100%; }

  .form__group label {
    font-size: 11px;
    gap: 3px;
    margin-bottom: 2px;
  }

  .form__group input,
  .form__group textarea {
    padding: 12px 12px 12px 40px;
    border-radius: 10px;
    max-width: 100%;
    min-height: 48px;
  }

  .form__input-icon {
    left: 12px;
    width: 16px;
    height: 16px;
  }

  .form__char-count {
    bottom: 10px;
    right: 10px;
    font-size: 9px;
  }

  .form__hint {
    font-size: 10px;
    margin-top: -2px;
  }

  .form__actions {
    gap: 10px;
    margin-top: 4px;
  }

  .btn--large {
    padding: 11px 20px;
    font-size: 13px;
    min-height: 44px;
    width: 100%;
    box-sizing: border-box;
  }

  .form__privacy {
    font-size: 10px;
    padding: 8px 10px;
    gap: 6px;
    margin-top: 2px;
  }

  .form__privacy svg {
    width: 12px;
    height: 12px;
    min-width: 12px;
  }

  .form__success { padding: 32px 16px; }

  .form__success-icon {
    width: 60px;
    height: 60px;
  }

  .form__success-title { font-size: 20px; }

  .form__success-text {
    font-size: 13px;
    max-width: 100%;
  }

  .form__success-close {
    padding: 10px 20px;
    font-size: 13px;
    min-height: 44px;
  }
}

.service-widget__title-wrapper {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 20px);
  margin-bottom: 0;
}

.service-widget__icon-badge {
  width: clamp(56px, 8vw, 64px);
  height: clamp(56px, 8vw, 64px);
  min-width: clamp(56px, 8vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--accent) / 0.1);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid hsl(var(--accent) / 0.2);
  border-radius: 14px;
  color: hsl(var(--accent));
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-widget__icon-badge svg {
  width: 26px;
  height: 26px
}

.service-widget:hover .service-widget__icon-badge {
  background: hsl(var(--accent) / 0.15);
  border: 1px solid hsl(var(--accent) / 0.3);
  box-shadow: 0 4px 12px hsl(0 0% 0% / 0.4);
  transform: scale(1.05);
}

.service-widget__title {  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: hsl(var(--white) / 1);
  margin: 0 0 clamp(12px, 1.5vw, 16px);
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-shadow:
    0 2px 8px hsl(0 0% 0% / 0.5),
    0 1px 3px hsl(0 0% 0% / 0.3);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.service-widget__title::after {
  content: '';
  position: absolute;
  bottom: clamp(-10px, -1.2vw, -12px);
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,
    hsl(var(--accent) / 0.8) 0%,
    hsl(var(--accent) / 0.6) 50%,
    transparent 100%);
  border-radius: 1px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.service-widget.inview .service-widget__title,
.service-widget__title.widget-visible,
body.css-loaded .service-widget__title {
  opacity: 1;
  transform: translateY(0);
}

.service-widget.inview .service-widget__title::after {
  width: 60px;
}

.service-widget__text {
  font-size: clamp(15px, 1.6vw, 17px);
  color: hsl(var(--muted-light) / 0.95);
  margin: 0;
  line-height: 1.85;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.service-widget.inview .service-widget__text,
.service-widget__text.widget-visible,
body.css-loaded .service-widget__text {
  opacity: 1;
  transform: translateY(0);
}

.service-widget--radar,
.service-widget--curved,
.service-widget--timeline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 48px);
  padding: clamp(32px, 5vw, 48px);
  background: linear-gradient(135deg,
    hsl(0 0% 7.5% / 0.85) 0%,
    hsl(0 0% 6.5% / 0.82) 50%,
    hsl(0 0% 7% / 0.85) 100%);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border: 1.5px solid hsl(0 0% 100% / 0.12);
  box-shadow:
    0 16px 64px hsl(0 0% 0% / 0.8),
    0 0 0 1px hsl(0 0% 100% / 0.08) inset,
    0 0 60px hsl(var(--accent) / 0.12),
    inset 0 1px 2px hsl(0 0% 100% / 0.06);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-widget--radar:hover,
.service-widget--curved:hover,
.service-widget--timeline:hover,
.service-widget--split:hover {
  transform: translateY(-2px) scale(1);
  box-shadow: 0 8px 24px hsl(0 0% 0% / 0.5);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.service-widget--timeline:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 96px hsl(0 0% 0% / 1),
    0 0 0 1px hsl(0 0% 100% / 0.12) inset,
    0 0 100px hsl(var(--accent) / 0.2),
    inset 0 1px 2px hsl(0 0% 100% / 0.1);
}

.service-widget__radar-visual {
  flex-shrink: 0;
  width: clamp(260px, 22vw, 320px);
  position: relative;
  z-index: 1;
  background: hsl(0 0% 3% / 0.5);
  border-radius: 18px;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid hsl(0 0% 100% / 0.06);
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.3);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.service-widget.inview .service-widget__radar-visual,
.service-widget__radar-visual.widget-visible,
body.css-loaded .service-widget__radar-visual {
  opacity: 1;
  transform: scale(1);
}

.service-widget__radar-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  z-index: 2;
}

.service-widget__radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
          transparent 0deg,
          transparent 60deg,
          hsl(var(--accent) / 0.4) 90deg,
          transparent 120deg,
          transparent 360deg);
  animation: radarSweep 3s linear infinite;
  z-index: 1;
  filter: blur(1px)
}

@keyframes radarSweep {
  from {
      transform: rotate(0deg)
  }

  to {
      transform: rotate(360deg)
  }
}

.service-widget__radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid hsl(var(--accent) / 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
}

.service-widget__radar-ring--1 {
  width: 60px;
  height: 60px;
  animation: radarRingPulse 2s ease-in-out infinite
}

.service-widget__radar-ring--2 {
  width: 120px;
  height: 120px;
  animation: radarRingPulse 2s ease-in-out infinite 0.3s
}

.service-widget__radar-ring--3 {
  width: 180px;
  height: 180px;
  animation: radarRingPulse 2s ease-in-out infinite 0.6s
}

.service-widget__radar-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--accent) / 0.4);
  box-shadow: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

.service-widget__radar-dot--1 {
  transform: translate(-50%, -50%) translate(45px, -30px);
  animation: radarDotPulse 3s ease-in-out infinite 0s;
}

.service-widget__radar-dot--2 {
  transform: translate(-50%, -50%) translate(-40px, 50px);
  animation: radarDotPulse 3s ease-in-out infinite 0.5s;
}

.service-widget__radar-dot--3 {
  transform: translate(-50%, -50%) translate(60px, 35px);
  animation: radarDotPulse 3s ease-in-out infinite 1s;
}

.service-widget__radar-dot--4 {
  transform: translate(-50%, -50%) translate(-55px, -25px);
  animation: radarDotPulse 3s ease-in-out infinite 1.5s;
}

.service-widget__radar-dot--5 {
  transform: translate(-50%, -50%) translate(35px, 55px);
  animation: radarDotPulse 3s ease-in-out infinite 2s;
}

.service-widget__radar-dot--6 {
  transform: translate(-50%, -50%) translate(-50px, 20px);
  animation: radarDotPulse 3s ease-in-out infinite 2.5s;
}

@keyframes radarDotPulse {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 8px hsl(var(--accent) / 0.4);
  }
  25% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
    box-shadow: 0 0 20px hsl(var(--accent) / 0.8), 0 0 40px hsl(var(--accent) / 0.4);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 12px hsl(var(--accent) / 0.6);
  }
  75% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.4);
    box-shadow: 0 0 16px hsl(var(--accent) / 0.7);
  }
}

@keyframes radarRingPulse {

  0%,
  100% {
      opacity: 0.5;
      transform: translate(-50%, -50%) scale(1);
      border-color: hsl(var(--accent) / 0.4)
  }

  50% {
      opacity: 0.9;
      transform: translate(-50%, -50%) scale(1.05);
      border-color: hsl(var(--accent) / 0.7)
  }
}

.service-widget__radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--accent) / 0.2);
  border: 1px solid hsl(var(--accent) / 0.3);
  border-radius: 50%;
  color: #DC1F35;
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.3);
  z-index: 3;
}

.service-widget__radar-content,
.service-widget__curved-content,
.service-widget__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 24px);
  flex: 1;
  min-width: 0;
}

.service-widget--split {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0;
  padding: 0;
  background: linear-gradient(135deg,
    hsl(0 0% 7.5% / 0.85) 0%,
    hsl(0 0% 6.5% / 0.82) 50%,
    hsl(0 0% 7% / 0.85) 100%);
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  border: 1.5px solid hsl(0 0% 100% / 0.12);
  border-radius: 28px;
  box-shadow:
    0 16px 64px hsl(0 0% 0% / 0.8),
    0 0 0 1px hsl(0 0% 100% / 0.08) inset,
    0 0 60px hsl(var(--accent) / 0.12),
    inset 0 1px 2px hsl(0 0% 100% / 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-widget__split-left {
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 80% 100% at 0% 50%,
    hsl(var(--accent) / 0.18) 0%,
    transparent 70%);
}

/* Dark Web Pulse Dots - positioned away from logo, with movement animation */
.service-widget__split-visual .service-widget__radar-dot {
  z-index: 2; /* Below logo (z-index: 10) */
}

/* Moving animations for darkweb dots - circular motion around logo, each with unique path */
@keyframes darkwebDotMove1 {
  0%, 100% { transform: translate(-50%, -50%) translate(75px, -60px); }
  25% { transform: translate(-50%, -50%) translate(85px, -45px); }
  50% { transform: translate(-50%, -50%) translate(75px, -30px); }
  75% { transform: translate(-50%, -50%) translate(65px, -45px); }
}

@keyframes darkwebDotMove2 {
  0%, 100% { transform: translate(-50%, -50%) translate(-70px, 70px); }
  25% { transform: translate(-50%, -50%) translate(-60px, 80px); }
  50% { transform: translate(-50%, -50%) translate(-50px, 70px); }
  75% { transform: translate(-50%, -50%) translate(-60px, 60px); }
}

@keyframes darkwebDotMove3 {
  0%, 100% { transform: translate(-50%, -50%) translate(85px, 55px); }
  25% { transform: translate(-50%, -50%) translate(95px, 65px); }
  50% { transform: translate(-50%, -50%) translate(85px, 75px); }
  75% { transform: translate(-50%, -50%) translate(75px, 65px); }
}

@keyframes darkwebDotMove4 {
  0%, 100% { transform: translate(-50%, -50%) translate(-80px, -50px); }
  25% { transform: translate(-50%, -50%) translate(-70px, -40px); }
  50% { transform: translate(-50%, -50%) translate(-60px, -50px); }
  75% { transform: translate(-50%, -50%) translate(-70px, -60px); }
}

@keyframes darkwebDotMove5 {
  0%, 100% { transform: translate(-50%, -50%) translate(65px, 75px); }
  25% { transform: translate(-50%, -50%) translate(55px, 85px); }
  50% { transform: translate(-50%, -50%) translate(45px, 75px); }
  75% { transform: translate(-50%, -50%) translate(55px, 65px); }
}

@keyframes darkwebDotMove6 {
  0%, 100% { transform: translate(-50%, -50%) translate(-75px, 40px); }
  25% { transform: translate(-50%, -50%) translate(-65px, 50px); }
  50% { transform: translate(-50%, -50%) translate(-55px, 40px); }
  75% { transform: translate(-50%, -50%) translate(-65px, 30px); }
}

.service-widget__split-divider {
  width: 1px;
  background: hsl(var(--accent) / 0.2);
  box-shadow: none;
}

.service-widget__split-right {
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
  background: radial-gradient(ellipse 80% 100% at 100% 50%,
    hsl(var(--accent) / 0.12) 0%,
    transparent 70%);
}

.service-widget__split-visual {
  position: relative;
  width: 180px;
  height: 180px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.service-widget.inview .service-widget__split-visual,
.service-widget__split-visual.widget-visible,
body.css-loaded .service-widget__split-visual {
  opacity: 1;
  transform: scale(1);
}

.service-widget__split-node {
  position: absolute;
  width: 14px;
  height: 14px;
  background: hsl(var(--accent) / 0.6);
  border-radius: 50%;
  box-shadow: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  color: hsl(var(--white))
}

.service-widget__split-node--main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: hsl(0 0% 10% / 0.5);
  border: 1.5px solid hsl(0 0% 100% / 0.25);
  font-size: 12px;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 12px hsl(0 0% 0% / 0.4), 0 0 20px hsl(0 0% 100% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.service-widget--split:hover .service-widget__split-node--main {
  background: hsl(0 0% 12% / 0.6);
  border-color: hsl(0 0% 100% / 0.35);
  box-shadow: 0 6px 16px hsl(0 0% 0% / 0.5), 0 0 30px hsl(0 0% 100% / 0.15);
  transform: translate(-50%, -50%) scale(1.05);
}

.ifcc-logo-svg-darkweb {
  width: 100%;
  height: 100%;
  color: hsl(0 0% 100% / 0.85);
  fill: hsl(0 0% 100% / 0.85);
  transition: all 0.3s ease;
}

.service-widget--split:hover .ifcc-logo-svg-darkweb {
  color: hsl(0 0% 100% / 1);
  fill: hsl(0 0% 100% / 1);
}

.service-widget__split-node--1 {
  top: 20%;
  left: 50%;
  animation-delay: 0s
}

.service-widget__split-node--2 {
  top: 50%;
  right: 10%;
  animation-delay: 0.5s
}

.service-widget__split-node--3 {
  bottom: 20%;
  left: 50%;
  animation-delay: 1s
}

.service-widget__curved-visual {
  flex-shrink: 0;
  width: clamp(280px, 24vw, 360px);
  position: relative;
  z-index: 1;
  background: hsl(0 0% 3% / 0.5);
  border-radius: 18px;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid hsl(0 0% 100% / 0.06);
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.3);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.service-widget.inview .service-widget__curved-visual,
.service-widget__curved-visual.widget-visible,
body.css-loaded .service-widget__curved-visual {
  opacity: 1;
  transform: scale(1);
}

/* Pulse dots for curved visual - inherit base styles, only override z-index */
.service-widget__curved-visual .service-widget__radar-dot {
  z-index: 0; /* Override base z-index: 1 */
}

.service-widget__curved-visual .service-widget__radar-dot--1 {
  transform: translate(-50%, -50%) translate(60px, -40px);
  animation: radarDotPulse 3s ease-in-out infinite 0s;
}

.service-widget__curved-visual .service-widget__radar-dot--2 {
  transform: translate(-50%, -50%) translate(-50px, 60px);
  animation: radarDotPulse 3s ease-in-out infinite 0.5s;
}

.service-widget__curved-visual .service-widget__radar-dot--3 {
  transform: translate(-50%, -50%) translate(70px, 45px);
  animation: radarDotPulse 3s ease-in-out infinite 1s;
}

.service-widget__curved-visual .service-widget__radar-dot--4 {
  transform: translate(-50%, -50%) translate(-65px, -35px);
  animation: radarDotPulse 3s ease-in-out infinite 1.5s;
}

.service-widget__curved-visual .service-widget__radar-dot--5 {
  transform: translate(-50%, -50%) translate(45px, 65px);
  animation: radarDotPulse 3s ease-in-out infinite 2s;
}

.service-widget__curved-visual .service-widget__radar-dot--6 {
  transform: translate(-50%, -50%) translate(-60px, 30px);
  animation: radarDotPulse 3s ease-in-out infinite 2.5s;
}

.service-widget__curved-messages {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.service-widget__curved-message {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
  max-width: 85%;
  position: relative
}

.service-widget__curved-message--bot {
  align-self: flex-start
}

.service-widget__curved-message--user {
  align-self: flex-end;
  margin-left: auto;
  flex-direction: row-reverse
}

.service-widget__curved-message-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: hsl(var(--accent) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid hsl(var(--accent) / 0.2);
  box-shadow: 0 1px 4px hsl(0 0% 0% / 0.3);
}

.service-widget__curved-message-avatar svg {
  width: 20px;
  height: 20px
}

.service-widget__curved-message-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.service-widget__curved-message-name {
  font-size: 13px;
  font-weight: 600;
  color: hsl(0 0% 100% / 0.9);
  margin-bottom: 2px;
  padding-left: 8px;
  display: none
}

.service-widget__curved-message--bot:first-child .service-widget__curved-message-name {
  display: block
}

.service-widget__curved-message-bubble {
  position: relative;
  padding: var(--spacing-sm) 12px;
  border-radius: 12px;
  word-wrap: break-word;
  box-shadow: 0 1px 2px hsl(0 0% 0% / 0.2)
}

.service-widget__curved-message-bubble--bot {
  background: hsl(240 4% 8.8% / 0.95);
  color: hsl(0 0% 100% / 0.95);
  border: 1px solid hsl(0 0% 100% / 0.08);
  border-bottom-left-radius: 4px;
  margin-left: 0;
  box-shadow: 0 1px 4px hsl(0 0% 0% / 0.3);
}

.service-widget__curved-message-bubble--user {
  background: hsl(var(--accent) / 0.9);
  color: white;
  border: 1px solid hsl(var(--accent) / 0.3);
  border-bottom-right-radius: 4px;
  margin-right: 0;
  box-shadow: 0 1px 4px hsl(0 0% 0% / 0.3);
}

.service-widget__curved-message-text {
  font-size: 14px;
  line-height: 1.4;
  color: inherit;
  margin: 0;
  font-weight: 400
}

.service-widget__curved-message-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 4px;
  margin-left: auto
}

.service-widget__curved-message-time {
  font-size: 11px;
  opacity: 0.7;
  color: inherit;
  font-weight: 400;
  white-space: nowrap
}

.service-widget__curved-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: hsl(0 0% 3.9% / 0.6);
  border: 1px solid hsl(0 0% 100% / 0.06);
  border-radius: 10px;
  font-size: 12px;
}

.service-widget__curved-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: none;
}

.service-widget__curved-status-text {
  color: hsl(var(--muted-light));
  font-weight: 500;
}

.service-widget__timeline {
  width: clamp(260px, 22vw, 320px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 20px);
  position: relative;
  padding-left: clamp(20px, 3vw, 28px);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.service-widget.inview .service-widget__timeline,
.service-widget__timeline.widget-visible,
body.css-loaded .service-widget__timeline {
  opacity: 1;
  transform: scale(1);
}

.service-widget__timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
 hsl(var(--accent) / 0.5) 0%,
 hsl(var(--accent) / 0.3) 50%,
          hsl(var(--accent) / 0.1) 100%)
}

.service-widget__timeline-item {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-left: 24px;
  margin-bottom: 20px;
}

.service-widget__timeline-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid hsl(0 0% 3.9% / 0.95);
  z-index: 2;
  box-shadow: 0 0 0 2px hsl(0 0% 0% / 0.3);
}

.service-widget__timeline-dot--critical {
  background: hsl(var(--accent));
  box-shadow: 0 0 0 2px hsl(0 0% 0% / 0.3), 0 0 12px hsl(var(--accent) / 0.6);
  animation: timelineDotPulse 2s ease-in-out infinite;
}

.service-widget__timeline-dot--high {
  background: #F59E0B;
  box-shadow: 0 0 0 2px hsl(0 0% 0% / 0.3), 0 0 12px rgb(245 158 11 / 0.6);
  animation: timelineDotPulse 2s ease-in-out infinite 0.3s;
}

.service-widget__timeline-dot--medium {
  background: #3B82F6;
  box-shadow: 0 0 0 2px hsl(0 0% 0% / 0.3), 0 0 12px rgb(59 130 246 / 0.6);
  animation: timelineDotPulse 2s ease-in-out infinite 0.6s;
}

@keyframes timelineDotPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

.service-widget__timeline-content {
  flex: 1;
  padding: 16px 20px;
  background: linear-gradient(135deg, hsl(0 0% 3.9% / 0.7), hsl(0 0% 3.5% / 0.65));
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-widget__timeline-item:hover .service-widget__timeline-content {
  background: linear-gradient(135deg, hsl(0 0% 4.5% / 0.8), hsl(0 0% 4% / 0.75));
  border-color: hsl(var(--accent) / 0.3);
  transform: translateX(4px);
  box-shadow: 0 4px 16px hsl(0 0% 0% / 0.4);
}

.service-widget__timeline-title {
  font-size: 15px;
  color: hsl(var(--white));
  margin-bottom: 6px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-widget__timeline-meta {
  font-size: 12px;
  color: hsl(var(--muted));
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-widget__timeline-stats {
  margin-top: 24px;
  text-align: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, hsl(0 0% 3.9% / 0.7), hsl(0 0% 3.5% / 0.65));
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 12px;
  font-size: 14px;
  color: hsl(var(--muted-light));
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.service-widget--timeline:hover .service-widget__timeline-stats {
  border-color: hsl(var(--accent) / 0.3);
  background: linear-gradient(135deg, hsl(0 0% 4.5% / 0.8), hsl(0 0% 4% / 0.75));
  box-shadow: 0 4px 16px hsl(0 0% 0% / 0.4);
}

.workspace-os-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: hsl(0 0% 7.5% / 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid hsl(0 0% 100% / 0.08);
  border-radius: 28px;
  box-shadow: 0 4px 16px hsl(0 0% 0% / 0.4);
  overflow: hidden;
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}

.workspace-os-card:hover {
  transform: translateY(-2px);
  border: 1px solid hsl(0 0% 100% / 0.12);
  box-shadow: 0 8px 24px hsl(0 0% 0% / 0.5);
}

.workspace-os-card__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-layer-elevated-2);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 100;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none
}

.workspace-os-card__loader.workspace-os-card__loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.workspace-os-card__loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px
}

.workspace-os-card__loader-logo {
  font-size: 48px;
  font-weight: 900;
  color: hsl(var(--accent) / 0.95);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 2px 4px hsl(0 0% 0% / 0.5);
}

.workspace-os-card__loader-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: hsl(0 0% 100% / 0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: -8px
}

.workspace-os-card__loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid hsl(var(--accent) / 0.2);
  border-top-color: hsl(var(--accent) / 0.9);
  border-radius: 50%;
  animation: loaderSpin 1s linear infinite;
  margin-top: 8px
}

@keyframes loaderSpin {
  0% {
      transform: rotate(0deg)
  }
  100% {
      transform: rotate(360deg)
  }
}

.workspace-os-card__screenshot {
  position: relative;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg,
 hsl(0 0% 5.9% / 0.65) 0%,
          hsl(0 0% 3.9% / 0.6) 100%);
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid hsl(0 0% 100% / 0.12);
  transition: all 0.3s ease
}

.workspace-os-card__screenshot-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease 0.3s, visibility 0.6s ease 0.3s
}

@keyframes bootProgressFill {
  0% {
      width: 0%
  }

  20% {
      width: 25%
  }

  40% {
      width: 50%
  }

  60% {
      width: 75%
  }

  80% {
      width: 90%
  }

  100% {
      width: 100%
  }
}

@keyframes bootStatusBlink {

  0%,
  100% {
      opacity: 0.5
  }

  50% {
      opacity: 1
  }
}

.workspace-os-card__wallpaper {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      hsl(0 0% 7.8% / 0.95) 0%,
      hsl(0 0% 7.1% / 0.92) 50%,
      hsl(0 0% 7.8% / 0.95) 100%);
  background-size: 200% 200%;
  animation: wallpaperShift 20s ease-in-out infinite;
  z-index: 1;
  opacity: 1;
  display: block
}

@keyframes wallpaperShift {

  0%,
  100% {
      background-position: 0% 0%
  }

  50% {
      background-position: 100% 100%
  }
}

.workspace-os-card__wallpaper-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, hsl(var(--accent) / 0.008) 2px, hsl(var(--accent) / 0.008) 4px),
      repeating-linear-gradient(90deg, transparent, transparent 2px, hsl(var(--accent) / 0.008) 2px, hsl(var(--accent) / 0.008) 4px);
  opacity: 0.1;
  pointer-events: none;
  z-index: 1
}

.workspace-os-card__desktop-icons {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}

.workspace-os-card__desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 8px;
  border-radius: 4px
}

.workspace-os-card__desktop-icon:hover {
  transform: translateY(-2px);
  background: hsl(var(--accent) / 0.1)
}

.workspace-os-card__window {
  position: absolute;
  width: 82%;
  max-width: 380px;
  height: 58%;
  max-height: 260px;
  background: hsl(0 0% 4.7% / 0.85);
  backdrop-filter: blur(24px);
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 40px hsl(0 0% 0% / 0.7), 0 0 0 1px hsl(var(--accent) / 0.15) inset, 0 0 30px hsl(var(--accent) / 0.1);
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: none
}

.workspace-os-card__window--active {
  border-color: hsl(var(--accent) / 0.4);
  box-shadow: 0 12px 40px hsl(0 0% 0% / 0.7), 0 0 0 1px hsl(var(--accent) / 0.3) inset, 0 0 30px hsl(var(--accent) / 0.2)
}

.workspace-os-card__window-header {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: hsl(0 0% 7.8% / 0.8);
  border-bottom: 1px solid hsl(0 0% 100% / 0.1);
  gap: 8px;
  flex-shrink: 0
}

.workspace-os-card__window-controls {
  display: flex;
  gap: 6px;
  align-items: center
}

.workspace-os-card__window-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.2s ease
}

.workspace-os-card__window-control--close {
  background: #ff5f57;
  border: 1px solid hsl(3 100% 67% / 0.3);
}

.workspace-os-card__window-control--minimize {
  background: #ffbd2e;
  border: 1px solid hsl(43 96% 59% / 0.3);
}

.workspace-os-card__window-control--maximize {
  background: #28ca42;
  border: 1px solid hsl(135 63% 47% / 0.3);
}

.workspace-os-card__window-control:hover {
  opacity: 0.8
}

.workspace-os-card__window-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: hsl(0 0% 100% / 0.9);
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  direction: ltr;
}

.workspace-os-card__window-spacer {
  width: 30px
}

.workspace-os-card__window-content {
  flex: 1;
  padding: 16px;
  overflow: hidden;
  background: hsl(0 0% 3.9% / 0.5)
}

.workspace-os-card__terminal {
  font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.7;
  color: hsl(0 0% 100%);
  direction: ltr;
  text-align: left;
}

.workspace-os-card__terminal-line {
  margin-bottom: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px
}

.workspace-os-card__terminal-prompt {
  font-weight: 600
}
.workspace-os-card__terminal-prompt-dollar {
  color: hsl(var(--accent) / 1);
}

.workspace-os-card__terminal-prompt-rest,
.workspace-os-card__terminal-output {
  color: hsl(0 0% 100% / 0.95);
  margin-left: 0
}

.workspace-os-card__terminal-cursor {
  color: hsl(var(--accent) / 1);
  animation: terminalCursorBlink 1s ease-in-out infinite
}

@keyframes terminalCursorBlink {
  0%, 50% {
      opacity: 1
  }
  51%, 100% {
      opacity: 0
  }
}

.workspace-os-card__taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: hsl(0 0% 3.9% / 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid hsl(0 0% 100% / 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 4;
  box-shadow: 0 -2px 8px hsl(0 0% 0% / 0.3)
}

.workspace-os-card__taskbar-start {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  background: hsl(var(--accent) / 0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  border: 1px solid hsl(var(--accent) / 0.3)
}

.workspace-os-card__taskbar-start:hover {
  background: hsl(var(--accent) / 0.3)
}

.workspace-os-card__taskbar-start-icon {
  font-size: 10px;
  font-weight: 800;
  color: hsl(var(--accent) / 0.9);
  letter-spacing: 0.1em
}

.workspace-os-card__taskbar-apps {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 1;
  justify-content: center
}

.workspace-os-card__taskbar-app {
  height: 28px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: hsl(0 0% 100% / 0.05);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: hsl(0 0% 100% / 0.6);
  border: 1px solid transparent;
  white-space: nowrap;
  overflow: hidden;
}

.workspace-os-card__taskbar-app span {
  font-size: 11px;
  font-weight: 500;
}

.workspace-os-card__taskbar-app:hover {
  background: hsl(0 0% 100% / 0.1);
  color: hsl(0 0% 100% / 0.8)
}

.workspace-os-card__taskbar-app--active {
  background: hsl(var(--accent) / 0.3);
  border-color: hsl(var(--accent) / 0.5);
  color: hsl(var(--accent) / 0.9)
}

.workspace-os-card__taskbar-tray {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  background: hsl(0 0% 7.8% / 0.6);
  border-radius: 6px;
  border: 1px solid hsl(0 0% 100% / 0.1)
}

.workspace-os-card__taskbar-time {
  font-size: 10px;
  color: hsl(0 0% 100% / 0.7);
  font-weight: 600;
  font-variant-numeric: tabular-nums
}

.workspace-os-card__taskbar-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(160 84% 39% / 0.6);
  box-shadow: 0 0 8px hsl(160 84% 39% / 0.4);
  animation: taskbarIndicatorPulse 2s ease-in-out infinite
}

.workspace-os-card__taskbar-indicator--online {
  background: hsl(160 84% 39% / 0.8);
  box-shadow: 0 0 10px hsl(160 84% 39% / 0.6)
}

@keyframes taskbarIndicatorPulse {
  0%, 100% {
      opacity: 1;
      transform: scale(1)
  }
  50% {
      opacity: 0.7;
      transform: scale(1.1)
  }
}

.workspace-os-card__status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 14px;
  background: hsl(0 0% 0% / 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.workspace-os-card__icon-img {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--accent) / 0.2), hsl(var(--accent) / 0.1));
  border: 1px solid hsl(var(--accent) / 0.3);
  border-radius: 12px;
  color: hsl(var(--accent) / 0.8);
  transition: all 0.2s ease;
}

.workspace-os-card__desktop-icon:hover .workspace-os-card__icon-img {
  background: linear-gradient(135deg, hsl(var(--accent) / 0.3), hsl(var(--accent) / 0.2));
  border-color: hsl(var(--accent) / 0.5);
  transform: scale(1.05);
}

.workspace-os-card__icon-label {
  font-size: 10px;
  color: hsl(0 0% 100% / 0.8);
  font-weight: 500;
  text-align: center;
  text-shadow: 0 1px 2px hsl(0 0% 0% / 0.8);
}

.workspace-os-card__monitor {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: hsl(0 0% 2% / 0.9);
  border-radius: 6px;
  overflow: hidden;
}

.workspace-os-card__monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: hsl(0 0% 8% / 0.9);
  border-bottom: 1px solid hsl(var(--accent) / 0.3);
  font-size: 11px;
  font-weight: 600;
  color: hsl(0 0% 100% / 0.9);
}

.workspace-os-card__monitor-status {
  color: #22C55E;
  font-size: 10px;
  font-weight: 700;
  animation: monitorPulse 2s ease-in-out infinite;
}

@keyframes monitorPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.workspace-os-card__monitor-feed {
  flex: 1;
  padding: 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.workspace-os-card__monitor-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: hsl(0 0% 5% / 0.8);
  border-radius: 4px;
  font-size: 10px;
  border-left: 3px solid transparent;
}

.workspace-os-card__monitor-time {
  color: hsl(0 0% 100% / 0.5);
  font-family: var(--font-mono);
  font-size: 9px;
  min-width: 60px;
}

.workspace-os-card__monitor-threat {
  flex: 1;
  color: hsl(0 0% 100% / 0.8);
  font-weight: 500;
}

.workspace-os-card__monitor-severity {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.workspace-os-card__monitor-severity.critical {
  background: hsl(var(--accent) / 0.3);
  color: hsl(var(--accent));
  border-left-color: hsl(var(--accent));
}

.workspace-os-card__monitor-severity.high {
  background: hsl(45 100% 50% / 0.2);
  color: #F59E0B;
  border-left-color: #F59E0B;
}

.workspace-os-card__monitor-severity.medium {
  background: hsl(217 91% 60% / 0.2);
  color: #3B82F6;
  border-left-color: #3B82F6;
}

.workspace-os-card__taskbar-notifications {
  background: hsl(var(--accent) / 0.8);
  color: hsl(0 0% 100% / 0.9);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
  animation: notificationPulse 2s ease-in-out infinite;
}

@keyframes notificationPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 hsl(var(--accent) / 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px hsl(var(--accent) / 0.2);
  }
}

.workspace-os-card__status-badge--running {
  color: #10B981;
  border-color: hsl(160 84% 39% / 0.3)
}

.workspace-os-card__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 12px hsl(160 84% 39% / 0.8), 0 0 6px hsl(160 84% 39% / 0.6);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.workspace-os-card__content {
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 32px);
  background: transparent;
  justify-content: center;
}

.workspace-os-card__header {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.5vw, 24px);
  margin-bottom: 0;
}

.workspace-os-card__icon {
  width: clamp(56px, 8vw, 64px);
  height: clamp(56px, 8vw, 64px);
  min-width: clamp(56px, 8vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    hsl(var(--accent) / 0.2) 0%,
    hsl(var(--accent) / 0.15) 50%,
    hsl(var(--accent) / 0.12) 100%);
  backdrop-filter: blur(16px) saturate(200%);
  -webkit-backdrop-filter: blur(16px) saturate(200%);
  border: 1.5px solid hsl(var(--accent) / 0.35);
  border-radius: 14px;
  color: hsl(var(--accent));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.workspace-os-card:hover .workspace-os-card__icon {
  transform: scale(1.05) rotate(-2deg);
  background: linear-gradient(135deg,
    hsl(var(--accent) / 0.25) 0%,
    hsl(var(--accent) / 0.2) 50%,
    hsl(var(--accent) / 0.15) 100%);
  border-color: hsl(var(--accent) / 0.45);
  box-shadow: 0 4px 12px hsl(0 0% 0% / 0.4);
}

.workspace-os-card__title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: hsl(var(--white) / 1);
  margin: 0 0 clamp(12px, 1.5vw, 16px);
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-shadow:
    0 2px 8px hsl(0 0% 0% / 0.5),
    0 1px 3px hsl(0 0% 0% / 0.3);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.workspace-os-card__title::after {
  content: '';
  position: absolute;
  bottom: clamp(-10px, -1.2vw, -12px);
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,
    hsl(var(--accent) / 0.8) 0%,
    hsl(var(--accent) / 0.6) 50%,
    transparent 100%);
  border-radius: 1px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.workspace-os-card.inview .workspace-os-card__title,
.workspace-os-card__title.widget-visible,
body.css-loaded .workspace-os-card__title {
  opacity: 1;
  transform: translateY(0);
}

.workspace-os-card.inview .workspace-os-card__title::after {
  width: 60px;
}

.workspace-os-card__subtitle {
  font-size: clamp(14px, 1.6vw, 16px);
  color: hsl(var(--muted-light) / 0.95);
  margin: 0;
  line-height: 1.7;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.workspace-os-card.inview .workspace-os-card__subtitle,
.workspace-os-card__subtitle.widget-visible,
body.css-loaded .workspace-os-card__subtitle {
  opacity: 1;
  transform: translateY(0);
}

.workspace-os-card__bullets {
  margin-top: 4px;
  padding-left: 18px;
  list-style: none;
  color: hsl(var(--muted-light) / 0.95);
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.5;
}

.workspace-os-card__bullet {
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.workspace-os-card__bullet::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: hsl(var(--accent));
}

.service-widget__bullets {
  margin-top: 16px;
  padding-left: 18px;
  list-style: none;
  color: hsl(var(--muted-light) / 0.95);
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.5;
}

.service-widget__bullet {
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.service-widget__bullet::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: hsl(var(--accent));
}

.workspace-os-card__stat {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.quick-actions {  position: relative;
  padding: 64px 0;
  background: transparent;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  overflow: visible
}

.quick-actions__grid {  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 3vw, var(--spacing-lg));
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 32px) clamp(16px, 4vw, 64px) 20px;
  position: relative;
  z-index: 1
}

.quick-action {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
  padding: clamp(20px, 4vw, 36px) clamp(24px, 4vw, 40px);
  background: hsl(0 0% 4% / 0.7);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid hsl(0 0% 100% / 0.08);
  border-radius: 24px;
  text-decoration: none;
  color: hsl(var(--white));
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.3);
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box
}

.quick-action:hover {
  transform: translateY(-2px);
  border: 1px solid hsl(0 0% 100% / 0.12);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 4px 12px hsl(0 0% 0% / 0.4);
  position: relative;
  z-index: 10
}

.quick-action__icon {
  flex-shrink: 0;
  width: clamp(48px, 8vw, 64px);
  height: clamp(48px, 8vw, 64px);
  min-width: clamp(48px, 8vw, 64px);
  min-height: clamp(48px, 8vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent));
  background: linear-gradient(135deg,
 hsl(var(--accent-light)) 0%,
 hsl(var(--accent) / 0.15) 50%,
          hsl(var(--accent) / 0.12) 100%);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid var(--glass-border-hover);
  border-radius: 16px;
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1
}

.quick-action__icon svg {
  width: 28px;
  height: 28px
}

.quick-action__content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1
}

.quick-action__content h3 {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  margin: 0 0 6px 0;
  color: hsl(var(--white));
  line-height: 1.35;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  letter-spacing: -0.01em;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word
}

[dir="rtl"] .quick-action__content h3 {
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  letter-spacing: 0;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1
}

.quick-action__content p {
  font-size: 14px;
  color: hsl(var(--muted));
  margin: 0;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1
}

[dir="rtl"] .quick-action__content p {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1
}

.quick-action svg:last-child {
  flex-shrink: 0;
  color: hsl(var(--muted));
  transition: transform 0.3s ease, color 0.3s ease;
  width: 20px;
  height: 20px
}

.quick-action:hover svg:last-child {
  color: hsl(var(--accent));
  transform: translateX(6px)
}

.quick-action:hover .quick-action__icon {
  transform: scale(1.05);
  background: linear-gradient(135deg,
 hsl(var(--accent-light)) 0%,
 hsl(var(--accent) / 0.2) 50%,
          hsl(var(--accent) / 0.15) 100%);
  box-shadow: 0 4px 12px hsl(0 0% 0% / 0.4);
}

.footer {  position: relative;
  min-height: 320px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(48px, 8vw, 80px) clamp(32px, 6vw, 96px) clamp(32px, 5vw, 48px);
  z-index: 10;
  background: linear-gradient(180deg,
    hsl(0 0% 2% / 0.98) 0%,
    hsl(0 0% 1.5% / 0.95) 50%,
    hsl(0 0% 1% / 0.98) 100%);
  backdrop-filter: blur(60px) saturate(200%);
  -webkit-backdrop-filter: blur(60px) saturate(200%);
  border-top: 2px solid hsl(var(--accent) / 0.2);
  box-shadow: 0 -8px 32px hsl(0 0% 0% / 0.9),
      0 0 0 1px hsl(240 4% 13% / 0.3) inset,
      0 0 60px hsl(var(--accent) / 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: none;
  visibility: visible;
  overflow: visible;
  margin-top: 0
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 48px);
  max-width: 1400px;
  width: 100%;
}

.footer__main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(32px, 5vw, 48px);
  width: 100%;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand-logo {  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  color: hsl(var(--accent));
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.footer__brand-tagline {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  color: hsl(var(--white));
  margin: 0;
  line-height: 1.4;
}

.footer__brand-description {  font-size: clamp(13px, 1.4vw, 15px);
  color: hsl(var(--muted-light));
  margin: 0;
  line-height: 1.6;
  opacity: 0.85;
}

.footer__offices {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__offices-title {  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 700;
  color: hsl(var(--white));
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.footer__office {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__office-location {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer__office-icon {
  color: hsl(var(--accent));
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__office-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__office-country {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 600;
  color: hsl(var(--white));
  line-height: 1.4;
}

.footer__office-city {
  font-size: clamp(13px, 1.4vw, 15px);
  color: hsl(var(--muted-light));
  line-height: 1.4;
  opacity: 0.8;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__links-title {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 700;
  color: hsl(var(--white));
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.footer__links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {  color: hsl(var(--muted-light));
  font-size: clamp(14px, 1.5vw, 15px);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  opacity: 0.85;
}

.footer__link:hover {  color: hsl(var(--accent));
  opacity: 1;
  transform: translateX(4px);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contact-title {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 700;
  color: hsl(var(--white));
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-email {
  display: flex;
  align-items: center;
  gap: 10px;
  color: hsl(var(--muted-light));
  font-size: clamp(14px, 1.5vw, 15px);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.85;
}

.footer__contact-email svg {
  flex-shrink: 0;
  color: hsl(var(--accent));
}

.footer__contact-email:hover {
  color: hsl(var(--accent));
  opacity: 1;
  transform: translateX(4px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding-top: clamp(24px, 4vw, 32px);
  border-top: 1px solid hsl(0 0% 100% / 0.08);
  flex-wrap: wrap;
}

.footer__bottom-left,
.footer__bottom-center,
.footer__bottom-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.footer__bottom-center {
  justify-content: center;
  text-align: center;
}

.footer__platform,
.footer__privacy,
.footer__copyright {
  color: hsl(var(--muted));
  font-size: clamp(11px, 1.2vw, 12px);
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  letter-spacing: 0.01em;
}

[dir="rtl"] .footer__platform,
[dir="rtl"] .footer__content {
  font-family: var(--font-arabic);
  letter-spacing: 0
}

.modal__icon {
  width: clamp(44px, 7vw, 56px);
  height: clamp(44px, 7vw, 56px);
  min-width: clamp(44px, 7vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
 hsl(var(--accent) / 0.3) 0%,
          hsl(var(--accent) / 0.15) 100%);
  border: 2px solid hsl(var(--accent) / 0.4);
  border-radius: 12px;
  color: hsl(var(--accent));
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.3);
  flex-shrink: 0
}

.modal__header-text {
  flex: 1;
  min-width: 0
}

.modal__title {  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: hsl(var(--white))
}

.modal__subtitle {  color: hsl(var(--muted-light));
  font-size: 15px;
  margin: 0;
  line-height: 1.6
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 20px);
  padding: clamp(24px, 4vw, 32px) clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  max-height: none;
  flex: 1;
  min-height: 0;
}

.form__row {
  display: flex;
  gap: clamp(16px, 2vw, 20px);
  flex-wrap: wrap;
  width: 100%;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  width: 100%;
  flex: 1 1 auto;
}

.form__group--half {
  flex: 1 1 calc(50% - 10px);
  min-width: 0;
}

.form__group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: hsl(var(--white) / 0.95);
  letter-spacing: 0.02em;
  margin-bottom: 2px
}

.form__label-text {
  font-weight: 700
}

.form__required {
  color: hsl(var(--accent));
  font-weight: 800
}

.form__optional {
  color: hsl(var(--muted));
  font-weight: 500;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0
}

.form__input-wrapper {
  position: relative;
  display: flex;
  align-items: center
}

.form__input-icon {
  position: absolute;
  left: 16px;
  color: hsl(var(--muted));
  pointer-events: none;
  transition: color 0.3s ease;
  z-index: 1;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: linear-gradient(135deg, hsl(0 0% 3.9% / 0.9) 0%, hsl(0 0% 1.96% / 0.75) 100%);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 12px;
  color: hsl(var(--white));
  font-size: 16px;
  font-family: inherit;
  line-height: 1.5;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px hsl(0 0% 0% / 0.3);
  resize: vertical;
  min-height: auto;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-sizing: border-box;
}

.form__group input {
  min-height: 52px;
  height: 52px;
}

.form__group select {
  width: 100%;
  padding: 14px 16px 14px 48px;
  min-height: 52px;
  height: 52px;
  background-color: hsl(0 0% 7%);
  border: 1px solid hsl(0 0% 100% / 0.15);
  border-radius: 12px;
  color: hsl(var(--white));
  font-family: var(--font-primary);
  font-size: clamp(14px, 1.5vw, 16px);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark;
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.4), inset 0 1px 0 hsl(0 0% 100% / 0.08);
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form__input-wrapper--select::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

.form__group select:focus {
  outline: none;
  border-color: hsl(var(--accent) / 0.5);
  box-shadow: 0 0 0 3px hsl(var(--accent) / 0.1);
}

.form__group select:invalid {
  color: hsl(0 0% 92%);
}

.form__group select option {
  background: hsl(0 0% 8%);
  color: hsl(var(--white));
  padding: 12px 16px;
  border-bottom: 1px solid hsl(0 0% 100% / 0.08);
}

.form__group select option:hover,
.form__group select option:checked {
  background: hsl(var(--accent) / 0.15);
  color: hsl(var(--white));
}

.form__group select option:disabled {
  background: hsl(0 0% 5%);
  color: hsl(0 0% 75%);
}

.form__group:has(select:focus) .form__input-icon {
  color: hsl(var(--accent));
}

.form__group:has(select:focus) .form__hint {
  color: hsl(var(--muted-light));
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: hsl(var(--muted));
  opacity: 0.6
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: hsl(var(--accent) / 0.5);
  background: linear-gradient(135deg,
 hsl(0 0% 3.9% / 0.95) 0%,
          hsl(0 0% 1.96% / 0.85) 100%);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  box-shadow: 0 0 0 3px hsl(var(--accent) / 0.15),
      0 2px 8px hsl(var(--accent) / 0.1);
  transform: translateY(-1px)
}

.form__group input:focus+.form__input-icon,
.form__group:has(input:focus) .form__input-icon,
.form__group:has(textarea:focus) .form__input-icon {
  color: hsl(var(--accent))
}

.form__char-count {
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-size: 11px;
  color: hsl(var(--muted));
  font-family: ui-monospace, Menlo, Consolas, monospace;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 2px
}

.form__char-current {
  color: hsl(var(--muted-light))
}

.form__char-separator {
  color: hsl(var(--muted))
}

.form__char-max {
  color: hsl(var(--muted))
}

.form__group textarea:focus~.form__char-count .form__char-current {
  color: hsl(var(--accent))
}

.form__hint {
  font-size: 12px;
  color: hsl(var(--muted));
  margin-top: -4px;
  padding-left: 4px;
  transition: color 0.3s ease
}

.form__group:has(input:focus) .form__hint,
.form__group:has(textarea:focus) .form__hint {
  color: hsl(var(--muted-light))
}

.form__actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center
}

.btn__text {
  position: relative;
  z-index: 1
}

.btn__icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease
}

.btn--primary {
  background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent-hover)));
  color: hsl(var(--white));
  border: 1px solid hsl(var(--accent) / 0.3);
  box-shadow: 0 2px 12px hsl(var(--accent) / 0.25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, hsl(var(--accent-hover)), hsl(var(--accent)));
  box-shadow: 0 4px 16px hsl(var(--accent) / 0.35);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.btn--primary:hover .btn__icon {
  transform: translateX(4px)
}

.form__privacy {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 12px;
  color: hsl(var(--muted));
  padding: 12px 16px;
  background: hsl(0 0% 3.9% / 0.5);
  border-radius: 8px;
  border: 1px solid hsl(0 0% 100% / 0.05)
}

.form__privacy svg {
  flex-shrink: 0;
  color: hsl(142 71% 45%)
}

.form__success {
  text-align: center;
  padding: 60px 40px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px
}

.form__success--hidden {
  display: none
}

.form__success:not(.form__success--hidden) {
  display: flex
}

.form--hidden {
  display: none
}

.form--error {
  border-color: hsl(var(--accent))
}

.form__success-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
 hsl(142 71% 45% / 0.2) 0%,
          hsl(142 71% 45% / 0.1) 100%);
  border: 3px solid hsl(142 71% 45% / 0.4);
  border-radius: 50%;
  color: hsl(142 71% 45%);
  box-shadow: 0 0 40px hsl(142 71% 45% / 0.4),
      0 0 80px hsl(142 71% 45% / 0.2);
  animation: successIconPulse 2s ease-in-out infinite
}

@keyframes successIconPulse {

  0%,
  100% {
      transform: scale(1);
      box-shadow: 0 0 40px hsl(142 71% 45% / 0.4),
          0 0 80px hsl(142 71% 45% / 0.2)
  }

  50% {
      transform: scale(1.05);
      box-shadow: 0 0 60px hsl(142 71% 45% / 0.6),
          0 0 120px hsl(142 71% 45% / 0.4)
  }
}

.form__success-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.5vw, 14px) clamp(24px, 3vw, 36px);
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  color: hsl(var(--white));
  background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent-hover)));
  border: 1px solid hsl(var(--accent) / 0.3);
  box-shadow: 0 2px 12px hsl(var(--accent) / 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form__success-close:hover {
  background: linear-gradient(135deg, hsl(var(--accent-hover)), hsl(var(--accent)));
  box-shadow: 0 4px 16px hsl(var(--accent) / 0.35);
  transform: translateY(-2px);
}

.form__success-close:active {
  transform: translateY(0) scale(0.98);
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px
}

*:focus:not(:focus-visible) {
  outline: none
}

.nav__brand-text {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: hsl(var(--white));
  text-shadow: 0 0 20px hsl(var(--accent) / 0.3)
}

@media (min-width: 1440px) {
  .nav {
    padding: 0 clamp(48px, 6vw, 120px);
    gap: clamp(24px, 3vw, 40px)
  }

  .nav__brand {
    font-size: clamp(28px, 2.5vw, 32px);
    padding: 14px 28px
  }

  .nav__links a,
  .nav__link {
    font-size: 16px;
    padding: 14px 28px
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .modal {
    padding: clamp(16px, 3vw, 24px);
  }

  .modal__content {
    max-width: calc(100% - clamp(32px, 6vw, 48px));
    max-height: calc(100vh - clamp(32px, 6vw, 48px));
    border-radius: 24px;
  }

  .modal__close {
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
  }

  .modal__header {
    gap: clamp(16px, 2.5vw, 18px);
    padding: clamp(24px, 4vw, 32px) clamp(24px, 4vw, 32px) clamp(20px, 3vw, 28px);
  }

  .modal__icon {
    width: 52px;
    height: 52px;
  }

  .modal__title { font-size: clamp(22px, 4vw, 28px); }

  .modal__subtitle { font-size: 14px; }

  .modal__form {
    padding: clamp(20px, 3vw, 24px) clamp(24px, 4vw, 32px) clamp(24px, 4vw, 32px);
    gap: clamp(16px, 2.5vw, 18px);
  }

  .form__row { gap: 14px; }

  .form__group--half {
    flex: 1;
  }

  .form__group input,
  .form__group textarea {
    padding: 14px 14px 14px 44px;
  }

  .form__group input {
    min-height: 50px;
    height: 50px;
  }

  .form__input-icon {
    left: 14px;
  }

  .form__actions { gap: 14px; }

  .form__privacy {
    padding: 11px 14px;
  }

  .form__success { padding: 48px 32px; }

  .form__success-icon {
    width: 72px;
    height: 72px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: clamp(16px, 4vw, 20px);
  }

  .hero__title {
    font-size: clamp(24px, 4vw, 36px);
    gap: clamp(12px, 2vh, 18px);
  }

  .hero__subtitle {
    font-size: clamp(15px, 2.5vw, 20px);
    margin-bottom: clamp(28px, 4vh, 40px);
  }

  .hero__actions {
    flex-direction: row;
    gap: clamp(16px, 2.5vw, 20px);
    max-width: clamp(400px, 85vw, 600px);
  }

  .hero__btn {
    flex: 1;
    padding: clamp(14px, 2.5vw, 16px) clamp(20px, 3vw, 28px);
    font-size: clamp(13px, 2vw, 15px);
  }

  .navigation-loading-content {
    gap: clamp(28px, 4vw, 36px);
    padding: clamp(40px, 5vw, 56px) clamp(24px, 4vw, 32px);
  }

  .navigation-loading-spinner-wrapper {
    width: clamp(120px, 18vw, 160px);
    height: clamp(120px, 18vw, 160px);
  }

  .navigation-loading-text {
    font-size: clamp(17px, 2.5vw, 21px);
    padding: 0 clamp(16px, 3vw, 24px);
    margin-bottom: clamp(14px, 2vw, 18px);
  }

  .navigation-loading-quote {
    font-size: clamp(14px, 2vw, 17px);
    margin-bottom: clamp(18px, 2.5vw, 22px);
  }

  .navigation-loading-indicator {
    font-size: clamp(12px, 2vw, 14px);
    margin-top: clamp(18px, 2.5vw, 22px);
  }

  .cards .card {
    padding: clamp(22px, 4vw, 30px);
    box-sizing: border-box;
  }

  .service-widget--radar,
  .service-widget--curved,
  .service-widget--timeline {
    padding: clamp(18px, 3vw, 26px);
    margin-bottom: clamp(36px, 6vw, 52px);
  }

  .service-widget--split {
    padding: 0;
    margin-bottom: clamp(36px, 6vw, 52px);
  }

  .footer__main {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(24px, 4vw, 30px);
  }

  .footer__bottom {
    flex-direction: row;
  }

  .footer__bottom-left,
  .footer__bottom-center,
  .footer__bottom-right {
    min-width: 150px;
  }
}

/* ============================================================
   ARSENAL SECTION ENHANCEMENTS
   ============================================================ */

.card:hover .card__icon {
  color: hsl(var(--white));
  transform: scale(1.1);
}

.card {  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    hsl(var(--accent) / 0.1) 0%,
    hsl(356 89% 52% / 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px hsl(0 0% 0% / 0.4),
    0 0 0 1px hsl(var(--accent) / 0.2);
}

.card:focus-within {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 2px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================================
   POLISHING ENHANCEMENTS - FINAL TOUCHES
   ============================================================ */

.quick-action__card {  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: clamp(16px, 3vw, 20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.quick-action__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: hsl(var(--accent) / 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsl(0 0% 0% / 0.3);
}

.footer__links-title,
.footer__contact-title,

[dir="rtl"] .service-widget__title {
  font-family: var(--font-arabic);
  letter-spacing: 0.01em;
}

[dir="rtl"] .service-widget__text {
  font-family: var(--font-arabic);
  letter-spacing: 0.02em;
  word-spacing: 0.05em;
  line-height: 1.7;
}

[dir="rtl"] .footer__brand-logo {
  font-family: var(--font-arabic);
  letter-spacing: -0.01em;
}

[dir="rtl"] .footer__brand-description {
  font-family: var(--font-arabic);
  letter-spacing: 0.02em;
  word-spacing: 0.05em;
  line-height: 1.7;
}

[dir="rtl"] .footer__links-title,
[dir="rtl"] .footer__contact-title,
[dir="rtl"] .footer__offices-title {
  font-family: var(--font-arabic);
  letter-spacing: 0.01em;
}

[dir="rtl"] .footer__link {
  font-family: var(--font-arabic);
  letter-spacing: 0.01em;
}

.section--map {
  background: linear-gradient(135deg,
    hsl(var(--surface-elevated)) 0%,
    hsl(0 0% 3% / 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.section--map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%,
    hsl(var(--accent) / 0.1) 0%,
    transparent 70%);
  pointer-events: none;
}

.map-container {
  position: relative;
  height: clamp(400px, 60vh, 600px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 20px 40px hsl(0 0% 0% / 0.4),
    inset 0 0 0 1px hsl(var(--border));
}

.map-live-indicator--enhanced {  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(16, 185, 129, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

[dir="rtl"] .modal__title {
  font-family: var(--font-arabic);
  letter-spacing: -0.01em;
}

[dir="rtl"] .modal__subtitle {
  font-family: var(--font-arabic);
  letter-spacing: 0.02em;
  word-spacing: 0.05em;
  line-height: 1.7;
}

.btn {
  font-family: var(--font-primary);
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(10px, 1.5vw, 14px) clamp(20px, 3vw, 32px);
  border-radius: 12px;
  cursor: pointer;
  color: hsl(var(--white));
  text-decoration: none;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    hsl(var(--white) / 0.2),
    transparent);
  transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .btn {
  font-family: var(--font-arabic);
  letter-spacing: 0.01em;
}

body.page-revealed #loader,
body.css-loaded #loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}
.map-loading--hidden,
.map-loading.map-loading--hidden {
    display: none;
    opacity: 0;
    visibility: hidden;
    flex-shrink: 0;
    gap: 0.75rem;
}

/* Desktop: ensure everything stays inside navbar */
[dir="rtl"] .nav { direction: ltr; }

/* ============================================================
   MOBILE RESPONSIVE FIXES - OVERRIDES BASE STYLES
   Added at end of file to ensure source-order priority
   ============================================================ */

@media (max-width: 768px) {
  .section {
    padding: clamp(40px, 6vh, 60px) 0 !important;
  }

  .service-widget {
    margin-top: clamp(20px, 4vh, 32px) !important;
    margin-bottom: clamp(20px, 4vh, 32px) !important;
  }

  .service-widget--radar,
  .service-widget--curved,
  .service-widget--timeline {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: clamp(20px, 4vw, 28px) !important;
    border-radius: 28px !important;
    padding: clamp(20px, 4vw, 28px) !important;
  }

  .service-widget--split {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 2px auto !important;
    gap: 0 !important;
    padding: 0 !important;
    border-radius: 28px !important;
  }

  .workspace-os-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    min-height: auto !important;
  }

  .service-widget__radar-visual,
  .service-widget__curved-visual,
  .service-widget__split-visual {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .service-widget__radar-content,
  .service-widget__curved-content,
  .service-widget__split-right,
  .service-widget__content {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .service-widget__split-left,
  .service-widget__split-right {
    padding: clamp(20px, 4vw, 28px) clamp(16px, 4vw, 24px) !important;
  }

  .workspace-os-card__screenshot {
    height: 300px !important;
    border-right: none !important;
    border-bottom: 1px solid hsl(0 0% 100% / 0.12) !important;
  }

  .workspace-os-card__window--active {
    width: 90% !important;
    max-width: 280px !important;
    max-height: 220px !important;
  }

  .service-widget__curved-visual {
    max-height: none !important;
    overflow: visible !important;
  }

  .service-widget__curved-messages {
    max-height: none !important;
    overflow: visible !important;
  }

  .service-widget__curved-message-name {
    font-size: 12px !important;
  }

  .service-widget__curved-message-text {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 480px) {
  .service-widget--radar,
  .service-widget--curved,
  .service-widget--timeline {
    padding: clamp(16px, 3vw, 24px) !important;
    margin-bottom: clamp(20px, 4vh, 32px) !important;
  }

  .service-widget--split {
    padding: 0 !important;
    margin-bottom: clamp(20px, 4vh, 32px) !important;
  }

  .service-widget__radar-visual,
  .service-widget__curved-visual,
  .service-widget__split-visual {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .service-widget__radar-content,
  .service-widget__curved-content,
  .service-widget__content {
    width: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .service-widget__split-right {
    width: 100% !important;
    padding: clamp(16px, 4vw, 24px) !important;
    overflow: hidden !important;
  }

  .service-widget__split-left {
    padding: clamp(16px, 4vw, 24px) !important;
  }

  .workspace-os-card__window--active {
    width: 95% !important;
    max-width: 260px !important;
    max-height: 180px !important;
  }
}

/* FORCE HERO VISIBILITY - EMERGENCY FIX */

/* ============================================================
   MODAL RESPONSIVE OVERRIDES (must come after base modal styles)
   Base .modal__form/.modal__title/.modal__subtitle at lines 4381+
   override earlier media queries due to source order.
   ============================================================ */
@media (max-width: 768px) {
  .modal__form {
    padding: 20px 20px 28px;
  }
}

@media (max-width: 480px) {
  .modal__form {
    padding: 16px 16px 20px;
    gap: 14px;
  }

  .modal__title {
    font-size: 18px;
    line-height: 1.3;
  }

  .modal__subtitle {
    font-size: 12px;
    line-height: 1.4;
  }
}
