/* MT Incinerator Systems - Premium UI Stylesheet (styles.css) */

:root {
  /* Fonts */
  --font-sans: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Custom Transitions */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                      color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                      border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                      box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                      transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Brand Colors */
  --color-red: #d50f2f;
  --color-red-rgb: 213, 15, 47;
  --color-orange: #ff5722;
  --color-orange-rgb: 255, 87, 34;
  --color-graphite: #0b0c10;
  --color-blueprint-dark: #07090e;
  --color-blueprint-grid: rgba(213, 15, 47, 0.04);
}

/* Light Theme Variables */
body[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --text-primary: #0b0c10;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --border-color: #d1d5db;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-border: #e5e7eb;
  --glow-opacity: 0.02;
  --card-shadow: none;
  --border-grid-opacity: 0.05;
  
  /* SVG & Blueprint colors */
  --svg-fill: #ffffff;
  --svg-outline: #1f2937;
  --svg-inner-fill: #f3f4f6;
  --svg-active-glow: rgba(213, 15, 47, 0.3);
}

/* Dark Theme Variables */
body[data-theme="dark"] {
  --bg-primary: #1a1c22;
  --bg-secondary: #22242b;
  --bg-tertiary: #2a2c34;
  --text-primary: #ffffff;
  --text-secondary: #e5e7eb;
  --text-muted: #9ca3af;
  --border-color: #31343e;
  --header-bg: rgba(26, 28, 34, 0.92);
  --header-border: #2f323c;
  --glow-opacity: 0.12;
  --card-shadow: none;
  --border-grid-opacity: 0.08;
  
  /* SVG & Blueprint colors */
  --svg-fill: #22242b;
  --svg-outline: #e5e7eb;
  --svg-inner-fill: #2a2c34;
  --svg-active-glow: rgba(213, 15, 47, 0.65);

  /* Subtle Carbon-Fiber Micro-Weave Pattern */
  background-image: 
    linear-gradient(45deg, rgba(255, 255, 255, 0.007) 25%, transparent 25%), 
    linear-gradient(-45deg, rgba(255, 255, 255, 0.007) 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.007) 75%), 
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.007) 75%);
  background-size: 4px 4px;
}

/* Global Reset & Base Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button, input, select, textarea, .btn-primary-glow, .btn-secondary-link, .rfq-button-header, .rfq-button-mobile, .rfq-chip-item, .lang-trigger-btn, .lang-menu-list, .theme-toggle-btn, .btn-rfq-submit-glow {
  border-radius: 0 !important;
}

.product-family-card, .telemetry-hud-card, .process-step-card, .tech-showcase-description-box, .regulatory-notice-card, .rfq-panel-layout, .showcase-visual-column, .engineering-data-sheet, .sibling-portal-card, .svg-container-card {
  border-radius: 2px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  transition: var(--transition-smooth);
}

/* Scroll Bar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-red);
}

/* ----------------------------------------------------
   Grid layout background helper
   ---------------------------------------------------- */
.grid-layout-bg {
  display: none;
}

/* Section Dividers */
section {
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

/* ----------------------------------------------------
   Ember Rising Particle effects
   ---------------------------------------------------- */
.header-embers-line {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.header-embers-line span {
  position: absolute;
  bottom: 0;
  background: #d50f2f;
  box-shadow: 0 0 6px #ff5722;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  pointer-events: none;
}

@keyframes rising-ember-straight {
  0% { transform: translateY(10px) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-90px) translateX(0) scale(0.3); opacity: 0; }
}

@keyframes rising-ember-left {
  0% { transform: translateY(10px) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-90px) translateX(-25px) scale(0.3); opacity: 0; }
}

@keyframes rising-ember-right {
  0% { transform: translateY(10px) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { transform: translateY(-90px) translateX(25px) scale(0.3); opacity: 0; }
}

@keyframes rising-ember-wobble {
  0% { transform: translateY(10px) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translateY(-40px) translateX(12px) scale(0.7); }
  90% { opacity: 0.8; }
  100% { transform: translateY(-90px) translateX(-12px) scale(0.3); opacity: 0; }
}

@keyframes rising-ember-windy-left {
  0% { transform: translateY(15px) translateX(0) scale(0.8); opacity: 0; }
  25% { transform: translateY(-20px) translateX(-15px) scale(1.1); opacity: 0.9; }
  50% { transform: translateY(-50px) translateX(-5px) scale(0.7); }
  75% { transform: translateY(-70px) translateX(-25px) scale(1); opacity: 0.8; }
  100% { transform: translateY(-100px) translateX(-10px) scale(0.4); opacity: 0; }
}

@keyframes rising-ember-windy-right {
  0% { transform: translateY(15px) translateX(0) scale(0.8); opacity: 0; }
  25% { transform: translateY(-25px) translateX(10px) scale(1.2); opacity: 0.9; }
  50% { transform: translateY(-45px) translateX(25px) scale(0.6); }
  75% { transform: translateY(-75px) translateX(5px) scale(0.9); opacity: 0.7; }
  100% { transform: translateY(-100px) translateX(20px) scale(0.3); opacity: 0; }
}

@keyframes rising-ember-fast-up {
  0% { transform: translateY(10px) translateX(0) scale(1.2); opacity: 0; }
  20% { opacity: 0.9; transform: translateY(-20px) translateX(5px) scale(1); }
  80% { opacity: 0.8; transform: translateY(-70px) translateX(-5px) scale(0.8); }
  100% { transform: translateY(-110px) translateX(2px) scale(0.2); opacity: 0; }
}

@keyframes rising-ember-slow-drift {
  0% { transform: translateY(10px) translateX(0) scale(0.7); opacity: 0; }
  15% { opacity: 0.6; }
  50% { transform: translateY(-40px) translateX(-15px) scale(0.9); }
  85% { opacity: 0.6; }
  100% { transform: translateY(-90px) translateX(15px) scale(0.4); opacity: 0; }
}

/* ----------------------------------------------------
   Premium Header component
   ---------------------------------------------------- */
.premium-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.header-inner {
  max-width: 100%;
  padding: 0 40px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2; /* Float above embers container */
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  gap: 14px;
  flex: 1 1 0%;
}

.brand-logo-img {
  height: 64px; /* Increased from 52px to make the logo larger */
  width: auto;
  aspect-ratio: auto;
  display: block;
  transition: filter 0.35s var(--ease-premium);
}

body[data-theme="dark"] .brand-logo-img {
  filter: brightness(0) invert(1);
}

.logo-box {
  background-color: var(--color-red);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  letter-spacing: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 2px;
  line-height: 1.0;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 3px;
}

.header-nav {
  display: flex;
  gap: 28px;
  height: 100%;
  align-items: center;
  flex: 0 0 auto;
}

.nav-item-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.25s ease;
  position: relative;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
}

/* ----------------------------------------------------
   Products Mega Menu Container & Layout
   ---------------------------------------------------- */
.nav-item-products-wrapper {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item-products-wrapper:hover .mega-menu-panel,
.mega-menu-panel.hover-active,
.mega-menu-panel.force-open,
.mega-menu-panel:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu-panel {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.mega-menu-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  min-height: 380px;
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

/* Sol Kategori Listesi */
.mega-menu-categories {
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  padding: 24px 0;
  gap: 2px;
}

.mega-cat-btn {
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  color: var(--text-secondary);
  padding: 12px 24px;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: all 0.2s ease;
}

.mega-cat-btn:hover, .mega-cat-btn.active {
  color: var(--color-red);
  background: var(--bg-primary);
  border-left-color: var(--color-red);
}

.mega-cat-btn .active-arrow {
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s ease;
}

.mega-cat-btn:hover .active-arrow, .mega-cat-btn.active .active-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Orta Model Listesi */
.mega-menu-models {
  padding: 32px;
  background: var(--bg-primary);
  overflow-y: auto;
  max-height: 440px;
}

.mega-models-group {
  display: none;
}

.mega-models-group.active {
  display: block;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mega-model-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  background: var(--bg-secondary);
  transition: all 0.2s ease;
}

.mega-model-item:hover {
  border-color: var(--color-red);
  background: var(--bg-tertiary);
  color: var(--color-red);
}

.mega-model-item .model-bullet {
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  transition: background 0.2s ease;
}

.mega-model-item:hover .model-bullet {
  background: var(--color-red);
}

/* Sağ Yardım Alanı */
.mega-menu-guide {
  border-left: 1px solid var(--border-color);
  padding: 32px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
}

.guide-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  font-weight: 500;
}

.guide-cta-btn {
  background: var(--color-red);
  color: #ffffff;
  padding: 14px 24px;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid var(--color-red);
}

.guide-cta-btn:hover {
  background: transparent;
  color: var(--color-red);
}

.guide-note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Chevron indicator in nav trigger */
.trigger-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-chevron {
  font-size: 0.55rem;
  transition: transform 0.2s ease;
  vertical-align: middle;
}

.nav-item-products-wrapper:hover .nav-chevron {
  transform: rotate(180deg);
  color: var(--color-red);
}

/* Arabic RTL overrides for Mega Menu */
html[dir="rtl"] .mega-menu-categories {
  border-right: none;
  border-left: 1px solid var(--border-color);
}

html[dir="rtl"] .mega-cat-btn {
  text-align: right;
  border-left: none;
  border-right: 3px solid transparent;
}

html[dir="rtl"] .mega-cat-btn:hover, html[dir="rtl"] .mega-cat-btn.active {
  border-right-color: var(--color-red);
  border-left-color: transparent;
}

html[dir="rtl"] .mega-menu-guide {
  border-left: none;
  border-right: 1px solid var(--border-color);
}


.nav-item-link {
  position: relative;
  padding: 10px 14px;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.nav-item-link::before {
  content: "[";
  position: absolute;
  left: -2px;
  opacity: 0;
  color: var(--color-red);
  transform: translateX(6px);
  transition: all 0.25s var(--ease-premium);
  font-weight: 400;
  font-family: var(--font-mono);
}

.nav-item-link::after {
  content: "]";
  position: absolute;
  right: -2px;
  opacity: 0;
  color: var(--color-red);
  transform: translateX(-6px);
  transition: all 0.25s var(--ease-premium);
  font-weight: 400;
  font-family: var(--font-mono);
}

.nav-item-link:hover {
  color: var(--text-primary);
}

.nav-item-link:hover::before {
  opacity: 1;
  left: 2px;
  transform: translateX(0);
}

.nav-item-link:hover::after {
  opacity: 1;
  right: 2px;
  transform: translateX(0);
}

.header-right-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 1 1 0%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-utilities {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language selector dropdown style */
.lang-selector-dropdown {
  position: relative;
}

.lang-trigger-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.lang-trigger-btn:hover {
  border-color: var(--color-red);
}

.lang-menu-list {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0;
  min-width: 160px;
  display: none;
  flex-direction: column;
  z-index: 100;
}

.lang-selector-dropdown:hover .lang-menu-list {
  display: flex;
}

.lang-menu-item {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 12px 18px;
  text-align: left;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  width: 100%;
  transition: var(--transition-smooth);
}

.lang-menu-item:hover, .lang-menu-item.active {
  background: var(--bg-tertiary);
  color: var(--color-red);
}

/* Theme toggle button styling */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.theme-svg {
  width: 18px;
  height: 18px;
}

/* Request quote premium button */
.rfq-button-header {
  background-color: var(--color-red);
  color: #ffffff;
  padding: 11px 22px;
  border: 1px solid var(--color-red);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.rfq-button-header:hover {
  background-color: transparent;
  color: var(--color-red);
  transform: none;
}

.mobile-menu-trigger {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.bar-line {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* ----------------------------------------------------
   Mobile navigation drawer style
   ---------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999 !important;
  visibility: hidden;
  transition: visibility 0.3s;
}

.mobile-drawer.opened {
  visibility: visible;
}

.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 19, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.opened .mobile-drawer-overlay {
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: var(--bg-primary) !important;
  padding: 30px 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-y: auto;
}

.mobile-drawer.opened .mobile-drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 50%;
}

.drawer-close-btn:hover {
  background: var(--bg-secondary);
  color: var(--color-red);
}

.drawer-close-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.mobile-nav-links > a,
.mobile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.mobile-nav-links > a:hover,
.mobile-accordion-trigger:hover {
  background: var(--bg-primary);
  border-color: var(--color-red);
  color: var(--color-red);
}

.mobile-accordion-trigger .acc-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.mobile-accordion-content {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px 16px 12px;
  border-left: 2px solid var(--color-red);
  margin-left: 16px;
  margin-top: 6px;
}

.mobile-accordion-content.open {
  display: flex;
}

.mobile-acc-sublink {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.mobile-acc-sublink:hover {
  color: var(--color-red);
  background: var(--bg-secondary);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.rfq-button-mobile {
  display: block;
  background: var(--color-red);
  color: #fff;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.rfq-button-mobile:hover {
  background: #b91c1c;
}

body.drawer-opened {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

/* RTL overrides for Arabic */
html[dir="rtl"] .logo-text {
  text-align: right;
}

html[dir="rtl"] .lang-menu-list {
  right: auto;
  left: 0;
}

html[dir="rtl"] .lang-menu-item {
  text-align: right;
}

html[dir="rtl"] .mobile-drawer-content {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  border-left: none;
  border-right: 1px solid var(--border-color);
}

html[dir="rtl"] .mobile-drawer.opened .mobile-drawer-content {
  transform: translateX(0);
}

html[dir="rtl"] .mobile-accordion-content {
  border-left: none;
  border-right: 2px solid var(--color-red);
  margin-left: 0;
  margin-right: 16px;
}

/* ----------------------------------------------------
   Cinematic Hero Section
   ---------------------------------------------------- */
.cinematic-hero-section {
  position: relative;
  height: calc(100vh - 80px);
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 75% 50%, rgba(213, 15, 47, 0.15), transparent 55%);
  background-size: cover;
  opacity: 0.95;
  transition: var(--transition-smooth);
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-video-container > picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-bg-poster,
.hero-bg-motion {
  position: absolute;
  inset: 0;
}

.hero-bg-motion {
  opacity: 0;
  transition: opacity 300ms ease;
}

.hero-bg-motion.is-ready {
  opacity: 1;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .hero-bg-motion {
    display: none;
  }
}

html[dir="rtl"] .hero-video-container {
  background-image: 
    radial-gradient(circle at 25% 50%, rgba(213, 15, 47, 0.15), transparent 55%);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: background 0.35s ease;
}

body[data-theme="light"] .hero-video-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 18%, rgba(255, 255, 255, 0.2) 32%, rgba(255, 255, 255, 0) 42%);
}

body[data-theme="dark"] .hero-video-overlay {
  background: linear-gradient(90deg, rgba(10, 11, 14, 0.95) 0%, rgba(10, 11, 14, 0.8) 18%, rgba(10, 11, 14, 0.2) 32%, rgba(10, 11, 14, 0) 42%);
}

html[dir="rtl"] .hero-video-overlay {
  transform: scaleX(-1);
}

.glowing-ambient-circle {
  position: absolute;
  width: 550px;
  height: 550px;
  filter: blur(120px);
  opacity: var(--glow-opacity);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}

.glowing-ambient-circle.red {
  background: radial-gradient(var(--color-red), transparent 70%);
  top: 15%;
  right: 5%;
}

.glowing-ambient-circle.orange {
  background: radial-gradient(var(--color-orange), transparent 70%);
  bottom: 15%;
  left: 5%;
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2; /* Float above video background */
}

.hero-container.single-column {
  grid-template-columns: 1fr;
  max-width: 960px;
  margin-left: 0;
  padding-left: 80px;
}

.hero-text-column.full-width {
  width: 100%;
  max-width: 900px;
}

.hero-subtitle-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-red);
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  display: block;
  margin-bottom: 20px;
}

.hero-main-title {
  font-size: clamp(2.2rem, 6.2vw, 5.5rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
  word-break: break-word;
}

.hero-paragraph-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary-glow {
  position: relative;
  overflow: hidden;
  background-color: var(--color-red);
  color: #ffffff;
  border: 1px solid var(--color-red);
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
  transition: color 0.3s var(--ease-premium), border-color 0.3s var(--ease-premium);
}

.btn-primary-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.4s var(--ease-premium);
}

.btn-primary-glow:hover {
  color: #ffffff;
  border-color: var(--text-primary);
}

.btn-primary-glow:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary-glow:hover .arrow-sym {
  transform: translateX(4px);
}

.btn-primary-glow .arrow-sym {
  display: inline-block;
  transition: transform 0.3s var(--ease-premium);
}

.btn-secondary-link {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
  transition: color 0.3s var(--ease-premium), border-color 0.3s var(--ease-premium);
}

.btn-secondary-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-red);
  transform: scaleX(0);
  transform-origin: right;
  z-index: -1;
  transition: transform 0.4s var(--ease-premium);
}

.btn-secondary-link:hover {
  color: #ffffff;
  border-color: var(--color-red);
}

.btn-secondary-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* HUD Telemetry styling */
.telemetry-hud-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  max-width: 560px;
  box-shadow: none; /* remove SaaS dropshadow for flat industrial look */
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.hud-mono-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hud-tag-active {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-red);
  font-weight: 700;
  letter-spacing: 1px;
}

