/* Industries matrix HUD. Loaded by industries.html. Band: inner-content-sec (industries.css). */
    /* Light band: on-light eyebrow + CTA (no dark-page glow / white hover) */
    .matrix-sec .eyebrow.on-light {
      color: var(--cyan-primary) !important;
      text-shadow: none;
    }

    .matrix-sec .eyebrow.on-light::before {
      background: var(--cyan-primary) !important;
      box-shadow: none;
    }

    .matrix-sec .link-arrow {
      color: var(--cyan-primary);
      border-bottom-color: color-mix(in srgb, var(--cyan-primary) 35%, transparent);
    }

    .matrix-sec .link-arrow:hover {
      color: var(--blue-deep);
      border-bottom-color: var(--cyan-primary);
      text-shadow: none;
      transform: translateX(4px);
    }

    .matrix-hud {
      display: flex;
      height: 680px;
      /* 🌟 ارتفاع کمی بیشتر شد تا همه آیتم‌ها عالی جا شوند 🌟 */
      background: var(--graphite);
      border: 1px solid rgba(0, 217, 194, 0.2);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 217, 194, 0.05);
      margin-top: 60px;
    }

    /* 🌟 منوی سمت چپ (بدون هیچگونه اسکرول) 🌟 */
    .matrix-menu {
      width: 35%;
      background: var(--graphite);
      border-right: 1px solid rgba(255, 255, 255, 0.05);
      overflow: hidden;
      /* 🌟 قطع کامل اسکرول 🌟 */
      padding: 12px 0;
      display: flex;
      flex-direction: column;
    }

    /* 🌟 دکمه‌های صنایع (توزیع خودکار ارتفاع) 🌟 */
    .matrix-btn {
      width: 100%;
      flex: 1;
      /* 🌟 کلید اصلی: هر دکمه سهم مساوی از ارتفاع می‌گیرد 🌟 */
      text-align: left;
      background: transparent;
      border: none;
      border-left: 3px solid transparent;
      padding: 0 clamp(20px, 2.5vw, 30px);
      color: #fff;
      font-size: calc(clamp(13px, 1.05vw, 14.5px) + 4px);
      line-height: 1.35;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }

    .matrix-btn:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.02);
      font-weight: 600;
    }

    .matrix-btn.active {
      background: linear-gradient(90deg, rgba(0, 217, 194, 0.1) 0%, transparent 100%);
      border-left: 3px solid var(--cyan-primary);
      color: #fff;
      font-weight: 700;
      text-shadow: none;
    }

    .matrix-btn.active::after {
      content: '→';
      font-family: var(--font-mono);
      color: var(--cyan-primary);
    }

    /* نمایشگر سمت راست (هولوگرافیک) */
    .matrix-display {
      width: 65%;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      padding: 60px;
    }

    /* عکس پس‌زمینه پویا */
    .md-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: grayscale(35%) contrast(1.05) brightness(1.08);
      opacity: 0.72;
      transition: background-image 0.6s ease, opacity 0.6s ease;
      z-index: 0;
    }

    /* Light scrim — photo stays visible; text sits on softer left-to-right fade */
    .matrix-display::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        118deg,
        color-mix(in srgb, var(--black-void) 78%, transparent) 0%,
        color-mix(in srgb, var(--black-void) 42%, transparent) 48%,
        color-mix(in srgb, var(--black-void) 22%, transparent) 100%
      );
      z-index: 1;
    }

    .md-scanline {
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        color-mix(in srgb, var(--cyan-primary) 4%, transparent) 4px
      );
      opacity: 0.45;
      z-index: 2;
      pointer-events: none;
    }

    /* محتوای متنی نمایشگر */
    .md-content {
      position: relative;
      z-index: 3;
      opacity: 1;
      transform: translateY(0);
      transition: all 0.4s ease;
    }

    /* کلاس انیمیشن برای زمان تعویض محتوا */
    .md-content.fade-out {
      opacity: 0;
      transform: translateY(10px);
    }

    .md-subtitle {
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--cyan-primary);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 16px;
      display: inline-block;
      background: rgba(0, 217, 194, 0.1);
      padding: 4px 12px;
      border-radius: 20px;
    }

    .md-title {
      font-size: clamp(28px, 3.2vw, 42px);
      color: #fff;
      line-height: 1.15;
      margin-bottom: 24px;
      letter-spacing: -0.01em;
      text-shadow: 0 1px 24px color-mix(in srgb, var(--black-void) 55%, transparent);
    }

    .md-desc {
      font-size: 16px;
      color: color-mix(in srgb, #fff 88%, transparent);
      line-height: 1.8;
      max-width: 500px;
      margin-bottom: 40px;
      text-shadow: 0 1px 16px color-mix(in srgb, var(--black-void) 50%, transparent);
    }

    /* دیتای آماری فیک برای زیبایی پنل */
    .md-data-row {
      display: flex;
      gap: 32px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 24px;
    }

    .md-data-item strong {
      display: block;
      font-size: 24px;
      color: #fff;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .md-data-item strong.md-stat-accent {
      color: var(--cyan-primary);
    }

    .md-data-item span {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.5);
      font-family: var(--font-mono);
      text-transform: uppercase;
    }
