/* ASUNAK Home Page - Dynamic Cinematic Production Styles */

/* ==============================================================================
   1. Hero Showcase Grid - Ultra-Modern Dual-Theme (Light & Dark) Architecture
   ============================================================================== */
.hero-wrapper {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 6.5vw, 5.5rem) clamp(2.5rem, 4.5vw, 4rem);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: 
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(14, 165, 233, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-content-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero-visual-col {
  min-width: 0;
  width: 100%;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content-col {
    align-items: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-telemetry-bar {
    margin-inline: auto;
  }
}

/* Category Capsule Badge */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  width: fit-content;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(8px);
}

.hero-badge-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.7);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.hero-badge-beacon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 99, 235, 0.5);
  animation: beacon-radar 2.4s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes beacon-radar {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-badge-text {
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1d4ed8;
  font-family: var(--font-family-mono);
  line-height: 1;
}

/* Hero Headline & Lead Text - 100% High-Contrast Legible */
.hero-headline {
  font-size: clamp(2.35rem, 4.5vw, 3.85rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: var(--space-4);
  font-weight: 850;
  color: #0f172a !important;
  text-shadow: none !important;
  text-wrap: balance;
}

.hero-lead-text {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.72;
  color: #334155 !important;
  margin-bottom: var(--space-8);
  max-width: 580px;
  font-weight: 450;
}

@media (max-width: 1024px) {
  .hero-lead-text {
    margin-inline: auto;
  }
}

/* Action Buttons */
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.42), 0 2px 6px rgba(37, 99, 235, 0.2);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 26px;
  border-radius: var(--radius-lg);
  color: #ffffff !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.55), 0 4px 10px rgba(37, 99, 235, 0.3);
  filter: brightness(1.05);
}

.hero-btn-arrow {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn-primary:hover .hero-btn-arrow {
  transform: translateX(4px);
}

[dir="rtl"] .hero-btn-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .hero-btn-primary:hover .hero-btn-arrow {
  transform: scaleX(-1) translateX(4px);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(15, 23, 42, 0.16);
  color: #0f172a !important;
  padding: 13px 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn-secondary:hover {
  background: #f8fafc;
  border-color: #2563eb;
  color: #2563eb !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.18);
}

@media (max-width: 480px) {
  .hero-cta-group {
    width: 100%;
    flex-direction: column;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Precision Telemetry Stat Console */
.hero-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
  max-width: 580px;
  width: 100%;
  margin-top: 29px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: 14px;
  position: relative;
}

.stat-item:first-child {
  padding-inline-start: 4px;
}

.stat-item:last-child {
  padding-inline-end: 4px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(15, 23, 42, 0.08);
}

.stat-item .stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  font-family: var(--font-family-mono);
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-item .stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .hero-telemetry-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 0;
    padding: 16px 14px;
  }
  .stat-item {
    padding-inline: 12px;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .stat-item:nth-child(odd) {
    border-inline-end: 1px solid rgba(15, 23, 42, 0.08);
  }
}

/* ==============================================================================
   2. Right Column - Interactive Studio Media Console (ARRI ALEXA 35 Viewfinder)
   ============================================================================== */
.hero-media-console {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(2, 6, 23, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.1);
  background: #090e17;
  display: flex;
  flex-direction: column;
}

.console-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #0a0f1d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-family: var(--font-family-mono);
  z-index: 3;
}

.cam-telemetry {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cam-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse-beacon 1.5s infinite ease-in-out;
}

@keyframes pulse-beacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.cam-rec-label {
  font-weight: 800;
  color: #ef4444;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.cam-model-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px 9px;
  border-radius: 4px;
  color: #f1f5f9;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hud-stat-pill {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .hud-stat-pill {
    display: none;
  }
}

.console-timecode {
  font-family: var(--font-family-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.06em;
}

.console-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
  overflow: hidden;
  contain: layout paint size;
  min-height: 0;
}

.console-media-element,
.console-viewport video,
.console-viewport img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-media-console:hover .console-viewport video,
.hero-media-console:hover .console-viewport img {
  transform: scale(1.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.viewport-overlay-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 40%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

/* Viewfinder Optical Reticle Overlay */
.viewfinder-hud-overlay {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  z-index: 2;
}

.frame-guide {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(255, 255, 255, 0.4);
  border-style: solid;
}

.corner-tl {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.corner-tr {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
}

.corner-bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
}

.corner-br {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.viewfinder-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.viewfinder-crosshair::before,
.viewfinder-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.35);
}

.viewfinder-crosshair::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}

.viewfinder-crosshair::after {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}

/* Cinema Monitor Live Status Bar */
.console-bottombar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: #080c16;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-family-mono);
  font-size: 0.68rem;
  color: #94a3b8;
  z-index: 3;
}

