/* Consortium Vault v0.42 – Premium Demo Content & Portal Structure */

.cv-demo-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto;
}

.cv-demo-hero,
.cv-demo-panel,
.cv-demo-card,
.cv-demo-warning,
.cv-demo-credentials,
.cv-demo-flow {
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(255,255,255,0.045);
  box-shadow: 0 22px 70px rgba(0,0,0,0.38);
  border-radius: 24px;
  backdrop-filter: blur(16px);
}

.cv-demo-hero {
  padding: 34px;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 16% 12%, rgba(212,175,55,0.18), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
}

.cv-demo-kicker {
  color: #f2d675;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 12px;
}

.cv-demo-title {
  color: #f5f1e8;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 16px;
}

.cv-demo-subtitle {
  color: rgba(245,241,232,0.72);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
  max-width: 880px;
  margin: 0;
}

.cv-demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  margin: 20px 0;
}

.cv-demo-card {
  padding: 22px;
}

.cv-demo-card-label {
  color: rgba(242,214,117,0.86);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 9px;
}

.cv-demo-card-title {
  color: #f5f1e8;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}

.cv-demo-card-text {
  color: rgba(245,241,232,0.68);
  line-height: 1.65;
  font-size: 14px;
}

.cv-demo-warning {
  padding: 18px 20px;
  margin: 20px 0;
  border-color: rgba(255, 211, 105, 0.32);
  background: rgba(212,175,55,0.075);
}

.cv-demo-warning strong {
  color: #f2d675;
}

.cv-demo-warning p {
  margin: 0;
  color: rgba(245,241,232,0.78) !important;
  line-height: 1.65 !important;
}

.cv-demo-flow {
  padding: 24px;
  margin: 20px 0;
}

.cv-demo-flow-title {
  color: #f5f1e8;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
}

.cv-demo-steps {
  display: grid;
  gap: 12px;
}

.cv-demo-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(0,0,0,0.18);
}

.cv-demo-step-no {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d4af37, #8f6f16);
  color: #070707;
  font-weight: 900;
}

.cv-demo-step-title {
  color: #f5f1e8;
  font-weight: 900;
  margin-bottom: 4px;
}

.cv-demo-step-text {
  color: rgba(245,241,232,0.66);
  line-height: 1.55;
  font-size: 14px;
}

.cv-demo-credentials {
  padding: 22px;
  margin: 20px 0;
}

.cv-demo-credential-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.cv-demo-credential {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.15);
  background: rgba(0,0,0,0.22);
}

.cv-demo-credential-role {
  color: #f2d675;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 900;
  margin-bottom: 7px;
}

.cv-demo-credential-code {
  color: #f5f1e8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.cv-demo-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.35), transparent);
  margin: 24px 0;
}

@media (max-width: 820px) {
  .cv-demo-shell {
    width: calc(100% - 24px);
    margin: 18px auto;
  }

  .cv-demo-hero,
  .cv-demo-panel,
  .cv-demo-card,
  .cv-demo-warning,
  .cv-demo-credentials,
  .cv-demo-flow {
    border-radius: 18px;
  }

  .cv-demo-hero,
  .cv-demo-flow,
  .cv-demo-credentials {
    padding: 18px;
  }

  .cv-demo-step {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .cv-demo-step-no {
    width: 36px;
    height: 36px;
  }
}
