* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,0.25), transparent 35%),
    radial-gradient(circle at bottom right, rgba(249,115,22,0.20), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #111827 45%, #0b1220 100%);
  color: #f8fafc;
}
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px 46px;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  min-height: 8px;
}
.badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #f8fafc;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.card,
.form-card {
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.30);
  backdrop-filter: blur(8px);
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  color: #f8fafc;
}
h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.1;
  color: #f8fafc;
}
p {
  margin: 0 0 14px;
  line-height: 1.5;
  font-size: 16px;
  color: #dbeafe;
}
ul {
  margin: 0 0 12px 22px;
  color: #dbeafe;
}
li { margin-bottom: 8px; }
.sample-box,
.notice,
.kpi .box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px;
  color: #e5eefc;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.label {
  display: block;
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 8px;
  margin-top: 14px;
  font-weight: 700;
}
.field, .select, .role-pill {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: #f8fafc;
  padding: 12px 14px;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.field[readonly], .select[disabled] {
  opacity: 1;
}
.field::placeholder { color: #cbd5e1; }
.hint {
  font-size: 13px;
  color: #bfdbfe;
  margin-top: 10px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #dbeafe;
  border-radius: 16px;
  padding: 12px 8px;
  text-align: center;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.step.active {
  background: linear-gradient(180deg, #fb923c, #ea580c);
  color: white;
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 14px 30px rgba(234,88,12,0.35);
}
.nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 40px;
  width: 900px;
  max-width: calc(100% - 40px);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  z-index: 50;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 18px;
}
.btn-primary {
  background: linear-gradient(180deg, #fb923c, #ea580c);
  color: white;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(234,88,12,0.35);
}
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #f8fafc;
}
.btn-ghost {
  background: transparent;
  color: #dbeafe;
}
.kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.kpi .big {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}
.center {
  text-align: center;
}
.footer-version {
  position: fixed;
  right: 20px;
  bottom: 14px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  z-index: 70;
}
@media (max-width: 900px) {
  .hero, .grid-2, .kpi { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .nav {
    width: calc(100% - 20px);
    bottom: 20px;
  }
}

.role-toggle {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.role-pill {
  flex: 1;
  text-align: center;
}

.role-pill.active {
  background: linear-gradient(180deg, #fb923c, #ea580c);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(234,88,12,0.28);
}


/* === gateway1U_strict: button colour adjustment === */

/* Home button (green) */
.nav a[href="/"]:not(.btn-back) {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 12px rgba(34,197,94,0.6);
}

/* Back button (blue) */
.nav a.btn-secondary:not([href="/"]) {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 10px rgba(59,130,246,0.5);
}


.demo-mode {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 18px;
}

.demo-mode-options {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.btn-back {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 10px rgba(59,130,246,0.5);
}

.demo-mode-label {
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  margin-right: 4px;
}

.demo-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.demo-option.active {
  background: linear-gradient(180deg, #fb923c, #ea580c);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(234,88,12,0.28);
}

.demo-option input {
  margin: 0;
}

.role-pill {
  cursor: default;
}

#role-toggle .role-pill {
  appearance: none;
  -webkit-appearance: none;
}

#role-toggle .role-pill:disabled {
  opacity: 1;
}

#role-toggle .role-pill:not(:disabled) {
  cursor: pointer;
}

.steps a { text-decoration: none; color: inherit; display: block; }

/* Old Bazont header/banner reused from Page 2 / step pages. */
.brand { display: flex; align-items: center; gap: 10px; }
.brand > div { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.brand-mark { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(180deg, #ffb022 0%, #ff8a00 100%); color: #12223c; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.brand-title { font-size: 22px; font-weight: 800; }
.brand-sub, .demo-status { color: #c7d7f5; font-size: 14px; }
.progress-wrap { margin-bottom: 12px; }
.progress-bar { width: 100%; height: 14px; border-radius: 999px; background: rgba(255,255,255,0.10); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ffb022 0%, #3a86ff 100%); }

.demo-guidance {
  text-align: center;
  margin: 14px 0 12px;
  font-size: 1.12rem;
  line-height: 1.35;
  color: #e6f0ff;
  font-weight: 500;
}

/* Build 7W: align B icon to two-line header text block only. */
.header-icon {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* Bazont7Z header source unification aliases */
.header-left { display: flex; align-items: center; gap: 10px; }
.header-title { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.logo-b { height: 48px; width: auto; object-fit: contain; border-radius: 6px; }
