/* ==========================================================================
   Bespoke Enterprise Web Design Service Page Styles
   مؤسسة المجال الرقمي لتقنية المعلومات
   Inspired by Luxury Saudi Tech Agencies (Ejjadh & Top Enterprise Standards)
   ========================================================================== */

:root {
  --font-kufi: 'Noto Kufi Arabic', 'Cairo', sans-serif;
  --color-brand-orange: #FE7800;
  --color-brand-amber: #FFAE42;
  --color-brand-cyan: #00E5FF;
  --color-brand-emerald: #10B981;
  --color-bg-deep: #07121F;
  --color-card-surface: rgba(11, 31, 54, 0.78);
  --color-border-glass: rgba(255, 255, 255, 0.1);
}

/* Global Document & Mobile Viewport Protection (Eliminates All Horizontal Shifts) */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

.company-page-wrapper {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Base Headings Typography Override */
.company-page-wrapper h1,
.company-page-wrapper h2,
.company-page-wrapper h3,
.company-page-wrapper .section-heading-lg {
  font-family: var(--font-kufi) !important;
  letter-spacing: -0.3px;
}

/* ==========================================================================
   1. Hero Split Section
   ========================================================================== */
.company-hero-section {
  position: relative;
  padding: 16px 0 50px;
  overflow: visible;
}

@media (max-width: 992px) {
  .company-hero-section {
    padding: 10px 0 35px;
    overflow: visible;
  }
}

.company-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 40px;
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .company-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 0;
  }
}

/* Right Column: Content & Kinetic Headline */
.company-hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  min-width: 0;
  width: 100%;
}

.company-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(254, 120, 0, 0.08);
  border: 1px solid rgba(254, 120, 0, 0.28);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-brand-amber);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(254, 120, 0, 0.12);
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand-emerald);
  box-shadow: 0 0 10px var(--color-brand-emerald);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Authoritative Typography (No Cheap AI Gradient) */
.company-hero-title {
  font-family: var(--font-kufi);
  font-size: 2.65rem;
  font-weight: 900;
  line-height: 1.38;
  color: #FFFFFF;
  margin-bottom: 22px;
  min-width: 0;
  width: 100%;
}

.company-hero-title .title-lead {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 8px;
}

/* Kinetic Interactive Headline (Strict Zero Layout Shift / Zero CLS) */
.kinetic-headline-box {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 10px;
  overflow: hidden;
}

.kinetic-rotator {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 1.35em;
  min-height: 1.35em;
  max-height: 1.35em;
  line-height: 1.35;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  box-sizing: border-box;
}

.kinetic-text-display {
  display: inline-block;
  font-size: clamp(1.75rem, 2.2vw, 2.2rem);
  font-weight: 900;
  color: var(--color-brand-orange);
  text-shadow: 0 0 28px rgba(254, 120, 0, 0.45);
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kinetic-cursor-blink {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--color-brand-orange);
  margin-right: 8px;
  vertical-align: middle;
  animation: cursorBlink 1s infinite;
  box-shadow: 0 0 10px var(--color-brand-orange);
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .company-hero-title {
    font-size: 1.85rem;
    line-height: 1.35;
    margin-bottom: 16px;
  }
  .company-hero-title .title-lead {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }
  .kinetic-rotator {
    height: auto;
    min-height: 1.35em;
    max-height: none;
    overflow: visible;
  }
  .kinetic-text-display {
    font-size: 1.45rem;
    white-space: normal;
    word-break: break-word;
    display: inline-block;
  }
  .company-hero-lead {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 20px;
  }
  .company-trust-badges {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
  }
  .company-trust-badge {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    font-size: 0.76rem;
  }
  .company-hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .company-hero-actions a {
    width: 100% !important;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    padding: 13px 20px !important;
  }
  .company-sub-guarantee {
    font-size: 0.74rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .company-hero-title {
    font-size: 1.55rem;
  }
  .company-hero-title .title-lead {
    font-size: 1.1rem;
  }
  .kinetic-text-display {
    font-size: 1.22rem;
  }
}

.company-hero-lead {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #94A3B8;
  margin-bottom: 24px;
  max-width: 620px;
}

/* Trust Badges Strip */
.company-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.company-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--color-border-glass);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #E2E8F0;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.company-trust-badge:hover {
  border-color: rgba(254, 120, 0, 0.4);
  transform: translateY(-2px);
  background: rgba(254, 120, 0, 0.06);
}

/* Hero CTA Actions */
.company-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.company-sub-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
}

.company-sub-guarantee span {
  color: var(--color-brand-emerald);
}

/* ==========================================================================
   2. Left Column: 3D Corporate Showcase Stage with Deck & Mascot
   ========================================================================== */
.company-hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
  padding-top: 95px;
  padding-left: 65px;
}

@media (max-width: 1024px) {
  .company-hero-visual {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 520px;
    margin: 38px auto 0;
  }
}

.stage-ambient-aura {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 400px;
  background: radial-gradient(circle, rgba(254, 120, 0, 0.18) 0%, rgba(0, 229, 255, 0.08) 50%, transparent 75%);
  filter: blur(75px);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .stage-ambient-aura {
    width: 100%;
    max-width: 300px;
    height: 200px;
    filter: blur(45px);
  }
}

