/* ============================================
   BASE LAYOUT — Technology Page
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--white);
}

.section-desc {
  font-size: 17px;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.8;
}

.stagger > * {
  opacity: 0;
  transform: translateY(30px);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  margin: 0 auto;
}

.scroll-indicator {
  text-align: center;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .section-title {
    font-size: clamp(24px, 5vw, 36px);
  }
  .section-desc {
    font-size: 15px;
  }
}

[data-theme="light"] .section-title {
  color: var(--dark);
}

/* ============================================
   HERO — Prins VSI-3 DI System Introduction
   ============================================ */
.tech-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
}

.tech-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tech-hero-bg canvas {
  width: 100%;
  height: 100%;
}

.tech-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(240, 123, 28, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(240, 123, 28, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.tech-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.tech-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(240, 123, 28, 0.25);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 32px;
  text-transform: uppercase;
}

.tech-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease infinite;
}

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

.tech-hero h1 {
  font-family: var(--font-en);
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.tech-hero h1 .gradient {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--gray);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 48px;
  font-weight: 300;
}

.tech-hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-en);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--dark);
  margin-top: 8px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   3 PILLARS — Safety / Electronic / Performance
   ============================================ */
.pillars {
  background: var(--bg2);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pillar-card {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: clamp(32px, 3vw, 48px);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  transition: all 0.5s var(--ease);
  cursor: default;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.pillar-card:hover {
  border-color: rgba(240, 123, 28, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 24px rgba(240,123,28,0.06);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--orange-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s var(--ease);
}
.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-card:hover .pillar-icon {
  background: var(--orange);
  color: var(--bg);
  transform: scale(1.1) rotate(-5deg);
}

.pillar-card h3 {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.pillar-cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 217, 255, 0.15);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.pillar-cert::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease infinite;
}

@media(max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMPONENT EXPLORER — Tab-based Components
   ============================================ */
.explorer {
  background: var(--bg);
}

.explorer-tabs {
  display: flex;
  gap: 4px;
  margin-top: 48px;
  margin-bottom: 48px;
  background: var(--bg2);
  border-radius: 16px;
  padding: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.explorer-tab {
  flex: 1;
  min-width: 120px;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-align: center;
  white-space: nowrap;
  border: none;
  background: transparent;
  position: relative;
}

.explorer-tab:hover {
  color: var(--white);
}

.explorer-tab.active {
  background: var(--orange);
  color: var(--bg);
}

.explorer-tab .tab-sub {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-top: 2px;
  opacity: 0.6;
}

/* Component panel */
.explorer-panel {
  display: none;
  animation: fadeIn 0.5s var(--ease);
}

.explorer-panel.active {
  display: block;
}

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

.comp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.comp-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(240, 123, 28, 0.04), rgba(0, 217, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.04);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comp-visual-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
  transition: transform 0.5s var(--ease);
}

.comp-visual:hover .comp-visual-img {
  transform: scale(1.05);
}

.comp-visual-placeholder {
  text-align: center;
  padding: 40px;
}

.comp-visual-placeholder .icon {
  font-size: 80px;
  opacity: 0.15;
  margin-bottom: 16px;
}

.comp-visual-placeholder .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.comp-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: linear-gradient(transparent, rgba(9, 9, 11, 0.9));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comp-visual-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comp-info h3 {
  font-family: var(--font-en);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
}

.comp-info h3 .en {
  color: var(--orange);
}

.comp-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dark);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.comp-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 32px;
}

/* Feature pills */
.comp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.comp-feature {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg2);
  color: var(--white);
  transition: all 0.3s var(--ease);
}

.comp-feature:hover {
  border-color: var(--orange);
  background: var(--orange-dim);
  color: var(--orange);
}

.comp-feature .val {
  color: var(--orange);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-left: 4px;
}

/* Spec grid */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.spec-card {
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease);
}

.spec-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.spec-card:hover {
  border-color: rgba(240, 123, 28, 0.15);
}

