*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
}

/* ==========================================================================
   OnCloud 2027 - Apple Pro Display / MacBook Pro Aesthetic System
   Inspired by Apple's iconic dark luxury design:
   - Deepest pure blacks (#000000, #0A0A0C, #121215)
   - Massive, razor-sharp typography with titanium & gold gradients
   - Bento-grid modular architecture with precision rounded corners
   - Ambient dynamic lighting & frosted glassmorphism
   - Apple-style pill navigation, metric ribbons, and micro-interactions
   ========================================================================== */

:root {
  --apple-bg: #000000;
  --apple-bg-secondary: #0A0A0C;
  --apple-surface: #121215;
  --apple-surface-hover: #18181D;
  --apple-surface-glass: rgba(22, 22, 26, 0.72);
  --apple-border: rgba(255, 255, 255, 0.08);
  --apple-border-hover: rgba(255, 255, 255, 0.22);
  --apple-border-gold: rgba(219, 172, 41, 0.45);
  
  --apple-text-primary: #F5F5F7;
  --apple-text-secondary: #B0B0B5;
  --apple-text-muted: #A1A1A6;
  
  --apple-gold: #DBAC29;
  --apple-gold-light: #FFE27D;
  --apple-accent-gold: #DBAC29;
  --apple-blue: #2997FF;
  --apple-purple: #BF5AF2;

  --bs-secondary-color: #B0B0B5;
  --bs-secondary-rgb: 176, 176, 181;
  
  --apple-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --apple-radius-sm: 12px;
  --apple-radius-md: 20px;
  --apple-radius-lg: 28px;
  --apple-radius-xl: 36px;
  --apple-radius-pill: 980px;
  
  --apple-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --apple-glow-gold: 0 0 50px rgba(219, 172, 41, 0.25);
  --apple-glow-blue: 0 0 50px rgba(41, 151, 255, 0.25);

  /* Bootstrap 5 Theme overrides to enforce dark luxury everywhere */
  --bs-body-bg: #000000;
  --bs-body-color: #F5F5F7;
  --bs-body-bg-rgb: 0, 0, 0;
  --bs-secondary-color: #A1A1A6;
  --bs-secondary-rgb: 161, 161, 166;
}

/* Base overrides for Apple dark luxury */
html,
body,
body.body-bg,
body.apple-dark {
  background-color: var(--apple-bg) !important;
  color: var(--apple-text-primary) !important;
  font-family: var(--apple-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

/* Guard: Ensure native buttons inherit text color and never render black text on dark backgrounds */
button {
  color: inherit;
  font-family: inherit;
}

/* Crisp Apple Retina overrides for secondary & muted text against dark surfaces */
.text-secondary {
  color: var(--apple-text-secondary) !important;
}

.text-muted {
  color: var(--apple-text-muted) !important;
}

/* Custom Apple Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: #27272A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3F3F46;
}

/* Instant Render - Disable Janky Blocking Preloader */
#preloader,
.preloader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Ensure WOW animated elements never get stuck hidden */
.wow {
  visibility: visible !important;
}

/* Typography Utilities */
.apple-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--apple-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.apple-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apple-text-primary);
  margin-bottom: 24px;
}

.apple-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30D158;
  box-shadow: 0 0 10px #30D158;
}

@media (min-width: 992px) {
  .apple-badge-dot {
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.7);
  }
}

@media (max-width: 991px) {
  #neural-hero-canvas {
    display: none !important;
  }
}

.apple-badge-dot.gold {
  background: var(--apple-gold);
  box-shadow: 0 0 10px var(--apple-gold);
}

@keyframes applePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.apple-gradient-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apple-gradient-gold {
  background: linear-gradient(135deg, #FFF3BF 0%, #DBAC29 60%, #9E7700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apple-gradient-blue {
  background: linear-gradient(135deg, #BAE6FD 0%, #2997FF 60%, #1E40AF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Apple Buttons */
.apple-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--apple-radius-pill);
  background: linear-gradient(180deg, #F3C44A 0%, #DBAC29 100%);
  color: #000000 !important;
  font-weight: 600;
  font-size: 16px;
  border: none;
  box-shadow: 0 4px 24px rgba(219, 172, 41, 0.35);
  transition: var(--apple-transition);
  text-decoration: none;
  cursor: pointer;
}
.apple-btn-primary:hover {
  transform: scale(1.025);
  box-shadow: 0 8px 32px rgba(219, 172, 41, 0.55);
  color: #000000 !important;
}

.apple-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--apple-text-primary) !important;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--apple-transition);
  text-decoration: none;
}
.apple-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.025);
  color: #FFFFFF !important;
}