.live-dot-glow {
  width: 8px;
  height: 8px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-red);
}

.pulse-slow {
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

.hud-tab-row {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.hud-tab-item {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hud-tab-item:hover, .hud-tab-item.active {
  color: var(--text-primary);
  border-bottom-color: var(--color-red);
}

.hud-tab-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  min-height: 48px;
}

.hud-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background-color: var(--bg-tertiary);
  padding: 16px;
  border-left: 2px solid var(--color-red);
}

.lbl-metric {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.val-metric {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 3px;
}

.temp-color {
  color: var(--color-red);
}

.hud-footer-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
  display: block;
  margin-top: 12px;
}

/* ----------------------------------------------------
   Technical Image Blueprint Frame styling (Placeholders)
   ---------------------------------------------------- */
.technical-image-placeholder {
  background-color: var(--color-blueprint-dark);
  border: 1px solid var(--border-color);
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 24px;
  transition: var(--transition-smooth);
}

/* Outer CAD ticks */
.cad-focus-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(213, 15, 47, 0.35);
  border-style: solid;
  pointer-events: none;
  z-index: 4;
  transition: var(--transition-smooth);
}
.cad-focus-bracket.tl { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.cad-focus-bracket.tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
.cad-focus-bracket.bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.cad-focus-bracket.br { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }

.product-family-card:hover .cad-focus-bracket,
.showcase-visual-column:hover .cad-focus-bracket,
.svg-container-card:hover .cad-focus-bracket {
  border-color: var(--color-red);
  width: 18px;
  height: 18px;
}

/* Crosshairs & Radar circles */
.cad-crosshairs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.18;
}
.cad-crosshairs::before, .cad-crosshairs::after {
  content: "";
  position: absolute;
  background-color: var(--color-red);
}
.cad-crosshairs::before {
  top: 50%; left: 15%; right: 15%; height: 1px;
}
.cad-crosshairs::after {
  left: 50%; top: 15%; bottom: 15%; width: 1px;
}

.cad-radar-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(213, 15, 47, 0.12);
  border-radius: 50% !important;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition-smooth);
}
.product-family-card:hover .cad-radar-circle,
.showcase-visual-column:hover .cad-radar-circle {
  width: 120px;
  height: 120px;
  border-color: var(--color-red);
}

/* Axis rules ticks */
.cad-axis-scale {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.2;
}
.cad-axis-scale::before {
  content: "0.0   10.0   20.0   30.0   40.0   50.0   60.0   70.0   80.0   90.0";
  position: absolute;
  top: 4px;
  left: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-muted);
  word-spacing: 1rem;
  text-align: center;
}

/* Title block in AutoCAD style */
.cad-title-block {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(7, 9, 14, 0.9);
  border: 1px solid rgba(213, 15, 47, 0.2);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-secondary);
  z-index: 4;
  text-align: left;
  line-height: 1.3;
}
.cad-title-block div {
  margin-bottom: 2px;
}
.cad-title-block div:last-child {
  margin-bottom: 0;
}
.cad-title-block span {
  color: var(--color-red);
  font-weight: 700;
}

/* Draw grid pattern in placeholder */
.technical-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--color-blueprint-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-blueprint-grid) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 1;
}

.placeholder-mono-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-red);
  font-weight: 700;
  position: relative;
  z-index: 3;
  margin-top: 8px;
  letter-spacing: 1px;
  text-align: center;
}

.placeholder-sub-lbl {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #718096;
  position: relative;
  z-index: 3;
  margin-top: 4px;
}

.blueprint-vector {
  position: relative;
  z-index: 3;
  color: var(--color-red);
  opacity: 0.75;
  filter: drop-shadow(0 0 4px rgba(var(--color-red-rgb), 0.4));
  margin-bottom: 8px;
  transition: var(--transition-smooth);
}

.product-family-card:hover .blueprint-vector,
.showcase-visual-column:hover .blueprint-vector {
  transform: scale(1.1);
  color: var(--color-orange);
  filter: drop-shadow(0 0 8px rgba(var(--color-orange-rgb), 0.6));
}

/* ----------------------------------------------------
   Hero Visual area and SVG
   ---------------------------------------------------- */
.svg-container-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.telemetry-overlay-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.corner-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.incinerator-vector-mockup {
  width: 100%;
  height: auto;
  display: block;
}

.interactive-chamber {
  cursor: pointer;
}

.interactive-chamber .housing-rect {
  fill: var(--svg-fill);
  stroke: var(--svg-outline);
  stroke-width: 2.5;
  transition: var(--transition-smooth);
}

.interactive-chamber .housing-inner-rect {
  fill: var(--svg-inner-fill);
  stroke: var(--border-color);
  stroke-width: 1.5;
  transition: var(--transition-smooth);
}

.interactive-chamber .housing-lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  fill: var(--text-muted);
  font-weight: 700;
  transition: var(--transition-smooth);
}

.interactive-chamber .screen-indicator {
  fill: #000;
  stroke: var(--svg-outline);
  stroke-width: 1.5;
}

.interactive-chamber .loading-door-handle {
  fill: var(--text-muted);
  stroke: var(--svg-outline);
  stroke-width: 1.5;
}

/* Highlight states */
.interactive-chamber:hover .housing-rect,
.interactive-chamber.highlighted .housing-rect {
  stroke: var(--color-red);
  fill: var(--bg-tertiary);
  filter: drop-shadow(0 0 6px rgba(var(--color-red-rgb), 0.25));
}

.interactive-chamber:hover .housing-lbl,
.interactive-chamber.highlighted .housing-lbl {
  fill: var(--color-red);
}

/* Animations for flames */
.flame-vector {
  transform-origin: center bottom;
}

.animate-flame-1 {
  animation: flame-pulse-1 1.4s ease-in-out infinite alternate;
}

.animate-flame-2 {
  animation: flame-pulse-2 0.9s ease-in-out infinite alternate;
}

@keyframes flame-pulse-1 {
  0% { transform: scale(0.96) skewX(-1.5deg); opacity: 0.8; }
  100% { transform: scale(1.04) skewX(1.5deg); opacity: 0.95; }
}

@keyframes flame-pulse-2 {
  0% { transform: scale(0.92) skewX(2deg); opacity: 0.7; }
  100% { transform: scale(1.08) skewX(-2deg); opacity: 0.9; }
}

.water-droplets {
  animation: water-drip 1.8s linear infinite;
}

@keyframes water-drip {
  0% { transform: translateY(0); opacity: 0.2; }
  50% { opacity: 0.75; }
  100% { transform: translateY(10px); opacity: 0.2; }
}

.gas-flow-pipe-path {
  transition: stroke 0.3s;
}

.hero-telemetry-status-bar {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 12px 32px;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.ticker-inner .divider {
  color: var(--color-red);
  font-weight: 700;
}

/* RTL layout settings for Hero */
html[dir="rtl"] .hero-container {
  grid-template-columns: 1fr 1fr;
}

html[dir="rtl"] .btn-primary-glow .arrow-sym {
  transform: rotate(180deg);
  display: inline-block;
}

/* ----------------------------------------------------
   Product Families Section
   ---------------------------------------------------- */
.product-families-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.section-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.section-header-wrap {
  margin-bottom: 60px;
  max-width: 760px;
}

.section-header-wrap.align-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow-tag {
  font-family: var(--font-mono);
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 20px; /* Increased from 12px for premium breathing room */
  margin-top: 10px;    /* Added top spacing above the tag */
}

.section-heading-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.section-lead-paragraph {
  font-size: 1rem;
  color: var(--text-secondary);
}

.product-families-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 32px;
}

.product-family-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.card-glow-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.25s ease;
  z-index: 10;
}

.product-family-card:hover {
  border-color: var(--color-red);
  transform: translateY(-4px);
}

.product-family-card:hover .card-glow-highlight {
  background-color: var(--color-red);
}

.card-image-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.card-content-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.technical-code-lbl {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-red);
  background: rgba(var(--color-red-rgb), 0.08);
  padding: 4px 8px;
}

.capacity-tag-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.card-family-title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  word-spacing: 2px;
}

.card-family-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.btn-card-action {
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  transition: color 0.25s;
}

.btn-card-action:hover {
  color: var(--color-red);
}

.tech-schematic-icon {
  color: var(--text-muted);
  opacity: 0.4;
  transition: opacity 0.25s, color 0.25s;
}

.product-family-card:hover .tech-schematic-icon {
  opacity: 0.9;
  color: var(--color-red);
}

/* ----------------------------------------------------
   Process Flow Section (5-Step pipeline path)
   ---------------------------------------------------- */
.process-flow-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.process-pipeline-wrapper {
  position: relative;
  margin-top: 60px;
}

.flow-pipeline-pipe {
  position: absolute;
  top: 36px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.flow-pulse-light {
  height: 100%;
  width: 160px;
  background: linear-gradient(90deg, transparent, var(--color-red), transparent);
  position: absolute;
  top: 0;
  left: 0;
  animation: laser-pulse 5.5s linear infinite;
}

@keyframes laser-pulse {
  0% { left: -160px; }
  100% { left: 100%; }
}

.process-step-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.process-step-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.process-step-card:hover {
  border-color: var(--color-red);
}

.step-badge-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-red);
  margin-bottom: 20px;
  background-color: var(--bg-primary);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-color);
  align-self: flex-start;
  transition: var(--transition-smooth);
}

.process-step-card:hover .step-badge-num {
  background-color: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-card-header svg {
  color: var(--text-secondary);
  transition: color 0.25s;
}

.process-step-card:hover .step-card-header svg {
  color: var(--color-red);
}

.step-heading {
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.step-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step-node-glow {
  position: absolute;
  top: -7px;
  left: 48px;
  width: 10px;
  height: 10px;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 50% !important; /* Keep node rounded */
  z-index: 5;
  transition: var(--transition-smooth);
}

.process-step-card:hover .step-node-glow {
  background-color: var(--color-red);
  border-color: var(--color-red);
}

/* ----------------------------------------------------
   Technology Showcase Section
   ---------------------------------------------------- */
.technology-showcase-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.showcase-interactive-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: stretch;
}

.showcase-visual-column {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 20px;
  display: flex;
}

.showcase-image-box {
  position: relative;
  overflow: hidden;
  flex-grow: 1;
}

.showcase-render-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-lens-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(var(--color-red-rgb), 0.08), transparent 60%);
  pointer-events: none;
}

.telemetry-info-box-corner {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(11, 13, 19, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px;
  color: #fff;
}

.telemetry-hud-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-red);
}

.telemetry-hud-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  opacity: 0.7;
}

.tech-selector-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.tech-selector-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  transition: var(--transition-smooth);
  font-family: var(--font-sans);
}

.tech-selector-item:hover {
  border-color: var(--color-red);
  transform: translateX(4px);
}

.tech-selector-item.active {
  background-color: var(--bg-tertiary);
  border-color: var(--color-red);
}

.tech-selector-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50% !important; /* Keep selector dot round */
  transition: var(--transition-smooth);
}

.tech-selector-item.active .tech-selector-indicator {
  background-color: var(--color-red);
}

.tech-selector-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-selector-title-wrap svg {
  color: var(--text-muted);
  transition: color 0.25s;
}

.tech-selector-item.active svg {
  color: var(--color-red);
}

.tech-selector-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
}

.tech-showcase-description-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
}

.tech-detail-title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tech-detail-text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.technical-disclaimer-shield {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.shield-icon {
  font-size: 1rem;
}

/* ----------------------------------------------------
   Marquee reference clients bar
   ---------------------------------------------------- */
.marquee-references-strip {
  margin-top: 80px;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  background-color: var(--bg-secondary);
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: marquee-scroll 32s linear infinite;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reference-logo-card {
  width: 140px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 6px;
}

.reference-logo-card img {
  max-width: 90px;
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.45;
  transition: opacity 0.25s, filter 0.25s;
}

.reference-logo-card:hover img {
  opacity: 1;
  filter: grayscale(0);
}

/* RTL overrides for selector buttons */
html[dir="rtl"] .tech-selector-item {
  text-align: right;
}

html[dir="rtl"] .tech-selector-item:hover {
  transform: translateX(-4px);
}

/* ----------------------------------------------------
   RFQ/Form Section
   ---------------------------------------------------- */
/* ----------------------------------------------------
   RFQ/Form Section (B2B Configurator Layout)
   ---------------------------------------------------- */
.rfq-form-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.rfq-configurator-card {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 48px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.rfq-configurator-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.rfq-card-title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}

.rfq-card-lead {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.configurator-section-box {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border-color);
}

.configurator-section-box:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
  padding-bottom: 0;
}

.section-divider-mono {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.rfq-tag-mono {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-red);
  font-size: 0.78rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 14px;
}

.rfq-panel-title {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.rfq-panel-lead {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.65;
}

.rfq-contact-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.contact-line {
  font-size: 0.9rem;
}

.contact-label {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-secondary);
  margin-right: 8px;
}

.contact-val-link {
  color: var(--color-red);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.25s;
}

.contact-val-link:hover {
  color: var(--color-orange);
}

.regulatory-notice-card {
  background: var(--bg-tertiary);
  border-left: 2px solid var(--color-red);
  padding: 16px;
}

.regulatory-notice-card strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.regulatory-notice-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Form inputs visual styling */
.rfq-interactive-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.rfq-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rfq-chip-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.rfq-chip-item:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.rfq-chip-item.active {
  background-color: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}

.configurator-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-input-wrapper {
  position: relative;
}

.form-input-wrapper.full-width {
  grid-column: span 2;
}

.form-input-field, .form-textarea-field {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 14px;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.form-input-field:focus, .form-textarea-field:focus {
  outline: none;
  border-color: var(--color-red);
}

.form-input-field:focus-visible,
.form-textarea-field:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-red) 24%, transparent);
}