.spec-card:hover::before {
  transform: scaleY(1);
}

.spec-card-label {
  font-size: 11px;
  color: var(--dark);
  margin-bottom: 8px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-card-value {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.spec-card-value .unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  margin-left: 2px;
}

.spec-card-value .highlight {
  color: var(--orange);
}

/* Certification badges */
.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 217, 255, 0.12);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.04em;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.cert-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.cert-badge:hover::after {
  transform: translateX(100%);
}

.cert-badge:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
}

.cert-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

@media(max-width: 900px) {
  .comp-layout {
    grid-template-columns: 1fr;
  }
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .explorer-tabs {
    gap: 2px;
    padding: 4px;
  }
  .explorer-tab {
    padding: 10px 12px;
    font-size: 11px;
    min-width: 80px;
  }
}


/* ============================================
   R115 VALIDATION — Certification Data Viz
   ============================================ */
.validation {
  background: var(--bg);
}

.val-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.val-card {
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 40px);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}

.val-card:hover {
  border-color: rgba(240, 123, 28, 0.2);
  transform: translateY(-6px);
}

.val-card-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  position: relative;
}

.val-card-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.val-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 6;
}

.val-ring-fill {
  fill: none;
  stroke: var(--orange);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 408;
  stroke-dashoffset: 408;
  transition: stroke-dashoffset 2s var(--ease);
}

.val-card.animated .val-ring-fill {
  stroke-dashoffset: var(--offset);
}

.val-card-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 800;
}

.val-card-label {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 8px;
}

.val-card-detail {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dark);
  letter-spacing: 0.05em;
}

.val-vehicles {
  margin-top: 48px;
  text-align: center;
}

.val-vehicles-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dark);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.val-vehicles-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.val-vehicle {
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}

.val-vehicle:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.val-certifier {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dark);
  letter-spacing: 0.05em;
}

.val-certifier svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

@media(max-width: 768px) {
  .val-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMPETITOR COMPARISON — Comparison Table
   ============================================ */
.comparison {
  background: var(--bg2);
}

.comp-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.comp-table thead {
  background: var(--bg);
}

.comp-table th {
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comp-table th:first-child {
  border-radius: 20px 0 0 0;
}

.comp-table th:last-child {
  border-radius: 0 20px 0 0;
}

.comp-table th.prins {
  color: var(--orange);
  position: relative;
}

.comp-table th.prins::after {
  content: 'BEST';
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 9px;
  background: var(--orange);
  color: var(--bg);
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.1em;
}

.comp-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 14px;
  color: var(--gray);
  transition: background 0.3s;
}

.comp-table tr:hover td {
  background: rgba(240, 123, 28, 0.02);
}

.comp-table td:first-child {
  font-weight: 600;
  color: var(--white);
  font-size: 13px;
}

.comp-table td.prins-val {
  color: var(--orange);
  font-weight: 600;
}

.comp-table td.other-val {
  color: var(--dark);
}

.comp-table .status-good {
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 6px;
}

.comp-table .status-good::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.comp-table .status-bad {
  color: var(--danger);
  display: flex;
  align-items: center;
  gap: 6px;
}

.comp-table .status-bad::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
}

/* ============================================
   ECU LINEUP
   ============================================ */
.ecu-lineup {
  background: var(--bg);
}

.ecu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.ecu-card {
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}

.ecu-card:hover {
  border-color: rgba(240, 123, 28, 0.2);
  transform: translateY(-6px);
}

.ecu-card.featured {
  border-color: rgba(240, 123, 28, 0.3);
}

.ecu-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(240, 123, 28, 0.2), transparent);
  z-index: -1;
}

.ecu-card-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.ecu-card h3 {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ecu-card-cyl {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
}

.ecu-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ecu-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray);
}

