/* Modern Footer, Navigation Active States, Equipment Hub & Pillar Interactive Labs (2026-11-14) */

/* 1. Upgraded Navigation for Multi-Page Architecture */
.nav {
  gap: 20px;
}
.nav > a[aria-current="page"] {
  color: #efe8ff !important;
  font-weight: 700;
}
.nav > a[aria-current="page"]::after {
  width: 100% !important;
  height: 2px;
  background: linear-gradient(90deg, #d6ee99, #c8bcff);
  border-radius: 2px;
}
.nav-pill-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-pill-new i {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(214, 238, 153, 0.14);
  border: 1px solid rgba(214, 238, 153, 0.38);
  color: #d6ee99;
  letter-spacing: 0.3px;
}
@media (max-width: 1180px) and (min-width: 981px) {
  .nav { gap: 14px; font-size: 13.5px; }
  .nav-pill-new i { display: none; }
}

/* 2. Homepage Core Equipment Hub Section */
.equipment-hub {
  padding: 88px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(114, 92, 186, 0.18), transparent 65%), #0c1022;
  border-top: 1px solid #2b3050;
  border-bottom: 1px solid #2b3050;
}
.equipment-hub-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 46px;
}
.equipment-hub-head .eyebrow {
  justify-content: center;
}
.equipment-hub-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.22;
  margin: 12px 0 14px;
  color: #f8f7ff;
}
.equipment-hub-head h2 em {
  font-style: normal;
  color: #d6ee99;
}
.equipment-hub-head p {
  color: #cfd4ea;
  margin: 0;
  font-size: 18px;
}
.equipment-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.equip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 30px 34px;
  border-radius: 22px;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 20%), rgba(188, 176, 244, 0.13), transparent 45%),
              linear-gradient(180deg, #171c36 0%, #11152b 100%);
  border: 1px solid #454970;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}
.equip-card:hover {
  transform: translateY(-5px);
  border-color: #9e8ee6;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
}
.equip-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: rgba(105, 80, 156, 0.28);
  border: 1px solid rgba(200, 188, 255, 0.36);
  color: #e9dfff;
  margin-bottom: 18px;
}
.equip-card-art {
  width: 100%;
  max-width: 470px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(145, 138, 204, 0.28);
  margin-bottom: 22px;
  background: #0d1226;
}
.equip-card-art img {
  display: block;
  width: 100%;
  height: auto;
}
.equip-card h3 {
  font-size: 25px;
  line-height: 1.28;
  margin: 0 0 10px;
  color: #ffffff;
}
.equip-card p {
  color: #cfd4ea;
  margin: 0 0 20px;
  max-width: 500px;
}
.equip-card-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.equip-card-metrics li {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: #1a2140;
  border: 1px solid #3f466e;
  color: #e4e7f8;
}
.equip-card .button {
  margin-top: auto;
}

