/* ==========================================================================
   المجال الرقمي لتقنية المعلومات - Design System & Modern Header CSS
   Typography: Pure Cairo (عربي وإنجليزي)
   Theme: Dual Mode (OLED Deep Blue & Modern Clean Light) + Cyber Orange (#FE7800)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Typography - Unified Cairo */
  --font-body: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shared Brand Accents */
  --color-primary: #FE7800;
  --color-primary-hover: #FF8F26;
  --color-primary-glow: rgba(254, 120, 0, 0.4);
  --color-primary-subtle: rgba(254, 120, 0, 0.12);

  --color-accent-emerald: #10B981;
  --color-accent-emerald-glow: rgba(16, 185, 129, 0.4);

  /* Dimensions */
  --header-height: 84px;
  --header-height-scrolled: 72px;
  --max-width: 1380px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --backdrop-blur: blur(20px);
}

/* ==========================================================================
   DARK THEME (Default)
   ========================================================================== */
:root,
[data-theme="dark"] {
  --color-bg-base: #050D17;
  --color-bg-gradient: radial-gradient(circle at 50% -20%, #0F2744 0%, #050D17 55%, #02060B 100%);
  --color-bg-surface: #07121F;
  --color-bg-glass: rgba(7, 18, 31, 0.82);
  --color-bg-glass-scrolled: rgba(5, 13, 23, 0.94);
  --color-bg-nav-rail: rgba(255, 255, 255, 0.03);
  --color-bg-card: rgba(11, 30, 52, 0.7);

  --color-text-primary: #FFFFFF;
  --color-text-secondary: #94A3B8;
  --color-text-muted: #64748B;

  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(254, 120, 0, 0.35);

  --color-footer-bg-start: #06101D;
  --color-footer-bg-end: #03080E;
  --color-footer-card: rgba(11, 26, 45, 0.75);

  --shadow-island: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 25px -5px rgba(254, 120, 0, 0.15);
  --shadow-island-scrolled: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(254, 120, 0, 0.25), 0 0 30px -5px rgba(254, 120, 0, 0.25);
  --shadow-drawer: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(254, 120, 0, 0.15);
}

/* ==========================================================================
   LIGHT THEME
   ========================================================================== */
[data-theme="light"] {
  --color-bg-base: #F8FAFC;
  --color-bg-gradient: radial-gradient(circle at 50% -20%, #E2E8F0 0%, #F8FAFC 55%, #EDF2F7 100%);
  --color-bg-surface: #FFFFFF;
  --color-bg-glass: rgba(255, 255, 255, 0.88);
  --color-bg-glass-scrolled: rgba(255, 255, 255, 0.96);
  --color-bg-nav-rail: rgba(0, 0, 0, 0.03);
  --color-bg-card: rgba(255, 255, 255, 0.9);

  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #94A3B8;

  --color-border-subtle: rgba(0, 0, 0, 0.08);
  --color-border-hover: rgba(254, 120, 0, 0.4);

  --color-footer-bg-start: #EEF4FA;
  --color-footer-bg-end: #E2E8F0;
  --color-footer-card: rgba(255, 255, 255, 0.92);

  --shadow-island: 0 16px 36px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.06), 0 0 20px -5px rgba(254, 120, 0, 0.12);
  --shadow-island-scrolled: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(254, 120, 0, 0.3), 0 0 25px -5px rgba(254, 120, 0, 0.2);
  --shadow-drawer: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 25px rgba(254, 120, 0, 0.12);
}

/* Base Reset & Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: var(--color-bg-gradient);
  overflow-x: hidden;
  line-height: 1.6;
  font-family: var(--font-body);
  transition: background 0.4s ease, color 0.4s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ==========================================================================
   Floating Command Island Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  top: 8px;
}

.header-island {
  width: 100%;
  max-width: var(--max-width);
  height: var(--header-height);
  background: var(--color-bg-glass);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--color-border-subtle);
  border-radius: 24px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-island);
  transition: var(--transition-smooth);
  position: relative;
}

.site-header.scrolled .header-island {
  height: var(--header-height-scrolled);
  border-color: rgba(254, 120, 0, 0.28);
  box-shadow: var(--shadow-island-scrolled);
  background: var(--color-bg-glass-scrolled);
  padding: 0 16px;
}

/* Brand Section */
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-container {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(254, 120, 0, 0.15) 0%, rgba(11, 30, 52, 0.4) 100%);
  border: 1px solid rgba(254, 120, 0, 0.3);
  border-radius: 12px;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

[data-theme="light"] .brand-logo-container {
  background: radial-gradient(circle, rgba(254, 120, 0, 0.12) 0%, rgba(240, 245, 255, 0.8) 100%);
  border-color: rgba(254, 120, 0, 0.25);
}

.brand-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(254, 120, 0, 0.4));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(254, 120, 0, 0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.header-brand:hover .brand-logo-container {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(254, 120, 0, 0.35);
}

.header-brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(3deg);
}

.header-brand:hover .brand-logo-glow {
  opacity: 1;
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
}