/* Apple Header Navigation - Locked Heights for Absolute 0.000 CLS */
.header-1 {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-bottom: 1px solid var(--apple-border) !important;
  position: sticky !important;
  top: 0;
  z-index: 999;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
}
@media (min-width: 992px) {
  .header-1 {
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
  }
}
.header-1 .container-fluid,
.header-1 .mega-menu-wrapper,
.header-1 .header-main {
  height: 100% !important;
}
.header-1 .header-left {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}
.header-1.sticky {
  background: rgba(0, 0, 0, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.main-menu ul li a {
  color: #CECECE !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  padding: 24px 18px !important;
  transition: var(--apple-transition);
}
.main-menu ul li a:hover,
.main-menu ul li a.active {
  color: #FFFFFF !important;
}

@media (max-width: 1199px) {
  .header-main .main-menu {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .header-main .main-menu {
    display: block !important;
  }
}

.header-right i,
.header-left i,
.sidebar__toggle i,
.apple-hero-actions i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  text-align: center;
  line-height: 1;
}

/* ==========================================================================
   Hero Section - Apple Pro Cinematic Showcase
   ========================================================================== */
.apple-hero-section {
  position: relative;
  padding: 100px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(219, 172, 41, 0.15), transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 30%, rgba(41, 151, 255, 0.08), transparent 60%),
              #000000;
  overflow: hidden;
}

.apple-hero-section::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 450px;
  background: radial-gradient(circle, rgba(219, 172, 41, 0.12) 0%, rgba(81, 77, 224, 0.06) 50%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
}

.apple-hero-glow {
  display: none !important;
}

.apple-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.apple-hero-title {
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.apple-hero-desc {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  color: var(--apple-text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.apple-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

@media (max-width: 767px) {
  .apple-badge {
    font-size: 0.72rem !important;
    letter-spacing: 0.04em !important;
    padding: 6px 14px !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
    margin-bottom: 18px !important;
  }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
  }
  .apple-hero-title {
    font-size: clamp(1.85rem, 7.8vw, 2.5rem) !important;
    line-height: 1.15 !important;
    word-break: break-word !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 18px !important;
  }
  .apple-hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-bottom: 26px !important;
  }
  .apple-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    margin-bottom: 35px !important;
  }
  .apple-hero-actions .apple-btn-primary,
  .apple-hero-actions .apple-btn-glass {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
  }
  .header-1 .container-fluid {
    padding: 0 16px !important;
  }
  .header-main {
    padding: 10px 0 !important;
  }
  .header-logo img {
    max-width: 120px !important;
    height: auto !important;
  }
  .apple-lang-btn {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
  }
}

/* Floating Showcase Card */
.apple-showcase-window {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 20px auto 0;
  border-radius: var(--apple-radius-xl);
  background: linear-gradient(180deg, rgba(30, 30, 36, 0.7) 0%, rgba(12, 12, 15, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 0 50px rgba(219, 172, 41, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 32px;
  overflow: hidden;
}

.apple-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.apple-window-dots {
  display: flex;
  gap: 8px;
}
.apple-window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.apple-window-dots span:nth-child(1) { background: #FF5F56; }
.apple-window-dots span:nth-child(2) { background: #FFBD2E; }
.apple-window-dots span:nth-child(3) { background: #27C93F; }

.apple-window-tag {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apple-text-muted);
  font-weight: 600;
}

/* Spec Ribbon / Big Metric Counter */
.apple-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--apple-border);
}
@media (max-width: 991px) {
  .apple-metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .apple-metric-grid {
    grid-template-columns: 1fr;
  }
}

.apple-metric-item {
  text-align: center;
  padding: 20px;
}

.apple-metric-number {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}

.apple-metric-label {
  font-size: 1.05rem;
  color: var(--apple-text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Bento Grid Section (Apple Pro Features Grid)
   ========================================================================== */
.apple-bento-section {
  padding: 120px 0;
  background-color: var(--apple-bg);
  position: relative;
}

.apple-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
}

.apple-section-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.apple-section-subtitle {
  font-size: 1.25rem;
  color: var(--apple-text-secondary);
  line-height: 1.5;
}

.apple-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.apple-bento-card {
  position: relative;
  border-radius: var(--apple-radius-lg);
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  padding: 44px;
  overflow: hidden;
  transition: var(--apple-transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  box-sizing: border-box;
}
.apple-bento-card:hover {
  border-color: var(--apple-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.03);
}

.apple-bento-card.bento-span-8,
.apple-bento-card.col-8 {
  grid-column: span 8;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}
.apple-bento-card.bento-span-4,
.apple-bento-card.col-4 {
  grid-column: span 4;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}
.apple-bento-card.bento-span-6,
.apple-bento-card.col-6 {
  grid-column: span 6;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}
.apple-bento-card.bento-span-12,
.apple-bento-card.col-12 {
  grid-column: span 12;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}

@media (max-width: 991px) {
  .apple-bento-card.bento-span-8,
  .apple-bento-card.bento-span-4,
  .apple-bento-card.bento-span-6,
  .apple-bento-card.col-8,
  .apple-bento-card.col-4,
  .apple-bento-card.col-6 {
    grid-column: span 12;
    width: 100% !important;
  }
}

.apple-bento-card .card-glow {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.6;
}
.apple-bento-card.card-gold .card-glow {
  background: radial-gradient(circle, rgba(219, 172, 41, 0.25), transparent 70%);
}
.apple-bento-card.card-blue .card-glow {
  background: radial-gradient(circle, rgba(41, 151, 255, 0.25), transparent 70%);
}
.apple-bento-card.card-purple .card-glow {
  background: radial-gradient(circle, rgba(191, 90, 242, 0.25), transparent 70%);
}

.apple-bento-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apple-gold);
  background: rgba(219, 172, 41, 0.12);
  border: 1px solid rgba(219, 172, 41, 0.25);
  border-radius: var(--apple-radius-pill);
  padding: 4px 14px;
  display: inline-block;
  margin-bottom: 20px;
}

.apple-bento-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.apple-bento-desc {
  font-size: 1.05rem;
  color: var(--apple-text-secondary);
  line-height: 1.55;
  margin-bottom: 28px;
}

.apple-bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.apple-bento-tag {
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--apple-radius-pill);
  color: #A1A1A6;
}

.apple-bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--apple-gold) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--apple-transition);
}
.apple-bento-link i {
  transition: transform 0.3s ease;
}
.apple-bento-link:hover i {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   Apple Interactive Showcase & Tabs
   ========================================================================== */
.apple-tab-controls {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
  max-width: 100%;
  gap: 6px;
}

.apple-tab-btn {
  padding: 9px 22px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--apple-text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 1.2;
  transition: var(--apple-transition);
}
.apple-tab-btn.active {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .apple-tab-controls {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 6px 8px !important;
    gap: 8px !important;
    border-radius: 999px !important;
    margin-bottom: 24px !important;
    justify-content: flex-start !important;
  }
  .apple-tab-controls::-webkit-scrollbar {
    display: none !important;
  }
  .apple-tab-btn {
    flex: 0 0 auto !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
}

/* ==========================================================================
   Apple Accordion (Clean Minimalist FAQ)
   ========================================================================== */
.apple-accordion-item {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-md) !important;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--apple-transition);
}
.apple-accordion-item:hover {
  border-color: var(--apple-border-hover);
}
.apple-accordion-button {
  background: transparent !important;
  color: #FFFFFF !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  padding: 24px 28px !important;
  box-shadow: none !important;
}
.apple-accordion-button:not(.collapsed) {
  color: var(--apple-gold) !important;
}
.apple-accordion-body {
  padding: 0 28px 24px !important;
  color: var(--apple-text-secondary) !important;
  font-size: 1.02rem;
  line-height: 1.6;
}
[dir="rtl"] .apple-accordion-button {
  text-align: right !important;
}
[dir="rtl"] .apple-accordion-button::after {
  margin-right: auto !important;
  margin-left: 0 !important;
}

/* Sleek Apple WhatsApp Floating Pill & Non-Colliding Back-to-Top */
.apple-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #000000;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}
.apple-whatsapp-float:hover {
  background: #20bd5a;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
.apple-whatsapp-float i {
  font-size: 1.2rem;
  color: #000000;
}
[dir="rtl"] .apple-whatsapp-float {
  right: auto;
  left: 24px;
}

.back-to-top {
  position: fixed !important;
  right: 24px !important;
  bottom: 78px !important;
  z-index: 9998 !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  border-radius: 12px !important;
  background: rgba(22, 22, 28, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--apple-gold) !important;
  font-size: 16px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}
[dir="rtl"] .back-to-top {
  right: auto !important;
  left: 24px !important;
}

@media (max-width: 991px), (pointer: coarse) {
  /* On mobile touch devices: hide back-to-top to avoid screen clutter, keep only sleek WhatsApp pill */
  #back-top,
  .back-to-top {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .apple-whatsapp-float span {
    display: none !important;
  }
  .apple-whatsapp-float {
    padding: 0 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    right: 18px !important;
    justify-content: center !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(37, 211, 102, 0.4) !important;
  }
  .apple-whatsapp-float i {
    font-size: 1.45rem !important;
    margin: 0 !important;
  }
  [dir="rtl"] .apple-whatsapp-float {
    right: auto !important;
    left: 18px !important;
  }
}

/* Disable desktop virtual mouse cursor on touch & mobile screens */
@media (pointer: coarse), (max-width: 991px) {
  .mouse-cursor,
  .cursor-inner,
  .cursor-outer,
  #ss-cockpit-cursor {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* ==========================================================================
   Apple Grand Finale Callout
   ========================================================================== */
.apple-cta-section {
  padding: 140px 0;
  background: radial-gradient(circle at 50% 50%, rgba(219, 172, 41, 0.12), transparent 70%), #000000;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--apple-border);
}

.apple-cta-title {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 24px;
}

/* Apple Footer Directory & Clean Minimal Layout */
.footer-section.footer-bg {
  background: #000000 !important;
  border-top: 1px solid var(--apple-border) !important;
  padding: 70px 0 35px !important;
  position: relative;
  overflow: hidden;
}
.footer-bottom {
  border-top: none !important;
  padding: 0 !important;
}
.footer-bottom-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p {
  color: var(--apple-text-muted) !important;
  font-size: 0.85rem;
}
.apple-footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--apple-text-muted);
  margin-bottom: 20px;
}
.apple-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.apple-footer-links li {
  margin-bottom: 11px;
}
.apple-footer-links a {
  color: #a1a1a6;
  font-size: 0.88rem;
  font-weight: 400;
  transition: var(--apple-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.apple-footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}
[dir="rtl"] .apple-footer-links a:hover {
  transform: translateX(-3px);
}
.apple-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--apple-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: #B0B0B5;
  margin-top: 12px;
}
.apple-footer-badge .status-dot {
  width: 7px;
  height: 7px;
  background: #30d158;
  border-radius: 50%;
  box-shadow: 0 0 8px #30d158;
}
.apple-footer-divider {
  border-top: 1px solid var(--apple-border);
  margin: 45px 0 25px;
}
.footer-bottom .social-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom .social-icon a {
  width: 38px !important;
  height: 38px !important;
  line-height: 38px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #a1a1a6 !important;
  border-radius: 50% !important;
  transition: var(--apple-transition) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.9rem !important;
}
.footer-bottom .social-icon a:hover {
  background: rgba(245, 166, 35, 0.15) !important;
  border-color: var(--apple-gold) !important;
  color: var(--apple-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.25);
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: #A1A1A6;
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--apple-transition);
}
.footer-legal-links a:hover {
  color: #a1a1a6;
}