.mockup-3d-card {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  background: rgba(11, 31, 54, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 35px rgba(254, 120, 0, 0.14);
  backdrop-filter: blur(20px);
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mockup-3d-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.75), 0 0 45px rgba(254, 120, 0, 0.25);
  border-color: rgba(254, 120, 0, 0.35);
}

/* Browser Mockup Chrome Header */
.browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(7, 18, 31, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px 20px 0 0;
  direction: ltr; /* Keeps Mac dots on left, URL centered, Host badge on right */
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot.red { background: #FF5F56; }
.browser-dot.yellow { background: #FFBD2E; }
.browser-dot.green { background: #27C93F; }

.browser-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px 14px;
  font-size: 0.72rem;
  color: #94A3B8;
  font-family: monospace;
  direction: ltr;
}

.browser-url-bar svg {
  color: var(--color-brand-emerald);
}

.browser-host-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-brand-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
  direction: rtl;
}

/* Corporate Showcase Interactive Deck Inside Browser Screen */
.browser-slider-container {
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  background: #0B1F36;
  min-height: 335px;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.corp-slider-deck {
  position: relative;
  width: 100%;
  min-height: 335px;
  min-width: 0;
}

.corp-deck-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
  pointer-events: none;
}

.corp-deck-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.swiper-slide-screen {
  padding: 24px 28px 24px 70px;
  min-height: 335px;
  box-sizing: border-box;
  background: #0B1F36;
}

.mock-corp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

.mock-corp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-corp-logo-emblem {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-brand-orange) 0%, var(--color-brand-amber) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07121F;
  font-weight: 900;
  font-size: 1rem;
}

.mock-corp-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
}

.mock-corp-nav {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  color: #94A3B8;
}

.mock-pill-sm {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.mock-hero-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 8px;
}

.mock-hero-desc {
  font-size: 0.76rem;
  color: #94A3B8;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 16px;
}

.mock-metrics-row {
  display: flex;
  gap: 12px;
  max-width: 400px;
}

.mock-metric-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 14px;
}

.mock-metric-val {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--color-brand-orange);
  margin-bottom: 2px;
}

.mock-metric-lbl {
  font-size: 0.68rem;
  color: #94A3B8;
}

/* Slider Controls */
.slider-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(7, 18, 31, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.slider-pagination-dots {
  display: flex;
  gap: 6px;
}

.swiper-pagination-bullet,
.corp-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.25) !important;
  opacity: 1 !important;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active,
.corp-dot.active {
  width: 24px !important;
  background: var(--color-brand-orange) !important;
  box-shadow: 0 0 10px rgba(254, 120, 0, 0.5);
}

.slider-nav-arrows {
  display: flex;
  gap: 8px;
}

.slider-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-arrow-btn:hover {
  background: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
}

/* Brand Mascots Anchored on Stage (Non-overlapping & UI/UX Compliant) */
.mascot-dev-stage {
  position: absolute;
  bottom: -32px;
  left: -48px;
  z-index: 12;
  width: 175px;
  pointer-events: none;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.85));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-3d-card:hover .mascot-dev-stage {
  transform: translateY(-6px) scale(1.02);
}

.mascot-dev-stage img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .mascot-dev-stage {
    left: -35px;
    width: 150px;
    bottom: -25px;
  }
}

@media (max-width: 768px) {
  .mascot-dev-stage {
    left: 4px;
    bottom: -18px;
    width: 110px;
  }
}

@media (max-width: 480px) {
  .mascot-dev-stage {
    left: 2px;
    bottom: -14px;
    width: 85px;
  }
}

/* Peeking Cloud Mascot Anchored to Mockup Card (Resting Hand on Ledge, Pointing at Headline) */
.mascot-cloud-floating {
  position: absolute;
  top: -119px;
  right: 24px;
  z-index: 15;
  width: 142px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55)) drop-shadow(0 4px 12px rgba(0, 229, 255, 0.35));
  transform-origin: 45% 92%;
  animation: peekCloudResting 5s ease-in-out infinite;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-3d-card:hover .mascot-cloud-floating {
  transform: scale(1.03) rotate(-1deg);
}

@keyframes peekCloudResting {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(-1.5deg) scale(1.02);
  }
}

.mascot-cloud-floating img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .mascot-cloud-floating {
    width: 118px;
    top: -98px;
    right: 18px;
  }
}

@media (max-width: 768px) {
  .mascot-cloud-floating {
    top: -77px;
    right: 14px;
    width: 95px;
  }
}

@media (max-width: 480px) {
  .mascot-cloud-floating {
    top: -66px;
    right: 10px;
    width: 82px;
  }
}

/* Floating Hologram Badges on Mockup (Docked in Clear Outer Margins) */
.mockup-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(7, 18, 31, 0.94);
  border: 1px solid rgba(254, 120, 0, 0.4);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(254, 120, 0, 0.2);
  backdrop-filter: blur(14px);
  font-size: 0.74rem;
  font-weight: 700;
  color: #FFFFFF;
  z-index: 14;
  white-space: nowrap;
}

/* Top-Left Hologram Badge (Floating in clear left airspace with ample breathing room) */
.badge-top-left {
  top: 65px;
  left: -26px;
  animation: floatBadge1 5s ease-in-out infinite;
}