.form-input-field:user-invalid,
.form-textarea-field:user-invalid {
  border-color: #d92d20;
}

.select-field {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px !important;
  cursor: pointer;
}

.btn-rfq-submit-glow {
  background-color: var(--color-red);
  color: #fff;
  border: 1px solid var(--color-red);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  margin-top: 10px;
}

.btn-rfq-submit-glow:hover {
  background-color: transparent;
  color: var(--color-red);
}

.btn-rfq-submit-glow:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  border-color: var(--border-color);
}

.form-response-alert {
  padding: 16px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  display: none;
  line-height: 1.5;
}

.form-response-alert.success {
  display: block;
  background-color: rgba(76, 175, 80, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.2);
  color: #4caf50;
}

.form-response-alert.warning {
  display: block;
  background-color: rgba(255, 152, 0, 0.08);
  border: 1px solid rgba(255, 152, 0, 0.2);
  color: #ff9800;
}

.form-response-alert.error {
  display: block;
  background-color: rgba(244, 67, 54, 0.08);
  border: 1px solid rgba(244, 67, 54, 0.2);
  color: #f44336;
}

.rfq-submit-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.rfq-submit-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.rfq-submit-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rfq-submit-spin 700ms linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .rfq-submit-spinner { animation-duration: 1.5s; }
}

.rfq-card-footer {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.rfq-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 24px;
}

.rfq-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rfq-footer-col.notice-col {
  border-left: 1px dashed var(--border-color);
  padding-left: 24px;
}

.footer-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rfq-footer-link {
  color: var(--color-red);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  transition: color 0.25s;
  display: block;
}

.rfq-footer-link:hover {
  color: var(--color-orange);
}

.rfq-footer-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.rfq-footer-notice {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* RTL layout adjustments for RFQ */
html[dir="rtl"] .configurator-inputs-grid {
  direction: rtl;
}

html[dir="rtl"] .rfq-footer-col.notice-col {
  border-left: none;
  border-right: 1px dashed var(--border-color);
  padding-left: 0;
  padding-right: 24px;
}

html[dir="rtl"] .regulatory-notice-card {
  border-left: none;
  border-right: 2px solid var(--color-red);
}

/* ----------------------------------------------------
   Premium Footer Section
   ---------------------------------------------------- */
.premium-footer {
  background-color: #0a0b0e;
  color: #ffffff;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.footer-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
}

.footer-logo-wrapper {
  margin-bottom: 24px;
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}

.footer-description {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 420px;
  color: #ffffff;
}

.footer-title-mono {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-red);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s;
  font-family: var(--font-mono);
}

.footer-links-list a:hover {
  color: var(--color-red);
}

.footer-social-wrapper {
  margin-top: 28px;
}

.footer-social-links {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-social-link {
  color: #ffffff;
  transition: color 0.25s, transform 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-social-link:hover {
  color: var(--color-red);
  transform: translateY(-2px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.4;
  transition: color 0.25s;
}

.footer-contact-text:hover {
  color: var(--color-red);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.copyright-lbl {
  font-size: 0.78rem;
  color: #718096;
}

.logo-box-mini {
  background-color: #1a202c;
  color: #718096;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.7rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #2d3748;
}

/* ----------------------------------------------------
   Scroll-Reveal Animations (Scroll Triggered)
   ---------------------------------------------------- */
.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------
   Responsive Media Queries for Tablet/Mobile
   ---------------------------------------------------- */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 12px;
  }
  
  .brand-logo {
    flex: none;
  }
  
  .brand-logo-img {
    height: 48px; /* Slightly smaller to fit better on mobile/tablet devices */
  }
  
  .header-nav {
    display: none; /* Hide standard nav */
  }
  
  .header-right-group {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
  }
  
  .header-utilities {
    margin-left: 0;
    margin-right: 8px;
  }
  
  .mobile-menu-trigger {
    display: flex; /* Display drawer burger icon */
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  
  .hero-container.single-column {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .hero-text-column {
    order: 1;
  }
  
  .hero-visual-column {
    order: 2;
    margin-top: 20px;
  }
  
  .showcase-interactive-layout {
    grid-template-columns: 1fr;
  }
  
  .rfq-panel-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 32px;
  }
  
  .process-step-columns {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
  }
  
  .flow-pipeline-pipe {
    display: none; /* Hide connecting pipe on stacked columns */
  }
  
  .step-node-glow {
    display: none;
  }
  
  .footer-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-actions .rfq-button-header,
  .header-utilities .lang-selector-dropdown {
    display: none; /* Clean up header for small sizes, push to drawer */
  }
  
  .product-families-grid,
  .models-showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .product-family-card {
    aspect-ratio: auto;
    min-height: 280px;
    background-size: cover;
    background-position: right bottom;
  }

  .product-family-card::before {
    width: 100% !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0.4) 100%) !important;
  }

  .product-family-card .card-inner-content {
    max-width: 100% !important;
  }
  
  .rfq-inputs-grid {
    grid-template-columns: 1fr;
  }
  
  .form-input-wrapper.full-width {
    grid-column: span 1;
  }
  
  .showcase-image-box {
    height: 280px;
  }
}

/* ====================================================
   B2B ENGINEERING REDESIGN ADAPTATIONS
   ==================================================== */

/* Tight Grotesk Headers */
h1, h2, h3, h4, .section-heading-title, .hero-main-title {
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.section-eyebrow-tag, .hero-subtitle-tag, .rfq-tag-mono, .footer-title-mono {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Rebuilt HUD Engineering Metric Cards */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  width: 100%;
  max-width: 680px;
}

.hero-metric-card {
  background: rgba(16, 18, 26, 0.7);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

body[data-theme="light"] .hero-metric-card {
  background: rgba(255, 255, 255, 0.7);
}

.hero-metric-card:hover {
  border-color: rgba(var(--color-red-rgb), 0.5);
  background: rgba(16, 18, 26, 0.85);
}

body[data-theme="light"] .hero-metric-card:hover {
  background: rgba(255, 255, 255, 0.9);
}

.hero-metric-card.active {
  border-color: var(--color-red);
  background: rgba(var(--color-red-rgb), 0.1);
}

.metric-card-num {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.hero-metric-card.active .metric-card-num {
  color: var(--color-red);
  opacity: 1;
}

.metric-card-info {
  display: flex;
  flex-direction: column;
}

.metric-card-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 700;
}

.metric-card-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
  transition: var(--transition-smooth);
}

.hero-metric-card.active .metric-card-value {
  color: var(--color-red);
}

/* Metric Detail Box */
.hero-metric-detail-box {
  margin-top: 16px;
  border-left: 3px solid var(--color-red);
  padding: 12px 20px;
  max-width: 680px;
  width: 100%;
  background: rgba(16, 18, 26, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

body[data-theme="light"] .hero-metric-detail-box {
  background: rgba(255, 255, 255, 0.4);
}

.detail-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-red);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.detail-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Floating Telemetry Box inside Hero Visual Column */
.floating-telemetry-container {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  z-index: 6;
}

.floating-tel-card {
  background: rgba(7, 9, 14, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.floating-tel-card:hover, .floating-tel-card.active {
  border-color: var(--color-red);
  background: rgba(213, 15, 47, 0.12);
}

.tel-card-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
}

.floating-tel-card:hover .tel-card-label, .floating-tel-card.active .tel-card-label {
  color: #ffffff;
}

.tel-card-value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
}

.floating-tel-card.active .tel-card-value {
  color: var(--color-red);
}

/* Product Families Card Upgrades */
.product-family-card {
  height: auto;
  aspect-ratio: 1774 / 887; /* 2:1 ratio for optimized desktop layout */
  background-color: #ffffff; /* White background to blend with white background of the images */
  background-size: cover; /* Fill the card completely with no stretch */
  background-position: center; /* Center background image */
  background-repeat: no-repeat;
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.product-family-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 45%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.product-family-card:hover {
  border-color: var(--color-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(213, 15, 47, 0.06);
}

.card-inner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px;
  box-sizing: border-box;
  max-width: 60%; /* Keep text on the left, leaving the right side for the machine image */
  text-align: left;
}

.card-top-meta-overlay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
}

.series-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--color-red);
  letter-spacing: 1px;
}

.card-bottom-content-overlay {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-family-card .card-family-title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  word-spacing: 2px;
}

.product-family-card .card-family-desc {
  font-size: 0.88rem;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.card-bottom-row-overlay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid rgba(213, 15, 47, 0.15);
  padding-top: 12px;
  width: 100%;
}

.capacity-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-red);
  font-weight: 700;
  opacity: 0.85;
}

.btn-card-action-overlay {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-red);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.25s, transform 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-card-action-overlay:hover {
  color: var(--color-red-deep, #8f0f1f);
  transform: translateX(4px);
}

.use-case-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Rebuilt Continuous Process Flow Pipeline */
.step-pipe-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  height: 48px;
}

.step-pipe-header .pipe-line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--border-color);
  transition: var(--transition-smooth);
}

.step-pipe-header .pipe-line.left {
  margin-left: -24px;
}

.step-pipe-header .pipe-line.right {
  margin-right: -24px;
}

.process-step-columns .process-step-card:first-child .pipe-line.left {
  opacity: 0;
}

.process-step-columns .process-step-card:last-child .pipe-line.right {
  opacity: 0;
}

.step-pipe-header .pipe-node {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.process-step-card:hover {
  border-color: var(--color-red);
  transform: translateY(-2px);
}

.process-step-card:hover .pipe-node {
  border-color: var(--color-red);
  color: var(--color-red);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 10px rgba(213, 15, 47, 0.15);
}

.process-step-card:hover .pipe-line {
  background-color: var(--color-red);
}

/* Sibling Portals Section Above Footer */
.sibling-portals-section {
  position: relative;
  padding: 80px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.sibling-portals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.sibling-portal-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.sibling-portal-card:hover {
  border-color: var(--color-red);
  background-color: var(--bg-tertiary);
}

.portal-code {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.portal-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.portal-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 20px;
  flex-grow: 1;
}

.portal-links {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  flex-wrap: wrap;
}

.portal-links a {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s;
}

.portal-links a:hover {
  color: var(--color-red);
}

/* AutoCAD Ticks Overlay Helper styles */
.cad-viewport-title {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(213, 15, 47, 0.4);
  z-index: 3;
}

/* Slower controlled animations */


.animate-flame-1 {
  animation: flame-pulse-1 2.5s ease-in-out infinite alternate !important;
}

.animate-flame-2 {
  animation: flame-pulse-2 1.8s ease-in-out infinite alternate !important;
}

.flow-pulse-light {
  height: 100%;
  width: 120px;
  background: linear-gradient(90deg, transparent, rgba(213, 15, 47, 0.45), transparent);
  animation: laser-pulse 8s linear infinite !important;
}

/* RFQ Forms labels alignment */
.field-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 700;
}

/* Technology specs grid styles */
.tech-specs-table {
  margin-top: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.tech-specs-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.78rem;
}

.tech-specs-row:last-child {
  border-bottom: none;
}

.tech-spec-name {
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.tech-spec-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-red);
}

/* RTL overrides for Arabic */
html[dir="rtl"] .sheet-specs-grid {
  border-left: none;
  border-right: 3px solid var(--color-red);
}

html[dir="rtl"] .tech-selector-item.active {
  border-left: 1px solid var(--border-color);
  border-right: 3px solid var(--color-red);
}

html[dir="rtl"] .cad-title-block {
  left: auto;
  right: 12px;
  text-align: right;
}

/* Responsive Sibling Portals */
@media (max-width: 1024px) {
  .sibling-portals-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .sibling-portals-grid {
    grid-template-columns: 1fr;
  }
  .floating-telemetry-container {
    bottom: 12px;
    left: 12px;
    right: 12px;
    gap: 6px;
  }
  .tel-card-value {
    font-size: 0.85rem;
  }
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-red) !important;
  outline-offset: 2px;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .header-embers-line,
  .glowing-ambient-circle,
  .ping-circle,
  .flow-pulse-light,
  .image-lens-glow {
    display: none !important;
  }
  .flame-vector,
  .water-droplets,
  .steam-flow-cloud {
    animation: none !important;
  }
}

/* New Page Layouts & Specific Renders */
.category-page-section, .model-detail-page-section, .corporate-page-section, .waste-page-section, .contact-page-section, .documents-page-section, .references-page-section, .blog-page-section, .video-page-section, .fair-page-section {
  padding-top: 30px; /* Reduced to fix giant top gap under sticky header */
  padding-bottom: 90px;
  position: relative;
  min-height: 80vh;
}

.models-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.model-showcase-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.model-showcase-card:hover {
  border-color: var(--color-red);
  transform: translateY(-5px);
}

.model-showcase-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 15px 0 10px;
}

.model-showcase-desc {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.model-blueprint-mini {
  height: 140px;
  margin-bottom: 25px;
}

.blueprint-vector-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-red);
  opacity: 0.75;
}

.blueprint-vector-mini svg {
  width: 48px;
  height: 48px;
}

.model-detail-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

@media (max-width: 1024px) {
  .model-detail-layout {
    grid-template-columns: 1fr;
  }
}

.model-specs-column {
  display: flex;
  flex-direction: column;
}

.model-detail-title {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 10px;
}

.model-detail-desc {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 15px;
  margin-bottom: 30px;
}