/* Apple Client Brands Styling */
.project-section {
  background-color: var(--apple-bg) !important;
  border-top: 1px solid var(--apple-border);
  padding: 100px 0 !important;
}
.project-section .color-bg {
  display: none !important;
}
.brand-image img {
  filter: grayscale(100%) brightness(140%) contrast(110%);
  opacity: 0.55;
  transition: var(--apple-transition);
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
}
.brand-image:hover img {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
  transform: scale(1.08);
}

/* Offcanvas / Mobile Drawer in Apple Luxury Dark */
.offcanvas__info {
  visibility: hidden;
  pointer-events: none;
  max-width: 100vw !important;
  background: rgba(10, 10, 12, 0.96) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-left: 1px solid var(--apple-border);
}
.offcanvas__contact h4 {
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.offcanvas__contact-text a, 
.offcanvas__contact-text span {
  color: var(--apple-text-secondary) !important;
}
.offcanvas__contact-text a:hover {
  color: var(--apple-gold) !important;
}
.social-icon a {
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #A1A1A6 !important;
  transition: var(--apple-transition);
}
.social-icon a:hover {
  border-color: var(--apple-gold) !important;
  color: var(--apple-gold) !important;
  transform: translateY(-3px);
}

/* ==========================================================================
   Apple Pro Inner Page Showcase (About, Services, Portfolio, Contact)
   ========================================================================== */
.apple-inner-hero {
  position: relative;
  padding: 110px 0 80px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(219, 172, 41, 0.14), transparent 70%),
              radial-gradient(ellipse 50% 35% at 85% 20%, rgba(41, 151, 255, 0.08), transparent 60%),
              #000000;
  text-align: center;
  border-bottom: 1px solid var(--apple-border);
  overflow: hidden;
}

.apple-inner-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.apple-inner-hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--apple-text-secondary);
  max-width: 740px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.apple-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--apple-text-muted);
}
.apple-breadcrumb a {
  color: var(--apple-text-secondary);
  text-decoration: none;
  transition: var(--apple-transition);
}
.apple-breadcrumb a:hover {
  color: var(--apple-gold);
}
.apple-breadcrumb span {
  color: var(--apple-gold);
}

/* Apple Feature & Capability Cards */
.apple-feature-card {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-md);
  padding: 36px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--apple-transition);
  position: relative;
  overflow: hidden;
}
.apple-feature-card:hover {
  border-color: var(--apple-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(219, 172, 41, 0.08);
}
.apple-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--apple-gold);
  margin-bottom: 24px;
  transition: var(--apple-transition);
}
.apple-feature-card:hover .apple-feature-icon {
  background: rgba(219, 172, 41, 0.15);
  border-color: rgba(219, 172, 41, 0.35);
  transform: scale(1.08);
}

