.rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: -28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.rail-item {
  min-height: 146px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    #0a0b0f;
}

.rail-item small {
  display: block;
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rail-item strong {
  display: block;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 930;
}

.rail-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 620;
}

.feature-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.55fr);
  gap: 24px;
  align-items: stretch;
}

.feature-stage > *,
.split > *,
.studio-grid > *,
.coach > *,
.download-panel > *,
.section-head > * {
  min-width: 0;
}

.command-surface {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    #08090d;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.command-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 52%, rgba(108, 200, 255, 0.12) 52% 52.4%, transparent 52.4%),
    linear-gradient(0deg, transparent 0 30%, rgba(201, 255, 44, 0.09) 30% 30.4%, transparent 30.4%);
  pointer-events: none;
  opacity: 0.7;
}

.surface-shot {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #090a0e;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
}

.surface-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.surface-shot.primary {
  left: 4%;
  top: 9%;
  width: 64%;
  height: 48%;
}

.surface-shot.primary img {
  object-position: 54% 22%;
}

.surface-shot.secondary {
  right: 4%;
  bottom: 9%;
  width: 44%;
  height: 42%;
}

.surface-shot.secondary img {
  object-position: 52% 12%;
}

.surface-shot.tertiary {
  left: 10%;
  bottom: 10%;
  width: 34%;
  height: 28%;
}

.surface-shot.tertiary img {
  object-position: 50% 45%;
}

.surface-label {
  position: absolute;
  z-index: 3;
  right: 5%;
  top: 8%;
  max-width: 270px;
  padding: 18px;
  border: 1px solid rgba(201, 255, 44, 0.26);
  border-radius: 8px;
  background: rgba(4, 5, 7, 0.9);
}

.surface-label strong {
  display: block;
  color: var(--lime);
  font-size: 32px;
  line-height: 1;
  font-weight: 950;
}

.surface-label span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.module-stack {
  display: grid;
  gap: 14px;
}

.module {
  position: relative;
  min-height: 166px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(13, 14, 19, 0.88);
  overflow: hidden;
}

.module::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 4px;
  background: var(--blue);
  opacity: 0.78;
}

.module.amber::before {
  background: var(--amber);
}

.module.lime::before {
  background: var(--lime);
}

.module.violet::before {
  background: var(--violet);
}

.module small {
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.module h3 {
  margin-top: 12px;
}

.module p {
  margin-top: 11px;
}