/* 3. Modern Architectural Footer (.footer-modern) */
.footer.footer-modern {
  position: relative;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(124, 99, 201, 0.22), transparent 52%),
    radial-gradient(ellipse at 85% 15%, rgba(69, 148, 136, 0.15), transparent 48%),
    linear-gradient(180deg, #0b0e1e 0%, #070914 100%) !important;
  color: #dde1f4;
  padding: 72px 0 36px;
  border-top: 1px solid rgba(176, 162, 242, 0.24);
  overflow: hidden;
}
.footer.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 92%);
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #8c78d8 28%, #d6ee99 52%, #edb08b 74%, transparent 100%);
  opacity: 0.85;
}
.footer-bento {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  padding: 34px 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(28, 33, 64, 0.88) 0%, rgba(18, 22, 44, 0.92) 100%);
  border: 1px solid rgba(164, 152, 228, 0.28);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
  margin-bottom: 48px;
  align-items: center;
}
.footer-bento-copy .footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(214, 238, 153, 0.11);
  border: 1px solid rgba(214, 238, 153, 0.32);
  color: #d6ee99;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  margin-bottom: 14px;
}
.footer-bento-copy h2 {
  font-size: clamp(24px, 2.7vw, 33px);
  line-height: 1.24;
  color: #ffffff;
  margin: 0 0 10px;
}
.footer-bento-copy p {
  margin: 0 0 22px;
  color: #cbd1e8;
  font-size: 16.5px;
  line-height: 1.72;
  max-width: 580px;
}
.footer-bento-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-btn-primary,
.footer-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.footer-btn-primary {
  background: linear-gradient(135deg, #d6ee99 0%, #c8bcff 100%);
  color: #0b0e1e !important;
}
.footer-btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #e5f6b8 0%, #ddd4ff 100%);
}
.footer-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(196, 188, 248, 0.36);
  color: #f3f0ff !important;
}
.footer-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(188, 176, 244, 0.14);
  border-color: #c8bcff;
}
.footer-bento-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.footer-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 14px;
  border-radius: 16px;
  background: rgba(13, 17, 36, 0.78);
  border: 1px solid rgba(136, 130, 194, 0.24);
  transition: border-color 0.22s ease, transform 0.22s ease;
}
.footer-tile:hover {
  border-color: rgba(214, 238, 153, 0.45);
  transform: translateY(-2px);
}
.footer-tile .ic {
  width: 30px;
  height: 30px;
  color: #d6ee99;
  --icon-accent: #c8bcff;
  margin-bottom: 8px;
}
.footer-tile strong {
  display: block;
  font-size: 15px;
  color: #f7f6ff;
  line-height: 1.35;
  margin-bottom: 3px;
}
.footer-tile span {
  font-size: 13px;
  color: #b7bed9;
  line-height: 1.45;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 1.05fr 1.15fr;
  gap: 34px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(132, 136, 184, 0.22);
}
.footer-brand-box .footer-logo {
  height: 60px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.footer-brand-box p {
  color: #c3c9e2;
  font-size: 15.5px;
  line-height: 1.72;
  margin: 0 0 16px;
}
.footer-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(25, 31, 58, 0.9);
  border: 1px solid rgba(148, 196, 189, 0.32);
  color: #cfe9e4;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-verified-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6ee99;
  box-shadow: 0 0 8px #d6ee99;
  display: inline-block;
}
.footer-social-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social-modern a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(25, 30, 56, 0.85);
  border: 1px solid rgba(145, 142, 198, 0.28);
  color: #ece9ff;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-social-modern a:hover {
  background: rgba(105, 80, 156, 0.36);
  border-color: #c8bcff;
  transform: translateY(-2px);
}
.footer-social-modern .ic {
  width: 17px;
  height: 17px;
  color: #d6ee99;
  --icon-accent: #c8bcff;
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col h3::before {
  content: '';
  width: 6px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(180deg, #d6ee99, #9f8ce6);
}
.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c7cde6;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.2s, transform 0.2s;
}
.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}
.footer-link-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(214, 238, 153, 0.14);
  border: 1px solid rgba(214, 238, 153, 0.34);
  color: #d6ee99;
}
.footer-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.footer-area-chips span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  background: rgba(24, 29, 54, 0.85);
  border: 1px solid rgba(132, 136, 184, 0.25);
  color: #bfc6e0;
}

.footer-contact-pod {
  padding: 20px 20px 22px;
  border-radius: 18px;
  background: rgba(20, 25, 48, 0.85);
  border: 1px solid rgba(146, 142, 204, 0.28);
}
.footer-phone-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #d6ee99 !important;
  margin-bottom: 10px;
}
.footer-phone-big .ic {
  width: 22px;
  height: 22px;
  color: #d6ee99;
}
.footer-contact-pod address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.65;
  color: #c5cbe3;
  margin-bottom: 14px;
}
.footer-map-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: #dfd0ff !important;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(105, 80, 156, 0.25);
  border: 1px solid rgba(196, 182, 255, 0.32);
}
.footer-map-inline:hover {
  background: rgba(105, 80, 156, 0.42);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 14px;
  color: #aeb5d1;
}
.footer-bar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.footer-bar-links a,
.footer-bar-links button {
  color: #d7dcf2;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(200, 188, 255, 0.4);
}
.footer-bar-links a:hover,
.footer-bar-links button:hover {
  color: #d6ee99;
}
.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px !important;
  border-radius: 999px;
  background: rgba(28, 34, 64, 0.9) !important;
  border: 1px solid rgba(152, 148, 208, 0.32) !important;
  text-decoration: none !important;
  font-weight: 600;
}