.brand-title span {
  color: var(--color-primary);
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.brand-tagline .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-emerald);
  box-shadow: 0 0 8px var(--color-accent-emerald-glow);
  display: inline-block;
  animation: pulse-emerald 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulse-emerald {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* ==========================================================================
   Navigation Rail (Desktop Center) with Modern Smooth Micro-Effects
   ========================================================================== */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--color-bg-nav-rail);
  border: 1px solid var(--color-border-subtle);
  padding: 4px 6px;
  border-radius: 9999px;
  position: relative;
  flex-shrink: 1;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  padding: 6px 13px;
  border-radius: 9999px;
  position: relative;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Modern Hover Effects */
.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(254, 120, 0, 0.08);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-link.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(254, 120, 0, 0.9) 0%, rgba(230, 106, 0, 0.9) 100%);
  box-shadow: 0 2px 12px rgba(254, 120, 0, 0.35);
}

/* ==========================================================================
   Web Design Mega Dropdown (Desktop)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: currentColor;
}

.nav-item-dropdown:hover .dropdown-arrow,
.nav-item-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mega Dropdown Glass Panel */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 620px;
  background: rgba(7, 18, 31, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(254, 120, 0, 0.22);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(254, 120, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 1000;
}

[data-theme="light"] .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(254, 120, 0, 0.25);
  box-shadow: 0 24px 50px rgba(11, 31, 54, 0.15), 0 0 25px rgba(254, 120, 0, 0.08);
}

/* Safe Hover Bridge */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.dropdown-menu-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

.dropdown-view-all {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown-view-all:hover {
  transform: translateX(-4px);
  color: var(--color-primary-light);
}

/* 2-Column Responsive Grid */
.dropdown-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  border: 1px solid transparent;
}

.dropdown-item:hover {
  background: rgba(254, 120, 0, 0.08);
  border-color: rgba(254, 120, 0, 0.2);
  transform: translateY(-1px);
}

[data-theme="light"] .dropdown-item:hover {
  background: rgba(254, 120, 0, 0.05);
  border-color: rgba(254, 120, 0, 0.15);
}

.dropdown-item.active {
  background: rgba(254, 120, 0, 0.12);
  border-color: rgba(254, 120, 0, 0.3);
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.dropdown-item:hover .dropdown-item-icon {
  transform: scale(1.08);
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
}

.dropdown-item-title {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.dropdown-item-desc {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* Dropdown Footer Strip */
.dropdown-menu-footer {
  margin-top: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--color-text-secondary);
  background: rgba(254, 120, 0, 0.04);
  border-radius: 10px;
}

.dropdown-menu-footer a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================================================
   Actions Section (Left on RTL, Right on LTR)
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Controls Pill: Language + Theme Toggle */
.controls-group {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--color-bg-nav-rail);
  border: 1px solid var(--color-border-subtle);
  padding: 3px;
  border-radius: 12px;
}

/* Language Switcher Button */
.btn-lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  transition: var(--transition-smooth);
  background: transparent;
  white-space: nowrap;
}

.btn-lang-toggle:hover {
  color: var(--color-primary);
  background: var(--color-primary-subtle);
}

.btn-lang-toggle svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Theme Switcher Button */
.btn-theme-toggle {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--color-text-secondary);
  transition: var(--transition-smooth);
  background: transparent;
  flex-shrink: 0;
}

.btn-theme-toggle:hover {
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  transform: rotate(15deg);
}

.btn-theme-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Quick Phone Contact Button */
.btn-contact-quick {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-nav-rail);
  transition: var(--transition-smooth);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-contact-quick:hover {
  color: var(--color-text-primary);
  border-color: rgba(254, 120, 0, 0.4);
  background: var(--color-primary-subtle);
  transform: translateY(-1px);
}

.btn-contact-quick svg {
  width: 15px;
  height: 15px;
  fill: var(--color-primary);
}

/* Primary CTA - Guaranteed Single Line */
.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #E66A00 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 18px -2px rgba(254, 120, 0, 0.45);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  white-space: nowrap !important;
  min-width: max-content;
  flex-shrink: 0;
}

.btn-primary-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 120, 0, 0.55);
}

.btn-primary-cta:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-primary-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* RTL Arrow vs LTR Arrow */
html[dir="rtl"] .btn-primary-cta:hover svg {
  transform: translateX(-3px);
}

html[dir="ltr"] .btn-primary-cta:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Mobile Toggle Button
   ========================================================================== */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--color-bg-nav-rail);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: var(--color-primary-subtle);
  border-color: rgba(254, 120, 0, 0.4);
}

.hamburger-icon {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.is-open .hamburger-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--color-primary);
}

.mobile-toggle.is-open .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.is-open .hamburger-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--color-primary);
}