/* Apple Engineering Workflow (Process) */
.apple-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .apple-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .apple-process-grid {
    grid-template-columns: 1fr;
  }
}
.apple-process-step {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-md);
  padding: 32px 26px;
  position: relative;
  transition: var(--apple-transition);
}
.apple-process-step:hover {
  border-color: var(--apple-border-hover);
  transform: translateY(-3px);
}
.apple-process-num {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--apple-gold);
  background: rgba(219, 172, 41, 0.12);
  border: 1px solid rgba(219, 172, 41, 0.25);
  border-radius: var(--apple-radius-pill);
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 18px;
}
.apple-process-step h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.apple-process-step p {
  color: var(--apple-text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Apple Portfolio & Case Study Cards */
.apple-portfolio-card {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-lg);
  overflow: hidden;
  transition: var(--apple-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.apple-portfolio-card:hover {
  border-color: var(--apple-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
}
.apple-portfolio-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0A0A0C;
}
.apple-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.apple-portfolio-card:hover .apple-portfolio-thumb img {
  transform: scale(1.05);
}
.apple-portfolio-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
.apple-portfolio-category {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apple-gold);
  margin-bottom: 10px;
}
.apple-portfolio-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.apple-portfolio-desc {
  font-size: 0.92rem;
  color: var(--apple-text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}
.apple-portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  margin-top: auto;
}

/* Apple Luxury Form Controls */
.apple-form-group {
  margin-bottom: 22px;
}
.apple-input,
.apple-textarea,
.form-clt input,
.form-clt textarea {
  width: 100%;
  background: rgba(22, 22, 26, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--apple-radius-sm) !important;
  color: #FFFFFF !important;
  padding: 16px 20px 16px 52px !important;
  font-size: 15px !important;
  transition: var(--apple-transition) !important;
}
.apple-input:focus,
.apple-textarea:focus,
.form-clt input:focus,
.form-clt textarea:focus {
  border-color: var(--apple-gold) !important;
  box-shadow: 0 0 0 3px rgba(219, 172, 41, 0.2) !important;
  outline: none !important;
}
.apple-input::placeholder,
.apple-textarea::placeholder,
.form-clt input::placeholder,
.form-clt textarea::placeholder {
  color: var(--apple-text-muted) !important;
}

/* Apple Contact Info Boxes */
.apple-contact-card {
  background: var(--apple-surface);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-md);
  padding: 32px 24px;
  height: 100%;
  transition: var(--apple-transition);
}
.apple-contact-card:hover {
  border-color: var(--apple-border-hover);
  transform: translateY(-3px);
}
.apple-contact-card h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.apple-contact-card p,
.apple-contact-card a {
  color: var(--apple-text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  text-decoration: none;
  transition: var(--apple-transition);
}
.apple-contact-card a:hover {
  color: var(--apple-gold);
}



/* ==========================================================================
   Apple Pro 2027 Interactive Motion Suite & Hardware-Level Showcase
   ========================================================================== */

/* 1. Hero Neural Canvas */
.apple-hero-section {
  position: relative;
  overflow: hidden;
}
#neural-hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

/* 2. Apple Spotlight Shimmer Effect */
.apple-spotlight,
.apple-bento-card,
.apple-metric-item {
  position: relative;
  background-image: radial-gradient(
    circle 380px at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(245, 166, 35, 0.08),
    transparent 75%
  );
}

/* 3. Live Interactive AI Command Terminal */
.apple-terminal-wrapper {
  background: rgba(10, 10, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--apple-radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-top: 24px;
}
.apple-terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(22, 22, 26, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.apple-terminal-telemetry {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--apple-font-mono);
  font-size: 0.75rem;
  color: var(--apple-text-secondary);
}
.telemetry-bar-wrap {
  width: 70px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.telemetry-bar {
  width: 20%;
  height: 100%;
  background: var(--apple-gold);
  transition: width 0.3s ease;
}
.apple-terminal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(15, 15, 18, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.terminal-action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E5E5EA;
  font-family: var(--apple-font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 980px;
  cursor: pointer;
  transition: var(--apple-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.terminal-action-btn:hover:not(:disabled) {
  background: rgba(245, 166, 35, 0.15);
  border-color: var(--apple-gold);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.25);
}
.terminal-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.apple-terminal-body {
  padding: 18px;
  min-height: 180px;
  max-height: 230px;
  overflow-y: auto;
  font-family: var(--apple-font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  background: #060608;
  color: #D1D1D6;
}
.terminal-line {
  margin-bottom: 6px;
  word-break: break-all;
}
.terminal-prompt {
  color: var(--apple-gold);
  font-weight: 700;
  margin-right: 6px;
}
.line-cmd {
  color: #FFFFFF;
  font-weight: 600;
}
.line-info {
  color: #2997FF;
}
.line-success {
  color: #30D158;
}
.line-badge {
  display: inline-block;
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.3);
  color: #30D158;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  margin-top: 4px;
}

/* 4. Apple Pro 3D Architecture Exploded Stack */
.apple-arch-section {
  padding: 140px 0;
  background: #020204;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.apple-arch-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.06), rgba(41, 151, 255, 0.04), transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}
.apple-arch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.apple-arch-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--apple-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 980px;
  cursor: pointer;
  transition: var(--apple-transition);
}
.apple-arch-tab:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}
.apple-arch-tab.active {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}
.apple-arch-stage {
  perspective: 1200px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: rotateX(var(--stage-tilt-x, 0deg)) rotateY(var(--stage-tilt-y, 0deg));
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.apple-arch-stack {
  width: 440px;
  height: 280px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(-30deg) translateY(-20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-arch-stage.is-collapsed .apple-arch-stack {
  transform: rotateX(45deg) rotateZ(-20deg) translateY(0);
}
.apple-arch-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  user-select: none;
}
/* Layer Z spacing in Exploded Mode */
.apple-arch-layer[data-layer="0"] {
  transform: translateZ(190px);
  background: rgba(41, 151, 255, 0.12);
  border: 1px solid rgba(41, 151, 255, 0.35);
}
.apple-arch-layer[data-layer="1"] {
  transform: translateZ(110px);
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.4);
}
.apple-arch-layer[data-layer="2"] {
  transform: translateZ(30px);
  background: rgba(191, 90, 242, 0.12);
  border: 1px solid rgba(191, 90, 242, 0.35);
}
.apple-arch-layer[data-layer="3"] {
  transform: translateZ(-50px);
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.35);
}

/* Collapsed Stack Mode */
.apple-arch-stage.is-collapsed .apple-arch-layer {
  transform: translateZ(0) !important;
  opacity: 0.7;
}
.apple-arch-stage.is-collapsed .apple-arch-layer.active {
  transform: translateZ(40px) !important;
  opacity: 1;
}

.apple-arch-layer:hover,
.apple-arch-layer.active {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 166, 35, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}
.apple-arch-layer[data-layer="0"].active {
  border-color: #2997FF;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(41, 151, 255, 0.4);
}
.apple-arch-layer[data-layer="1"].active {
  border-color: #F5A623;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 166, 35, 0.4);
}
.apple-arch-layer[data-layer="2"].active {
  border-color: #BF5AF2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(191, 90, 242, 0.4);
}
.apple-arch-layer[data-layer="3"].active {
  border-color: #30D158;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(48, 209, 88, 0.4);
}
.layer-num {
  font-family: var(--apple-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apple-text-muted);
}
.layer-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 4px;
}
.layer-badge {
  font-family: var(--apple-font-mono);
  font-size: 0.72rem;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* Detail Panels beside the 3D stage */
.apple-arch-detail-panel {
  display: none;
  animation: fadeInPanel 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.apple-arch-detail-panel.active {
  display: block;
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.arch-detail-card {
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--apple-radius-lg);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.arch-code-block {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--apple-radius-sm);
  padding: 16px;
  font-family: var(--apple-font-mono);
  font-size: 0.78rem;
  color: #A1A1A6;
  line-height: 1.6;
  margin-top: 20px;
}
.arch-code-block .kw { color: #FF7B72; }
.arch-code-block .fn { color: #D2A8FF; }
.arch-code-block .str { color: #A5D6FF; }
.arch-code-block .num { color: #79C0FF; }

/* 5. Apple Pro Draggable Comparison Slider */
.apple-compare-section {
  padding: 130px 0;
  background: #000000;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.apple-compare-slider-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--apple-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 50px rgba(245, 166, 35, 0.08);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
/* After Layer: Legacy Monolith (Underneath, full width) */
.compare-layer-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #181111 0%, #0d0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 60px;
  box-sizing: border-box;
}
.compare-content-legacy {
  max-width: 440px;
  text-align: right;
}
.compare-tag-legacy {
  display: inline-block;
  background: rgba(255, 69, 58, 0.15);
  border: 1px solid rgba(255, 69, 58, 0.4);
  color: #FF453A;
  font-family: var(--apple-font-mono);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 980px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Before Layer: OnCloud 2027 Autonomous Core (Over top, variable width) */
.compare-layer-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, #090e18 0%, #000000 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  border-right: 2px solid var(--apple-gold);
  box-shadow: 10px 0 35px rgba(245, 166, 35, 0.25);
  z-index: 2;
}
.compare-content-modern {
  width: 100%;
  min-width: 600px;
  padding: 40px 60px;
  text-align: left;
}
.compare-tag-modern {
  display: inline-block;
  background: rgba(48, 209, 88, 0.15);
  border: 1px solid rgba(48, 209, 88, 0.4);
  color: #30D158;
  font-family: var(--apple-font-mono);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 980px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Slider Drag Handle */
.compare-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--apple-gold);
  box-shadow: 0 0 25px rgba(245, 166, 35, 0.6), 0 4px 15px rgba(0, 0, 0, 0.6);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1.1rem;
  cursor: ew-resize;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.compare-slider-handle:hover,
.compare-slider-handle:active {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 35px rgba(245, 166, 35, 0.8), 0 6px 20px rgba(0, 0, 0, 0.7);
}

/* Comparison Telemetry Ribbon */
.compare-telemetry-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.compare-telemetry-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--apple-radius-md);
  padding: 22px 24px;
  text-align: center;
  transition: var(--apple-transition);
}
.compare-telemetry-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}
.compare-stat-val {
  font-family: var(--apple-font-sans);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}
.compare-stat-label {
  font-size: 0.85rem;
  color: var(--apple-text-secondary);
  font-weight: 500;
}

/* Comparison Preset Controls */
.compare-presets {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.compare-preset-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--apple-text-secondary);
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 980px;
  cursor: pointer;
  transition: var(--apple-transition);
}
.compare-preset-btn:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}
.compare-preset-btn.active {
  background: var(--apple-gold);
  color: #000000;
  border-color: var(--apple-gold);
  font-weight: 600;
}

/* Mobile Responsiveness for Comparison & 3D Stack */
@media (max-width: 991px) {
  .apple-arch-stack {
    width: 320px;
    height: 220px;
  }
  .compare-telemetry-ribbon {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  /* 1. Comparison Presets: Modern horizontal scrollable segmented bar (never wraps into circles) */
  .compare-presets {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    justify-content: flex-start !important;
    padding: 6px 14px 14px !important;
    gap: 8px !important;
    scrollbar-width: none !important;
    margin-bottom: 16px !important;
  }
  .compare-presets::-webkit-scrollbar {
    display: none !important;
  }
  .compare-preset-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 8px 16px !important;
    font-size: 0.78rem !important;
    border-radius: 999px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 2. Comparison Slider Box: Proportional mobile dimensions, no text clipping */
  .apple-compare-slider-wrapper {
    height: 480px !important;
    border-radius: 16px !important;
  }
  .compare-layer-after,
  .compare-layer-before {
    padding: 0 !important;
  }
  .compare-content-modern,
  .compare-content-legacy {
    padding: 22px 14px !important;
    min-width: 0 !important;
    width: calc(100vw - 44px) !important;
    max-width: 360px !important;
    box-sizing: border-box !important;
  }
  .compare-content-modern h3,
  .compare-content-legacy h3 {
    font-size: 1.12rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }
  .compare-content-modern ul,
  .compare-content-legacy ul {
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
  }
  .compare-content-modern li,
  .compare-content-legacy li {
    margin-bottom: 6px !important;
  }
  .compare-tag-modern,
  .compare-tag-legacy {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
    margin-bottom: 8px !important;
  }
  .compare-slider-handle {
    width: 44px !important;
    height: 44px !important;
    font-size: 0.88rem !important;
  }

  /* 3. 3D Architecture Stack Tabs: Horizontal segmented scrollbar */
  .apple-arch-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    justify-content: flex-start !important;
    padding: 4px 12px 12px !important;
    gap: 8px !important;
    scrollbar-width: none !important;
    margin-bottom: 20px !important;
  }
  .apple-arch-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .apple-arch-tab {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 8px 16px !important;
    font-size: 0.78rem !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  /* 4. 3D Architecture Stack Card Header: Clean wrapping with zero text collision */
  .arch-detail-card .d-flex {
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    align-items: center !important;
  }
  .arch-detail-card .apple-badge {
    margin: 0 !important;
    font-size: 0.72rem !important;
    padding: 4px 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* 5. Blueprint Insights Panel: Responsive mobile layout */
  .blueprint-insights-panel {
    padding: 18px 14px !important;
  }
  .blueprint-insights-panel .d-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .blueprint-summary-badge {
    width: auto !important;
    display: inline-block !important;
    margin-bottom: 4px !important;
  }
  #blueprint-wa-btn {
    width: 100% !important;
    justify-content: center !important;
    display: flex !important;
    text-align: center !important;
  }
}


/* 6. The 2027 AI Advantage Section (Time & Cost Efficiency) */
.apple-advantage-section {
  padding: 120px 0;
  background: #020204;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.apple-advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.apple-advantage-card {
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--apple-radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--apple-transition);
  position: relative;
  overflow: hidden;
}
.apple-advantage-card:hover {
  border-color: rgba(245, 166, 35, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 166, 35, 0.12);
}
.advantage-stat-badge {
  font-family: var(--apple-font-sans);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.advantage-tag {
  display: inline-block;
  font-family: var(--apple-font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 980px;
  margin-bottom: 18px;
  width: fit-content;
}
.apple-compare-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
}
.apple-compare-row:last-child {
  border-bottom: none;
}

@media (max-width: 991px) {
  .apple-advantage-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Apple Pro 2027 Sleek Glass Submenu & Mega Dropdown
   ========================================================================== */
.header-main .main-menu ul li {
  position: relative;
}
.header-main .main-menu ul li .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: rgba(18, 18, 22, 0.98) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-top: 2px solid var(--apple-accent-gold) !important;
  border-radius: 14px !important;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9), 0 0 24px rgba(219, 172, 41, 0.15) !important;
  padding: 10px 8px !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 9999;
}
.header-main .main-menu ul li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header-main .main-menu ul li .submenu li {
  display: block;
  width: 100%;
  margin: 0;
}
.header-main .main-menu ul li .submenu li a {
  display: flex !important;
  align-items: center;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.header-main .main-menu ul li .submenu li a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #FFFFFF !important;
  padding-left: 18px !important;
}
.submenu-section-divider {
  font-size: 11px !important;
  font-family: var(--apple-font-mono) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 10px 14px 5px !important;
  margin-top: 6px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-weight: 700 !important;
  color: #F3C44A !important;
}
.submenu-section-divider:first-child {
  border-top: none !important;
  margin-top: 0 !important;
}
.submenu-section-divider.marketing-divider,
.submenu-section-divider[style*="#2997FF"] {
  color: #64D2FF !important;
}

/* ==========================================================================
   Stageshow Pill Chips / Interactive Buttons
   Fixes dark text on dark background across scenario chips, calc tracks, & filters
   ========================================================================== */
.division-btn,
.wa-scenario-btn,
.calc-track-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #F5F5F7 !important;
  padding: 9px 18px !important;
  border-radius: 980px !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  font-family: inherit !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  user-select: none !important;
}

.division-btn:hover,
.wa-scenario-btn:hover,
.calc-track-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

.division-btn.active,
.wa-scenario-btn.active,
.calc-track-btn.active {
  background: linear-gradient(180deg, #F3C44A 0%, #DBAC29 100%) !important;
  color: #000000 !important;
  border-color: #DBAC29 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 18px rgba(219, 172, 41, 0.45) !important;
}

/* 2027 Pillar Badge Styles */
.pillar-num {
  font-family: var(--apple-font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 980px;
  display: inline-block;
  margin-bottom: 14px;
}

/* ==========================================================================
   Language Switcher & RTL (Arabic 2027)
   ========================================================================== */
.apple-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--apple-radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.25s ease;
  line-height: 1;
}
.apple-lang-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--apple-accent-gold) !important;
  transform: translateY(-1px);
}
.apple-lang-btn i {
  font-size: 14px;
}

/* RTL Styles for Arabic Version */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
[dir="rtl"] body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: normal !important;
}
[dir="rtl"] .header-main .main-menu ul li .submenu {
  left: auto !important;
  right: 0 !important;
}
[dir="rtl"] .header-main .main-menu ul li .submenu li a:hover {
  padding-left: 14px !important;
  padding-right: 18px !important;
}
[dir="rtl"] .apple-bento-link i, [dir="rtl"] .apple-btn-primary i {
  transform: scaleX(-1);
}
[dir="rtl"] .apple-breadcrumb i {
  transform: rotate(180deg);
}
[dir="rtl"] .apple-section-header.text-start {
  text-align: right !important;
}
[dir="rtl"] .text-start {
  text-align: right !important;
}
[dir="rtl"] .me-1, [dir="rtl"] .me-2 {
  margin-right: 0 !important;
  margin-left: 0.5rem !important;
}
[dir="rtl"] .apple-form-group .icon {
  right: auto !important;
  left: 20px !important;
}
[dir="rtl"] .apple-form-group input, [dir="rtl"] .apple-form-group textarea {
  padding-right: 20px !important;
  padding-left: 50px !important;
}
[dir="rtl"] .apple-hero-stat {
  border-right: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
[dir="rtl"] .apple-hero-stat:last-child {
  border-left: none !important;
}
[dir="rtl"] .apple-badge-dot {
  margin-right: 0 !important;
  margin-left: 8px !important;
}

/* ==========================================================================
   1. Interactive ROI & Savings Calculator Styling
   ========================================================================== */
.apple-calc-card {
  background: #0B0B0E;
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-lg);
  padding: 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(245, 166, 35, 0.05);
  position: relative;
  overflow: hidden;
}
.apple-calc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--apple-gold), transparent);
}
.apple-calc-controls {
  padding-right: 24px;
}
[dir="rtl"] .apple-calc-controls {
  padding-right: 0;
  padding-left: 24px;
}
.apple-slider-group {
  margin-bottom: 32px;
}
.apple-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
}
.apple-slider-val {
  color: var(--apple-gold);
  font-family: var(--apple-font-mono);
  font-size: 1.15rem;
  font-weight: 700;
}
.apple-range-input {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}
.apple-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--apple-gold);
  cursor: pointer;
  box-shadow: 0 0 14px rgba(245, 166, 35, 0.5);
  transition: transform 0.15s ease;
}
.apple-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.apple-calc-results {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.apple-metric-card {
  margin-bottom: 24px;
}
.apple-metric-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apple-text-muted);
  margin-bottom: 6px;
}
.apple-metric-number {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #FFFFFF;
}
.apple-metric-sub {
  font-size: 0.82rem;
  color: var(--apple-text-secondary);
  margin-top: 4px;
}

