.sub-menu {
 background-color: var(--ast-global-color-0) !important;
}

.ix-wrap {
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(124, 92, 255, 0.22), transparent 55%),
    radial-gradient(900px 420px at 95% 10%, rgba(0, 212, 255, 0.18), transparent 55%),
    #070a10;
  color: #e8eeff;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

.ix-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 25px 18px 34px;
}

/* Top Bar */
.ix-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(7, 10, 16, 0.72), rgba(7, 10, 16, 0.35));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ix-topbar-inner {
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 990px) {
  .ix-topbar-inner { 
    flex-direction: column;
    width: 100%; 
    align-items: flex-start;
    gap: 20px;
  }
}

.ix-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 240px;
}

.ix-mark, .ix-mark-img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c5cff, #00d4ff);
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.18);
  position: relative;
}

.ix-mark-img img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    opacity: 1;
}

.ix-mark::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  bottom: 7px;
  left: 7px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
}

.ix-title-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ix-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 14px;
}

.ix-sub {
  font-size: 12px;
  color: #a8b3d6;
  margin-top: 3px;
}

.ix-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ix-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: #e8eeff;
  text-decoration: none !important;
  font-weight: 650;
  font-size: 13px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  user-select: none;
}

.ix-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.07);
  color: #e8eeff;
  text-decoration: none !important;
}

.ix-btn-primary {
  border-color: rgba(124, 92, 255, 0.45);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(0, 212, 255, 0.12));
}

/* Cards / Typography */
.ix-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
}

.ix-card-pad { padding: 18px 18px 16px; }

.ix-h1 {
  font-size: 16px;
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -0.6px;
  color: #e8eeff;
}

.ix-h2 {
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
  color: #e8eeff;
}

.ix-lede, .ix-p {
  color: #a8b3d6;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.ix-lede { font-size: 14px; line-height: 1.55; margin-bottom: 14px; }

/* Layout */
.ix-hero { 
  padding: 10px 0px 10px 0px; 
}

.ix-hero-grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: stretch;
}

.ix-hero-grid aside {
  width: 60% !important;
}

.ix-hero-grid article {
  width: 40% !important;
}


@media (max-width: 991px) {
  .ix-hero-grid {
    flex-direction: column;
  }
  .ix-hero-grid aside {
  width: 100% !important;
}

.ix-hero-grid article {
  width: 100% !important;
}
}

.ix-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 920px) {
  .ix-grid2 { grid-template-columns: 1fr; }
}

.ix-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 920px) {
  .ix-grid3 { grid-template-columns: 1fr; }
}

.ix-section { margin-top: 16px; }

/* Badges / chips */
.ix-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.ix-badge {
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #e8eeff;
}

.ix-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 520px) {
  .ix-split { grid-template-columns: 1fr; }
}

.ix-mini {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 92px;
}
.ix-mini .k { font-size: 12px; color: #a8b3d6; font-weight: 650; }
.ix-mini .v { font-size: 18px; font-weight: 900; letter-spacing: -0.2px; }
.ix-mini .d { font-size: 12px; color: #a8b3d6; line-height: 1.4; }

.ix-chiprow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }

.ix-chip {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
  color: #e8eeff;
  background: rgba(255, 255, 255, 0.03);
}

/* Placeholders */
.ix-ph {
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(0, 212, 255, 0.08)),
    radial-gradient(700px 240px at 30% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}

.ix-ph::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  bottom: -60px;
  left: -60px;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.06) 0,
    rgba(255, 255, 255, 0.06) 10px,
    transparent 10px,
    transparent 20px
  );
  transform: rotate(8deg);
  opacity: 0.70;
}

.ix-ph > div { position: relative; padding: 16px; text-align: center; }
.ix-ph small { display: block; margin-top: 6px; color: #a8b3d6; font-weight: 700; }

/* Tabs */
.ix-tabs {
  margin-top: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.ix-tab {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: #e8eeff;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.16s ease, background 0.16s ease;
  user-select: none;
}

.ix-tab:hover { 
    transform: translateY(-1px); 
}
.ix-tab:active, 
.ix-tab:focus, 
.ix-tab:hover, 
.ix-tab[aria-selected="true"] {
    color: var(--ast-global-color-1) !important;
    border-color: var(--ast-global-color-1) !important;
    outline: none !important;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--ast-global-color-1);
}

.ix-actions .ix-btn[aria-selected="true"], 
.ix-actions .ix-btn:hover, 
.ix-actions .ix-btn:focus, 
.ix-actions .ix-btn:active,
.ix-btn-primary:hover,
.ix-btn-primary:focus,
.ix-btn-primary:active {
    color: var(--ast-global-color-1) !important;
    border-color: var(--ast-global-color-1) !important;
    outline: none !important;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--ast-global-color-1);
}