.blueprint-large {
  height: 300px;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.blueprint-large .blueprint-vector svg {
  width: 80px;
  height: 80px;
}

.about-grid-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.about-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.about-card-title {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.about-card-text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.model-detail-layout.stacked {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.model-form-container {
  width: 100%;
}

.contact-layout-stacked {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.contact-form-container {
  width: 100%;
}

@media (max-width: 900px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Ensure scroll to top happens on route change */
html {
  scroll-behavior: smooth;
}


/* Premium Contact Cards Grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.contact-card-item {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-item:hover {
  border-color: var(--color-red);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(213, 15, 47, 0.1);
}

.contact-card-item a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card-item a:hover {
  color: var(--color-red) !important;
}

.card-icon-box {
  color: var(--color-red);
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(213, 15, 47, 0.05);
  border-radius: 50%;
  padding: 10px;
}

.card-icon-box svg {
  width: 100%;
  height: 100%;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.card-value {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  word-break: break-all;
}

/* Form inputs grid style */
.configurator-inputs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .configurator-inputs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .configurator-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.form-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-field-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Grayscale map with toggling filter based on body theme */
.map-iframe-container iframe {
  filter: grayscale(1) invert(0.9) contrast(1.2);
  transition: filter 0.3s ease;
}

body[data-theme="light"] .map-iframe-container iframe {
  filter: grayscale(0.5) invert(0) contrast(1);
}

/* Wastes Directory and Detail Page Styles */
.wastes-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.waste-showcase-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 0 !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.waste-showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.waste-showcase-card:hover {
  border-color: var(--color-red);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(213, 15, 47, 0.15);
}

.waste-showcase-card:hover::before {
  background: var(--color-red);
}

.waste-type-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 15px;
}

.badge-burnable {
  background: rgba(213, 15, 47, 0.08);
  color: var(--color-red);
  border: 1px solid rgba(213, 15, 47, 0.15);
}

.badge-recycling {
  background: rgba(255, 87, 34, 0.08);
  color: var(--color-orange);
  border: 1px solid rgba(255, 87, 34, 0.15);
}

.waste-card-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.waste-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.waste-mini-specs {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 25px;
  border: 1px solid var(--border-color);
}

.mini-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.mini-spec-row:last-child {
  margin-bottom: 0;
}

.mini-spec-row span {
  color: var(--text-muted);
}

.mini-spec-row strong {
  color: var(--text-primary);
}

.back-link-mono {
  transition: transform 0.2s ease, color 0.2s ease;
}

.back-link-mono:hover {
  color: var(--text-primary) !important;
  transform: translateX(-4px);
}

/* Waste Specs Dashboard */
.waste-specs-panel {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 35px;
  background: var(--bg-card-glass);
  margin-top: 40px;
  margin-bottom: 60px;
  width: 100%;
  box-sizing: border-box;
}

.waste-specs-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.dashboard-spec-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.d-spec-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.d-spec-value {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  color: var(--text-primary);
  font-weight: 800;
}

@media (max-width: 1024px) {
  .waste-specs-dashboard {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .waste-specs-dashboard {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Waste Card Visual Frame AutoCAD Blueprint Style */
.waste-card-visual-frame {
  position: relative;
  height: 240px;
  background: var(--color-blueprint-dark);
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 10px;
  box-sizing: border-box;
}

.waste-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
  pointer-events: none;
  z-index: 1;
}

.waste-showcase-card:hover .waste-card-img {
  opacity: 0.95;
  transform: scale(1.05);
}

.waste-visual-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(213, 15, 47, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.waste-showcase-card:hover .waste-visual-glow {
  opacity: 0;
}

.waste-visual-icon {
  position: relative;
  z-index: 3;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.waste-visual-icon svg {
  width: 52px;
  height: 52px;
  color: var(--color-red);
  opacity: 0.85;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.waste-showcase-card:hover .waste-visual-icon {
  opacity: 0;
  transform: scale(0.8);
}

.cad-view-label {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  opacity: 0.6;
  z-index: 2;
}

/* Waste Detail Page 2-Column Layout Styles */
.waste-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 30px;
  align-items: start;
}

.waste-detail-content-side {
  display: flex;
  flex-direction: column;
}

.waste-detail-visual-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.waste-detail-visual-frame {
  position: relative;
  height: 380px;
  background: var(--color-blueprint-dark);
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.waste-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
  z-index: 1;
}

.waste-detail-visual-frame:hover .waste-detail-img {
  opacity: 0.98;
  transform: scale(1.03);
}

.btn-rfq-scroll-trigger {
  width: 100%;
  text-align: center;
  padding: 16px;
  background: var(--color-red);
  color: var(--text-white, #ffffff) !important;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-decoration: none;
}

.btn-rfq-scroll-trigger:hover {
  background: var(--color-red-deep, #8f0f1f);
  box-shadow: 0 8px 24px rgba(213, 15, 47, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .waste-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .waste-detail-visual-frame {
    height: 280px;
  }
}

/* Products Portfolio Page Styles */
.products-portfolio-page-section {
  padding-top: 30px;
  padding-bottom: 90px;
  position: relative;
  min-height: 80vh;
}

.portfolio-families-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.product-portfolio-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.product-portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-red-deep, #8f0f1f));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-portfolio-card:hover {
  border-color: var(--color-red);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-portfolio-card:hover::before {
  opacity: 1;
}

.card-header-area {
  margin-bottom: 25px;
}

.portfolio-series-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-red);
  font-weight: 700;
  letter-spacing: 1px;
}

.portfolio-family-title {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 10px 0 6px;
}

.portfolio-capacity-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.portfolio-card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}

.portfolio-family-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.portfolio-technical-preview {
  position: relative;
  height: 120px;
  background: var(--color-blueprint-dark, #0c1016);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  overflow: hidden;
}

body[data-theme="light"] .portfolio-technical-preview {
  background: #0c1016; /* Keep blueprint dark even in light theme for premium contrast */
}

.portfolio-technical-preview .blueprint-vector-mini svg {
  width: 42px;
  height: 42px;
  color: var(--color-red);
  opacity: 0.8;
}

.portfolio-models-area {
  margin-top: 10px;
}

.models-area-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
}

.portfolio-models-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.model-chip:hover {
  background: var(--color-red-soft, #fff0f2);
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-1px);
}

.portfolio-card-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-color);
}

.portfolio-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-red);
  text-decoration: none;
  transition: gap 0.25s ease, color 0.2s ease;
}

.portfolio-btn-primary:hover {
  color: var(--text-primary);
  gap: 12px;
}

@media (max-width: 768px) {
  .portfolio-families-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* Minimalist B2B Model Main Image Frame */
.model-main-visual-frame {
  position: relative;
  min-height: 520px;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.model-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}

.model-viewer-column {
  min-width: 0;
}

@media (min-width: 1025px) {
  .model-details-main-grid {
    align-items: stretch;
  }

  .model-viewer-column {
    display: flex;
    flex-direction: column;
  }

  .model-viewer-column .model-main-visual-frame {
    flex: 1 1 auto;
    height: auto;
  }
}

.model-viewer-column .model-main-img {
  object-fit: contain;
  background: #f7f7f5;
}

/* Static editorial product gallery: deliberate, fast and free from video/frame loading. */
.product-scene-gallery {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #11151d;
  outline: none;
}

.product-scene-gallery:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 4px;
}

.product-scene-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  opacity: 0;
  transform: none;
  transition: opacity 240ms ease-out;
  pointer-events: none;
}

.product-scene-gallery-image.is-active {
  opacity: 1;
}

.product-scene-gallery.is-contain .product-scene-gallery-image {
  object-fit: contain !important;
  background: #f7f7f5;
}

.model-viewer-column .product-scene-gallery.is-contain {
  flex: none;
  width: 100%;
  min-height: 0;
  align-self: flex-start;
}

.product-scene-gallery-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(12, 15, 20, 0.76);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out;
}

.product-scene-gallery-control:hover,
.product-scene-gallery-control:focus-visible {
  border-color: var(--color-red);
  background: var(--color-red);
  transform: translateY(-50%) scale(1.04);
}

.product-scene-gallery-control:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.product-scene-gallery-control.is-prev { left: 18px; }
.product-scene-gallery-control.is-next { right: 18px; }

.product-scene-gallery-meta {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(12, 15, 20, 0.78);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-scene-gallery-meta span { color: rgba(255, 255, 255, 0.7); }
.product-scene-gallery-meta strong { color: #fff; }

.mobile-gallery-update-notice {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 50%;
  display: grid;
  min-width: min(390px, calc(100% - 150px));
  gap: 3px;
  padding: 12px 18px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-left: 4px solid #f2b705;
  background: rgba(20, 24, 30, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  color: #fff;
  pointer-events: none;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

/* Blog article: readable technical documentation without template clutter. */
.blog-article {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid var(--border-color);
  background: color-mix(in srgb, var(--bg-primary) 96%, #ffffff 4%);
}

.blog-article-header {
  max-width: 860px;
  padding-bottom: clamp(24px, 4vw, 48px);
  border-bottom: 1px solid var(--border-color);
}

.blog-article-header .section-heading-title {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.blog-article-lead {
  max-width: 760px;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 22px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article-cover {
  margin: clamp(28px, 5vw, 56px) 0 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 9;
  background: #e7e7e7;
}

.blog-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-content {
  max-width: 780px;
  margin-top: clamp(32px, 5vw, 64px);
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.8;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
  margin: 2.3em 0 0.7em;
  color: var(--text-primary);
  line-height: 1.25;
  text-wrap: balance;
}

.blog-article-content h2 { font-size: clamp(1.5rem, 2.3vw, 2.2rem); }
.blog-article-content h3 { font-size: clamp(1.25rem, 1.8vw, 1.65rem); }
.blog-article-content h4 { font-size: 1.15rem; }

.blog-article-content p,
.blog-article-content ul,
.blog-article-content blockquote {
  margin: 0 0 1.4em;
}

.blog-article-content ul {
  padding-left: 1.4em;
}

.blog-article-content li + li {
  margin-top: 0.65em;
}

.blog-article-content a {
  color: var(--color-red);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.blog-article-content blockquote {
  padding: 18px 22px;
  border-left: 3px solid var(--color-red);
  background: color-mix(in srgb, var(--color-red) 7%, transparent);
}

.blog-article-footer {
  max-width: 780px;
  margin-top: clamp(36px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 640px) {
  .blog-article {
    padding: 24px 18px 36px;
  }

  .blog-article-header .section-heading-title {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .blog-article-content {
    font-size: 1rem;
    line-height: 1.72;
  }
}

.mobile-gallery-update-notice span {
  color: #f2b705;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mobile-gallery-update-notice strong {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

@media (max-width: 680px) {
  .product-scene-gallery {
    background: #f4f3ef;
  }
  .product-scene-gallery-image {
    object-fit: contain !important;
    object-position: center center;
  }
  .product-scene-gallery-control { width: 44px; height: 44px; }
  .product-scene-gallery-control.is-prev { left: 10px; }
  .product-scene-gallery-control.is-next { right: 10px; }
  .product-scene-gallery-meta { right: 10px; bottom: 10px; font-size: 0.48rem; }
  .product-scene-gallery-meta span { display: none; }
  .mobile-gallery-update-notice {
    top: 12px;
    min-width: 0;
    width: calc(100% - 112px);
    padding: 9px 11px 9px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-scene-gallery-image,
  .product-scene-gallery-control { transition: none; }
}

/* YF-300â€“YF-1000 series 360Â° digital twin â€” reserved 16:9 media stage */
.product-360-main-frame {
  isolation: isolate;
  aspect-ratio: 16 / 9;
  min-height: 0;
  touch-action: pan-y;
  user-select: none;
}

.product-360-main-frame:hover .product-360-image,
.product-360-main-frame.is-ready .product-360-image {
  opacity: 1;
  transform: none;
}

.product-360-main-frame.is-ready {
  cursor: grab;
}

.product-360-main-frame.is-dragging {
  cursor: grabbing;
}

.product-360-main-frame:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 4px;
}

.product-360-hud {
  position: absolute;
  z-index: 2;
  inset: 18px 18px auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.product-360-label,
.product-360-series-tag,
.product-360-reset {
  padding: 8px 10px;
  border: 1px solid rgba(20, 24, 32, 0.18);
  background: rgba(255, 255, 255, 0.84);
  color: rgba(22, 26, 34, 0.78);
}

.product-360-label {
  color: var(--color-red);
}

.product-360-guide {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(82%, 440px);
  padding: 10px 12px;
  border: 1px solid rgba(20, 24, 32, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(22, 26, 34, 0.72);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.45;
}

.product-360-guide-mark {
  color: var(--color-red);
  font-size: 1rem;
  line-height: 1;
}

.product-360-reset {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  min-width: 64px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-360-reset:hover,
.product-360-reset:focus-visible {
  border-color: var(--color-red);
  color: var(--color-red);
}

.product-360-series-note,
.product-experience-series-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.product-experience-series-note {
  max-width: 45rem;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.025em;
}

@media (max-width: 680px) {
  .product-360-hud {
    inset: 10px 10px auto;
    font-size: 0.48rem;
  }

  .product-360-series-tag {
    display: none;
  }

  .product-360-guide {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    font-size: 0.5rem;
  }

  .product-360-reset {
    top: 10px;
    right: 10px;
    bottom: auto;
  }
}

.product-experience-frame {
  background: #f7f7f5;
}

.product-experience-frame:hover .product-experience-image {
  opacity: 1;
  transform: none;
}

.product-experience-image {
  object-fit: contain;
}

.product-experience-controls {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  font-family: var(--font-mono);
}

.product-experience-label {
  color: var(--text-primary);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-color);
  padding: 0 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.product-experience-action {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--color-red);
  background: var(--color-red);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.product-experience-action:hover:not(:disabled),
.product-experience-action:focus-visible {
  background: #fff;
  color: var(--color-red);
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.product-experience-action:disabled {
  cursor: wait;
  opacity: 0.65;
}

.product-experience-status {
  flex-basis: 100%;
  min-height: 1.2em;
  color: var(--text-primary);
  font-size: 0.62rem;
  font-weight: 700;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
}

.product-experience-station {
  position: relative;
  width: min(100%, 1280px);
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(285px, 0.7fr) minmax(0, 1.3fr);
  align-items: stretch;
  margin: 60px auto;
  padding: 0;
  background: #15161b;
  border: 1px solid var(--border-color);
  box-sizing: border-box;
  overflow: hidden;
}

.product-experience-station > * {
  position: relative;
  z-index: 1;
}

.product-experience-control-panel {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 48px);
  background: linear-gradient(135deg, rgba(15, 16, 20, 0.98), rgba(32, 34, 42, 0.94));
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.product-experience-station-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-red);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-experience-station-eyebrow i {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(213, 15, 47, 0.8);
}

.product-experience-control-panel h2 {
  margin: 22px 0 10px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.product-experience-control-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-experience-stage-media {
  min-width: 0;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #f7f7f5;
  overflow: hidden;
}

.product-experience-stage-media .product-experience-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  opacity: 1;
}

.product-experience-station-controls {
  position: static;
  max-width: none;
  align-content: end;
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  margin: auto 0 0;
  width: 100%;
}

.product-experience-station .product-experience-label {
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  line-height: 1.45;
}

.product-experience-station .product-experience-action {
  width: 100%;
}

.product-experience-station .product-experience-status {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: none;
}

@media (max-width: 640px) {
  .product-experience-controls {
    left: 12px;
    bottom: 12px;
    gap: 8px;
    max-width: calc(100% - 24px);
  }

  .product-experience-label {
    font-size: 0.58rem;
    padding: 0 10px;
  }

  .product-experience-action {
    padding: 0 14px;
    font-size: 0.68rem;
  }

  .product-experience-station {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 40px 0;
  }

  .product-experience-control-panel {
    min-height: 260px;
    padding: 28px 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .product-experience-control-panel h2 {
    margin-top: 18px;
  }

  .product-experience-stage-media {
    aspect-ratio: 16 / 9;
  }
}

/* Model Detail Section Full-Width override */
.model-detail-page-section .section-container {
  max-width: 100% !important;
  padding: 0 60px;
}

/* Category Tag Breadcrumbs in Details */
.detail-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-red);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.detail-category-tag:hover {
  color: var(--text-primary);
}

/* Model Specification Sheet Styles */
.model-details-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .model-details-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.model-quick-specs-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  padding: 35px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.model-quick-specs-card .specs-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.model-quick-specs-card .specs-header .model-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.model-quick-specs-card .specs-header .model-title {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-top: 4px;
}

.model-specs-table-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.model-spec-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.85rem;
}

.model-spec-table-row:last-child {
  border-bottom: none;
}

.model-spec-table-row .spec-name {
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.model-spec-table-row .spec-val {
  color: var(--text-primary);
  font-weight: 700;
  text-align: right;
}

.btn-model-rfq-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: var(--color-red);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  border-radius: 0 !important;
}

.btn-model-rfq-trigger:hover {
  background: var(--color-red-deep, #8f0f1f);
  transform: translateY(-2px);
}

.btn-model-pdf-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary) !important;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  margin-top: 12px;
}

.btn-model-pdf-download:hover {
  background: rgba(255, 59, 48, 0.05);
  border-color: var(--color-red);
  color: var(--color-red) !important;
  transform: translateY(-2px);
}

.btn-model-pdf-download.is-pending {
  color: var(--text-muted) !important;
  background: rgba(127, 127, 127, 0.025);
  border-style: dashed;
  cursor: default;
}

.btn-model-pdf-download.is-pending:hover {
  color: var(--text-muted) !important;
  background: rgba(127, 127, 127, 0.025);
  border-color: var(--border-color);
  transform: none;
}

/* Area 2: Interactive Exploration Hub */
.model-exploration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}

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

.exploration-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  border-left: 3px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s var(--ease-premium);
  border-radius: 0 !important;
}

.exploration-tab-btn:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.exploration-tab-btn.active {
  background: rgba(213, 15, 47, 0.03);
  border-color: var(--border-color);
  border-left: 3px solid var(--color-red);
  color: var(--color-red);
  font-weight: 700;
}

.exploration-tab-btn .tab-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.6;
}

.exploration-tab-btn.active .tab-num {
  opacity: 1;
}

.exploration-content-panel {
  grid-column: 1 / -1;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  padding: 40px;
  min-height: 220px;
  box-sizing: border-box;
  margin-top: 20px;
}

.exploration-content-title {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.exploration-content-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

.exploration-content-text:last-child {
  margin-bottom: 0;
}

.exploration-visual-column {
  display: flex;
  flex-direction: column;
}

.exploration-visual-frame {
  position: relative;
  height: 480px;
  background: #0d1117;
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Technical exploration tabs: each inactive MP4 stays network-idle until selected. */
.exploration-visual-tab-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  z-index: 1;
  transition: none !important; /* Force instant hide for inactive tabs */
}

.exploration-visual-tab-content.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  z-index: 2;
  transition: opacity 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.2s ease !important; /* Fast and smooth fade-in */
}

.exploration-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}

.exploration-visual-frame:hover .exploration-visual-img {
  opacity: 0.98;
  transform: scale(1.02);
}

.exploration-visual-frame video.exploration-visual-img,
.exploration-visual-frame:hover video.exploration-visual-img {
  opacity: 1;
  transform: none;
}

/* Manual Operation Overlay Badge */
.manual-operation-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  color: #ff9800; /* Endüstriyel sarı/turuncu */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.manual-operation-badge .badge-dot {
  width: 8px;
  height: 8px;
  background-color: #ff3b30; /* Canlı kırmızı */
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

/* Compliance Station Panel & Emissions Grid Styling (Revised to premium, clean, light-background infographic style) */
.compliance-station-panel {
  padding: 28px;
  background: #ffffff; /* Beyaz arka plan */
  border: 1px solid #e5e5ea; /* Zarif gri kenarlık */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.compliance-header h4 {
  font-family: var(--font-sans, sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1c1c1e; /* Koyu metin */
  margin: 8px 0 8px 0;
  letter-spacing: -0.01em;
}

.compliance-header p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #48484a; /* Daha okunabilir koyu gri */
  margin: 0;
}

.compliance-badge {
  display: inline-block;
  background: rgba(230, 126, 34, 0.08); /* Hafif açık turuncu */
  color: #d35400; /* Koyu turuncu/sarı */
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.compliance-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.compliance-metric-card {
  background: #f8f9fa; /* Çok açık gri arka plan */
  border: 1px solid #e5e5ea;
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1c1c1e;
}

.metric-value-real {
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 800;
  color: #27ae60; /* Koyu yeşil */
}

.metric-bar-wrapper {
  height: 6px;
  background: #e5e5ea; /* Açık gri bar arka planı */
  border-radius: 3px;
  overflow: hidden;
}

.metric-bar-limit {
  height: 100%;
  position: relative;
}

.metric-bar-current {
  height: 100%;
  border-radius: 3px;
  background: #2ecc71; /* Canlı yeşil dolgu */
}

.metric-limits {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 600;
  color: #8e8e93;
}

.compliance-certificates-strip {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e5e5ea;
  padding-top: 14px;
  gap: 8px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #2c3e50; /* Koyu lacivert/gri */
}

.cert-item .bullet {
  width: 6px;
  height: 6px;
  background: #e67e22;
  border-radius: 50%;
}

/* Interactive Burner Video player & right-bottom control styles */
.burner-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  background: #0d1117;
}

.burner-video-player.video-ready {
  opacity: 1 !important;
}

/* WebP posters remain visible while selected videos attach and seek. */
.refractory-video-player,
.automation-video-player,
.scrubber-video-player {
  opacity: 1;
  background: #0d1117;
}

.refractory-video-player.video-ready,
.automation-video-player.video-ready,
.scrubber-video-player.video-ready {
  opacity: 1 !important;
}

.burner-overlay-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
}

/* Floating interactive button */
.burner-control-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  outline: none;
  border-radius: 0 !important;
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-premium);
  user-select: none;
  min-height: 48px;
  touch-action: manipulation;
}

.burner-control-btn.is-loading,
.burner-control-btn:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none !important;
}

/* Standby state - ready to IGNITE */
.burner-control-btn.state-standby {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(185, 28, 28, 0.95) 100%);
  border: 1px solid rgba(239, 68, 68, 0.6);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.burner-control-btn.state-standby:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 30px rgba(239, 68, 68, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.burner-control-btn.state-standby:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.6);
}

/* Active state - ready to EXTINGUISH/STANDBY */
.burner-control-btn.state-active {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.85) 0%, rgba(17, 24, 39, 0.9) 100%);
  border: 1px solid rgba(156, 163, 175, 0.4);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.burner-control-btn.state-active:hover {
  transform: translateY(-2px) scale(1.04);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.85) 0%, rgba(185, 28, 28, 0.9) 100%);
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 6px 25px rgba(220, 38, 38, 0.6);
  color: #ffffff;
}

.burner-control-btn.state-active:active {
  transform: translateY(1px) scale(0.98);
}

/* Professional inline SVG Icon styles */
.btn-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
}

/* Dynamic Flame flicker micro-animation */
.burner-control-btn.state-standby .icon-flame {
  animation: burnerFlameFlicker 1.2s infinite alternate ease-in-out;
}

@keyframes burnerFlameFlicker {
  0% {
    transform: scale(0.92) rotate(-2deg);
    filter: drop-shadow(0 0 1px rgba(249, 115, 22, 0.7));
  }
  100% {
    transform: scale(1.15) rotate(2deg);
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.9));
  }
}