/* Bottom-Right Hologram Badge (Floating in clear right airspace free from slider controls) */
.badge-bottom-right {
  bottom: 52px;
  right: -28px;
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.2);
  animation: floatBadge2 4s ease-in-out infinite;
}

@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 820px) {
  .mockup-float-badge {
    display: none !important;
  }
}

/* ==========================================================================
   3. Smooth Marquee Ticker (Saudi Sovereign Trust & Integrations)
   ========================================================================== */
.marquee-ticker-section {
  position: relative;
  margin: 30px 0 50px;
  overflow: hidden !important;
  width: 100%;
  max-width: 100%;
  contain: paint;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee-ticker-section::before,
.marquee-ticker-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-ticker-section::before {
  left: 0;
  background: linear-gradient(90deg, #07121F, transparent);
}
.marquee-ticker-section::after {
  right: 0;
  background: linear-gradient(270deg, #07121F, transparent);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94A3B8;
  white-space: nowrap;
}

.marquee-item:hover {
  color: #FFFFFF;
  border-color: rgba(254, 120, 0, 0.3);
  background: rgba(254, 120, 0, 0.06);
}

/* ==========================================================================
   4. Elevated Enterprise Metrics Strip
   ========================================================================== */
.company-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0 70px;
}

@media (max-width: 900px) {
  .company-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .company-metrics-strip {
    grid-template-columns: 1fr;
  }
}

.company-metric-card {
  background: var(--color-card-surface);
  border: 1px solid var(--color-border-glass);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.company-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(254, 120, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.company-metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(254, 120, 0, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(254, 120, 0, 0.12);
}

.company-metric-card:hover::before {
  opacity: 1;
}

.comp-metric-num {
  font-family: var(--font-kufi);
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--color-brand-orange);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.comp-metric-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.comp-metric-sub {
  font-size: 0.74rem;
  color: #94A3B8;
  line-height: 1.5;
}

/* ==========================================================================
   5. Interactive Corporate Bento Showcase
   ========================================================================== */
.company-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

@media (max-width: 992px) {
  .company-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .company-bento-grid {
    grid-template-columns: 1fr;
  }
}

.bento-card-interactive {
  background: var(--color-card-surface);
  border: 1px solid var(--color-border-glass);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-interactive:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 120, 0, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(254, 120, 0, 0.1);
}

.bento-span-2 {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .bento-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .bento-span-2 {
    grid-column: span 1;
  }
}

.bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bento-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-tag-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
}

.bento-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.4;
}

.bento-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Bento Interactive Widget Inserts */
.bento-interactive-box {
  margin-top: auto;
  background: rgba(7, 18, 31, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

/* Feature 1: PDF Profile Viewer Preview Widget with Cloud Mascot */
.pdf-viewer-mockup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pdf-doc-sheet {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdf-icon-badge {
  width: 42px;
  height: 42px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EF4444;
  font-weight: 900;
  font-size: 0.84rem;
}

.pdf-info-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #F8FAFC;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.pdf-info-meta {
  font-size: 0.72rem;
  color: #64748B;
}

.pdf-mascot-cutout {
  width: 78px;
  flex-shrink: 0;
}

.pdf-mascot-cutout img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

@media (max-width: 720px) {
  .bento-card-interactive {
    padding: 20px 16px;
  }
  .pdf-viewer-mockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .pdf-mascot-cutout {
    display: none;
  }
  .bento-dev-typing-cutout {
    width: 48px;
    bottom: 6px;
    left: 8px;
  }
}

/* Feature 2: Interactive Bilingual Switcher Widget */
.lang-switcher-widget {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lang-toggle-btn-group {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3px;
}

.lang-switch-tab {
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch-tab.active {
  background: var(--color-brand-orange);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(254, 120, 0, 0.35);
}

.lang-preview-sample {
  font-size: 0.84rem;
  font-weight: 600;
  color: #E2E8F0;
  min-height: 24px;
}

/* Feature 4: Verified Email Shield */
.email-mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.email-address-pill {
  font-family: monospace;
  font-size: 0.82rem;
  color: #F8FAFC;
  direction: ltr;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.email-shield-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--color-brand-emerald);
  font-weight: 700;
}

/* Feature 6: Google Knowledge Graph Card */
.google-search-mockup {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.google-url-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: #94A3B8;
  direction: ltr;
}

.google-snippet-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #38BDF8;
}

.google-snippet-desc {
  font-size: 0.72rem;
  color: #64748B;
  line-height: 1.4;
}

/* Developer Typing Mascot Cutout inside Clean Code Bento */
.bento-dev-typing-cutout {
  position: absolute;
  bottom: 10px;
  left: 14px;
  width: 72px;
  opacity: 0.9;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6));
  pointer-events: none;
}
.bento-dev-typing-cutout img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   6. Testimonials Swiper Slider (قصص نجاح الشركاء والعملاء)
   ========================================================================== */
.company-testimonials-section {
  position: relative;
  margin: 80px 0 90px;
  padding: 55px 36px 60px;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 25%, rgba(14, 38, 66, 0.65) 0%, rgba(7, 18, 31, 0.98) 100%);
  border: 1px solid rgba(254, 120, 0, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 50px rgba(254, 120, 0, 0.08);
}

.testimonials-ambient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/services/testimonials_3d_bg.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.testimonials-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(7, 18, 31, 0.35) 0%, rgba(7, 18, 31, 0.92) 85%);
  pointer-events: none;
  z-index: 1;
}