.ix-panel { display: none; padding-top: 14px; }
.ix-panel[data-open="true"] { display: block; }

/* Callouts */
.ix-callout {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 14px;
}
.ix-callout .t { font-weight: 900; margin-bottom: 6px; letter-spacing: -0.15px; }
.ix-callout ul { margin: 8px 0 0; padding-left: 16px; color: #a8b3d6; line-height: 1.6; font-size: 13px; }
.ix-callout li { margin: 5px 0; }

/* Timeline */
.ix-timeline { position: relative; padding-left: 16px; }
.ix-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(124, 92, 255, 0.65), rgba(0, 212, 255, 0.35));
  border-radius: 2px;
  opacity: 0.90;
}
.ix-step {
  position: relative;
  padding: 10px 10px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  margin: 10px 0;
}
.ix-step::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c5cff, #00d4ff);
  box-shadow: 0 10px 25px rgba(124, 92, 255, 0.25);
}
.ix-step .h { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.ix-step .h strong { font-weight: 900; letter-spacing: -0.15px; }
.ix-step .h span { color: #a8b3d6; font-size: 12px; font-weight: 700; }
.ix-step p { margin: 7px 0 0; color: #a8b3d6; font-size: 13px; line-height: 1.55; }

/* Tables */
.ix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.ix-table th, .ix-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #a8b3d6;
  vertical-align: top;
  line-height: 1.45;
}
.ix-table th {
  color: #e8eeff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.03);
}
.ix-table tr:last-child td { border-bottom: 0; }

/* System map */
.ix-map {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background:
    radial-gradient(800px 260px at 20% 0%, rgba(124, 92, 255, 0.14), transparent 60%),
    radial-gradient(600px 240px at 95% 10%, rgba(0, 212, 255, 0.10), transparent 60%),
    rgba(255, 255, 255, 0.02);
  padding: 14px;
  overflow: hidden;
  position: relative;
}

.ix-map-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  align-items: stretch;
}

.ix-node {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  position: relative;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  user-select: none;
}

.ix-node:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.ix-node.active {
  border-color: rgba(124, 92, 255, 0.55);
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.18), rgba(255, 255, 255, 0.03));
}

.ix-node .n { font-weight: 950; letter-spacing: -0.15px; font-size: 13px; margin: 0; }
.ix-node .s { margin: 6px 0 0; color: #a8b3d6; font-size: 12px; line-height: 1.45; }
.ix-node .tags { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }

.ix-tag {
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.02);
  color: #e8eeff;
  opacity: 0.95;
}

.ix-node[data-col="12"] { grid-column: span 12; }
.ix-node[data-col="7"]  { grid-column: span 7; }
.ix-node[data-col="6"]  { grid-column: span 6; }
.ix-node[data-col="5"]  { grid-column: span 5; }
.ix-node[data-col="4"]  { grid-column: span 4; }
.ix-node[data-col="3"]  { grid-column: span 3; }

@media (max-width: 920px) {
  .ix-node[data-col] { grid-column: span 12 !important; }
}

.ix-map-detail {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.ix-map-detail h3 { 
  margin: 0 0 8px; 
  font-size: 14px; 
  letter-spacing: -0.1px; 
  color: #e8eeff;
}

.ix-map-detail p  { 
  margin: 0; 
  color: #a8b3d6; 
  font-size: 13px; 
  line-height: 1.6;
 }

.ix-kv {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 720px) {
  .ix-kv { grid-template-columns: 1fr; }
}
.ix-kv .box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.ix-kv .box b {
  color: #e8eeff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}
.ix-kv .box span {
  color: #a8b3d6;
  font-size: 13px;
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

/* Quote */
.ix-quote {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(0, 212, 255, 0.07));
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.ix-quote::before {
  content: "“";
  position: absolute;
  right: 12px;
  top: -10px;
  font-size: 76px;
  opacity: 0.18;
  font-weight: 900;
}
.ix-quote p { margin: 0; color: #e8eeff; font-weight: 800; line-height: 1.5; }
.ix-quote small { display: block; margin-top: 10px; color: #a8b3d6; font-weight: 750; }

/* Scroll reveal */
.ix-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ix-reveal.on {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.ix-foot {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  color: #a8b3d6;
  font-size: 12px;
}
.ix-foot a {
  color: #e8eeff;
  text-decoration: none;
  font-weight: 850;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.10);
}
.ix-foot a:hover { border-bottom-color: rgba(124, 92, 255, 0.55); }