/* 4. Pillar Knowledge Pages (/inverter/ & /solar-panels/) */
.pillar-breadcrumb {
  padding: 18px 0 0;
  font-size: 14px;
  color: #b9c0dc;
}
.pillar-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.pillar-breadcrumb a {
  color: #d8ceff;
}
.pillar-breadcrumb a:hover {
  text-decoration: underline;
}
.pillar-hero {
  position: relative;
  padding: 36px 0 76px;
  background:
    radial-gradient(circle at 76% 24%, rgba(120, 96, 201, 0.24), transparent 46%),
    radial-gradient(circle at 16% 75%, rgba(44, 122, 115, 0.18), transparent 46%),
    #090b18;
  overflow: hidden;
}
.pillar-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 42px;
  align-items: center;
}
.pillar-hero h1 {
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.16;
  margin: 14px 0 18px;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.pillar-hero h1 em {
  font-style: normal;
  color: #d6ee99;
  display: block;
}
.pillar-lead {
  font-size: 18.5px;
  line-height: 1.78;
  color: #d6dbef;
  margin: 0 0 24px;
}
.pillar-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.pillar-meta-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(25, 31, 58, 0.92);
  border: 1px solid rgba(154, 148, 214, 0.35);
  color: #ebe8ff;
}
.pillar-meta-pills b {
  color: #d6ee99;
}

/* Interactive Orbit Lab Card in Hero */
.orbit-lab-card {
  border-radius: 22px;
  background: radial-gradient(ellipse at 70% 20%, rgba(110, 88, 178, 0.26), transparent 62%), #12172d;
  border: 1px solid #4d5178;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}
.orbit-lab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(126, 130, 182, 0.26);
  font-size: 13px;
  font-weight: 700;
  color: #dfd0ff;
}
.orbit-lab-head i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6ee99;
  box-shadow: 0 0 10px #d6ee99;
  margin-right: 8px;
}
.orbit-lab-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 14px;
  background: #0d1124;
  border-bottom: 1px solid rgba(126, 130, 182, 0.22);
}
.orbit-lab-tabs button {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #c8cee6;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.orbit-lab-tabs button[aria-pressed="true"] {
  background: #554087;
  border-color: #b49ff5;
  color: #ffffff;
}
.orbit-lab-stage {
  padding: 16px 18px 8px;
}
.orbit-lab-stage svg {
  display: block;
  width: 100%;
  height: auto;
}
.lab-pulse {
  stroke-dasharray: 9 9;
  animation: labFlow 2.2s linear infinite;
}
html[data-motion="paused"] .lab-pulse,
body.reduce-motion .lab-pulse,
.orbit-lab-card[data-paused="true"] .lab-pulse {
  animation: none;
}
@keyframes labFlow {
  to { stroke-dashoffset: -36; }
}
.orbit-lab-readout {
  padding: 14px 20px 16px;
  border-top: 1px solid rgba(126, 130, 182, 0.24);
  background: rgba(12, 16, 34, 0.72);
}
.orbit-lab-readout strong {
  display: block;
  color: #d6ee99;
  font-size: 15.5px;
  margin-bottom: 4px;
}
.orbit-lab-readout p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #cfd5ec;
}
.orbit-lab-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.orbit-lab-specs div {
  padding: 8px 10px;
  border-radius: 10px;
  background: #171d38;
  border: 1px solid #393f66;
  text-align: center;
}
.orbit-lab-specs small {
  display: block;
  font-size: 11.5px;
  color: #aeb5d4;
}
.orbit-lab-specs b {
  font-size: 14px;
  color: #ffffff;
}
.orbit-lab-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-top: 1px solid rgba(126, 130, 182, 0.2);
  font-size: 12.5px;
  color: #b5bddb;
}