/* Standby rotation on hover */
.burner-control-btn.state-active:hover .icon-standby {
  transform: rotate(90deg);
}

/* Area 3: 3D Digital Twin Simulation Station Placeholder */
.model-3d-placeholder {
  position: relative;
  height: 500px;
  background: radial-gradient(circle at center, rgba(30, 32, 40, 0.6) 0%, rgba(15, 16, 20, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 60px;
  box-sizing: border-box;
}

.model-3d-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center;
  pointer-events: none;
}

.model-3d-title-telemetry {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  animation: pulse-glow 2s infinite ease-in-out;
  display: flex;
  align-items: center;
  gap: 10px;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; text-shadow: 0 0 4px rgba(213, 15, 47, 0); }
  50% { opacity: 1; text-shadow: 0 0 12px rgba(213, 15, 47, 0.6); }
}

.model-3d-desc-telemetry {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  max-width: 480px;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .model-exploration-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .exploration-visual-frame {
    height: 360px;
  }
  
  .model-3d-placeholder {
    height: 380px;
  }
}
  line-height: 1.7;
  margin-bottom: 18px;
}

.model-sidebar-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-card-item {
  border: 1px solid var(--border-color);
  padding: 24px;
  background: var(--surface);
  position: relative;
}

.highlight-card-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 3px;
  background: var(--color-red);
}

.highlight-card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlight-card-text {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-top: 8px;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .model-tabs-layout {
    grid-template-columns: 200px 1fr;
  }
  .model-sidebar-highlights {
    display: none; /* Hide highlights on small layouts */
  }
}

@media (max-width: 900px) {
  .model-tabs-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* FAQ Accordion Section */
.faq-accordion-container {
  margin-top: 80px;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
}

.faq-accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .faq-accordion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.faq-item-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  padding: 24px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.faq-item-card:hover {
  border-color: var(--color-red);
}

.faq-question-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  gap: 15px;
}

.faq-plus-icon {
  font-size: 1.25rem;
  color: var(--color-red);
  transition: transform 0.3s ease;
  font-weight: 400;
}

.faq-item-card.open .faq-plus-icon {
  transform: rotate(45deg);
}

.faq-answer-block {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease, padding 0.25s ease, margin 0.25s ease, border-color 0.25s ease;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  opacity: 0;
  padding-top: 0;
  margin-top: 0;
  border-top: 1px solid transparent;
}

.faq-item-card.open .faq-answer-block {
  max-height: 350px;
  opacity: 1;
  margin-top: 15px;
  border-top-color: var(--border-color);
  padding-top: 15px;
}

/* ==========================================================================
   AI ASSISTANT CHATBOT MODAL
   ========================================================================== */

.ai-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(15, 16, 19, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
}

.ai-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ai-dialog {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 480px;
  max-width: 100%;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: none;
  border-left: 1px solid var(--border-color);
  background: var(--bg-primary);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  border-radius: 0; /* Keskin hatlar */
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-overlay.active .ai-dialog {
  transform: translateX(0);
}

.ai-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.ai-dialog-head span {
  display: block;
  color: var(--color-red);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}

.ai-dialog-head strong {
  color: var(--text-primary);
  font-size: 1.2rem;
  text-transform: uppercase;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.ai-close-btn {
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 8px 14px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  border-radius: 0; /* Keskin hatlar */
}

.ai-close-btn:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  background: var(--bg-secondary);
}

.ai-messages {
  overflow-y: auto;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 16px;
  background: var(--bg-secondary);
  min-height: 280px;
  scroll-behavior: smooth;
}

.ai-message {
  max-width: 88%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  font-size: 0.92rem;
  border-radius: 0; /* Sitemizin genel dili gibi keskin hatlar */
  animation: aiMessageFadeIn 0.35s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes aiMessageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-message.user {
  justify-self: end;
  background: var(--color-red);
  color: #ffffff;
  border-color: var(--color-red);
}

/* AI Message Typography & Formatting styling */
.ai-message p {
  margin: 0 0 12px 0;
}
.ai-message p:last-child {
  margin-bottom: 0;
}
.ai-message strong {
  font-weight: 700;
  color: var(--color-red);
}
.ai-message.user strong {
  color: #ffffff;
}
.ai-message a {
  color: var(--color-red);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.ai-message a:hover,
.ai-message a:focus-visible {
  color: var(--text-primary);
}
.ai-message.user a {
  color: #ffffff;
}
.ai-message ul.ai-bullet-list,
.ai-message ol.ai-number-list {
  margin: 0 0 12px 0;
  padding-left: 20px;
}
.ai-message ul.ai-bullet-list li,
.ai-message ol.ai-number-list li {
  margin-bottom: 6px;
  line-height: 1.5;
}
.ai-message ul.ai-bullet-list li:last-child,
.ai-message ol.ai-number-list li:last-child {
  margin-bottom: 0;
}
.ai-para-spacing {
  height: 12px;
}
.ai-message h4,
.ai-message h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 16px 0 8px 0;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-left: 2px solid var(--color-red);
  padding-left: 8px;
}
.ai-message h4:first-child,
.ai-message h5:first-child {
  margin-top: 0;
}

/* Premium Contact Cards inside AI messages */
.ai-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  margin: 6px 4px 6px 0;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.ai-contact-btn:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  background: var(--bg-primary);
}
.ai-contact-btn svg {
  width: 14px;
  height: 14px;
}

/* Typing Indicator (3 Dots) */
.ai-message.assistant.typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  min-height: 48px;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--text-secondary);
  border-radius: 50%;
  display: inline-block;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}
.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.ai-form {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 10px;
  padding: 20px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.ai-form input {
  min-height: 48px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border-radius: 0; /* Keskin hatlar */
}

.ai-form input:focus {
  border-color: var(--color-red);
  outline: none;
}

.ai-form button {
  border: 1px solid var(--color-red);
  background: var(--color-red);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0; /* Keskin hatlar */
  transition: var(--transition-smooth);
}

.ai-form button:hover {
  background: transparent;
  color: var(--color-red);
}

.ai-form button svg {
  width: 18px;
  height: 18px;
}

/* Header AI button style */
.ai-button-header {
  position: relative;
  overflow: visible;
  background-color: transparent;
  color: var(--color-red);
  padding: 11px 22px;
  border: 1px solid var(--color-red);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ai-button-header:hover {
  background-color: var(--color-red);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(207, 20, 43, 0.15);
}

.ai-button-header svg {
  width: 16px;
  height: 16px;
}

/* Beacon Warning Light Pulse for Header AI Button */
.ai-beacon {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  background-color: var(--color-red);
  border-radius: 50%;
  z-index: 5;
}

.ai-beacon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--color-red);
  animation: beaconPulse 1.8s infinite ease-out;
}

@keyframes beaconPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* Mobile menu drawer AI button */
.ai-button-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--color-red);
  border: 1px solid var(--color-red);
  padding: 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  width: 100%;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ai-button-mobile:hover {
  background-color: var(--color-red);
  color: #ffffff;
}

.ai-button-mobile svg {
  width: 16px;
  height: 16px;
}