/* ==========================================================================
   Mobile Spatial Drawer Sheet (Clean & Badge-Free)
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .mobile-drawer-overlay {
  background: rgba(15, 23, 42, 0.3);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 96px;
  left: 16px;
  right: 16px;
  max-height: calc(100vh - 120px);
  background: var(--color-bg-surface);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(254, 120, 0, 0.25);
  border-radius: 28px;
  padding: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-drawer);
  transform: translateY(-20px) scale(0.97);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(254, 120, 0, 0.3) transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer::-webkit-scrollbar {
  width: 4px;
}

.mobile-drawer::-webkit-scrollbar-thumb {
  background: rgba(254, 120, 0, 0.3);
  border-radius: 9999px;
}

.mobile-drawer.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

/* Mobile Controls Top Bar (Language + Theme in Drawer) */
.mobile-drawer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--color-bg-nav-rail);
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  transition: var(--transition-smooth);
}

.mobile-nav-item a:hover,
.mobile-nav-item a.active {
  background: var(--color-primary-subtle);
  border-color: rgba(254, 120, 0, 0.4);
  color: var(--color-primary);
}

/* Mobile Accordion Submenu */
.mobile-nav-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--color-bg-nav-rail);
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mobile-nav-toggle-btn:hover,
.mobile-nav-toggle-btn.active,
.mobile-nav-toggle-btn.is-open {
  background: var(--color-primary-subtle);
  border-color: rgba(254, 120, 0, 0.4);
  color: var(--color-primary);
}

.mobile-nav-toggle-btn .item-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-toggle-btn .item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.mobile-dropdown-caret {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: var(--color-text-muted);
}

.mobile-nav-toggle-btn.is-open .mobile-dropdown-caret {
  transform: rotate(180deg);
  stroke: var(--color-primary);
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(7, 18, 31, 0.5);
  border-radius: 14px;
  margin-top: 4px;
  margin-right: 14px;
  border-right: 2px solid rgba(254, 120, 0, 0.4);
}

.mobile-submenu.is-open {
  max-height: 520px;
  padding: 6px 4px;
}

.mobile-submenu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.mobile-submenu li a:hover,
.mobile-submenu li a.active {
  background: rgba(254, 120, 0, 0.1);
  color: var(--color-primary);
  font-weight: 700;
}

.mobile-nav-item a .item-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-item a .item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.mobile-nav-item a svg {
  width: 18px;
  height: 18px;
}

.mobile-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.mobile-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: 18px;
  text-align: center;
  transition: var(--transition-smooth);
}

.mobile-action-card:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-subtle);
}

.mobile-action-card svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.mobile-action-card span {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.mobile-action-card small {
  font-size: 0.72rem;
  color: var(--color-text-secondary);
}

.mobile-bottom-banner {
  background: var(--color-primary-subtle);
  border: 1px solid rgba(254, 120, 0, 0.2);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   Progressive Disclosure Responsive Breakpoints (360px - 1920px)
   ========================================================================== */

/* 1. Laptops & Compact Desktops (1201px - 1380px) - Compact Nav to guarantee generous spacing */
@media (max-width: 1380px) {
  .btn-contact-quick {
    display: none !important;
  }
  .header-nav {
    gap: 1px;
    padding: 3px 5px;
  }
  .nav-link {
    padding: 5px 9px;
    font-size: 0.81rem;
  }
  .header-island {
    padding: 0 16px;
    gap: 10px;
  }
  .btn-primary-cta {
    padding: 8px 14px;
    font-size: 0.84rem;
  }
}

/* 2. Tablets & Small Laptops (<= 1200px) - Switch to clean Mobile/Tablet Header Bar */
@media (max-width: 1200px) {
  .header-nav {
    display: none !important;
  }
  .btn-contact-quick {
    display: none !important;
  }
  .controls-group {
    display: none !important; /* Prominently available in Mobile Drawer */
  }
  .mobile-toggle {
    display: flex !important;
  }
  .header-actions {
    gap: 12px;
  }
  .btn-primary-cta {
    padding: 8px 18px;
    font-size: 0.86rem;
  }
}

/* 3. Mobile Phones (<= 640px) */
@media (max-width: 640px) {
  .site-header {
    top: 8px;
    padding: 0 10px;
  }
  .header-island {
    height: 64px;
    padding: 0 12px;
    border-radius: 18px;
    gap: 8px;
  }
  .brand-logo-container {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .brand-logo-img {
    width: 24px;
    height: 24px;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-tagline {
    display: none; /* Cleaner on small phones */
  }
  .btn-primary-cta {
    padding: 7px 14px;
    font-size: 0.8rem;
    border-radius: 10px;
    gap: 6px;
  }
  .btn-primary-cta svg {
    width: 14px;
    height: 14px;
  }
  .mobile-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .mobile-drawer {
    top: 78px;
    left: 10px;
    right: 10px;
    padding: 16px;
    border-radius: 22px;
  }
}

/* 4. Ultra-Small Phones (<= 380px) */
@media (max-width: 380px) {
  .header-island {
    padding: 0 8px;
  }
  .brand-meta {
    max-width: 100px;
  }
  .brand-title {
    font-size: 0.88rem;
  }
  .btn-primary-cta span {
    display: none;
  }
  .btn-primary-cta::before {
    content: 'مشروع';
  }
  .btn-primary-cta {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   SITE FOOTER - AESTHETIC CURVED WAVEFORM & BENTO ARCHITECTURE
   ========================================================================== */
.site-footer {
  position: relative;
  width: 100%;
  background: transparent;
  color: var(--color-text-primary);
  margin-top: 60px;
  overflow: visible;
  transition: var(--transition-smooth);
}

/* Atmospheric Smooth Background (Dissolves from 0% at top to 100% at bottom - NO HARD SEAM) */
.site-footer::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(5, 13, 23, 0) 0%, rgba(5, 13, 23, 0.75) 160px, var(--color-footer-bg-end) 100%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .site-footer::before {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(238, 244, 250, 0.85) 160px, var(--color-footer-bg-end) 100%);
}

/* 1. Fluid Aesthetic Curved Waveform Divider (الخطوط المتعرجة الجمالية الانسيابية) */
.footer-wave-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  margin-bottom: -130px;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.footer-wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-layer-fill {
  transition: fill 0.4s ease;
}

.wave-line-primary {
  animation: wavePulseOrange 4s ease-in-out infinite alternate;
}

@keyframes wavePulseOrange {
  0% {
    stroke-opacity: 0.7;
    filter: drop-shadow(0 0 6px rgba(254, 120, 0, 0.45));
  }
  50% {
    stroke-opacity: 1;
    filter: drop-shadow(0 0 18px rgba(254, 120, 0, 0.95));
  }
  100% {
    stroke-opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(254, 120, 0, 0.6));
  }
}

.wave-line-harmonic {
  animation: waveDashFlow 24s linear infinite;
}

@keyframes waveDashFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 400; }
}

.wave-line-thin {
  animation: waveDashThin 30s linear infinite reverse;
}

@keyframes waveDashThin {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 300; }
}

/* 2. Main Footer Body Container */
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 50px;
  position: relative;
  z-index: 2;
}