.ecu-card-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@media(max-width: 768px) {
  .ecu-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MAINTENANCE — Maintenance Guide
   ============================================ */
.maintenance {
  background: var(--bg2);
}

.maint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.maint-card {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 40px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  transition: all 0.5s var(--ease);
}

.maint-card:hover {
  border-color: rgba(240, 123, 28, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 20px rgba(240,123,28,0.05);
}

.maint-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.maint-card-icon svg {
  width: 20px;
  height: 20px;
}

.maint-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.maint-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
}

@media(max-width: 768px) {
  .maint-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CTA — Consultation Call-to-Action
   ============================================ */
.tech-cta {
  background: linear-gradient(135deg, rgba(240, 123, 28, 0.06), rgba(0, 217, 255, 0.03));
  padding: clamp(80px, 12vh, 140px) clamp(20px, 4vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tech-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 123, 28, 0.06), transparent 70%);
  transform: translate(-50%, -50%);
  animation: ctaPulse 6s ease infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
}

.tech-cta h2 {
  font-family: var(--font-en);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.tech-cta p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--orange);
  color: var(--bg);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  letter-spacing: 0.03em;
}

.cta-btn:hover {
  background: var(--orange-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(240, 123, 28, 0.3);
}

.cta-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.cta-btn:hover svg {
  transform: translateX(4px);
}

/* ============================================
   CINEMATIC ENHANCEMENTS — SVG Illustrations
   ============================================ */

/* --- Cinematic Visual Container — 3D Flip --- */
.comp-visual--cinematic {
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  perspective: 1200px;
  cursor: pointer;
}

.comp-visual--cinematic::before {
  display: none;
}

.comp-visual--cinematic:hover {
  border-color: transparent;
  box-shadow: none;
}

/* Flip inner wrapper */
.comp-flip-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 24px;
}

.comp-visual--cinematic.flipped .comp-flip-inner {
  transform: rotateY(180deg);
}

/* Shared face styles */
.comp-flip-front,
.comp-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(240,123,28,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Front — SVG Illustration */
.comp-flip-front {
  background: linear-gradient(135deg, rgba(240,123,28,0.02), rgba(0,217,255,0.01));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  z-index: 2;
  flex-direction: column;
}

.comp-flip-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(240,123,28,0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.comp-visual--cinematic:hover .comp-flip-front {
  border-color: rgba(240,123,28,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 24px rgba(240,123,28,0.1);
}

/* Back — Real Photo */
.comp-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(12,12,16,0.95), rgba(20,20,26,0.98));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(240,123,28,0.08);
  padding: 24px;
}

.comp-visual--cinematic.flipped:hover .comp-flip-back {
  border-color: rgba(240,123,28,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 24px rgba(240,123,28,0.1);
}

.comp-flip-back img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4));
  transition: transform 0.4s var(--ease);
}

.comp-visual--cinematic.flipped:hover .comp-flip-back img {
  transform: scale(1.04);
}

/* Flip hint badge */
.comp-flip-hint {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  transition: all 0.3s var(--ease);
  pointer-events: none;
}

.comp-flip-hint svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comp-visual--cinematic:hover .comp-flip-hint {
  color: var(--orange);
  border-color: rgba(240,123,28,0.2);
}

.comp-visual--cinematic.flipped .comp-flip-hint {
  transform: rotateY(180deg);
}
.comp-visual--cinematic.flipped .comp-flip-hint .hint-label-photo,
.comp-visual--cinematic:not(.flipped) .comp-flip-hint .hint-label-diagram {
  display: none;
}

/* --- SVG Illustration --- */
.comp-svg-illust {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(240,123,28,0.05));
  transition: filter 0.5s var(--ease);
}

.comp-visual--cinematic:hover .comp-svg-illust {
  filter: drop-shadow(0 0 30px rgba(240,123,28,0.12));
}

/* --- Photo Slot (legacy, hidden) --- */
.comp-photo-slot {
  display: none;
}

.comp-photo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 10px;
  color: rgba(255,255,255,0.12);
}

.comp-photo-empty span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   SVG ANIMATION KEYFRAMES
   ============================================ */