/* ====================================================
   References Section & Marquee Styles
   ==================================================== */
.references-marquee-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.references-marquee-section .section-header-wrap {
  margin-bottom: 60px;
}

.marquee-references-strip {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.marquee-references-strip::before,
.marquee-references-strip::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-references-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.marquee-references-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 80px;
  align-items: center;
  animation: marquee-scroll 55s linear infinite;
}

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

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 3)); }
}

.reference-logo-card {
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 5px;
  transition: transform 0.3s ease;
}

.reference-logo-card:hover {
  transform: translateY(-4px);
}

.reference-logo-card img {
  max-width: 150px;
  max-height: 55px;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

[data-theme="light"] .reference-logo-card img {
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.15);
}

[data-theme="light"] .reference-logo-card:hover img {
  opacity: 1;
  filter: grayscale(0) contrast(1);
}

[data-theme="dark"] .reference-logo-card img {
  filter: invert(1) grayscale(1) brightness(1.7) contrast(1.2);
  mix-blend-mode: screen;
}

[data-theme="dark"] .reference-logo-card:hover img {
  opacity: 1;
  filter: invert(1) grayscale(0) brightness(2.0) contrast(1.2);
}


/* ====================================================
   Technology Page Specific Styles
   ==================================================== */
.technology-page-hero {
  padding: 120px 0 60px;
  position: relative;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.tech-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.tech-hero-text {
  max-width: 700px;
}

.tech-hero-visual {
  width: 100%;
  height: 380px;
}

.tech-hero-visual .technical-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
}

/* 5 Steps Alternating Process Flow */
.technology-process-flow-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.tech-process-alternating-flow {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.tech-process-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-process-row.reverse {
  direction: rtl;
}

.tech-process-row.reverse .tech-process-col-text {
  direction: ltr;
}

.tech-process-col-image {
  width: 100%;
  height: 340px;
  position: relative;
}

.tech-process-col-image .technical-image-placeholder {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.process-step-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.tech-process-row:hover .process-step-visual {
  transform: scale(1.04);
  opacity: 0.95;
}

.step-icon-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--color-red);
  color: #ffffff;
  display: grid;
  place-items: center;
  z-index: 5;
  border: 1px solid var(--color-red);
}

.tech-process-col-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-step-number {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-red);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 15px;
}

.tech-step-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.tech-step-divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-red);
  margin-bottom: 25px;
}

/* Technology Showcase Page Section */
.technology-showcase-page-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
}

.showcase-tech-gallery {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}

.showcase-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.showcase-main-img:hover {
  transform: scale(1.02);
  opacity: 1;
}

.burners-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  width: 100%;
  height: 100%;
}

.automation-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  height: 100%;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  cursor: pointer;
  transition: transform 0.3s var(--ease-premium), opacity 0.3s ease, filter 0.3s ease;
  border: 1px solid var(--border-color);
}

.gallery-img:hover {
  transform: scale(1.03);
  opacity: 1;
  border-color: var(--color-red);
}

/* Image Expansion Modal */
.premium-media-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
}

.modal-content-wrap {
  position: relative;
  max-width: 1000px;
  width: 100%;
  background-color: #0b0b0b;
  border: 1px solid #333333;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  color: #888888;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--color-red);
}

.modal-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border: 1px solid #222222;
  background-color: #050505;
}

.modal-caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #777777;
  margin-top: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .tech-hero-grid,
  .tech-process-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tech-process-row.reverse {
    direction: ltr;
  }
  .tech-process-col-image {
    height: 250px;
  }
  .tech-hero-visual {
    height: 280px;
  }
}

/* Custom Dark Theme Overhaul for Carbon Aesthetics, Red Headings, White Paragraphs */
body[data-theme="dark"] h1,
body[data-theme="dark"] h2,
body[data-theme="dark"] h3,
body[data-theme="dark"] h4,
body[data-theme="dark"] h5,
body[data-theme="dark"] h6,
body[data-theme="dark"] .section-heading-title,
body[data-theme="dark"] .card-family-title,
body[data-theme="dark"] .tab-content-title,
body[data-theme="dark"] .model-detail-title,
body[data-theme="dark"] .about-card-title,
body[data-theme="dark"] .tech-detail-title,
body[data-theme="dark"] .tech-step-title,
body[data-theme="dark"] .tech-selector-title,
body[data-theme="dark"] .dashboard-title {
  color: var(--color-red) !important;
}

body[data-theme="dark"] p,
body[data-theme="dark"] .section-lead-paragraph,
body[data-theme="dark"] .card-family-desc,
body[data-theme="dark"] .tab-content-text,
body[data-theme="dark"] .model-detail-desc,
body[data-theme="dark"] .about-card-text,
body[data-theme="dark"] .tech-detail-text,
body[data-theme="dark"] .hud-click-hint,
body[data-theme="dark"] .regulatory-notice-text,
body[data-theme="dark"] .tech-process-col-text p,
body[data-theme="dark"] .about-hero-image-wrap span {
  color: #ffffff !important;
}

/* Ensure secondary texts like tags and lists are clearly visible in dark mode */
body[data-theme="dark"] .series-tag,
body[data-theme="dark"] .section-eyebrow-tag,
body[data-theme="dark"] .placeholder-mono-lbl,
body[data-theme="dark"] .card-tag {
  color: #a3a3a3 !important;
}

body[data-theme="dark"] .btn-secondary-link,
body[data-theme="dark"] .btn-card-action {
  color: #ffffff !important;
}

body[data-theme="dark"] .btn-secondary-link:hover,
body[data-theme="dark"] .btn-card-action:hover {
  color: var(--color-red) !important;
}

/* Form labels and details text */
body[data-theme="dark"] .rfq-label-text,
body[data-theme="dark"] .engineering-notice-text {
  color: #e5e7eb !important;
}

/* Keep product family card texts dark even in dark mode because the card background image is always white */
body[data-theme="dark"] .product-family-card .card-family-title {
  color: var(--color-red) !important;
}
body[data-theme="dark"] .product-family-card .card-family-desc {
  color: #374151 !important;
}
body[data-theme="dark"] .product-family-card .series-tag {
  color: #6b7280 !important;
}
body[data-theme="dark"] .product-family-card .btn-card-action-overlay {
  color: var(--color-red) !important;
}

/* ==========================================================================
   Circular View Transition & Theme Switching Optimizations
   ========================================================================== */

/* Disable default view transition animations */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

/* Position new screen on top to animate circular reveal */
::view-transition-old(root) {
  z-index: 1;
}
::view-transition-new(root) {
  z-index: 9999;
}

/* Remove default cross-fade animations on groups */
::view-transition-group(root) {
  animation: none;
}

/* Temporary class to disable CSS transitions during instant DOM update and snapshot */
body.no-transition,
body.no-transition * {
  transition: none !important;
}

/* ==========================================================================
   Technology Page - Innovation & Engineering Section
   ========================================================================== */

.technology-innovation-section {
  padding: 100px 0;
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}

.innovation-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 50px;
}

.innovation-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  border-radius: 0 !important; /* Sharp industrial corners as per brand guidelines */
  padding: 30px;
  position: relative;
  transition: all 0.4s var(--ease-premium);
  display: flex;
  flex-direction: column;
}

.innovation-card:hover {
  border-color: var(--color-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(213, 15, 47, 0.08);
}

.innov-visual {
  height: 150px;
  background: #020a13; /* Deep blueprint black */
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}

.innov-visual-label {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: 0.5px;
  z-index: 10;
}

/* CFD Animation */
.cfd-sim {
  background: radial-gradient(circle at 10% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 60%), #020a13;
}

.cfd-streamline {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.8), transparent);
  width: 100px;
  left: -100px;
  top: 35%;
  animation: cfd-flow 3s infinite linear;
}

.cfd-streamline.delay-1 {
  top: 55%;
  animation-delay: 1s;
  animation-duration: 2.5s;
}

.cfd-streamline.delay-2 {
  top: 70%;
  animation-delay: 1.8s;
  animation-duration: 3.5s;
}

.cfd-temp-gradient {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(213, 15, 47, 0.2));
}

@keyframes cfd-flow {
  0% {
    left: -100px;
    transform: translateY(0) scaleY(1);
  }
  50% {
    transform: translateY(10px) scaleY(1.5);
  }
  100% {
    left: 100%;
    transform: translateY(-5px) scaleY(1);
  }
}

/* Heat Recovery Animation */
.heat-rec {
  background: radial-gradient(circle at center, rgba(213, 15, 47, 0.15) 0%, transparent 80%), #020a13;
}

.heat-flow {
  position: absolute;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(213, 15, 47, 0.1) 10px, rgba(213, 15, 47, 0.1) 20px);
  animation: heat-wave 8s infinite linear;
}

.heat-core {
  position: absolute;
  width: 60px;
  height: 60px;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 1px solid rgba(213, 15, 47, 0.3);
  border-radius: 50%;
  animation: heat-pulse 2s infinite ease-in-out;
}

@keyframes heat-wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes heat-pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.2;
    box-shadow: 0 0 0 0 rgba(213, 15, 47, 0.4);
  }
  70% {
    transform: scale(1.2);
    opacity: 0.8;
    box-shadow: 0 0 20px 10px rgba(213, 15, 47, 0);
  }
  100% {
    transform: scale(0.8);
    opacity: 0.2;
    box-shadow: 0 0 0 0 rgba(213, 15, 47, 0);
  }
}

/* Dioxin Timer & Burn Animation */
.dioxin-burn {
  background: #020a13;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dioxin-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-mono);
  border: 1px solid rgba(213, 15, 47, 0.2);
  padding: 10px 20px;
  background: rgba(213, 15, 47, 0.03);
  position: relative;
  z-index: 5;
}

.timer-digits {
  font-size: 1.5rem;
  color: var(--color-red);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(213, 15, 47, 0.5);
  animation: timer-flicker 1s infinite alternate;
}

.timer-temp {
  font-size: 0.7rem;
  color: #ffffff;
  letter-spacing: 2px;
  margin-top: 4px;
}

.flame-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 80%, rgba(213, 15, 47, 0.25) 0%, transparent 50%);
  bottom: 0;
  left: 0;
}

@keyframes timer-flicker {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

.innov-card-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-red);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.innov-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive adjustments for innovation section */
@media (max-width: 992px) {
  .innovation-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .innovation-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ==========================================================================
   Corporate Page - Certificates & Standards Grid
   ========================================================================== */

.certificates-grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 35px;
}

.certificate-b2b-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  border-radius: 0 !important; /* Sharp industrial corners as per brand guidelines */
  padding: 25px;
  position: relative;
  transition: all 0.35s var(--ease-premium);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.certificate-b2b-card:hover {
  border-color: var(--color-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(213, 15, 47, 0.05);
}

.cert-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.cert-icon-wrapper {
  width: 42px;
  height: 42px;
  background: rgba(213, 15, 47, 0.08);
  border: 1px solid rgba(213, 15, 47, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  flex-shrink: 0;
}

.cert-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.cert-card-title {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cert-card-description {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* Documents page: model-level catalogue library */
.document-catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 35px;
  margin-bottom: 40px;
  align-items: start;
}

.document-catalogue-card {
  position: relative;
  min-width: 0;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.document-catalogue-card:hover,
.document-catalogue-card[open] {
  border-color: rgba(213, 15, 47, 0.72);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}

.document-catalogue-card:hover {
  transform: translateY(-2px);
}

.document-catalogue-summary {
  display: flex;
  min-height: 190px;
  padding: 24px;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}

.document-catalogue-summary::-webkit-details-marker {
  display: none;
}

.document-catalogue-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
}

.document-catalogue-icon {
  margin: 0;
}

.document-catalogue-title-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.document-catalogue-count,
.document-models-panel-head,
.document-model-status,
.document-coming-soon {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.document-catalogue-count {
  color: var(--text-muted);
  font-size: 0.65rem;
}

.document-catalogue-chevron {
  width: 22px;
  height: 22px;
  color: var(--color-red);
  transition: transform 220ms ease;
}

.document-catalogue-card[open] .document-catalogue-chevron {
  transform: rotate(180deg);
}

.document-catalogue-description {
  display: block;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.document-models-panel {
  padding: 0 24px 24px;
}

.document-models-panel-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 12px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.65rem;
}

.document-model-list {
  display: grid;
  gap: 8px;
}

.document-model-row {
  display: flex;
  min-height: 58px;
  padding: 8px 8px 8px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(127, 127, 127, 0.045);
  border: 1px solid var(--border-color);
}

.document-model-row.is-pending {
  background: rgba(127, 127, 127, 0.02);
  border-style: dashed;
}

.document-model-identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.document-model-identity strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.document-model-status {
  color: var(--text-muted);
  font-size: 0.56rem;
}

.document-pdf-action {
  display: inline-flex;
  min-height: 44px;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  color: #ffffff;
  background: var(--color-red);
  border: 1px solid var(--color-red);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.document-pdf-action:hover {
  color: var(--color-red);
  background: transparent;
}

.document-pdf-action svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.document-coming-soon {
  display: inline-flex;
  min-height: 44px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
  font-size: 0.58rem;
  text-align: center;
}

body[data-theme="dark"] .document-catalogue-card:hover,
body[data-theme="dark"] .document-catalogue-card[open] {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .document-pdf-action {
  color: #ffffff;
}

body[data-theme="dark"] .document-pdf-action:hover {
  color: #ff5f77;
}

@media (max-width: 1100px) {
  .document-catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .document-catalogue-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px;
  }

  .document-catalogue-summary {
    min-height: 0;
    padding: 20px 18px;
  }

  .document-models-panel {
    padding: 0 18px 18px;
  }

  .document-model-row {
    min-width: 0;
  }

  .document-pdf-action,
  .document-coming-soon {
    max-width: 124px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .document-catalogue-card,
  .document-catalogue-chevron,
  .document-pdf-action {
    transition: none;
  }
}

/* Responsive adjustments for certificates */
@media (max-width: 1200px) {
  .certificates-grid-layout {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .certificates-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .certificates-grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Accessibility (A11Y) keyboard focus outline improvements */
*:focus-visible {
  outline: 2px solid var(--color-red) !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 4px rgba(213, 15, 47, 0.15) !important;
}

/* ====================================================
   Mega Menu Side Fire & Ember Particle Animations
   ==================================================== */
.mega-menu-fire-left,
.mega-menu-fire-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc((100% - 1440px) / 2);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.mega-menu-fire-left {
  left: 0;
}

.mega-menu-fire-right {
  right: 0;
}

/* Hide when mega menu fills the screen */
@media (max-width: 1440px) {
  .mega-menu-fire-left,
  .mega-menu-fire-right {
    display: none;
  }
}

/* Diagonal Wave Container styling */
.diagonal-wave-container {
  position: absolute;
  width: 280%; /* Extended width to allow continuous seamless loop horizontal translate */
  height: 180%;
  top: -40%;
  left: -90%;
  transform-origin: center center;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: scale(0.95) rotate(-30deg); /* Slightly tighter initial scale for smoother entry */
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Symmetrical Mirror Alignment for Left and Right Channels with Transitions */
.mega-menu-fire-left .diagonal-wave-container {
  transform: scale(0.95) rotate(-30deg);
}

.mega-menu-fire-right .diagonal-wave-container {
  transform: scaleX(-1) scale(0.95) rotate(-30deg);
}

/* Hover/Open States - Fades in and slides/scales inward smoothly */
.nav-item-products-wrapper:hover .mega-menu-fire-left .diagonal-wave-container,
.mega-menu-panel.hover-active .mega-menu-fire-left .diagonal-wave-container,
.mega-menu-panel.force-open .mega-menu-fire-left .diagonal-wave-container,
.mega-menu-panel:hover .mega-menu-fire-left .diagonal-wave-container {
  opacity: 0.22; /* High transparency but fully visible for ultra-thin paths */
  transform: scale(1) rotate(-30deg);
}

.nav-item-products-wrapper:hover .mega-menu-fire-right .diagonal-wave-container,
.mega-menu-panel.hover-active .mega-menu-fire-right .diagonal-wave-container,
.mega-menu-panel.force-open .mega-menu-fire-right .diagonal-wave-container,
.mega-menu-panel:hover .mega-menu-fire-right .diagonal-wave-container {
  opacity: 0.22;
  transform: scaleX(-1) scale(1) rotate(-30deg);
}

.diagonal-wave-svg {
  width: 100%;
  height: 100%;
}

/* Subtle, Cool B2B Neon Glow on Wave Lines */
.wave-line {
  filter: drop-shadow(0 0 1.5px rgba(213, 15, 47, 0.25));
}

.wave-line-white {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.35));
}

/* Calm, slow energy flow animators (Balanced active premium flow speeds) */
.wave-line-1 {
  animation: wave-flow-1 32s linear infinite;
}

.wave-line-2 {
  animation: wave-flow-2 42s linear infinite;
}

.wave-line-3 {
  animation: wave-flow-3 28s linear infinite;
}

.wave-line-4 {
  animation: wave-flow-4 38s linear infinite;
}

.wave-line-5 {
  animation: wave-flow-5 34s linear infinite;
}

/* Animating paths translates the waves horizontally with wider, more visible offsets */
@keyframes wave-flow-1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-650px); }
}

@keyframes wave-flow-2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(650px); } /* Reverse direction */
}

@keyframes wave-flow-3 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-650px); }
}