/* 3. Floating Pre-Footer Launchpad CTA Island */
.footer-launchpad {
  position: relative;
  background: var(--color-footer-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(254, 120, 0, 0.28);
  border-radius: 28px;
  padding: 44px 50px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 35px -5px rgba(254, 120, 0, 0.18);
  margin-bottom: 70px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.footer-launchpad:hover {
  border-color: rgba(254, 120, 0, 0.45);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7), 0 0 45px -5px rgba(254, 120, 0, 0.25);
  transform: translateY(-2px);
}

.launchpad-glow {
  position: absolute;
  top: -50%;
  left: 30%;
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(254, 120, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.launchpad-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.launchpad-meta {
  max-width: 650px;
}

.launchpad-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(254, 120, 0, 0.3);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.pulse-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  animation: pulse-beacon 1.8s infinite ease-in-out;
}

@keyframes pulse-beacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.launchpad-title {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.launchpad-desc {
  font-size: 0.96rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.launchpad-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-launchpad-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #E66A00 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 14px;
  box-shadow: 0 6px 25px -4px rgba(254, 120, 0, 0.5);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-launchpad-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-hover) 0%, #FE7800 100%);
  box-shadow: 0 10px 32px -4px rgba(254, 120, 0, 0.65);
  transform: translateY(-2px);
}

.btn-launchpad-primary svg {
  width: 18px;
  height: 18px;
}

.btn-launchpad-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-nav-rail);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 14px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-launchpad-secondary:hover {
  border-color: rgba(254, 120, 0, 0.4);
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-launchpad-secondary svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
}

/* 4. Bento Footer Grid (4 Columns) */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.35fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* Brand Column */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.footer-system-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--color-bg-nav-rail);
  border: 1px solid var(--color-border-subtle);
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-primary);
  width: fit-content;
  margin-bottom: 22px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-emerald);
  box-shadow: 0 0 10px var(--color-accent-emerald-glow);
  animation: pulse-emerald 2s infinite ease-in-out;
  flex-shrink: 0;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--color-bg-nav-rail);
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: var(--color-primary-subtle);
  border-color: rgba(254, 120, 0, 0.4);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 17px;
  height: 17px;
}

/* Navigation Columns */
.footer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.heading-accent {
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  position: relative;
  width: fit-content;
}

html[dir="rtl"] .footer-link:hover {
  color: var(--color-primary);
  transform: translateX(-4px);
}

html[dir="ltr"] .footer-link:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* Column 4: Callback Card Widget */
.callback-card {
  background: var(--color-footer-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.callback-card:hover {
  border-color: rgba(254, 120, 0, 0.3);
}

.callback-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.callback-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(254, 120, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.callback-icon svg {
  width: 18px;
  height: 18px;
}

.callback-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 3px;
}

.callback-desc {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.callback-form {
  margin-bottom: 16px;
}

.callback-input-group {
  display: flex;
  align-items: center;
  background: var(--color-bg-base);
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  padding: 4px;
  transition: var(--transition-smooth);
}

.callback-input-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 12px rgba(254, 120, 0, 0.25);
}

.callback-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.86rem;
  padding: 8px 12px;
  direction: ltr;
  text-align: right;
}

html[dir="ltr"] .callback-input {
  text-align: left;
}

.callback-input::placeholder {
  color: var(--color-text-muted);
}

.btn-callback-submit {
  background: var(--color-primary);
  border: none;
  border-radius: 9px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-callback-submit:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-callback-submit svg {
  width: 13px;
  height: 13px;
}

.callback-message {
  font-size: 0.8rem;
  padding: 10px 12px;
  border-radius: 10px;
  margin-top: 10px;
  line-height: 1.5;
}

.callback-message.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-accent-emerald);
  font-weight: 700;
}