/* ==========================================================================
   2. Live WhatsApp Sales Phone Simulator Styling
   ========================================================================== */
.apple-phone-frame {
  width: 100%;
  max-width: 360px;
  height: 680px;
  background: #000000;
  border: 4px solid #2C2C2E;
  border-radius: 48px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(48, 209, 88, 0.15);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.apple-phone-notch {
  width: 110px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  margin: 10px auto 4px;
  position: relative;
  z-index: 10;
}
.apple-phone-header {
  background: #1C1C1E;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.apple-phone-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #242426;
  border: 1px solid var(--apple-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.apple-phone-avatar img {
  max-width: 100%;
  max-height: 100%;
}
.apple-phone-screen {
  flex: 1;
  background: #0B141A;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 20px 20px;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wa-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  position: relative;
  word-break: break-word;
  animation: waFadeIn 0.35s ease forwards;
}
@keyframes waFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.wa-bubble.incoming {
  background: #202C33;
  color: #E9EDEF;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
[dir="rtl"] .wa-bubble.incoming {
  align-self: flex-start;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}
.wa-bubble.outgoing {
  background: #005C4B;
  color: #E9EDEF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
[dir="rtl"] .wa-bubble.outgoing {
  align-self: flex-end;
  border-bottom-right-radius: 14px;
  border-bottom-left-radius: 4px;
}
.wa-time {
  font-size: 0.68rem;
  color: #D1D7DB;
  margin-top: 4px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.wa-status-badge {
  background: #002B20 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 8px !important;
  display: inline-block !important;
  margin-top: 6px !important;
}

/* ==========================================================================
   3. Interactive Scope Builder (60-Second Estimator)
   ========================================================================== */
.apple-scope-card {
  background: #0D0D11;
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-lg);
  padding: 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.scope-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 20px;
  color: #E5E5EA;
  font-weight: 500;
  text-align: left;
  transition: all 0.25s ease;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
[dir="rtl"] .scope-option-btn {
  text-align: right;
}
.scope-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.scope-option-btn.active {
  background: rgba(245, 166, 35, 0.12);
  border-color: var(--apple-gold);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.2);
}
.scope-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--apple-gold);
  flex-shrink: 0;
}

/* ==========================================================================
   4. Deep-Dive Case Study Modals Styling
   ========================================================================== */
.apple-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.apple-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.apple-modal-dialog {
  background: #0E0E12;
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 80px rgba(245, 166, 35, 0.1);
  padding: 40px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-modal-overlay.active .apple-modal-dialog {
  transform: scale(1);
}
.apple-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
[dir="rtl"] .apple-modal-close {
  right: auto;
  left: 24px;
}
.apple-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}
.apple-modal-metric-badge {
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.3);
  padding: 12px 18px;
  border-radius: 12px;
  text-align: center;
}
.apple-modal-metric-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #30D158;
}
.apple-modal-metric-lbl {
  font-size: 0.78rem;
  color: var(--apple-text-secondary);
}



/* ==========================================================================
   ENTERPRISE POWERHOUSE ADDITIONS (2027 UPGRADE)
   ========================================================================== */

/* 1. Header Telemetry & Cmd+K Trigger */
.apple-telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(48, 209, 88, 0.08);
  border: 1px solid rgba(48, 209, 88, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  color: #30D158;
  font-family: -apple-system, BlinkMacSystemFont, monospace;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.apple-telemetry-pill:hover {
  background: rgba(48, 209, 88, 0.15);
  border-color: rgba(48, 209, 88, 0.4);
}
.telemetry-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #30D158;
  box-shadow: 0 0 8px #30D158;
}

.apple-cmd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #a1a1a6;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-cmd-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}
.apple-cmd-trigger kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.72rem;
  font-family: inherit;
  color: #d1d1d6;
}