/* Circuit trace dash animation */
.svg-trace {
  stroke-dashoffset: 0;
  animation: traceDash 3s linear infinite;
}

@keyframes traceDash {
  to { stroke-dashoffset: -28; }
}

/* Chip glow pulse */
.svg-chip {
  animation: chipGlow 3s ease-in-out infinite;
}

@keyframes chipGlow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(240,123,28,0.1)); }
  50% { filter: drop-shadow(0 0 12px rgba(240,123,28,0.3)); }
}

/* Signal dot pulse */
.svg-signal-dot {
  animation: signalPulse 2s ease-in-out infinite;
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.3; r: 2; }
  50% { opacity: 1; r: 3.5; }
}

/* Plunger motion */
.svg-plunger {
  animation: plungerMove 2.5s ease-in-out infinite;
}

@keyframes plungerMove {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Coolant flow */
.svg-coolant {
  stroke-dashoffset: 0;
  animation: coolantFlow 2s linear infinite;
}

@keyframes coolantFlow {
  to { stroke-dashoffset: -20; }
}

/* Solenoid coil electromagnetic pulse */
.svg-coil {
  animation: coilPulse 1.8s ease-in-out infinite;
}

@keyframes coilPulse {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); opacity: 0.7; }
  50% { filter: drop-shadow(0 0 8px rgba(240,123,28,0.4)); opacity: 1; }
}

/* Injector needle motion */
.svg-needle {
  animation: needleShoot 1.2s ease-in-out infinite;
}

@keyframes needleShoot {
  0%, 70%, 100% { transform: translateY(0); }
  80% { transform: translateY(3px); }
}

/* Inner bore pulse */
.svg-inner-bore {
  animation: borePulse 3s ease-in-out infinite;
}

@keyframes borePulse {
  0%, 100% { stroke-width: 1.2; opacity: 0.8; }
  50% { stroke-width: 2; opacity: 1; }
}

/* Flow arrow dash */
.svg-flow-arrow {
  stroke-dasharray: 8 4;
  stroke-dashoffset: 0;
  animation: flowDash 1.5s linear infinite;
}

@keyframes flowDash {
  to { stroke-dashoffset: -24; }
}

/* Dirty particles shake */
.svg-particle-dirty {
  animation: particleShake 2s ease-in-out infinite;
}

@keyframes particleShake {
  0%, 100% { transform: translate(0, 0); opacity: 0.5; }
  25% { transform: translate(1px, -1px); opacity: 0.8; }
  50% { transform: translate(-1px, 1px); opacity: 0.3; }
  75% { transform: translate(1px, 0); opacity: 0.7; }
}

@media(max-width: 768px) {
  .comp-flip-inner {
    aspect-ratio: 4 / 3;
  }
  .comp-flip-back {
    padding: 16px;
  }
  .comp-flip-hint {
    font-size: 9px;
    padding: 4px 10px;
    bottom: 8px;
    right: 10px;
  }
}

/* ============================================
   LIGHT MODE OVERRIDES — Cinematic Elements
   ============================================ */
[data-theme="light"] .comp-flip-front {
  background: linear-gradient(135deg, rgba(240,123,28,0.03), rgba(0,100,200,0.02));
  border-color: rgba(240,123,28,0.1);
}

[data-theme="light"] .comp-flip-front::before {
  background: radial-gradient(ellipse at 30% 20%, rgba(240,123,28,0.05), transparent 60%);
}

[data-theme="light"] .comp-flip-back {
  background: linear-gradient(135deg, rgba(245,245,248,0.95), rgba(240,240,244,0.98));
  border-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .comp-flip-back img {
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.12));
}

[data-theme="light"] .comp-flip-hint {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.4);
}

[data-theme="light"] .comp-visual--cinematic:hover .comp-flip-hint {
  color: var(--orange);
}

[data-theme="light"] .comp-photo-empty {
  color: rgba(0,0,0,0.15);
}