.footer-direct-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-subtle);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--color-text-secondary);
  transition: var(--transition-smooth);
}

.contact-item a:hover {
  color: var(--color-primary);
}

/* 5. Official Saudi Trust Badges & Accreditation Strip */
.footer-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  background: var(--color-bg-nav-rail);
  border: 1px solid var(--color-border-subtle);
  border-radius: 18px;
  padding: 14px 24px;
  margin-bottom: 36px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-secondary);
}

.trust-icon {
  font-size: 1rem;
}

/* 6. Bottom Bar: Copyright, Legal & Back-To-Top */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-subtle);
  gap: 20px;
  flex-wrap: wrap;
}

.copyright-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.copyright-text {
  font-size: 0.84rem;
  color: var(--color-text-secondary);
  font-weight: 600;
}

.crafted-text {
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-link {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.legal-link:hover {
  color: var(--color-primary);
}

.divider-dot {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* Back to Top Button */
.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-nav-rail);
  border: 1px solid var(--color-border-subtle);
  border-radius: 9999px;
  padding: 8px 16px;
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-back-to-top:hover {
  background: var(--color-primary-subtle);
  border-color: rgba(254, 120, 0, 0.4);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.back-to-top-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.back-to-top-icon svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   FOOTER RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-launchpad {
    padding: 32px 36px;
  }
  .launchpad-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .launchpad-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-col-widget {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-footer {
    margin-top: 80px;
  }
  .footer-wave-wrapper {
    height: 120px;
    margin-top: -60px;
    margin-bottom: -30px;
  }
  .footer-launchpad {
    padding: 26px 20px;
    border-radius: 20px;
    margin-bottom: 45px;
  }
  .launchpad-actions {
    flex-direction: column;
    gap: 10px;
  }
  .btn-launchpad-primary,
  .btn-launchpad-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-col-widget {
    grid-column: span 1;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .btn-back-to-top {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   HERO SECTION - 3D TRANSPARENT VIDEO & ASYMMETRICAL RTL ARCHITECTURE
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

/* Hero Ambient Backgrounds & Glows */
.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-glow-orange {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(254, 120, 0, 0.16) 0%, rgba(254, 120, 0, 0.02) 65%, transparent 75%);
  top: 5%;
  left: -8%;
}

.hero-bg-glow-emerald {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.09) 0%, rgba(16, 185, 129, 0.01) 60%, transparent 75%);
  bottom: 5%;
  right: -5%;
}

[data-theme="light"] .hero-bg-glow-orange {
  background: radial-gradient(circle, rgba(254, 120, 0, 0.12) 0%, transparent 70%);
}

[data-theme="light"] .hero-bg-glow-emerald {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 45%, black 45%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, black 45%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .hero-grid-pattern {
  background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
}

/* Two-Column Grid Container */
.hero-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr; /* Content : Visual */
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Editorial Column (Right Side in RTL) */
.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

[dir="ltr"] .hero-content-col {
  text-align: left;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(254, 120, 0, 0.28);
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(254, 120, 0, 0.12);
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  animation: blinkLive 2s infinite ease-in-out;
}

.hero-headline {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--color-text-primary);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-headline-block {
  display: block;
}

.hero-headline-gradient {
  display: inline-block;
  background: linear-gradient(135deg, #FE7800 0%, #FFA843 60%, #FFC170 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.hero-headline-sub {
  display: block;
  font-size: 0.88em;
  opacity: 0.95;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
  margin-bottom: 34px;
  max-width: 620px;
  font-weight: 500;
}

/* Hero Actions Row */
.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FE7800 0%, #E66600 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 12px 28px -6px rgba(254, 120, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: var(--transition-smooth);
  white-space: nowrap !important;
  position: relative;
  overflow: hidden;
}

.hero-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.6s ease;
}

.hero-btn-primary:hover::after {
  left: 100%;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -6px rgba(254, 120, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  color: #FFFFFF !important;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 9999px;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary) !important;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  white-space: nowrap !important;
}

.hero-btn-secondary:hover {
  background: var(--color-bg-card);
  border-color: var(--color-border-hover);
  color: var(--color-primary) !important;
  transform: translateY(-2px);
}

[dir="rtl"] .hero-btn-arrow {
  transform: none;
}

/* Trust Metrics Strip */
.hero-metrics-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-subtle);
  width: 100%;
  max-width: 620px;
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
}

.hero-metric-item .metric-val {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-metric-item .metric-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.hero-metric-sep {
  width: 1px;
  height: 36px;
  background: var(--color-border-subtle);
}

/* ==========================================================================
   HERO VISUAL STAGE (FAR LEFT IN RTL)
   ========================================================================== */
.hero-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pulsing Radial Aura behind Character */
.hero-stage-aura {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 120, 0, 0.22) 0%, rgba(254, 120, 0, 0.04) 55%, transparent 75%);
  filter: blur(55px);
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  animation: pulseAura 5s ease-in-out infinite alternate;
}

[data-theme="light"] .hero-stage-aura {
  background: radial-gradient(circle, rgba(254, 120, 0, 0.16) 0%, rgba(254, 120, 0, 0.03) 55%, transparent 75%);
}

/* 3D Glowing Ground Pedestal */
.hero-stage-pedestal {
  position: absolute;
  bottom: 24px;
  width: 90%;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(254, 120, 0, 0.38) 0%, rgba(254, 120, 0, 0.1) 45%, transparent 72%);
  filter: blur(16px);
  z-index: 1;
  pointer-events: none;
}