/* Pillar Sections & Centered Cards */
.pillar-section {
  padding: 78px 0;
  border-top: 1px solid #262b47;
}
.pillar-section-alt {
  background: #0e1226;
}
.pillar-sec-head {
  max-width: 820px;
  margin-bottom: 40px;
}
.pillar-sec-head.is-centered {
  text-align: center;
  margin-inline: auto;
}
.pillar-sec-head.is-centered .eyebrow {
  justify-content: center;
}
.pillar-sec-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.24;
  margin: 10px 0 14px;
  color: #ffffff;
}
.pillar-sec-head h2 em {
  font-style: normal;
  color: #d6ee99;
}
.pillar-sec-head p {
  margin: 0;
  color: #cfd5ec;
  font-size: 18px;
}

/* Centered Feature Cards (Icon + Text Centered) */
.pillar-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pillar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 24px;
  border-radius: 20px;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 20%), rgba(188, 176, 244, 0.12), transparent 45%), #151a33;
  border: 1px solid #3f456b;
  transition: transform 0.24s ease, border-color 0.24s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: #9886e2;
}
.pillar-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(105, 80, 156, 0.26);
  border: 1px solid rgba(200, 188, 255, 0.36);
  margin-bottom: 16px;
}
.pillar-card-icon .ic {
  width: 30px;
  height: 30px;
  color: #d6ee99;
  --icon-accent: #c8bcff;
}
.pillar-card-tag {
  font-size: 12px;
  font-weight: 700;
  color: #dfd0ff;
  background: rgba(105, 80, 156, 0.24);
  border: 1px solid rgba(196, 182, 255, 0.3);
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.pillar-card h3 {
  font-size: 21px;
  line-height: 1.32;
  color: #ffffff;
  margin: 0 0 10px;
}
.pillar-card p {
  margin: 0 0 16px;
  color: #ccd2ea;
  font-size: 16px;
  line-height: 1.72;
}
.pillar-card-stat {
  margin-top: auto;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(132, 138, 186, 0.22);
  font-size: 14px;
  color: #d6ee99;
  font-weight: 700;
}

/* Wikipedia & International Authority Synthesis Box */
.wiki-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  padding: 32px 34px;
  border-radius: 22px;
  background: linear-gradient(135deg, #171d38 0%, #12162c 100%);
  border: 1px solid #4a507a;
  margin-top: 32px;
}
.wiki-box h3 {
  font-size: 22px;
  color: #ffffff;
  margin: 0 0 12px;
}
.wiki-box p {
  color: #d2d7ec;
  margin: 0 0 14px;
  font-size: 16.5px;
}
.wiki-formula-box {
  padding: 22px 24px;
  border-radius: 16px;
  background: #0d1124;
  border: 1px solid #3c4268;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.wiki-formula-box strong {
  color: #d6ee99;
  font-size: 15px;
}
.wiki-formula-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  color: #f4f1ff;
  padding: 12px 14px;
  border-radius: 10px;
  background: #171c36;
  border: 1px solid #484e7a;
}
.wiki-cite-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.wiki-cite-links a {
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(105, 80, 156, 0.25);
  border: 1px solid rgba(200, 188, 255, 0.34);
  color: #e6dcff;
}
.wiki-cite-links a:hover {
  background: rgba(105, 80, 156, 0.45);
}