/* 2. Command Palette (Cmd + K) */
.apple-palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 100000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-palette-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.apple-palette-modal {
  width: 100%;
  max-width: 680px;
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(245, 166, 35, 0.1);
  overflow: hidden;
  transform: scale(0.95) translateY(-10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.apple-palette-overlay.open .apple-palette-modal {
  transform: scale(1) translateY(0);
}
.apple-palette-search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.apple-palette-search-bar i {
  color: var(--apple-gold);
  font-size: 1.15rem;
}
.apple-palette-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-family: inherit;
}
.apple-palette-input::placeholder {
  color: #A1A1A6;
}
.apple-palette-esc-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #A1A1A6;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 6px;
  cursor: pointer;
}
.apple-palette-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
}
.apple-palette-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #A1A1A6;
  padding: 10px 14px 6px;
  text-transform: uppercase;
}
.apple-palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  color: #e5e5ea;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.apple-palette-item:hover,
.apple-palette-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.apple-palette-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.apple-palette-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apple-gold);
  font-size: 0.9rem;
}
.apple-palette-item-text h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: inherit;
}
.apple-palette-item-text p {
  font-size: 0.78rem;
  color: #B0B0B5;
  margin: 2px 0 0;
}
.apple-palette-footer {
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #A1A1A6;
}
.apple-palette-footer-keys {
  display: flex;
  gap: 12px;
}
.apple-palette-footer-keys span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 3. AI Neural Operations Cockpit */
.apple-cockpit-section {
  padding: 90px 0;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(245, 166, 35, 0.05), transparent 70%), #0A0A0D;
  border-top: 1px solid var(--apple-border);
}

/* ==========================================================================
   Stageshow Design Engineering Framework Integration
   High-Craft Faux Product UI, Multi-Layer Depth, Authentic Frames & Satellites
   ========================================================================== */
:root {
  --ss-canvas: #0a0a0c;
  --ss-surface: #111115;
  --ss-chrome: #16161c;
  --ss-raised: #1c1c24;
  --ss-well: #070709;
  --ss-line: rgba(255, 255, 255, 0.08);
  --ss-line-faint: rgba(255, 255, 255, 0.04);
  --ss-text-strong: #ffffff;
  --ss-text: #c7c7cc;
  --ss-text-faint: #a1a1a6;
  --ss-accent: #f5a623;
  --ss-accent-soft: rgba(245, 166, 35, 0.12);
  --ss-success: #30d158;
  --ss-success-soft: rgba(48, 209, 88, 0.14);
  --ss-shadow-hero: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -12px rgba(0, 0, 0, 0.85), 0 18px 36px -18px rgba(0, 0, 0, 0.6);
  --ss-shadow-satellite: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 20px 40px -8px rgba(0, 0, 0, 0.85), 0 6px 16px -4px rgba(0, 0, 0, 0.5);
  --ss-shadow-ground: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 48px -24px rgba(0, 0, 0, 0.7);
  --ss-radius-window: 20px;
  --ss-radius-sat: 14px;
}

.ss-stage-wrapper {
  position: relative;
  padding: 0 0 24px;
}

/* Top Telemetry Satellite Pill */
.ss-satellite-top {
  position: relative;
  margin: 0 auto 18px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  top: auto;
  left: auto;
  transform: none;
  z-index: 10;
  background: rgba(18, 18, 24, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 18px;
  gap: 10px;
  box-shadow: var(--ss-shadow-satellite);
  font-size: 0.78rem;
  white-space: nowrap;
}
.ss-sat-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30D158;
  box-shadow: 0 0 10px #30D158;
}
.ss-sat-k {
  color: #8e8e93;
  font-weight: 500;
}
.ss-sat-v {
  color: #ffffff;
  font-weight: 600;
}
.ss-sat-v.mono {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Mono', Consolas, monospace;
  color: #30D158;
}
.ss-sat-sep {
  color: rgba(255, 255, 255, 0.2);
}
.ss-sat-badge {
  background: rgba(48, 209, 88, 0.15);
  color: #30D158;
  border: 1px solid rgba(48, 209, 88, 0.3);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.4px;
}