[data-theme="light"] .hero-stage-pedestal {
  background: radial-gradient(ellipse at 50% 50%, rgba(254, 120, 0, 0.25) 0%, rgba(254, 120, 0, 0.06) 45%, transparent 72%);
}

/* Video Frame & Transparent Video Triple Architecture (Intro, Idle Loop, Mouse Tracking) */
.hero-video-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-duo-video {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  mix-blend-mode: screen;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

[data-theme="light"] .hero-duo-video {
  filter: drop-shadow(0 16px 26px rgba(15, 23, 42, 0.08));
}

.hero-intro-video {
  position: relative;
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
}

.hero-idle-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.hero-mouse-video,
.hero-tracking-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  object-fit: contain;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-duo-video.is-active,
.hero-tracking-canvas.is-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.hero-duo-video.is-hidden,
.hero-tracking-canvas.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

.hero-video-fallback {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Badges Dock - Desktop: display contents preserves absolute 3D satellites; Mobile: docks cleanly below character */
.hero-badges-dock {
  display: contents;
}

/* Floating Holographic Badges - Framed Outside Character Silhouettes */
.hero-float-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 18px rgba(254, 120, 0, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  pointer-events: auto;
  cursor: default;
}

.hero-float-badge:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(254, 120, 0, 0.22);
}

.hero-float-badge .badge-icon-box {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(254, 120, 0, 0.2);
  flex-shrink: 0;
}

.hero-float-badge .badge-text-box {
  display: flex;
  flex-direction: column;
}

.hero-float-badge .badge-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.hero-float-badge .badge-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Optimized Satellite Positions - Framed completely outside character silhouettes */
.hero-float-badge-top-left {
  top: 22%;
  left: -40px;
  animation: floatBadge 6s ease-in-out infinite;
}

.hero-float-badge-bottom-right {
  bottom: 8%;
  right: -36px;
  animation: floatBadge 6.8s ease-in-out infinite reverse;
}

.hero-float-badge-top-right {
  top: -16px;
  left: 28%;
  right: auto;
  animation: floatBadge 7.2s ease-in-out infinite 0.8s;
}



@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulseAura {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.75;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
  }
}

/* Interactive Controls Chip */
.hero-video-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  z-index: 3;
}

.video-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent-emerald);
  box-shadow: 0 0 8px var(--color-accent-emerald);
  animation: blinkLive 2s infinite ease-in-out;
}

.btn-video-replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(254, 120, 0, 0.3);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-body);
  backdrop-filter: blur(10px);
}

.btn-video-replay:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  transform: scale(1.05);
}

/* ==========================================================================
   HERO RESPONSIVE ADAPTATIONS
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-content-col {
    align-items: center;
    text-align: center;
  }

  [dir="ltr"] .hero-content-col {
    text-align: center;
  }

  .hero-actions-row {
    justify-content: center;
  }

  .hero-metrics-strip {
    justify-content: center;
  }

  .hero-float-badge-top-left {
    left: 0;
  }

  .hero-float-badge-bottom-right {
    right: 0;
  }

  .hero-float-badge-top-right {
    right: 10px;
  }
}

@media (max-width: 860px) {
  .hero-stage-wrapper {
    max-width: 100%;
    align-items: center;
  }

  .hero-video-frame {
    order: 1;
    max-width: 380px;
    margin: 0 auto;
  }

  .hero-video-controls {
    order: 2;
    margin-top: 10px;
    margin-bottom: 8px;
  }

  /* Dock trust badges cleanly and responsively beneath the character stage */
  .hero-badges-dock {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 440px;
    margin-top: 14px;
    padding: 0 8px;
    z-index: 5;
  }

  .hero-float-badge {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    animation: none !important;
    display: flex !important;
    flex: 1 1 calc(50% - 12px);
    min-width: 150px;
    max-width: 210px;
    padding: 10px 14px;
    border-radius: 14px;
    box-sizing: border-box;
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border-subtle);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 12px rgba(254, 120, 0, 0.08);
  }

  .hero-float-badge:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 16px rgba(254, 120, 0, 0.15);
  }

  .hero-float-badge .badge-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .hero-float-badge .badge-title {
    font-size: 0.8rem;
    font-weight: 700;
  }

  .hero-float-badge .badge-sub {
    font-size: 0.68rem;
    font-weight: 500;
  }

  /* 3rd badge centered below in clean keystone balance */
  .hero-float-badge-top-right {
    flex: 0 1 auto;
    min-width: 210px;
    max-width: 280px;
    justify-content: center;
  }

  .hero-stage-aura {
    width: 380px;
    height: 380px;
    filter: blur(45px);
  }

  .hero-stage-pedestal {
    width: 320px;
    height: 50px;
  }
}