.cam-status-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hud-param span {
  color: #64748b;
  margin-inline-end: 4px;
  font-weight: 600;
}

.hud-param {
  color: #cbd5e1;
  font-weight: 700;
}

@media (max-width: 640px) {
  .console-bottombar {
    display: none;
  }
}

/* ==============================================================================
   3. Global Trust & Standards Strip - Adaptive Ribbon
   ============================================================================== */
.standards-strip {
  padding-block: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: #ffffff;
}

.standards-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.standard-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 10px;
  border-radius: var(--radius-full);
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.standard-badge:hover {
  background: #ffffff;
  border-color: #2563eb;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.16);
}

.standard-badge .badge-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.09);
  color: #2563eb;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.standard-badge:hover .badge-icon-wrap {
  background: #2563eb;
  color: #ffffff;
}

.standard-badge .badge-label {
  line-height: 1;
}

@media (max-width: 900px) {
  .standards-strip {
    padding-block: 14px;
  }
  .standards-grid {
    gap: 10px;
  }
  .standard-badge {
    font-size: 0.78rem;
    padding: 6px 12px 6px 8px;
  }
}

/* ==============================================================================
   4. Dark Theme Overrides - High-End Cinema Studio Obsidian
   ============================================================================== */
[data-theme="dark"] .hero-wrapper,
.theme-dark .hero-wrapper {
  background: 
    radial-gradient(ellipse 75% 55% at 15% -10%, rgba(56, 189, 248, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(99, 102, 241, 0.09) 0%, transparent 65%),
    #080a11;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hero-badge-pill,
.theme-dark .hero-badge-pill {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 16px -2px rgba(2, 6, 23, 0.6);
}

[data-theme="dark"] .hero-badge-beacon,
.theme-dark .hero-badge-beacon {
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

[data-theme="dark"] .hero-badge-beacon::after,
.theme-dark .hero-badge-beacon::after {
  border-color: rgba(56, 189, 248, 0.6);
}

[data-theme="dark"] .hero-badge-text,
.theme-dark .hero-badge-text {
  color: #38bdf8;
}

[data-theme="dark"] .hero-headline,
.theme-dark .hero-headline {
  color: #f8fafc !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .hero-lead-text,
.theme-dark .hero-lead-text {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .hero-btn-secondary,
.theme-dark .hero-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f8fafc !important;
  box-shadow: none;
}

[data-theme="dark"] .hero-btn-secondary:hover,
.theme-dark .hero-btn-secondary:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff !important;
  box-shadow: 0 4px 16px -2px rgba(56, 189, 248, 0.25);
}

[data-theme="dark"] .hero-telemetry-bar,
.theme-dark .hero-telemetry-bar {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
}

[data-theme="dark"] .stat-item:not(:last-child)::after,
.theme-dark .stat-item:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stat-item .stat-value,
.theme-dark .stat-item .stat-value {
  color: #ffffff;
}

[data-theme="dark"] .stat-item .stat-label,
.theme-dark .stat-item .stat-label {
  color: #94a3b8;
}

[data-theme="dark"] .hero-media-console,
.theme-dark .hero-media-console {
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 35px rgba(56, 189, 248, 0.12);
}

[data-theme="dark"] .standards-strip,
.theme-dark .standards-strip {
  background: rgba(6, 11, 22, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .standard-badge,
.theme-dark .standard-badge {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  box-shadow: none;
}

[data-theme="dark"] .standard-badge:hover,
.theme-dark .standard-badge:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  color: #f8fafc;
  box-shadow: 0 4px 14px -3px rgba(56, 189, 248, 0.2);
}

[data-theme="dark"] .standard-badge .badge-icon-wrap,
.theme-dark .standard-badge .badge-icon-wrap {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

[data-theme="dark"] .standard-badge:hover .badge-icon-wrap,
.theme-dark .standard-badge:hover .badge-icon-wrap {
  background: #38bdf8;
  color: #090e17;
}

/* 4. Service Showcase Cards with Visual Covers */
.service-visual-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-visual-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.2);
}

.service-card-cover {
  height: 170px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.service-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-visual-card:hover .service-card-cover img {
  transform: scale(1.05);
}

.service-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 5. Production Workflow Step Highlights */
.workflow-step-card {
  position: relative;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.workflow-step-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand-primary);
}

.workflow-step-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-brand-primary);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 6. Case Study Photographic Cards */
.case-study-visual-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-visual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.case-study-hero-img {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.case-study-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-visual-card:hover .case-study-hero-img img {
  transform: scale(1.04);
}

.case-study-tag-bar {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 7. Operational Coverage Radar & Hub Console */
.radar-beacon-container {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radar-beacon-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.radar-beacon-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radar-ping {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.hub-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background 0.2s ease;
}

.hub-status-row:last-child {
  border-bottom: none;
}

.hub-status-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.hub-country-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-surface-sunken);
  border: 1px solid var(--color-border-subtle);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
}

/* 8. Verified Metrics Pills */
.metric-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
  margin-bottom: var(--space-4);
}

.metric-pill {
  background: var(--color-surface-sunken);
  border: 1px solid var(--color-border-subtle);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  text-align: center;
}

.metric-pill .metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-brand-primary);
  line-height: 1.2;
}