/* Authentic Stageshow Window Bar */
.cockpit-header-bar.ss-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  height: 48px;
  background: rgba(22, 22, 28, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ss-window-lights {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cockpit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25);
}
.ss-window-url-pill {
  flex: 0 1 420px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 4px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.74rem;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Mono', Consolas, monospace;
  color: #8e8e93;
}
.ss-url-domain {
  color: #ffffff;
  font-weight: 600;
}
.ss-url-path {
  color: #A1A1A6;
}
.ss-url-badge {
  background: rgba(48, 209, 88, 0.15);
  color: #30D158;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Cockpit Split Console: Clean 2-Column Split Without Text Occlusion */
.cockpit-console-split {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}
.cockpit-console-split .cockpit-terminal-screen {
  flex: 1;
  min-width: 0;
  height: 240px;
  margin-bottom: 0;
}

/* Stageshow Signature ETA E-Invoice Receipt Card */
.ss-satellite-receipt {
  position: static;
  width: 320px;
  flex-shrink: 0;
  margin: 0;
  background: #15151B;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ss-radius-sat);
  padding: 16px 18px;
  box-shadow: var(--ss-shadow-satellite);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}
.ss-satellite-receipt:hover {
  transform: translateY(-2px);
  border-color: rgba(48, 209, 88, 0.35);
}
.ss-receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  margin-bottom: 10px;
}
.ss-receipt-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(48, 209, 88, 0.12);
  color: #30D158;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.ss-receipt-gov {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #8e8e93;
  text-transform: uppercase;
}
.ss-receipt-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}
.ss-receipt-badge {
  background: rgba(48, 209, 88, 0.15);
  border: 1px solid rgba(48, 209, 88, 0.35);
  color: #30D158;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ss-receipt-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ss-receipt-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
}
.ss-receipt-lbl {
  color: #8e8e93;
}
.ss-receipt-val {
  color: #e5e5ea;
  font-weight: 500;
}
.ss-receipt-val.mono {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Mono', Consolas, monospace;
}
.ss-receipt-line.ss-receipt-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ss-receipt-val.total {
  color: var(--apple-gold);
  font-size: 0.92rem;
  font-weight: 700;
}
.ss-receipt-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ss-receipt-stamp {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #30D158;
  border: 1px solid rgba(48, 209, 88, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Stageshow Titanium Pro Phone Frame */
.apple-phone-frame.ss-phone-pro {
  max-width: 360px;
  height: 690px;
  background: #000000;
  border: 3.5px solid #3a3a3c;
  border-radius: 50px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 30px 80px rgba(0, 0, 0, 0.9),
    0 0 45px rgba(48, 209, 88, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.apple-phone-frame.ss-phone-pro::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 30;
}

.ss-phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px 4px;
  background: #111113;
  position: relative;
  z-index: 20;
}
.ss-phone-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.2px;
}
.ss-dynamic-island {
  width: 86px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ss-island-cam {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0d0d15;
  box-shadow: inset 0 0 2px rgba(80, 120, 255, 0.5);
}
.ss-phone-status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
}
.ss-battery-icon {
  width: 19px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  padding: 1px;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.ss-battery-icon::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0 1px 1px 0;
}
.ss-battery-level {
  width: 100%;
  height: 100%;
  background: #30D158;
  border-radius: 1.5px;
}

.ss-phone-composer {
  background: #1F2C34;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.ss-composer-action {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #D1D7DB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.ss-composer-input {
  flex: 1;
  background: #2A3942;
  border-radius: 20px;
  padding: 6px 14px;
  color: #D1D7DB;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ss-composer-input span {
  color: #D1D7DB;
}
.ss-composer-mic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00A884;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.ss-phone-home-indicator {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  margin: 6px auto 5px;
}

.ss-phone-wrapper {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}
.ss-phone-satellite {
  position: absolute;
  top: 18%;
  right: -36px;
  z-index: 25;
  background: rgba(20, 20, 26, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--ss-shadow-satellite);
  max-width: 250px;
}
[dir="rtl"] .ss-phone-satellite {
  right: auto;
  left: -36px;
}
.ss-phone-sat-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(245, 166, 35, 0.15);
  color: var(--apple-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ss-phone-sat-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.ss-phone-sat-desc {
  font-size: 0.68rem;
  color: #8e8e93;
  margin-top: 2px;
}

/* Stageshow Authentic Pointer Cursor & Ripple */
.ss-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}
.ss-cursor svg {
  display: block;
}
.ss-ripple {
  position: absolute;
  z-index: 49;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border-radius: 50%;
  border: 2px solid var(--apple-gold);
  background: rgba(245, 166, 35, 0.15);
  pointer-events: none;
  animation: ssRipple 0.55s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
@keyframes ssRipple {
  from { transform: scale(0.2); opacity: 1; }
  to { transform: scale(1.3); opacity: 0; }
}

@media (max-width: 991px) {
  .ss-stage-wrapper {
    padding: 10px 0 20px;
  }
  .cockpit-console-split {
    flex-direction: column;
    gap: 16px;
  }
  .cockpit-console-split .ss-satellite-receipt {
    width: 100%;
  }
  .ss-phone-satellite {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    max-width: 100%;
    margin-bottom: 14px;
    animation: none;
  }
  .ss-satellite-top {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto 16px;
    display: inline-flex;
    justify-content: center;
  }
  .ss-window-url-pill {
    display: none;
  }
}

.apple-cockpit-frame {
  background: #0D0D12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: var(--ss-shadow-hero);
  overflow: hidden;
  opacity: 1 !important;
}
.cockpit-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}
.cockpit-traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cockpit-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.cockpit-dot.red { background: #FF453A; }
.cockpit-dot.yellow { background: #FFD60A; }
.cockpit-dot.green { background: #30D158; }
.cockpit-title-tag {
  font-family: -apple-system, BlinkMacSystemFont, monospace;
  font-size: 0.8rem;
  color: #A1A1A6;
  letter-spacing: 0.5px;
}
.cockpit-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #34D399;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.cockpit-tabs-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}
.cockpit-tab-trigger {
  padding: 16px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #A1A1A6;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.cockpit-tab-trigger:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.02);
}
.cockpit-tab-trigger.active {
  color: var(--apple-gold);
  border-bottom-color: var(--apple-gold);
  background: rgba(245, 166, 35, 0.05);
}
.cockpit-main-body {
  padding: 28px;
}
.cockpit-hud-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.cockpit-hud-card {
  background: #15151C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.cockpit-hud-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--apple-gold), transparent);
}
.cockpit-hud-card-lbl {
  font-size: 0.75rem;
  color: #B0B0B5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.cockpit-hud-card-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, monospace;
}
.cockpit-hud-card-sub {
  font-size: 0.74rem;
  color: #30D158;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cockpit-terminal-screen {
  background: #08080B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Mono', Consolas, monospace;
  font-size: 0.85rem;
  color: #d1d1d6;
  height: 220px;
  overflow-y: auto;
  line-height: 1.6;
}
.cockpit-stream-line {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: fadeIn 0.3s ease;
}
.cockpit-timestamp {
  color: #A1A1A6;
  flex-shrink: 0;
}
.cockpit-tag {
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.cockpit-tag.meta { background: rgba(0, 122, 255, 0.2); color: #58A6FF; }
.cockpit-tag.tiktok { background: rgba(255, 45, 85, 0.2); color: #FF7B8E; }
.cockpit-tag.eta { background: rgba(48, 209, 88, 0.2); color: #48E572; }
.cockpit-tag.geo { background: rgba(191, 90, 242, 0.2); color: #DA8FFF; }
.cockpit-tag.bot { background: rgba(245, 166, 35, 0.2); color: #FFD15C; }
.cockpit-actions-bar {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.cockpit-sim-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.cockpit-sim-btn:hover {
  background: rgba(245, 166, 35, 0.15);
  border-color: var(--apple-gold);
  color: var(--apple-gold);
  transform: translateY(-2px);
}

/* 4. Interactive Architecture Blueprint Generator */
.apple-blueprint-section {
  padding: 90px 0;
  position: relative;
  background: #000000;
  border-top: 1px solid var(--apple-border);
}
.apple-blueprint-card {
  background: #0C0C10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.blueprint-pills-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.blueprint-pill {
  padding: 9px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1a6;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.blueprint-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
.blueprint-pill.active {
  background: rgba(245, 166, 35, 0.15);
  border-color: var(--apple-gold);
  color: var(--apple-gold);
}
@media (max-width: 768px) {
  .blueprint-pills-nav {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 22px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .blueprint-pills-nav::-webkit-scrollbar {
    display: none;
  }
  .blueprint-pill {
    flex: 0 0 auto;
    padding: 7px 13px;
    font-size: 0.78rem;
    white-space: nowrap;
    border-radius: 9px;
  }
}
.blueprint-diagram-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  margin-bottom: 35px;
}
@media (max-width: 991px) {
  .blueprint-diagram-pipeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.blueprint-node-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}
.blueprint-node-box:hover {
  border-color: var(--apple-gold);
  background: rgba(245, 166, 35, 0.04);
  transform: translateY(-4px);
}
.blueprint-node-step {
  font-size: 0.68rem;
  color: var(--apple-gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blueprint-node-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.1);
  color: var(--apple-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.blueprint-node-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.blueprint-node-desc {
  font-size: 0.78rem;
  color: #B0B0B5;
  line-height: 1.4;
}
.blueprint-insights-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  align-items: center;
}
.blueprint-summary-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.blueprint-metrics-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.blueprint-summary-badge {
  background: rgba(245, 166, 35, 0.15);
  color: var(--apple-gold);
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 6px 14px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-block;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .apple-blueprint-card {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .blueprint-insights-panel {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
  .blueprint-summary-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .blueprint-metrics-wrap {
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }
  .blueprint-summary-badge {
    font-size: 0.74rem;
    padding: 5px 10px;
  }
  .blueprint-metric-item {
    font-size: 0.78rem;
  }
  #blueprint-summary-text {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
  }
  #blueprint-wa-btn {
    width: 100% !important;
    text-align: center;
    justify-content: center;
  }
}

/* 5. Enterprise Trust & Compliance Wall */
.apple-trust-section {
  padding: 90px 0;
  background: #08080B;
  border-top: 1px solid var(--apple-border);
}
.apple-trust-card {
  background: #0E0E14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
}
.apple-trust-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}
.apple-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  width: 100%;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
.apple-partner-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--apple-gold);
}
.apple-partner-badge i {
  font-size: 1.25rem;
  color: var(--apple-gold);
}
.apple-partner-info h6 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}
.apple-partner-info span {
  font-size: 0.74rem;
  color: #B0B0B5;
}

/* 6. Smart Village Hub & Cinema Studio Specs */
.apple-facility-section {
  padding: 90px 0;
  background: #000000;
  border-top: 1px solid var(--apple-border);
}
.facility-spec-card {
  background: #0D0D12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px;
  height: 100%;
}
.facility-spec-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.facility-spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: #d1d1d6;
}
.facility-spec-list li i {
  color: var(--apple-gold);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   2027 SHOWREEL, BRIEFING WIZARD & ECOSYSTEM MARQUEE
   ========================================================================== */

/* Showreel Hero Pill */
.apple-showreel-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.apple-showreel-pill:hover {
  background: rgba(245, 166, 35, 0.15);
  border-color: var(--apple-gold);
  color: var(--apple-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.2);
}
.apple-showreel-pill i {
  color: var(--apple-gold);
  font-size: 0.85rem;
  background: rgba(245, 166, 35, 0.2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.apple-showreel-pill:hover i {
  background: var(--apple-gold);
  color: #000000;
}

/* Showreel Modal */
.apple-showreel-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.apple-showreel-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.apple-showreel-modal-content {
  width: 100%;
  max-width: 960px;
  background: #0D0D12;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.95), 0 0 50px rgba(245, 166, 35, 0.1);
}
.showreel-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
}
.showreel-video-wrapper iframe,
.showreel-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.showreel-hud-bar {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.showreel-hud-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.showreel-tag {
  font-size: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, monospace;
  color: #A1A1A6;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ==========================================================================
   Apple Pro Infinite Marquee Track (Continuous, Zero-Jank, Seamless Loop)
   ========================================================================== */
.apple-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.apple-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  will-change: transform;
  animation: appleMarqueeScroll 42s linear infinite;
  animation-play-state: paused;
}

.apple-marquee-track.playing {
  animation-play-state: running;
}

.apple-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes appleMarqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

[dir="rtl"] .apple-marquee-track {
  animation: appleMarqueeScrollRTL 42s linear infinite;
  animation-play-state: paused;
}

[dir="rtl"] .apple-marquee-track.playing {
  animation-play-state: running;
}

@keyframes appleMarqueeScrollRTL {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}

/* Ecosystem Marquee Badges */
.brand-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand-badge-item:hover {
  background: rgba(245, 166, 35, 0.12);
  border-color: var(--apple-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(219, 172, 41, 0.25);
}
.brand-badge-item i {
  font-size: 1.25rem;
  color: var(--apple-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(219, 172, 41, 0.12);
}
.brand-badge-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}
.brand-badge-sub {
  font-size: 0.72rem;
  color: var(--apple-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Multi-Step Briefing Wizard (contact.html) */
.apple-wizard-card {
  background: #0E0E14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 38px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}
.wizard-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
  position: relative;
}
.wizard-progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}
.wizard-step-node {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #16161E;
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: #A1A1A6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
.wizard-step-node.active {
  background: var(--apple-gold);
  border-color: var(--apple-gold);
  color: #000000;
  box-shadow: 0 0 16px rgba(245, 166, 35, 0.4);
}
.wizard-step-node.completed {
  background: #30D158;
  border-color: #30D158;
  color: #000000;
}
.wizard-chip-btn {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}
[dir="rtl"] .wizard-chip-btn {
  text-align: right;
}
.wizard-chip-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.wizard-chip-btn.selected {
  background: rgba(245, 166, 35, 0.12);
  border-color: var(--apple-gold);
  color: #ffffff;
}
.wizard-chip-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--apple-gold);
  flex-shrink: 0;
}

/* ==========================================================================
   PERFORMANCE & CORE WEB VITALS OPTIMIZATIONS (2027 Standards)
   content-visibility: auto skips layout and painting for offscreen elements
   until they approach the viewport, boosting initial rendering speed & INP.
   ========================================================================== */
.case-studies-section,
.apple-calc-section,
.apple-whatsapp-section,
.about-section,
.project-section,
.testimonial-section,
.footer-section,
.apple-faq-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

/* ==========================================================================
   ACCESSIBILITY & TOUCH TARGET COMPLIANCE (100% Target Size & Contrast)
   ========================================================================== */
.offcanvas__contact-text a {
  display: inline-block !important;
  min-height: 48px !important;
  line-height: 24px !important;
  padding: 12px 0 !important;
}
.offcanvas__contact .header-button a.theme-btn {
  min-height: 48px !important;
  padding: 14px 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--apple-gold) !important;
  color: #000000 !important;
  font-weight: 700 !important;
}
nav#mobile-menu ul li a,
.mean-nav ul li a {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  padding: 12px 18px !important;
}
.wa-status-badge {
  background: rgba(0, 0, 0, 0.5) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  padding: 3px 10px !important;
  border-radius: 8px !important;
  display: inline-block !important;
  margin-top: 6px !important;
}

/* Modern Content-Visibility for 100/100 Core Web Vitals & Zero Style/Layout Overhead */
.apple-cockpit-section,
.apple-blueprint-section,
.apple-bento-section,
.apple-advantage-section,
.apple-arch-section,
.apple-compare-section,
.about-section,
.project-section,
.apple-trust-section,
.apple-facility-section,
.apple-cta-section,
footer.footer-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}


.project-section.bg-cover { background-image: url("../img/project/line-shape.png"); }

.offcanvas__info.info-open {
  visibility: visible !important;
  pointer-events: auto !important;
}

[dir="rtl"] .offcanvas__info {
  right: auto !important;
  left: 0 !important;
  border-left: none !important;
  border-right: 1px solid var(--apple-border) !important;
  transform: translateX(calc(-100% - 80px)) !important;
}

[dir="rtl"] .offcanvas__info.info-open {
  transform: translateX(0) !important;
}


/* ==========================================================================
   Apple Luxury Mobile Viewport & Component Hardening (Zero Overflow)
   ========================================================================== */
.wa-scenario-chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wa-scenario-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #F5F5F7 !important;
  padding: 10px 20px !important;
  border-radius: 980px !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
}

.wa-scenario-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

.wa-scenario-btn.active {
  background: linear-gradient(180deg, #F3C44A 0%, #DBAC29 100%) !important;
  color: #000000 !important;
  border-color: #DBAC29 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(219, 172, 41, 0.35) !important;
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .container,
  .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .apple-badge {
    font-size: 0.72rem !important;
    letter-spacing: 0.03em !important;
    padding: 6px 14px !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.4 !important;
    margin-bottom: 18px !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .apple-hero-title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important;
    line-height: 1.18 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin-bottom: 16px !important;
  }

  .apple-section-title {
    font-size: clamp(1.45rem, 5.8vw, 2.05rem) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .apple-cta-title {
    font-size: clamp(1.5rem, 6vw, 2.1rem) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .apple-inner-hero-title {
    font-size: clamp(1.5rem, 6vw, 2.1rem) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .apple-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
    margin-bottom: 35px !important;
  }

  .apple-hero-actions a,
  .apple-btn-primary,
  .apple-btn-secondary,
  .apple-btn-glass {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 20px !important;
    font-size: 0.95rem !important;
  }

  .apple-showcase-window,
  .apple-terminal-wrapper,
  .ss-stage-wrapper,
  .apple-cockpit-frame,
  .ss-window {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .apple-metric-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 18px 0 !important;
  }

  .apple-metric-item {
    padding: 12px 6px !important;
  }

  .apple-metric-number {
    font-size: 1.55rem !important;
  }

  .apple-metric-label {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }

  .cockpit-tabs-nav {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .cockpit-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  .ss-satellite-top {
    white-space: normal !important;
    flex-wrap: wrap !important;
    font-size: 0.72rem !important;
    padding: 6px 12px !important;
    gap: 6px !important;
    max-width: calc(100vw - 32px) !important;
    text-align: center !important;
    border-radius: 12px !important;
  }

  .cockpit-sim-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    padding: 12px 14px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .wa-scenario-chips-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .wa-scenario-btn {
    width: 100% !important;
    padding: 13px 18px !important;
    border-radius: 14px !important;
    font-size: 0.92rem !important;
    margin-bottom: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    background: rgba(20, 20, 24, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  [dir="rtl"] .wa-scenario-btn {
    justify-content: flex-start !important;
    text-align: right !important;
  }

  .apple-terminal-actions {
    padding: 10px 12px !important;
    gap: 6px !important;
  }

  .terminal-action-btn {
    font-size: 0.72rem !important;
    padding: 5px 10px !important;
  }

  .apple-terminal-header {
    padding: 12px 14px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .apple-window-header {
    padding: 12px 14px !important;
  }

  .apple-window-tag {
    font-size: 0.68rem !important;
    max-width: 200px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}