@media (max-width: 680px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 40px;
  }

  .hero-container {
    padding: 0 16px;
    gap: 32px;
  }

  .hero-badge-pill {
    font-size: 0.78rem;
    padding: 6px 14px;
    margin-bottom: 18px;
    text-align: center;
  }

  .hero-headline {
    font-size: 2.1rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .hero-metrics-strip {
    gap: 12px;
    justify-content: space-between;
  }

  .hero-metric-item .metric-val {
    font-size: 1.25rem;
  }

  .hero-metric-item .metric-lbl {
    font-size: 0.72rem;
  }

  .hero-video-frame {
    max-width: 320px;
  }

  .hero-badges-dock {
    gap: 8px;
    max-width: 350px;
  }

  .hero-float-badge {
    flex: 1 1 calc(50% - 8px);
    min-width: 130px;
    padding: 8px 10px;
    gap: 8px;
    border-radius: 12px;
  }

  .hero-float-badge .badge-icon-box {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .hero-float-badge .badge-title {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .hero-float-badge .badge-sub {
    font-size: 0.62rem;
  }

  .hero-float-badge-top-right {
    min-width: 170px;
    max-width: 240px;
  }

  .hero-stage-aura {
    width: 290px;
    height: 290px;
    filter: blur(35px);
  }

  .hero-stage-pedestal {
    width: 260px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .hero-headline {
    font-size: 1.85rem;
  }

  .hero-video-frame {
    max-width: 280px;
  }

  .hero-badges-dock {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero-float-badge {
    width: 100%;
    max-width: 270px;
    flex: 1 1 auto;
  }

  .hero-float-badge-top-right {
    width: 100%;
    max-width: 270px;
  }
}

/* ==========================================================================
   INTERNAL SERVICE & PLATFORM PAGES DESIGN SYSTEM
   ========================================================================== */

/* Page Container */
.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .page-container {
    padding: 0 16px;
  }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 12px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.breadcrumb-item a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--color-primary);
}

.breadcrumb-sep {
  opacity: 0.4;
  font-size: 0.75rem;
}

.breadcrumb-item.active {
  color: var(--color-primary);
  font-weight: 700;
}

/* Page Hero Section */
.page-hero {
  position: relative;
  padding: 30px 0 60px;
  overflow: hidden;
  text-align: center;
}

.page-hero-aura {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 120, 0, 0.16) 0%, rgba(254, 120, 0, 0.02) 60%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.page-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(254, 120, 0, 0.25);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.page-hero-title .text-gradient {
  background: linear-gradient(135deg, #FE7800 0%, #FF9E40 50%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Page Hero Trust Badges Strip */
.page-hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
}

.page-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 680px) {
  .page-hero-title {
    font-size: 2rem;
  }
  .page-hero-lead {
    font-size: 1rem;
  }
  .page-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .page-hero-actions a {
    width: 100%;
  }
}

/* Stats Metric Strip */
.service-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 60px;
}

@media (max-width: 900px) {
  .service-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .service-stats-grid {
    grid-template-columns: 1fr;
  }
}

.service-stat-card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(254, 120, 0, 0.35);
}