/* Interactive Simulator Widget (Shade Lab & Thai Heat Lab) */
.sim-widget {
  padding: 32px 34px;
  border-radius: 24px;
  background: radial-gradient(ellipse at 80% 10%, rgba(114, 92, 186, 0.22), transparent 58%), #131830;
  border: 1px solid #4c527c;
  margin-top: 36px;
}
.sim-widget-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.sim-widget-top h3 {
  margin: 0;
  font-size: 22px;
  color: #ffffff;
}
.sim-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: #0c1022;
  border: 1px solid #3f456b;
}
.sim-controls button {
  padding: 8px 15px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #cbd1ea;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.sim-controls button[aria-pressed="true"] {
  background: linear-gradient(135deg, #624a9e, #48367a);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.sim-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sim-row {
  display: grid;
  grid-template-columns: 240px 1fr 110px;
  gap: 16px;
  align-items: center;
}
.sim-row-label strong {
  display: block;
  font-size: 15.5px;
  color: #f5f4ff;
}
.sim-row-label small {
  font-size: 13px;
  color: #b4bcd9;
}
.sim-track {
  height: 18px;
  border-radius: 999px;
  background: #0b0f20;
  border: 1px solid #34395c;
  overflow: hidden;
}
.sim-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7762c4, #d6ee99);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.sim-fill.is-copper {
  background: linear-gradient(90deg, #8b629e, #edb08b);
}
.sim-fill.is-violet {
  background: linear-gradient(90deg, #5c4b99, #c8bcff);
}
.sim-val {
  text-align: right;
  font-size: 16px;
  font-weight: 800;
  color: #d6ee99;
}
.sim-caption {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(132, 138, 186, 0.22);
  font-size: 15px;
  color: #cfd5ec;
}

/* Comparison Data Table */
.research-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid #41476e;
  background: #131830;
  margin-top: 30px;
}
.research-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 15.5px;
}
.research-table th,
.research-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid #2b3052;
}
.research-table th {
  background: #1a2040;
  color: #dfd0ff;
  font-weight: 700;
  font-size: 14px;
}
.research-table td {
  color: #dce0f2;
}
.research-table tr:last-child td {
  border-bottom: 0;
}
.research-table tr:hover td {
  background: rgba(114, 92, 186, 0.08);
}
.badge-best {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(214, 238, 153, 0.15);
  border: 1px solid rgba(214, 238, 153, 0.4);
  color: #d6ee99;
}

/* Horizontal Metric Bars inside Research Charts */
.hbar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0;
}
.hbar-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  margin-bottom: 6px;
  color: #e6e9f8;
}
.hbar-item-top b {
  color: #d6ee99;
}
.hbar-rail {
  height: 14px;
  border-radius: 999px;
  background: #0e1326;
  border: 1px solid #353b5e;
  overflow: hidden;
}
.hbar-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #69509c, #d6ee99);
}
.hbar-bar.bar-alt {
  background: linear-gradient(90deg, #5d5ba6, #edb08b);
}

/* International Websites Adapted Cards */
.intl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.intl-card {
  padding: 28px;
  border-radius: 20px;
  background: #151a33;
  border: 1px solid #41466d;
}
.intl-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.intl-country {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(214, 238, 153, 0.12);
  border: 1px solid rgba(214, 238, 153, 0.34);
  color: #d6ee99;
}
.intl-card h3 {
  font-size: 20px;
  color: #ffffff;
  margin: 0 0 10px;
}
.intl-card p {
  color: #cfd5ec;
  font-size: 16px;
  margin: 0 0 14px;
}
.intl-card ul {
  margin: 0;
  padding-left: 20px;
  color: #d9def2;
  font-size: 15.5px;
}
.intl-card li + li {
  margin-top: 6px;
}

/* Sibling Cross-Link Banner */
.sibling-cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 34px 38px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1e1c3f 0%, #131933 100%);
  border: 1px solid #5a568e;
}
.sibling-cta h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  color: #ffffff;
  margin: 8px 0 10px;
}
.sibling-cta p {
  color: #d2d7ec;
  margin: 0;
}
.sibling-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-bento,
  .pillar-hero-grid,
  .wiki-box,
  .sibling-cta {
    grid-template-columns: 1fr;
  }
  .sibling-cta-actions {
    justify-content: flex-start;
  }
  .footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillar-cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .equipment-hub-grid,
  .footer-main-grid,
  .footer-bento-tiles,
  .pillar-cards-3,
  .intl-grid {
    grid-template-columns: 1fr;
  }
  .footer-bento,
  .sim-widget,
  .wiki-box,
  .sibling-cta {
    padding: 24px 20px;
  }
  .sim-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .sim-val {
    text-align: left;
  }
  .orbit-lab-tabs {
    grid-template-columns: 1fr;
  }
  .orbit-lab-specs {
    grid-template-columns: 1fr;
  }
}

.pillar-hero-grid > *,
.wiki-box > *,
.intl-grid > *,
.sibling-cta > *,
.stats-article > *,
.faq-grid > * {
  min-width: 0;
}
.source-list li,
.source-list a,
.chart-source a,
.wiki-formula-code {
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .wiki-formula-code {
    font-size: 13.5px;
  }
}