/* ============================================
   SYSTEM MAP — Embedded Interactive Diagram
   ============================================ */
.system-map-frame-wrap {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: #08080A;
}

.system-map-frame {
  width: 100%;
  height: 820px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .system-map-frame {
    height: 600px;
  }
}

@media (max-width: 480px) {
  .system-map-frame {
    height: 480px;
  }
  .system-map-frame-wrap {
    border-radius: 12px;
    margin-top: 24px;
  }
}


/* ============================================
   MICRO-INTERACTIONS — Technology Page
   ============================================ */

/* --- Shimmer Border System --- */
@property --tech-shimmer {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes techShimmer {
  to { --tech-shimmer: 360deg; }
}

/* --- Pillar Card Shimmer Border (::after, since ::before is top gradient bar) --- */
.pillar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: conic-gradient(from var(--tech-shimmer), transparent 40%, rgba(240,123,28,0.4) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: techShimmer 4s linear infinite;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.pillar-card:hover::after {
  opacity: 1;
}

/* --- Pillar Icon Pulse on Hover --- */
@keyframes techIconPulse {
  0%, 100% { transform: scale(1.1) rotate(-5deg); }
  50% { transform: scale(1.2) rotate(-5deg); }
}

.pillar-card:hover .pillar-icon {
  animation: techIconPulse 1.5s ease-in-out infinite;
}

/* --- Validation Card Glassmorphism + Shimmer --- */
.val-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.val-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: conic-gradient(from var(--tech-shimmer), transparent 40%, rgba(240,123,28,0.35) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: techShimmer 4s linear infinite;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.val-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 20px rgba(240,123,28,0.06);
}

.val-card:hover::after {
  opacity: 1;
}

/* --- Ring Glow on Hover --- */
.val-card:hover .val-ring-fill {
  filter: drop-shadow(0 0 8px rgba(240,123,28,0.4));
}

/* --- ECU Card Glassmorphism + Shimmer --- */
.ecu-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.ecu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: conic-gradient(from var(--tech-shimmer), transparent 40%, rgba(240,123,28,0.35) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: techShimmer 4s linear infinite;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.ecu-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 20px rgba(240,123,28,0.06);
}

.ecu-card:hover::after {
  opacity: 1;
}

/* --- ECU Featured Card Glow Pulse --- */
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 0 20px rgba(240,123,28,0.08); }
  50% { box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 0 32px rgba(240,123,28,0.15); }
}

.ecu-card.featured {
  animation: featuredGlow 4s ease-in-out infinite;
}

/* --- Maintenance Card Shimmer Border --- */
.maint-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: conic-gradient(from var(--tech-shimmer), transparent 40%, rgba(240,123,28,0.35) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: techShimmer 4s linear infinite;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.maint-card {
  position: relative;
  overflow: hidden;
}

.maint-card:hover::after {
  opacity: 1;
}

/* --- Maint Icon Pulse on Hover --- */
.maint-card:hover .maint-card-icon {
  background: var(--orange);
  color: var(--bg);
  transform: scale(1.1);
  transition: all 0.4s var(--ease);
}

.maint-card-icon {
  transition: all 0.4s var(--ease);
}

/* --- Spec Card Enhanced Hover --- */
.spec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.spec-card-value {
  transition: color 0.3s var(--ease);
}

.spec-card:hover .spec-card-value {
  color: var(--orange);
}

/* --- Explorer Tab Glow --- */
.explorer-tab.active {
  box-shadow: 0 4px 20px rgba(240,123,28,0.3);
}

/* --- Comparison Table Glassmorphism Wrap --- */
.comp-table-wrap {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  transition: all 0.5s var(--ease);
}

.comp-table-wrap:hover {
  border-color: rgba(240,123,28,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* --- Hero Stat Hover --- */
.hero-stat {
  transition: transform 0.3s var(--ease);
}

.hero-stat:hover {
  transform: translateY(-4px);
}

.hero-stat:hover .hero-stat-num {
  text-shadow: 0 0 20px rgba(240,123,28,0.4);
}

.hero-stat-num {
  transition: text-shadow 0.4s var(--ease);
}

/* --- Val Vehicle Pill Enhanced --- */
.val-vehicle {
  position: relative;
  overflow: hidden;
}

.val-vehicle::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(240,123,28,0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
}

.val-vehicle:hover::after {
  transform: translateX(100%);
}

/* --- Section Ambient Orbs --- */
@keyframes techAmbientFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.1); }
}