.metric-pill .metric-lbl {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* 9. Stepper Connector Lines */
.workflow-stepper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-5);
  position: relative;
}

/* 10. RTL Overrides */
[dir="rtl"] .hero-grid {
  text-align: right;
}

[dir="rtl"] .hero-lead-text {
  text-align: right;
}

[dir="rtl"] .hero-cta-group {
  justify-content: flex-start;
}

[dir="rtl"] .hero-telemetry-bar {
  justify-content: flex-start;
}

[dir="rtl"] .service-card-badges,
[dir="rtl"] .case-study-tag-bar {
  flex-direction: row-reverse;
}

[dir="rtl"] .floating-review-pill {
  text-align: right;
  flex-direction: row-reverse;
}

@media (max-width: 1024px) {
  [dir="rtl"] .hero-grid {
    text-align: center;
  }
  [dir="rtl"] .hero-lead-text {
    text-align: center;
  }
  [dir="rtl"] .hero-cta-group {
    justify-content: center;
  }
  [dir="rtl"] .hero-telemetry-bar {
    justify-content: center;
  }
}


/* Live Cinema Viewfinder Overlays & Telemetry HUD */

.viewfinder-hud-overlay {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  z-index: 3;
}

/* 4-Corner Cinema Framing Guides */
.frame-guide {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(255, 255, 255, 0.45);
  border-style: solid;
}
.corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

/* Center Optical Crosshair */
.viewfinder-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  opacity: 0.65;
}
.viewfinder-crosshair::before,
.viewfinder-crosshair::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
}
.viewfinder-crosshair::before {
  top: 9px; left: 0; right: 0; height: 2px;
}
.viewfinder-crosshair::after {
  left: 9px; top: 0; bottom: 0; width: 2px;
}

/* Live Viewfinder Lens & Sensor Specs */
.viewfinder-lens-specs {
  position: absolute;
  top: 2px;
  left: 26px;
  display: flex;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.45);
  padding: 2px 8px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.viewfinder-battery-mag {
  position: absolute;
  top: 2px;
  right: 26px;
  display: flex;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  color: #38bdf8;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.45);
  padding: 2px 8px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Live Stereo Audio VU Meters */
.viewfinder-audio-vu {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 6px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vu-channel {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vu-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.58rem;
  color: #94a3b8;
  font-weight: 700;
}

.vu-meter {
  width: 44px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.vu-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 70%, #ef4444 100%);
  border-radius: 2px;
  animation: vu-bounce 0.8s ease-in-out infinite alternate;
}

.vu-fill-l { width: 78%; animation-duration: 0.65s; }
.vu-fill-r { width: 68%; animation-duration: 0.82s; }

@keyframes vu-bounce {
  0% { transform: scaleX(0.4); }
  50% { transform: scaleX(0.9); }
  100% { transform: scaleX(0.55); }
}

.live-signal-badge {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-inline-end: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  animation: live-glow 2s infinite ease-in-out;
}

@keyframes live-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hud-pill-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.68rem;
  color: #f8fafc;
  font-weight: 600;
}

.hud-stat-mono {
  font-family: var(--font-mono, monospace);
  color: #94a3b8;
  font-size: 0.72rem;
}

/* ==============================================================================
   Persian & Arabic Typographic Refinements
   ============================================================================== */
html[lang="fa"] .hero-headline,
html[lang="ar"] .hero-headline {
  font-family: var(--font-family-persian);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 800;
}

html[lang="fa"] .hero-lead-text,
html[lang="ar"] .hero-lead-text {
  font-family: var(--font-family-persian);
  line-height: 1.84;
  font-weight: 450;
}

html[lang="fa"] .hero-badge-text,
html[lang="ar"] .hero-badge-text {
  font-family: var(--font-family-persian);
  letter-spacing: 0.02em;
  font-weight: 700;
}

html[lang="fa"] .stat-item .stat-value,
html[lang="ar"] .stat-item .stat-value {
  font-family: var(--font-family-persian), var(--font-family-mono);
  font-weight: 750;
}

html[lang="fa"] .stat-item .stat-label,
html[lang="ar"] .stat-item .stat-label {
  font-family: var(--font-family-persian);
  letter-spacing: 0.02em;
  font-weight: 600;
}

html[lang="fa"] .standard-badge,
html[lang="ar"] .standard-badge {
  font-family: var(--font-family-persian);
  letter-spacing: normal;
}