.testimonials-content-wrap {
  position: relative;
  z-index: 2;
}

.testimonials-slider-box {
  padding: 10px 0 20px;
  position: relative;
}

/* Luxury Testimonial Card */
.testimonial-card-luxury {
  background: rgba(11, 31, 54, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  height: 100%;
  min-height: 270px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.testimonial-card-luxury:hover {
  border-color: rgba(254, 120, 0, 0.45);
  transform: translateY(-5px);
  background: rgba(15, 38, 66, 0.82);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(254, 120, 0, 0.16);
}

.test-stars-row {
  color: #FFAE42;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
  text-shadow: 0 0 12px rgba(255, 174, 66, 0.5);
}

.test-quote-text {
  font-size: 0.96rem;
  line-height: 1.85;
  color: #E2E8F0;
  margin-bottom: 24px;
  font-style: normal;
  font-weight: 500;
}

.test-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.test-avatar-initials {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(254, 120, 0, 0.25) 0%, rgba(0, 229, 255, 0.2) 100%);
  border: 1.5px solid rgba(254, 120, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFFFFF;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(254, 120, 0, 0.2);
  flex-shrink: 0;
}

.test-avatar-badge-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #07121F;
  font-size: 0.85rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.test-avatar-badge-logo.ewan {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.5);
  font-size: 0.8rem;
}

.test-avatar-badge-logo.fire {
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  color: #FFFFFF;
  border-color: rgba(239, 68, 68, 0.6);
  font-size: 0.82rem;
}

.test-author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.test-author-role {
  font-size: 0.76rem;
  color: #94A3B8;
  line-height: 1.4;
}

/* Side Navigation Arrows (Right & Left) */
.test-nav-btn {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(11, 31, 54, 0.88);
  border: 1.5px solid rgba(254, 120, 0, 0.45);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(254, 120, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.test-nav-btn:hover {
  background: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 30px rgba(254, 120, 0, 0.6);
}

.test-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* In RTL: prev is on the right, next is on the left */
.test-nav-prev {
  right: -24px;
}

.test-nav-next {
  left: -24px;
}

.test-pagination {
  position: relative;
  margin-top: 30px;
}

@media (max-width: 1200px) {
  .company-testimonials-section {
    padding: 45px 24px 50px;
  }
  .test-nav-prev {
    right: 4px;
  }
  .test-nav-next {
    left: 4px;
  }
}

@media (max-width: 768px) {
  .company-testimonials-section {
    padding: 35px 16px 40px;
    border-radius: 20px;
    margin: 60px 0 70px;
  }
  .test-nav-btn {
    width: 42px;
    height: 42px;
  }
  .test-nav-prev {
    right: 2px;
  }
  .test-nav-next {
    left: 2px;
  }
  .testimonial-card-luxury {
    padding: 24px 18px;
    min-height: auto;
  }
  .test-quote-text {
    font-size: 0.88rem;
    line-height: 1.7;
  }
}

/* ==========================================================================
   7. Comparison Section: Enterprise Custom vs Generic Template
   ========================================================================== */
.company-comparison-wrap {
  margin: 60px 0 80px;
}

.comparison-table-card {
  background: var(--color-card-surface);
  border: 1px solid var(--color-border-glass);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.comparison-grid-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 18px 24px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-grid-row.header {
  background: rgba(7, 18, 31, 0.95);
  font-weight: 800;
  font-size: 0.95rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.12);
}

.col-header-custom {
  color: var(--color-brand-amber);
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-header-template {
  color: #94A3B8;
}

.comparison-feature-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.comparison-feature-sub {
  font-size: 0.74rem;
  color: #64748B;
}

.val-custom {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-brand-emerald);
  display: flex;
  align-items: center;
  gap: 8px;
}

.val-template {
  font-size: 0.82rem;
  color: #EF4444;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .comparison-grid-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(11, 31, 54, 0.45);
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .comparison-grid-row.header {
    display: none;
  }
  .val-custom::before {
    content: "المجال الرقمي: ";
    font-size: 0.78rem;
    color: var(--color-brand-amber);
    font-weight: 800;
  }
  .val-template::before {
    content: "القوالب الجاهزة: ";
    font-size: 0.78rem;
    color: #94A3B8;
    font-weight: 700;
  }
}

/* ==========================================================================
   8. Bottom Conversion Banner with Cheering Mascot
   ========================================================================== */
.company-cta-banner-stage {
  position: relative;
  background: linear-gradient(135deg, rgba(11, 31, 54, 0.92) 0%, rgba(7, 18, 31, 0.98) 100%);
  border: 1.5px solid rgba(254, 120, 0, 0.35);
  border-radius: 24px;
  padding: 44px 38px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(254, 120, 0, 0.15);
  overflow: hidden;
  margin: 60px 0 20px;
}

.company-cta-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 32px;
}

@media (max-width: 900px) {
  .company-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .company-cta-banner-stage {
    padding: 32px 20px;
    margin: 40px 0 20px;
    border-radius: 20px;
  }
  .company-cta-title {
    font-size: 1.6rem;
  }
  .company-cta-desc {
    font-size: 0.92rem;
    margin: 0 auto 20px auto;
  }
  .company-cta-inner .company-hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }
  .company-cta-inner .company-hero-actions a {
    width: 100% !important;
    text-align: center;
    justify-content: center;
  }
  .mascot-cheering-anchor img {
    max-width: 170px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .company-cta-banner-stage {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .company-cta-title {
    font-size: 1.35rem;
  }
  .company-cta-desc {
    font-size: 0.86rem;
  }
  .mascot-cheering-anchor img {
    max-width: 140px;
  }
}

.company-cta-title {
  font-family: var(--font-kufi);
  font-size: 2.1rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.35;
}

.company-cta-desc {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 580px;
}

.mascot-cheering-anchor {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mascot-cheering-anchor img {
  max-width: 210px;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(254, 120, 0, 0.3));
  animation: floatCheer 3s ease-in-out infinite;
}

@keyframes floatCheer {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Global Footer Containment Protection */
.site-footer,
.footer-wave-wrapper {
  overflow: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  contain: paint;
}

.footer-wave-svg {
  max-width: 100% !important;
}

/* ==========================================================================
   9. LTR (English Language) Optimization & Alignment
   ========================================================================== */
html[dir="ltr"] {
  --font-kufi: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html[dir="ltr"] body,
html[dir="ltr"] .company-page-wrapper {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html[dir="ltr"] .company-page-wrapper h1,
html[dir="ltr"] .company-page-wrapper h2,
html[dir="ltr"] .company-page-wrapper h3,
html[dir="ltr"] .company-page-wrapper .section-heading-lg,
html[dir="ltr"] .company-hero-title,
html[dir="ltr"] .company-cta-title,
html[dir="ltr"] .plan-name {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: -0.025em;
}

/* Hero Section in LTR */
html[dir="ltr"] .company-hero-content {
  text-align: left;
}

html[dir="ltr"] .company-pill {
  margin-left: 0;
  margin-right: auto;
}

html[dir="ltr"] .company-hero-title {
  text-align: left;
}

html[dir="ltr"] .company-hero-title .title-lead {
  text-align: left;
}

html[dir="ltr"] .kinetic-rotator {
  text-align: left;
}

html[dir="ltr"] .company-hero-desc {
  text-align: left;
}

html[dir="ltr"] .company-trust-badges-grid {
  justify-content: flex-start;
  text-align: left;
}

html[dir="ltr"] .company-trust-badge {
  text-align: left;
}

html[dir="ltr"] .company-hero-actions {
  justify-content: flex-start;
}

html[dir="ltr"] .company-guarantee-note {
  justify-content: flex-start;
}

/* Mockup Float Badges in LTR: Safe margins without obscuring slide headers */
html[dir="ltr"] .badge-top-left {
  top: -14px;
  left: 36px;
  animation: floatBadge1 5s ease-in-out infinite;
}

/* Bento Grid Cards in LTR */
html[dir="ltr"] .bento-card-luxury {
  text-align: left;
}

html[dir="ltr"] .bento-desc {
  text-align: left;
}

/* Comparison Table in LTR */
html[dir="ltr"] .comparison-feature-name,
html[dir="ltr"] .comparison-feature-sub {
  text-align: left;
}

@media (max-width: 768px) {
  html[dir="ltr"] .val-custom::before {
    content: "Elmgal Custom: ";
    font-size: 0.78rem;
    color: var(--color-brand-amber);
    font-weight: 800;
  }
  html[dir="ltr"] .val-template::before {
    content: "Generic Builder: ";
    font-size: 0.78rem;
    color: #94A3B8;
    font-weight: 700;
  }
}

/* Testimonials Slider in LTR */
html[dir="ltr"] .testimonial-card-luxury {
  text-align: left;
}

html[dir="ltr"] .test-quote-text {
  text-align: left;
}

html[dir="ltr"] .test-author-box {
  text-align: left;
}

/* Testimonials Navigation Arrows in LTR: Flip to natural left/right */
html[dir="ltr"] .test-nav-prev svg {
  transform: rotate(180deg);
}

html[dir="ltr"] .test-nav-next svg {
  transform: rotate(180deg);
}

/* Pricing Section in LTR */
html[dir="ltr"] .pricing-plan-card {
  text-align: left;
}

html[dir="ltr"] .plan-features-list {
  text-align: left;
}

html[dir="ltr"] .plan-features-list li {
  text-align: left;
  justify-content: flex-start;
}

/* FAQ Accordion in LTR */
html[dir="ltr"] .faq-question {
  text-align: left;
}

html[dir="ltr"] .faq-answer {
  text-align: left;
}

/* Bottom Conversion Banner in LTR */
html[dir="ltr"] .company-cta-title {
  text-align: left;
}

html[dir="ltr"] .company-cta-desc {
  text-align: left;
}

html[dir="ltr"] .company-cta-inner .company-hero-actions {
  justify-content: flex-start;
}


/* ==========================================================================
   10. Decorative Wavy Lines (خطوط مموجة) & Ambient Vector Backgrounds
   ========================================================================== */
.company-page-wrapper {
  position: relative;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='rgba(254,120,0,0.08)' stroke-width='2' d='M0,160 C320,300,420,20,740,160 C1060,300,1120,40,1440,160'/%3E%3Cpath fill='none' stroke='rgba(0,229,255,0.06)' stroke-width='1.5' d='M0,220 C360,80,520,280,880,140 C1180,20,1300,240,1440,120'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='rgba(254,120,0,0.06)' stroke-width='1.8' d='M0,96 C280,240,560,-20,840,120 C1120,260,1280,40,1440,140'/%3E%3Cpath fill='none' stroke='rgba(16,185,129,0.05)' stroke-width='1.4' d='M0,260 C400,120,640,310,1020,170 C1240,90,1360,210,1440,180'/%3E%3C/svg%3E");
  background-size: 100% 620px, 100% 780px;
  background-position: top 80px center, bottom 180px center;
  background-repeat: no-repeat;
}

.company-hero-section::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -5%;
  width: 110%;
  height: 440px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 400' fill='none'%3E%3Cpath d='M-100 260 C 250 80, 550 380, 900 180 C 1250 -20, 1450 290, 1700 140' stroke='rgba(254,120,0,0.13)' stroke-width='2' stroke-dasharray='8 8'/%3E%3Cpath d='M-100 320 C 300 180, 620 40, 980 240 C 1340 440, 1500 100, 1700 220' stroke='rgba(0,229,255,0.09)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.company-cta-banner-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='rgba(254,120,0,0.14)' stroke-width='2' d='M0,220 C250,80,450,280,750,130 C950,30,1080,210,1200,90'/%3E%3Cpath fill='none' stroke='rgba(0,229,255,0.09)' stroke-width='1.5' d='M0,120 C300,260,550,20,850,190 C1020,280,1120,80,1200,160'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

.company-cta-inner {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   11. Interactive Multi-Currency Pricing Switcher (SAR / EGP / USD)
   ========================================================================== */
.pricing-currency-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px auto 36px;
  padding: 6px;
  background: rgba(11, 31, 54, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  width: fit-content;
  max-width: 100%;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.currency-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: var(--font-kufi);
  font-size: 0.82rem;
  font-weight: 700;
  color: #94A3B8;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.currency-pill-btn:hover {
  color: #FFFFFF;
  background: rgba(254, 120, 0, 0.08);
}

.currency-pill-btn.active {
  background: linear-gradient(135deg, #FE7800 0%, #E66A00 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 16px rgba(254, 120, 0, 0.4);
}

.plan-price-num,
.plan-price-curr {
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

@media (max-width: 520px) {
  .pricing-currency-bar {
    border-radius: 16px;
    width: 100%;
    justify-content: center;
  }
  .currency-pill-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   12. Comprehensive Light Mode ([data-theme="light"]) High-Contrast System
   ========================================================================== */
[data-theme="light"] {
  --color-bg-deep: #F8FAFC;
  --color-card-surface: rgba(255, 255, 255, 0.95);
  --color-border-glass: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .company-page-wrapper {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='rgba(254,120,0,0.12)' stroke-width='2' d='M0,160 C320,300,420,20,740,160 C1060,300,1120,40,1440,160'/%3E%3Cpath fill='none' stroke='rgba(2,132,199,0.09)' stroke-width='1.5' d='M0,220 C360,80,520,280,880,140 C1180,20,1300,240,1440,120'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='rgba(254,120,0,0.09)' stroke-width='1.8' d='M0,96 C280,240,560,-20,840,120 C1120,260,1280,40,1440,140'/%3E%3Cpath fill='none' stroke='rgba(5,150,105,0.08)' stroke-width='1.4' d='M0,260 C400,120,640,310,1020,170 C1240,90,1360,210,1440,180'/%3E%3C/svg%3E");
}

/* Light Mode: Hero Typography & Badges */
[data-theme="light"] .company-pill {
  background: rgba(254, 120, 0, 0.1);
  border-color: rgba(254, 120, 0, 0.35);
  color: #C2410C;
  box-shadow: 0 4px 16px rgba(254, 120, 0, 0.1);
}

[data-theme="light"] .company-hero-title {
  color: #0F172A;
}

[data-theme="light"] .company-hero-title .title-lead {
  color: #334155;
}

[data-theme="light"] .kinetic-text-display {
  color: #EA580C;
  text-shadow: 0 2px 14px rgba(254, 120, 0, 0.16);
}

[data-theme="light"] .company-hero-lead {
  color: #475569;
}

[data-theme="light"] .company-trust-badge {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  color: #1E293B;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .company-trust-badge:hover {
  border-color: rgba(254, 120, 0, 0.45);
  background: #FFF7ED;
  color: #0F172A;
}

[data-theme="light"] .company-sub-guarantee {
  color: #475569;
}

[data-theme="light"] .company-sub-guarantee span {
  color: #059669;
}

/* Light Mode: 3D Browser Showcase Stage & Mockup Slides */
[data-theme="light"] .stage-ambient-aura {
  background: radial-gradient(circle, rgba(254, 120, 0, 0.14) 0%, rgba(14, 165, 233, 0.1) 50%, transparent 75%);
}

[data-theme="light"] .mockup-3d-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.14), 0 0 35px rgba(254, 120, 0, 0.1);
}

[data-theme="light"] .mockup-3d-card:hover {
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.18), 0 0 45px rgba(254, 120, 0, 0.18);
  border-color: rgba(254, 120, 0, 0.4);
}

[data-theme="light"] .browser-chrome {
  background: #F1F5F9;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .browser-url-bar {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
}

[data-theme="light"] .browser-host-badge {
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .browser-slider-container,
[data-theme="light"] .swiper-slide-screen {
  background: linear-gradient(145deg, #F8FAFC 0%, #EFF6FF 100%);
}

[data-theme="light"] .mock-corp-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .mock-corp-name {
  color: #0F172A;
}

[data-theme="light"] .mock-corp-nav {
  color: #475569;
}

[data-theme="light"] .mock-pill-sm {
  color: #0369A1 !important;
  background: rgba(14, 165, 233, 0.12) !important;
  border-color: rgba(14, 165, 233, 0.28) !important;
}

[data-theme="light"] .mock-hero-title {
  color: #0F172A;
}

[data-theme="light"] .mock-hero-desc {
  color: #475569;
}

[data-theme="light"] .mock-metric-box {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .mock-metric-lbl {
  color: #475569;
}

[data-theme="light"] .slider-bottom-bar {
  background: #F1F5F9;
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .swiper-pagination-bullet,
[data-theme="light"] .corp-dot {
  background: rgba(15, 23, 42, 0.22) !important;
}

[data-theme="light"] .swiper-pagination-bullet-active,
[data-theme="light"] .corp-dot.active {
  background: var(--color-brand-orange) !important;
}

[data-theme="light"] .slider-arrow-btn {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.14);
  color: #0F172A;
}

[data-theme="light"] .slider-arrow-btn:hover {
  background: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
  color: #FFFFFF;
}

[data-theme="light"] .mockup-float-badge {
  background: rgba(255, 255, 255, 0.96);
  color: #0F172A;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14), 0 0 18px rgba(254, 120, 0, 0.12);
}

[data-theme="light"] .mascot-dev-stage {
  filter: drop-shadow(0 16px 26px rgba(15, 23, 42, 0.24));
}

[data-theme="light"] .mascot-cloud-floating {
  filter: drop-shadow(0 12px 20px rgba(15, 23, 42, 0.2)) drop-shadow(0 4px 12px rgba(254, 120, 0, 0.18));
}

/* Light Mode: Marquee Ticker */
[data-theme="light"] .marquee-ticker-section {
  border-top-color: rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .marquee-ticker-section::before {
  background: linear-gradient(90deg, #F8FAFC, transparent);
}

[data-theme="light"] .marquee-ticker-section::after {
  background: linear-gradient(270deg, #F8FAFC, transparent);
}

[data-theme="light"] .marquee-item {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .marquee-item:hover {
  color: #EA580C;
  border-color: rgba(254, 120, 0, 0.35);
  background: #FFF7ED;
}

/* Light Mode: Metrics Strip */
[data-theme="light"] .company-metric-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .company-metric-card:hover {
  border-color: rgba(254, 120, 0, 0.4);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 0 24px rgba(254, 120, 0, 0.1);
}

[data-theme="light"] .comp-metric-title {
  color: #0F172A;
}

[data-theme="light"] .comp-metric-sub {
  color: #475569;
}

/* Light Mode: Interactive Bento Grid & Inner Widgets */
[data-theme="light"] .bento-card-interactive {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .bento-card-interactive:hover {
  border-color: rgba(254, 120, 0, 0.4);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11), 0 0 28px rgba(254, 120, 0, 0.09);
}

[data-theme="light"] .bento-tag-badge {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

[data-theme="light"] .bento-title {
  color: #0F172A;
}

[data-theme="light"] .bento-desc {
  color: #475569;
}

[data-theme="light"] .bento-interactive-box {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.09);
}

[data-theme="light"] .pdf-info-title {
  color: #0F172A;
}

[data-theme="light"] .pdf-info-meta {
  color: #475569;
}

[data-theme="light"] .lang-toggle-btn-group {
  background: #E2E8F0;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .lang-switch-tab {
  color: #475569;
}

[data-theme="light"] .lang-switch-tab.active {
  color: #FFFFFF;
}

[data-theme="light"] .lang-preview-sample {
  color: #0F172A;
}

[data-theme="light"] .email-address-pill {
  color: #0F172A;
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .email-shield-verified {
  color: #059669;
}

[data-theme="light"] .google-url-row {
  color: #475569;
}

[data-theme="light"] .google-snippet-title {
  color: #0284C7;
}

[data-theme="light"] .google-snippet-desc {
  color: #475569;
}

/* Light Mode: Comparison Table */
[data-theme="light"] .comparison-table-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .comparison-grid-row {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .comparison-grid-row.header {
  background: #F1F5F9;
  color: #0F172A;
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .col-header-custom {
  color: #C2410C;
}

[data-theme="light"] .col-header-template {
  color: #475569;
}

[data-theme="light"] .comparison-feature-name {
  color: #0F172A;
}

[data-theme="light"] .comparison-feature-sub {
  color: #475569;
}

[data-theme="light"] .val-custom {
  color: #059669;
}

[data-theme="light"] .val-template {
  color: #DC2626;
}

@media (max-width: 768px) {
  [data-theme="light"] .comparison-grid-row {
    background: #FFFFFF;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  }
  [data-theme="light"] .val-custom::before {
    color: #C2410C;
  }
  [data-theme="light"] .val-template::before {
    color: #475569;
  }
}

/* Light Mode: Testimonials Section */
[data-theme="light"] .company-testimonials-section {
  background: radial-gradient(circle at 50% 25%, #FFFFFF 0%, #F1F5F9 100%);
  border-color: rgba(254, 120, 0, 0.28);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08), 0 0 40px rgba(254, 120, 0, 0.06);
}

[data-theme="light"] .testimonials-ambient-bg {
  opacity: 0.06;
  mix-blend-mode: multiply;
}

[data-theme="light"] .testimonials-gradient-overlay {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.35) 0%, rgba(241, 245, 249, 0.9) 85%);
}

[data-theme="light"] .testimonial-card-luxury {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .testimonial-card-luxury:hover {
  background: #FFFFFF;
  border-color: rgba(254, 120, 0, 0.45);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12), 0 0 25px rgba(254, 120, 0, 0.1);
}

[data-theme="light"] .test-stars-row {
  color: #D97706;
  text-shadow: none;
}

[data-theme="light"] .test-quote-text {
  color: #1E293B;
}

[data-theme="light"] .test-author-box {
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .test-avatar-initials {
  color: #C2410C;
  background: linear-gradient(135deg, rgba(254, 120, 0, 0.16) 0%, rgba(14, 165, 233, 0.14) 100%);
}

[data-theme="light"] .test-author-name {
  color: #0F172A;
}

[data-theme="light"] .test-author-role {
  color: #475569;
}

[data-theme="light"] .test-nav-btn {
  background: #FFFFFF;
  border-color: rgba(254, 120, 0, 0.4);
  color: #0F172A;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .test-nav-btn:hover {
  background: var(--color-brand-orange);
  color: #FFFFFF;
}

/* Light Mode: Pricing & Currency Switcher */
[data-theme="light"] .pricing-currency-bar {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .currency-pill-btn {
  color: #475569;
}

[data-theme="light"] .currency-pill-btn:hover {
  color: #0F172A;
  background: rgba(254, 120, 0, 0.08);
}

[data-theme="light"] .pricing-plan-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .pricing-plan-card.featured {
  background: linear-gradient(180deg, #FFF7ED 0%, #FFFFFF 100%);
  border-color: rgba(254, 120, 0, 0.65);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.11), 0 0 30px rgba(254, 120, 0, 0.12);
}

[data-theme="light"] .plan-desc,
[data-theme="light"] .plan-price-period {
  color: #475569;
}

[data-theme="light"] .plan-features-list li {
  color: #334155;
}

/* Light Mode: FAQ Accordion */
[data-theme="light"] .faq-item {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .faq-answer {
  color: #334155;
  border-top-color: rgba(15, 23, 42, 0.08);
}

/* Light Mode: Bottom Conversion Banner */
[data-theme="light"] .company-cta-banner-stage {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF7ED 55%, #EFF6FF 100%);
  border-color: rgba(254, 120, 0, 0.4);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1), 0 0 35px rgba(254, 120, 0, 0.1);
}

[data-theme="light"] .company-cta-title {
  color: #0F172A;
}

[data-theme="light"] .company-cta-desc {
  color: #334155;
}

[data-theme="light"] .mascot-cheering-anchor img {
  filter: drop-shadow(0 16px 26px rgba(15, 23, 42, 0.2)) drop-shadow(0 0 18px rgba(254, 120, 0, 0.2));
}

/* ==========================================================================
   13. Cross-Browser & Ultra-Small Screen Safeguards (320px - 420px)
   ========================================================================== */
.company-pill,
.company-trust-badge,
.mockup-3d-card,
.company-metric-card,
.bento-card-interactive,
.testimonial-card-luxury,
.comparison-table-card,
.pricing-plan-card,
.faq-item {
  -webkit-backdrop-filter: blur(16px);
}

@media (max-width: 600px) {
  .swiper-slide-screen {
    padding: 18px 16px 22px 16px;
    min-height: 290px;
  }
  .browser-slider-container,
  .corp-slider-deck {
    min-height: 290px;
  }
  .mock-corp-nav {
    display: none;
  }
  .mock-hero-title {
    font-size: 1.05rem;
  }
  .mock-metrics-row {
    flex-direction: row;
    gap: 8px;
  }
  .mock-metric-val {
    font-size: 0.96rem;
  }
  .email-mockup-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .browser-chrome {
    padding: 10px 12px;
  }
  .browser-host-badge {
    display: none;
  }
  .company-hero-title {
    font-size: 1.4rem;
  }
  .kinetic-text-display {
    font-size: 1.12rem;
  }
  .comp-metric-num {
    font-size: 1.85rem;
  }
  .section-heading-lg {
    font-size: 1.55rem;
  }
}