.stat-card-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-card-lbl {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.stat-card-desc {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

/* Section Header Typography */
.section-header-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-tag-pill {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(254, 120, 0, 0.1);
  border: 1px solid rgba(254, 120, 0, 0.2);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-heading-lg {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-subtext {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Features Grid (Bento Style) */
.features-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 70px;
}

@media (max-width: 992px) {
  .features-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid-3 {
    grid-template-columns: 1fr;
  }
}

.feature-bento-card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(14px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(254, 120, 0, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), 0 0 20px rgba(254, 120, 0, 0.1);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.feature-card-text {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text-primary);
  font-weight: 600;
}

.feature-checklist li svg {
  color: var(--color-accent-emerald);
  flex-shrink: 0;
}

/* Pricing Packages Section */
.pricing-section {
  margin: 60px 0 80px;
}

.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.pricing-plan-card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-plan-card.featured {
  border-color: rgba(254, 120, 0, 0.6);
  background: linear-gradient(180deg, rgba(254, 120, 0, 0.08) 0%, rgba(11, 31, 54, 0.6) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(254, 120, 0, 0.15);
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .pricing-plan-card.featured {
    transform: none;
  }
}

.plan-ribbon-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FE7800 0%, #E66A00 100%);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(254, 120, 0, 0.35);
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  min-height: 40px;
}

.plan-price-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.plan-price-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-text-primary);
}

.plan-price-curr {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-right: 4px;
}

.plan-price-period {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.plan-features-list li svg {
  color: var(--color-accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-plan-cta.primary {
  background: linear-gradient(135deg, #FE7800 0%, #E66A00 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(254, 120, 0, 0.35);
}

.btn-plan-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 120, 0, 0.45);
}

.btn-plan-cta.secondary {
  background: var(--color-primary-subtle);
  border: 1px solid rgba(254, 120, 0, 0.3);
  color: var(--color-primary);
}

.btn-plan-cta.secondary:hover {
  background: rgba(254, 120, 0, 0.18);
  transform: translateY(-2px);
}

/* Process Steps Timeline */
.process-section {
  margin: 60px 0 80px;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

@media (max-width: 992px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
}

.step-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FE7800 0%, #E66A00 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(254, 120, 0, 0.35);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* FAQ Accordion Section */
.faq-section {
  margin: 60px 0 80px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(254, 120, 0, 0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 14px;
}

/* Bottom Conversion Banner */
.page-cta-banner {
  background: radial-gradient(circle at 50% 50%, rgba(254, 120, 0, 0.18) 0%, rgba(11, 31, 54, 0.9) 70%);
  border: 1px solid rgba(254, 120, 0, 0.35);
  border-radius: 28px;
  padding: 50px 36px;
  text-align: center;
  margin: 60px 0 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.page-cta-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.page-cta-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.page-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   GLOBAL LTR (ENGLISH LOCALIZATION) STYLES
   ========================================================================== */
html[dir="ltr"] {
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html[dir="ltr"] body,
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] p,
html[dir="ltr"] span,
html[dir="ltr"] a,
html[dir="ltr"] button,
html[dir="ltr"] input,
html[dir="ltr"] textarea,
html[dir="ltr"] select {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] .section-heading-lg,
html[dir="ltr"] .page-hero-title,
html[dir="ltr"] .page-cta-title {
  letter-spacing: -0.025em;
}

/* Header in LTR */
html[dir="ltr"] .header-brand {
  flex-direction: row;
}

html[dir="ltr"] .brand-text {
  text-align: left;
}

html[dir="ltr"] .header-nav {
  margin-left: 32px;
  margin-right: auto;
}

html[dir="ltr"] .dropdown-menu-header {
  flex-direction: row;
  justify-content: space-between;
}

html[dir="ltr"] .dropdown-item {
  flex-direction: row;
  text-align: left;
}

html[dir="ltr"] .dropdown-item-content {
  text-align: left;
}

html[dir="ltr"] .dropdown-menu-footer {
  text-align: left;
}

/* Page Hero in LTR */
html[dir="ltr"] .page-hero-content {
  text-align: left;
}

html[dir="ltr"] .page-category-pill {
  margin-left: 0;
  margin-right: auto;
}

html[dir="ltr"] .page-hero-title,
html[dir="ltr"] .page-hero-lead {
  text-align: left;
}

html[dir="ltr"] .page-hero-badges {
  justify-content: flex-start;
}

html[dir="ltr"] .page-hero-actions {
  justify-content: flex-start;
}

/* Section Headers */
html[dir="ltr"] .section-header-block {
  text-align: left;
}

html[dir="ltr"] .section-tag-pill {
  margin-left: 0;
  margin-right: auto;
}

html[dir="ltr"] .section-heading-lg,
html[dir="ltr"] .section-subtext {
  text-align: left;
}

/* Feature Cards & Bento Grids */
html[dir="ltr"] .feature-item-card {
  text-align: left;
}

html[dir="ltr"] .feature-card-title,
html[dir="ltr"] .feature-card-desc {
  text-align: left;
}

/* Pricing Cards */
html[dir="ltr"] .pricing-plan-card,
html[dir="ltr"] .pricing-card {
  text-align: left;
}

html[dir="ltr"] .pricing-header {
  text-align: left;
}

html[dir="ltr"] .pricing-features li,
html[dir="ltr"] .plan-features-list li {
  text-align: left;
  justify-content: flex-start;
}

/* FAQ Accordion */
html[dir="ltr"] .faq-question {
  text-align: left;
  flex-direction: row;
  justify-content: space-between;
}

html[dir="ltr"] .faq-answer {
  text-align: left;
}

/* Breadcrumbs */
html[dir="ltr"] .breadcrumb-list {
  flex-direction: row;
}

/* Footer in LTR */
html[dir="ltr"] .footer-col {
  text-align: left;
}

html[dir="ltr"] .footer-brand-desc,
html[dir="ltr"] .footer-col-title,
html[dir="ltr"] .footer-nav-list li a {
  text-align: left;
}

html[dir="ltr"] .launchpad-meta {
  text-align: left;
}

html[dir="ltr"] .launchpad-title,
html[dir="ltr"] .launchpad-desc {
  text-align: left;
}