.pillars {
  position: relative;
  overflow: hidden;
}

.pillars::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,123,28,0.04), transparent 70%);
  animation: techAmbientFloat 12s ease-in-out infinite;
  pointer-events: none;
}

.validation {
  position: relative;
  overflow: hidden;
}

.validation::after {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,217,255,0.03), transparent 70%);
  animation: techAmbientFloat 14s ease-in-out infinite reverse;
  pointer-events: none;
}

.ecu-lineup {
  position: relative;
  overflow: hidden;
}

.ecu-lineup::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,123,28,0.04), transparent 70%);
  animation: techAmbientFloat 10s ease-in-out infinite;
  pointer-events: none;
}

.maintenance {
  position: relative;
  overflow: hidden;
}

.maintenance::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,217,255,0.03), transparent 70%);
  animation: techAmbientFloat 11s ease-in-out infinite reverse;
  pointer-events: none;
}

/* --- CTA Ambient Orb --- */
.tech-cta::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,217,255,0.04), transparent 70%);
  animation: techAmbientFloat 9s ease-in-out infinite;
  pointer-events: none;
}

/* --- CTA Button Shine Sweep --- */
.cta-btn {
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s var(--ease);
}

.cta-btn:hover::after {
  left: 120%;
}

/* --- System Map Frame Glow --- */
.system-map-frame-wrap {
  transition: all 0.5s var(--ease);
}

.system-map-frame-wrap:hover {
  border-color: rgba(240,123,28,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* --- Comp Feature Stagger on Panel Activation --- */
.explorer-panel.active .comp-feature:nth-child(1) { transition-delay: 0.05s; }
.explorer-panel.active .comp-feature:nth-child(2) { transition-delay: 0.1s; }
.explorer-panel.active .comp-feature:nth-child(3) { transition-delay: 0.15s; }
.explorer-panel.active .comp-feature:nth-child(4) { transition-delay: 0.2s; }
.explorer-panel.active .comp-feature:nth-child(5) { transition-delay: 0.25s; }

/* --- Scroll Line Glow --- */
.scroll-line {
  position: relative;
}

.scroll-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(240,123,28,0.4);
  animation: scrollDotPulse 2s ease-in-out infinite;
}

@keyframes scrollDotPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.4; transform: translateX(-50%) scale(0.6); }
}

/* --- Light Mode Overrides for Micro-Interactions --- */
[data-theme="light"] .pillar-card::after,
[data-theme="light"] .val-card::after,
[data-theme="light"] .ecu-card::after,
[data-theme="light"] .maint-card::after {
  background: conic-gradient(from var(--tech-shimmer), transparent 40%, rgba(240,123,28,0.25) 50%, transparent 60%);
}

[data-theme="light"] .pillars::after,
[data-theme="light"] .ecu-lineup::after {
  background: radial-gradient(circle, rgba(240,123,28,0.03), transparent 70%);
}

[data-theme="light"] .validation::after,
[data-theme="light"] .maintenance::after,
[data-theme="light"] .tech-cta::after {
  background: radial-gradient(circle, rgba(0,100,200,0.03), transparent 70%);
}

[data-theme="light"] .hero-stat:hover .hero-stat-num {
  text-shadow: 0 0 16px rgba(240,123,28,0.25);
}

[data-theme="light"] .val-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 0 16px rgba(240,123,28,0.04);
}

[data-theme="light"] .ecu-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 0 16px rgba(240,123,28,0.04);
}