@keyframes wave-flow-4 {
  0% { transform: translateX(0); }
  100% { transform: translateX(650px); } /* Reverse direction */
}

@keyframes wave-flow-5 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-650px); }
}

/* Falling Embers (very subtle, slow spark rain) */
.falling-ember {
  position: absolute;
  width: 1.2px; /* Thinner particle */
  height: 1.2px;
  background: radial-gradient(circle, #ffffff 30%, var(--color-red) 75%);
  border-radius: 50%;
  opacity: 0;
  filter: drop-shadow(0 0 1px rgba(213, 15, 47, 0.2));
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
}

/* Embers only fade-in when menu is active */
.nav-item-products-wrapper:hover .falling-ember,
.mega-menu-panel.hover-active .falling-ember,
.mega-menu-panel.force-open .falling-ember,
.mega-menu-panel:hover .falling-ember {
  animation: fall-ember linear infinite;
}

@keyframes fall-ember {
  0% {
    transform: translateY(-20px) translateX(0) scale(0.9);
    opacity: 0;
  }
  12% {
    opacity: 0.65; /* Highly visible inside the container */
  }
  80% {
    opacity: 0.55;
  }
  100% {
    transform: translateY(320px) translateX(-25px) scale(0.3);
    opacity: 0;
  }
}

/* Accessibility: prefers-reduced-motion support */
@media (prefers-reduced-motion: reduce) {
  .wave-line-1,
  .wave-line-2,
  .wave-line-3,
  .wave-line-4,
  .wave-line-5,
  .falling-ember {
    animation: none !important;
    transform: none !important;
  }
  
  .nav-item-products-wrapper:hover .mega-menu-fire-left .diagonal-wave-container,
  .mega-menu-panel.hover-active .mega-menu-fire-left .diagonal-wave-container,
  .mega-menu-panel.force-open .mega-menu-fire-left .diagonal-wave-container,
  .mega-menu-panel:hover .mega-menu-fire-left .diagonal-wave-container {
    opacity: 0.02 !important; /* Extremely faint static display for reduced-motion */
    transform: rotate(-30deg) !important;
  }

  .nav-item-products-wrapper:hover .mega-menu-fire-right .diagonal-wave-container,
  .mega-menu-panel.hover-active .mega-menu-fire-right .diagonal-wave-container,
  .mega-menu-panel.force-open .mega-menu-fire-right .diagonal-wave-container,
  .mega-menu-panel:hover .mega-menu-fire-right .diagonal-wave-container {
    opacity: 0.04 !important;
    transform: scaleX(-1) rotate(-30deg) !important;
  }
}

/* ==========================================================================
   Product Detail Page - Video & Gallery Sections (v55)
   ========================================================================== */

/* Video Section Layout */
.product-video-section {
  margin-top: 70px;
  position: relative;
}

.video-grid-container {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 30px;
  margin-top: 30px;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  align-items: center;
}

.video-hero-player-wrapper {
  background: #020a13;
  border: 1px solid var(--border-color);
  position: relative;
  width: 500px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease;
}

.video-hero-player-wrapper:hover {
  border-color: var(--color-red);
}

.video-hero-player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero-play-button {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: var(--color-red);
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background 180ms ease-out, transform 180ms ease-out;
}

.video-hero-play-button:hover,
.video-hero-play-button:focus-visible {
  background: var(--color-red-deep, #8f0f1f);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-hero-play-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.video-hero-play-button svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Video Telemetry Indicator overlays */
.video-telemetry-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  z-index: 5;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Playlist Wrapper with Nav Controls */
.playlist-container-with-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 281px; /* Matches video player height exactly */
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.playlist-nav-btn {
  width: 100%;
  height: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.playlist-nav-btn:hover {
  background: rgba(213, 15, 47, 0.12);
  color: #fff;
  border-color: var(--color-red);
}

.playlist-nav-btn svg {
  width: 16px;
  height: 16px;
}

.video-playlist-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  align-content: start;
  gap: 15px;
  width: 100%;
  height: calc(100% - 76px);
  overflow-y: hidden; /* Only scrolled by JS buttons */
  scroll-behavior: smooth;
  padding-right: 5px;
}

/* Custom Scrollbar for playlist */
.video-playlist-wrapper::-webkit-scrollbar {
  width: 4px;
}
.video-playlist-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.video-playlist-wrapper::-webkit-scrollbar-thumb {
  background: rgba(213, 15, 47, 0.3);
}

.playlist-item-card {
  display: flex;
  gap: 12px;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
}

.playlist-item-card:hover,
.playlist-item-card.active {
  border-color: var(--color-red);
  background: rgba(213, 15, 47, 0.03);
}

.playlist-thumb {
  width: 90px;
  height: 60px;
  background: #020a13;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-thumb-play-icon {
  position: absolute;
  font-size: 0.8rem;
  color: #ffffff;
  opacity: 0.8;
  background: rgba(213, 15, 47, 0.9);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlist-item-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.playlist-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.playlist-item-duration {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Gallery Section Layout */
.product-gallery-section {
  margin-top: 70px;
  position: relative;
}

.gallery-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.gallery-grid-wrapper:not(.is-expanded) .gallery-item-card:nth-child(n + 5) {
  display: none;
}

.gallery-expand-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.gallery-expand-button {
  min-width: 220px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-card-glass);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.gallery-expand-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.gallery-expand-button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.gallery-expand-button:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.gallery-expand-button:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 3px;
}

.gallery-item-card {
  appearance: none;
  width: 100%;
  min-width: 0;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-color);
  padding: 8px;
  cursor: pointer;
  transition: transform 0.24s var(--ease-premium), border-color 0.24s ease, box-shadow 0.24s ease;
  display: block;
  color: inherit;
  font: inherit;
  text-align: initial;
  touch-action: manipulation;
}

.gallery-item-card:hover {
  border-color: var(--color-red);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(213, 15, 47, 0.06);
}

.gallery-item-card:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 3px;
}

.gallery-photo-frame {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  background: #020a13;
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  position: relative;
}

.gallery-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s var(--ease-premium);
}

.gallery-item-card:hover .gallery-photo-frame img {
  transform: scale(1.025);
}

/* Fullscreen Gallery Lightbox Modal */
.gallery-lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 20000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 6, 12, 0.96);
  backdrop-filter: blur(12px);
}

