
:root {
  --mbcc-red: #c1121f;
  --mbcc-black: #0b0b0b;
  --mbcc-gold: #d4af37;
  --mbcc-gold-dark: #a8831e;
  --mbcc-offwhite: #f7f3e9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(193,18,31,0.18), transparent 50%),
              radial-gradient(circle at bottom right, rgba(212,175,55,0.16), transparent 55%),
              #050506;
  color: var(--mbcc-offwhite);
}

a {
  color: var(--mbcc-gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.mbcc-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mbcc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(247,243,233,0.12);
  background: linear-gradient(135deg, rgba(11,11,11,0.96), rgba(0,0,0,0.94));
  position: sticky;
  top: 0;
  z-index: 40;
}

.mbcc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mbcc-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(193,18,31,0.9), rgba(193,18,31,0.35)),
    repeating-linear-gradient(135deg,
      rgba(11,11,11,0.9) 0px,
      rgba(11,11,11,0.9) 6px,
      rgba(50,10,10,0.95) 6px,
      rgba(50,10,10,0.95) 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--mbcc-offwhite);
  border: 1px solid rgba(212,175,55,0.65);
  box-shadow: 0 0 14px rgba(0,0,0,0.85);
}

.mbcc-logo-text span:first-child {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(247,243,233,0.7);
}

.mbcc-logo-text span:last-child {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.mbcc-nav {
  display: flex;
  gap: 14px;
  font-size: 13px;
}

.mbcc-nav a {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.mbcc-nav a:hover {
  border-color: rgba(247,243,233,0.3);
  background: rgba(193,18,31,0.25);
}

.mbcc-main {
  padding: 18px 22px 28px;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 18px;
  margin-bottom: 20px;
}

.hero-main h1 {
  font-size: 28px;
  margin: 0 0 6px;
}

.hero-tagline {
  font-size: 14px;
  color: rgba(247,243,233,0.82);
  max-width: 680px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(247,243,233,0.32);
  background: rgba(11,11,11,0.8);
}

.hero-side {
  border-radius: 18px;
  border: 1px solid rgba(247,243,233,0.25);
  background:
    linear-gradient(135deg, rgba(193,18,31,0.3), transparent 55%),
    rgba(11,11,11,0.96);
  padding: 14px 13px;
  font-size: 13px;
}

.hero-side-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(247,243,233,0.7);
  margin-bottom: 6px;
}

.hero-side h2 {
  font-size: 16px;
  margin: 0 0 4px;
}

.section {
  margin-top: 22px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 17px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 13px;
  color: rgba(247,243,233,0.78);
}

.sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 14px;
}

.sim-card {
  border-radius: 16px;
  border: 1px solid rgba(247,243,233,0.18);
  background: radial-gradient(circle at top left, rgba(193,18,31,0.25), transparent 55%),
              rgba(8,8,8,0.98);
  padding: 11px 11px 10px;
  font-size: 13px;
}

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

.sim-title {
  font-size: 14px;
  font-weight: 600;
}

.sim-meta {
  font-size: 11px;
  color: rgba(247,243,233,0.7);
}

.sim-body {
  margin-top: 6px;
  display: grid;
  gap: 6px;
}

label.small-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(247,243,233,0.8);
}

input,
select,
textarea {
  width: 100%;
  padding: 6px 7px;
  border-radius: 8px;
  border: 1px solid rgba(247,243,233,0.26);
  background: rgba(5,5,6,1);
  color: var(--mbcc-offwhite);
  font-size: 13px;
  resize: vertical;
}

textarea {
  min-height: 60px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--mbcc-gold);
  background: radial-gradient(circle at top left, rgba(212,175,55,0.3), transparent 60%),
              rgba(11,11,11,0.98);
  color: var(--mbcc-offwhite);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.09s ease, box-shadow 0.09s ease, background 0.09s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(212,175,55,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(247,243,233,0.3);
  background: rgba(11,11,11,0.96);
  color: rgba(247,243,233,0.9);
  font-size: 12px;
  cursor: pointer;
}

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

.tagline-inline {
  font-size: 12px;
  color: rgba(247,243,233,0.72);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(247,243,233,0.24);
  font-size: 11px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #18e39c;
  box-shadow: 0 0 9px rgba(24,227,156,0.7);
}

.log-view {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  background: rgba(5,5,6,0.98);
  border-radius: 10px;
  padding: 8px 9px;
  border: 1px solid rgba(247,243,233,0.18);
  max-height: 210px;
  overflow: auto;
  white-space: pre;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 3px;
}

.metric-bar-wrap {
  margin-top: 2px;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(247,243,233,0.08);
}

.metric-bar {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7b7b, #ffd36f);
}

.badge-risk {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(247,243,233,0.28);
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.arch-node {
  border-radius: 12px;
  border: 1px solid rgba(247,243,233,0.22);
  background: rgba(10,10,10,0.98);
  padding: 6px;
  font-size: 11px;
}

.arch-node-title {
  font-weight: 600;
  font-size: 11px;
  margin-bottom: 2px;
}

.arch-node-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(247,243,233,0.75);
}

.arch-node-desc {
  font-size: 11px;
  color: rgba(247,243,233,0.8);
  margin-top: 3px;
}

.mbcc-footer {
  border-top: 1px solid rgba(247,243,233,0.1);
  padding: 10px 22px 14px;
  font-size: 11px;
  color: rgba(247,243,233,0.74);
  background: rgba(5,5,6,0.98);
}

.mbcc-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .sim-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .mbcc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .mbcc-nav {
    flex-wrap: wrap;
  }
}