.lightbox-content-box {
  position: relative;
  max-width: 1600px;
  width: min(92vw, 1600px);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.lightbox-image-wrapper {
  position: relative;
  width: 100%;
  height: min(82vh, 920px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #020a13;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-image-display {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-nav-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-nav-btn:focus-visible,
.lightbox-close-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.lightbox-nav-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.lightbox-prev-btn {
  left: -24px;
}

.lightbox-next-btn {
  right: -24px;
}

.lightbox-gallery-counter {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 1px;
}

.lightbox-close-button {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.lightbox-close-button:hover {
  color: var(--color-red);
}

@media (max-width: 992px) {
  .video-grid-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
    height: auto;
  }
  .video-hero-player-wrapper {
    height: auto;
    width: 100% !important;
  }
  .playlist-container-with-nav {
    height: auto !important;
  }
  .playlist-container-with-nav .playlist-nav-btn {
    display: none !important;
  }
  .video-playlist-wrapper {
    display: flex !important;
    height: auto !important;
    max-height: none !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  .playlist-item-card {
    flex-shrink: 0;
    width: 250px;
  }
  .gallery-grid-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gallery-grid-wrapper:not(.is-expanded) .gallery-item-card:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 576px) {
  .lightbox-prev-btn {
    left: 10px;
  }
  .lightbox-next-btn {
    right: 10px;
  }
  .gallery-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-grid-wrapper:not(.is-expanded) .gallery-item-card:nth-child(n + 2) {
    display: none;
  }
  .gallery-item-card {
    padding: 6px;
  }
  .lightbox-content-box {
    width: calc(100vw - 24px);
  }
  .lightbox-image-wrapper {
    height: 72vh;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  .gallery-grid-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid-wrapper:not(.is-expanded) .gallery-item-card:nth-child(n + 3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item-card,
  .gallery-photo-frame img,
  .gallery-expand-button,
  .gallery-expand-button svg,
  .gallery-lightbox-modal {
    transition: none;
  }
}

/* ==========================================================================
   Global Lightbox Premium Carousel Styles (v55)
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 12, 0.94);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1;
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  background: #020a13;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-counter {
  margin-top: 15px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: var(--color-red);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 54px;
  height: 54px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  box-shadow: 0 0 15px rgba(213, 15, 47, 0.4);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 24px;
  height: 24px;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

/* Responsive adjustments for Lightbox */
@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
  }
  .lightbox-prev {
    left: 15px;
  }
  .lightbox-next {
    right: 15px;
  }
  .lightbox-close {
    top: 15px;
    right: 15px;
  }
}

/* ====================================================
   Mobile Platform & UI Layout Optimizations (v66)
   ==================================================== */

/* Global Section & Padding Adjustments for Mobile */
@media (max-width: 768px) {
  .section-container {
    padding: 0 16px !important;
  }
  .model-detail-page-section .section-container {
    padding: 0 16px !important;
  }
  .header-inner {
    padding: 0 16px !important;
  }
  .footer-grid-layout {
    padding: 0 16px !important;
  }
  .footer-bottom-bar {
    padding-left: 16px !important;
    padding-right: 16px !important;
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
    align-items: center !important;
  }
}

/* Home Page Hero Metrics Grid Mobile Layout */
@media (max-width: 600px) {
  .hero-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }
}

/* Technology Section Tab List Slider conversion */
@media (max-width: 900px) {
  .tech-selector-list {
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding-bottom: 12px !important;
    gap: 10px !important;
    -webkit-overflow-scrolling: touch;
  }
  .tech-selector-list::-webkit-scrollbar {
    height: 3px;
  }
  .tech-selector-list::-webkit-scrollbar-thumb {
    background: var(--color-red);
  }
  .tech-selector-item {
    width: auto !important;
    flex-shrink: 0 !important;
    padding: 12px 20px !important;
  }
}

/* Product Model Detail - Exploration Tabs Slider conversion */
@media (max-width: 992px) {
  .exploration-tabs-column {
    flex-direction: row !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding-bottom: 12px !important;
    gap: 10px !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
  }
  .exploration-tabs-column::-webkit-scrollbar {
    height: 3px;
  }
  .exploration-tabs-column::-webkit-scrollbar-thumb {
    background: var(--color-red);
  }
  .exploration-tab-btn {
    width: auto !important;
    flex-shrink: 0 !important;
    padding: 12px 18px !important;
    border-left: 1px solid var(--border-color) !important;
    border-bottom: 3px solid transparent !important;
  }
  .exploration-tab-btn.active {
    border-left: 1px solid var(--border-color) !important;
    border-bottom: 3px solid var(--color-red) !important;
  }
}

/* Product Portfolio Grid Mobile Breakout */
@media (max-width: 480px) {
  .portfolio-families-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Waste Specifications Dashboard Mobile conversion */
@media (max-width: 576px) {
  .waste-specs-dashboard {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
}

/* Product experience station — final premium two-column composition */
.product-experience-station {
  width: min(100%, 1440px);
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.42fr);
  margin: 76px auto;
  background: #111217;
  border-color: rgba(24, 29, 39, 0.26);
  box-shadow: 0 22px 60px rgba(15, 18, 28, 0.14);
  isolation: isolate;
}

.product-experience-control-panel {
  position: relative;
  justify-content: flex-start;
  padding: clamp(34px, 4vw, 62px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(11, 12, 16, 0.99), rgba(30, 32, 40, 0.97)),
    #111217;
}

.product-experience-control-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.product-experience-control-panel > * {
  position: relative;
  z-index: 1;
}

.product-experience-panel-intro {
  max-width: 310px;
}

.product-experience-station-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.13em;
}

.product-experience-control-panel h2 {
  margin: 26px 0 14px;
  font-size: clamp(2.7rem, 4.1vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.product-experience-control-copy {
  max-width: 285px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-transform: none;
}

.product-experience-action-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  width: 100%;
  margin-top: clamp(28px, 4vw, 52px);
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-experience-action-index {
  color: var(--color-red);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.product-experience-action-copy {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.product-experience-control-panel .product-experience-station-controls {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  bottom: auto !important;
  display: flex;
  width: 100%;
  max-width: none;
  margin: auto 0 0;
  padding-top: 28px;
  gap: 0;
}

.product-experience-control-panel .product-experience-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--color-red);
  background: var(--color-red);
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 26px rgba(213, 15, 47, 0.24);
}

.product-experience-control-panel .product-experience-action:hover:not(:disabled),
.product-experience-control-panel .product-experience-action:focus-visible {
  background: #fff;
  color: var(--color-red);
  outline: 0;
}

.product-experience-action-arrow {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.product-experience-action:hover:not(:disabled) .product-experience-action-arrow,
.product-experience-action:focus-visible .product-experience-action-arrow {
  transform: translateX(4px);
}

.product-experience-control-panel .product-experience-status {
  display: block;
  flex-basis: auto;
  min-height: 1.35em;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.45;
  text-shadow: none;
}

.product-experience-panel-footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.product-experience-stage-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #e7e3dc;
  overflow: hidden;
}

.product-experience-stage-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: inset 18px 0 34px rgba(18, 20, 27, 0.08);
}

.product-experience-stage-media .product-experience-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: 1;
  transform: none;
  transition: none;
  background: #e7e3dc;
}

.product-experience-stage-meta {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: inline-flex;
  gap: 12px;
  padding: 8px 10px;
  color: rgba(22, 26, 34, 0.72);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 24, 32, 0.16);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-experience-station.is-loading .product-experience-action-arrow {
  animation: product-experience-loading 800ms ease-in-out infinite alternate;
}

@keyframes product-experience-loading {
  from { transform: translateX(0); }
  to { transform: translateX(6px); }
}

@media (max-width: 860px) {
  .product-experience-station {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 52px 0;
  }

  .product-experience-control-panel {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .product-experience-panel-intro {
    max-width: 100%;
  }

  .product-experience-stage-media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .product-experience-control-panel {
    min-height: 330px;
    padding: 28px 22px;
  }

  .product-experience-control-panel h2 {
    font-size: 3rem;
  }

  .product-experience-action-card {
    margin-top: 26px;
  }

  .product-experience-stage-meta {
    top: 10px;
    right: 10px;
    gap: 8px;
    font-size: 0.5rem;
  }
}

/* Product experience station — full-bleed engineering console */
.product-experience-station {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(380px, 0.56fr) minmax(0, 1.44fr);
  margin: 48px 0 58px;
  border-color: rgba(24, 29, 39, 0.32);
  box-shadow: 0 26px 68px rgba(15, 18, 28, 0.16);
}

.product-experience-control-panel {
  justify-content: space-between;
  gap: clamp(22px, 2.5vw, 42px);
  padding: clamp(30px, 3.2vw, 52px);
}

.product-experience-panel-intro,
.product-experience-control-copy {
  max-width: 100%;
}

.product-experience-control-panel h2 {
  margin: 24px 0 13px;
  font-size: clamp(3.1rem, 4.5vw, 5.6rem);
  line-height: 0.82;
  white-space: nowrap;
}

.product-experience-control-copy {
  font-size: 0.7rem;
  letter-spacing: 0.055em;
}

.product-experience-action-card {
  grid-template-columns: 42px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 16px;
  margin-top: 0;
  padding: 18px 0;
  border-top-color: rgba(255, 255, 255, 0.2);
}

.product-experience-action-card > div {
  display: grid;
  gap: 7px;
}

.product-experience-action-copy {
  display: block;
  font-size: 0.72rem;
}

.product-experience-action-state {
  color: rgba(255, 255, 255, 0.43);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.product-experience-action-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: 0 0 0 5px rgba(213, 15, 47, 0.12), 0 0 18px rgba(213, 15, 47, 0.65);
}

.product-experience-roadmap {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
}

.product-experience-roadmap > span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.product-experience-roadmap p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.65;
}

.product-experience-control-panel .product-experience-station-controls {
  margin: 0;
  padding-top: 0;
}

.product-experience-control-panel .product-experience-action {
  min-height: 62px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.product-experience-control-panel .product-experience-action:hover:not(:disabled) {
  box-shadow: 0 14px 32px rgba(213, 15, 47, 0.32);
  transform: translateY(-2px);
}

.product-experience-control-panel .product-experience-action:active:not(:disabled) {
  transform: translateY(0);
}

.product-experience-control-panel .product-experience-action:disabled {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(213, 15, 47, 0.7);
}

.product-experience-panel-footer {
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-experience-stage-media {
  display: grid;
  aspect-ratio: 16 / 9;
  background: #e7e3dc;
}

.product-experience-stage-media .product-experience-image,
.product-experience-canvas {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-experience-stage-media .product-experience-image {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 90ms linear;
}

.product-experience-canvas {
  position: relative;
  z-index: 2;
  display: block;
  opacity: 0;
  background: #e7e3dc;
  transition: opacity 90ms linear;
}

.product-experience-video {
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0;
  background: #e7e3dc;
  pointer-events: none;
  contain: paint;
  will-change: opacity;
  transition: opacity 120ms ease-out;
}

.product-experience-station.is-canvas-active .product-experience-image {
  opacity: 0;
}

.product-experience-station.is-canvas-active .product-experience-canvas {
  opacity: 1;
}

.product-experience-station.is-video-active .product-experience-image,
.product-experience-station.is-video-active .product-experience-canvas {
  opacity: 0;
}

.product-experience-station.is-video-active .product-experience-video.is-active {
  opacity: 1;
}

.product-experience-stage-meta {
  z-index: 3;
}

@media (max-width: 1100px) {
  .product-experience-station {
    grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  }

  .product-experience-control-panel {
    padding: 34px;
  }

  .product-experience-control-panel h2 {
    font-size: clamp(3rem, 6vw, 4.6rem);
  }
}

@media (max-width: 860px) {
  .product-experience-station {
    margin: 52px 0;
  }

  .product-experience-control-panel {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .product-experience-control-panel {
    gap: 28px;
  }

  .product-experience-control-panel h2 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .product-experience-action-card {
    grid-template-columns: 34px minmax(0, 1fr) 8px;
  }

  .product-experience-roadmap {
    padding: 16px;
  }
}

/* Product experience station — multi-action console refinement */
.product-experience-action-list {
  display: grid;
  width: 100%;
  gap: 8px;
}

.product-experience-action-card {
  width: 100%;
  min-height: 72px;
  appearance: none;
  margin: 0;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.74);
  text-align: left;
  font: inherit;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.product-experience-action-card:hover:not(:disabled),
.product-experience-action-card:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.32);
  outline: none;
}

.product-experience-action-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(213, 15, 47, 0.42);
}

.product-experience-action-card:active:not(:disabled) {
  transform: scale(0.985);
}

.product-experience-action-card.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(213, 15, 47, 0.19), rgba(255, 255, 255, 0.035));
  border-color: rgba(213, 15, 47, 0.75);
  border-left-color: var(--color-red);
}

.product-experience-action-card:disabled {
  cursor: wait;
  opacity: 0.56;
}

.product-experience-action-card .product-experience-action-details {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.product-experience-action-card.is-active .product-experience-action-state {
  color: rgba(255, 255, 255, 0.82);
}

.product-experience-action-card:not(.is-active) .product-experience-action-pulse {
  background: rgba(255, 255, 255, 0.46);
  box-shadow: none;
}

@media (max-width: 520px) {
  .product-experience-action-card {
    min-height: 68px;
    padding: 14px;
  }
}

/* ====================================================
   Mobile usability and navigation hardening
   ==================================================== */
.premium-footer .footer-title-mono {
  color: #ff5f77;
}

.premium-footer .logo-box-mini {
  color: #b8c2d1;
}

.mobile-drawer-content {
  height: 100vh;
  height: 100dvh;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}

.mobile-drawer-overlay {
  touch-action: manipulation;
}

.mobile-nav-links > a,
.mobile-accordion-trigger,
.mobile-acc-sublink,
.drawer-close-btn,
.mobile-menu-trigger,
.ai-button-mobile,
.rfq-button-mobile {
  min-height: 44px;
  touch-action: manipulation;
}

.mobile-acc-sublink {
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  .brand-logo,
  .lang-trigger-btn,
  .theme-toggle-btn,
  .rfq-button-header,
  .ai-button-header,
  .btn-card-action-overlay,
  .portfolio-btn-primary,
  .detail-category-tag,
  .card-value-link,
  .rfq-footer-link,
  .rfq-footer-bar a,
  .footer-links-list a,
  .footer-contact-text {
    min-height: 44px;
  }

  .lang-trigger-btn,
  .rfq-button-header,
  .ai-button-header,
  .btn-card-action-overlay,
  .portfolio-btn-primary,
  .detail-category-tag,
  .card-value-link,
  .rfq-footer-link,
  .rfq-footer-bar a,
  .footer-links-list a,
  .footer-contact-text {
    display: inline-flex;
    align-items: center;
  }

  .theme-toggle-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .form-input-field,
  .form-textarea-field {
    min-height: 48px;
    font-size: 1rem;
  }

  .footer-social-link {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 768px) {
  .footer-social-links {
    gap: 8px;
  }

  .rfq-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rfq-footer-col.notice-col {
    border-left: 0;
    border-top: 1px dashed var(--border-color);
    padding-left: 0;
    padding-top: 20px;
  }

  html[dir="rtl"] .rfq-footer-col.notice-col {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .header-inner {
    height: 68px;
    gap: 8px;
  }

  .brand-logo-img {
    height: 42px;
    max-width: 124px;
    object-fit: contain;
  }

  .header-right-group {
    flex: 0 0 auto;
    min-width: 0;
    gap: 8px;
  }

  .header-utilities {
    margin-right: 0;
  }

  .header-actions,
  .header-ctas {
    gap: 8px;
  }

  .ai-button-header {
    display: none !important;
  }

  .mobile-menu-trigger {
    flex: 0 0 44px;
    margin-right: 0;
  }

  .mobile-drawer-content {
    width: min(88vw, 360px);
    max-width: calc(100vw - 32px);
    padding-left: 16px;
    padding-right: 16px;
  }

  .drawer-header {
    margin-bottom: 20px;
  }

  .mobile-nav-links {
    gap: 8px;
    margin-bottom: 20px;
  }

  .mobile-nav-links > a,
  .mobile-accordion-trigger {
    padding: 11px 14px;
    font-size: 1rem;
  }

  .rfq-configurator-card {
    width: 100%;
    padding: 24px 16px !important;
  }

  .rfq-card-footer {
    margin-top: 28px;
    padding-top: 24px;
  }
}

/* ====================================================
   Mobile viewport integrity — final cascade guard
   Keeps media, grids and conversion controls inside the
   real device width instead of hiding oversized content.
   ==================================================== */
html,
body,
#app {
  width: 100%;
  max-width: 100%;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

@media (max-width: 1024px) {
  main,
  section,
  .section-container,
  .hero-container,
  .showcase-interactive-layout,
  .model-details-main-grid,
  .model-viewer-column,
  .model-quick-specs-card,
  .model-exploration-grid,
  .exploration-visual-column,
  .product-video-section,
  .video-grid-container,
  .playlist-container-with-nav,
  .product-experience-station,
  .product-experience-control-panel,
  .product-experience-stage-media {
    min-width: 0;
    max-width: 100%;
  }

  .models-showcase-grid,
  .wastes-showcase-grid,
  .showcase-interactive-layout,
  .model-details-main-grid,
  .model-exploration-grid,
  .video-grid-container {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product-experience-station {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .product-experience-control-panel {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .product-experience-control-panel h2 {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .product-experience-stage-media,
  .product-experience-stage-media .product-experience-image,
  .product-experience-canvas,
  .product-experience-video,
  .video-hero-player-wrapper,
  .video-hero-poster,
  .showcase-visual-column,
  .showcase-image-box,
  .showcase-tech-gallery,
  .showcase-main-img,
  .waste-card-visual-frame,
  .waste-card-img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .video-playlist-wrapper,
  .tech-selector-list,
  .exploration-tabs-column {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overscroll-behavior-inline: contain;
  }
}

@media (max-width: 768px) {
  .category-page-section,
  .model-detail-page-section,
  .corporate-page-section,
  .waste-page-section,
  .contact-page-section,
  .documents-page-section,
  .references-page-section,
  .blog-page-section,
  .video-page-section,
  .fair-page-section {
    padding-top: 20px;
    padding-bottom: 64px;
  }

  .models-showcase-grid,
  .wastes-showcase-grid {
    width: 100%;
    gap: 20px;
    margin-top: 28px;
  }

  .model-showcase-card,
  .waste-showcase-card {
    width: 100%;
    min-width: 0;
    padding: 20px;
  }

  .waste-card-visual-frame {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .model-viewer-column,
  .product-scene-gallery,
  .model-main-visual-frame {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-scene-gallery,
  .model-main-visual-frame {
    aspect-ratio: 16 / 10;
    height: auto !important;
  }

  .product-scene-gallery-image,
  .model-viewer-column .model-main-img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
  }

  .model-quick-specs-card {
    padding: 22px 18px;
  }

  .model-quick-specs-card .specs-header .model-title {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
    overflow-wrap: anywhere;
  }

  .model-spec-table-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 12px;
  }

  .model-spec-table-row .spec-name,
  .model-spec-table-row .spec-val {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .btn-model-rfq-trigger,
  .btn-model-pdf-download,
  .btn-rfq-submit-glow,
  .rfq-button-mobile,
  .gallery-expand-button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding-left: 16px;
    padding-right: 16px;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .exploration-tabs-column,
  .tech-selector-list {
    scroll-padding-inline: 16px;
  }

  .exploration-tab-btn,
  .tech-selector-item {
    max-width: calc(100vw - 32px);
    min-height: 48px;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .exploration-visual-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .exploration-content-panel {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 24px 18px;
    margin-top: 20px !important;
  }

  .product-experience-station {
    margin: 40px 0;
  }

  .product-experience-control-panel {
    min-height: 0;
    padding: 28px 22px;
  }

  .product-experience-control-panel h2 {
    margin: 18px 0 12px;
    font-size: clamp(2.05rem, 11vw, 3.25rem);
    line-height: 0.92;
  }

  .product-experience-stage-media {
    aspect-ratio: 16 / 10;
  }

  .video-grid-container {
    width: 100%;
    max-width: 100%;
  }

  .video-hero-player-wrapper {
    aspect-ratio: 16 / 9;
  }

  .playlist-item-card {
    width: min(250px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }

  .faq-item-card {
    padding: 20px 18px;
  }

  .faq-question-row {
    align-items: flex-start;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .hero-content,
  .hero-text-column {
    min-width: 0;
    max-width: 100%;
  }

  .hero-main-title,
  .section-heading-title {
    overflow-wrap: anywhere;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn-primary-glow,
  .hero-cta-group .btn-secondary-link {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 14px 16px;
    text-align: center;
    white-space: normal;
  }

  .product-scene-gallery-control.is-prev {
    left: 8px;
  }

  .product-scene-gallery-control.is-next {
    right: 8px;
  }

  .product-scene-gallery-meta {
    right: 8px;
    bottom: 8px;
  }

  .product-experience-action-card {
    grid-template-columns: 30px minmax(0, 1fr) 8px;
    gap: 10px;
    min-height: 64px;
    padding: 12px;
  }

  .product-experience-panel-footer {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .rfq-configurator-card {
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
