* {
  box-sizing: border-box;
}

:root {
  --ink: #0b1d3a;
  --text: #172033;
  --muted: #64728a;
  --line: #dce4ef;
  --soft: #f3f6fa;
  --gold: #b89446;
  --white: #ffffff;
  --green: #2f8d62;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--soft);
}

.scroll-progress {
  height: 3px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: transparent;
}

.scroll-progress span {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--gold), #f0d489);
  transition: width 120ms linear;
}

button,
input,
select {
  font: inherit;
}

.topbar {
  height: 72px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease, border-color 420ms ease, box-shadow 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brand,
.nav-links,
.hero-tags,
.phone-brand,
.progress-line,
.pager,
.check-row,
.summary-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  height: 34px;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #26344d;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  background: #edf2f8;
}

.hero {
  min-height: 560px;
  padding: 86px 56px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 56px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(11, 29, 58, 0.98), rgba(20, 50, 88, 0.92) 58%, rgba(184, 148, 70, 0.24)),
    url("./assets/hero-meeting.jpg") center / cover;
}

.hero-copy {
  width: min(820px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.85;
}

.hero-tags {
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.hero-device {
  width: min(360px, 100%);
  justify-self: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.28);
  transition-delay: 140ms;
}

.phone-screen {
  min-height: 520px;
  padding: 28px 24px;
  border-radius: 22px;
  background: var(--white);
  color: var(--text);
}

.phone-brand {
  gap: 10px;
  margin-bottom: 46px;
  font-weight: 900;
}

.phone-step {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-brand img {
  height: 32px;
}

.phone-screen h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.18;
}

.phone-screen p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.phone-screen button,
.primary {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.phone-screen button {
  width: 100%;
}

.phone-list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.phone-list span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
  color: #536279;
  font-weight: 800;
}

.flow,
.steps,
.demo-section,
.notice {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.flow {
  margin-top: -42px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  position: relative;
  z-index: 3;
  box-shadow: 0 18px 54px rgba(15, 31, 61, 0.08);
}

.flow article {
  min-height: 138px;
  padding: 20px;
  border-right: 1px solid #e6edf5;
  transition-delay: calc(var(--i, 0) * 60ms);
}

.flow article:last-child {
  border-right: 0;
}

.flow strong {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 15px;
}

.flow h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.steps,
.demo-section,
.notice {
  padding: 72px 0;
}

.demo-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.demo-copy {
  display: grid;
  gap: 28px;
}

.demo-panel {
  min-height: 58vh;
  padding: 30px 0;
  display: grid;
  align-content: center;
  border-top: 1px solid #dfe6f0;
  scroll-margin-top: 96px;
}

.demo-panel > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.demo-panel h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.2;
}

.demo-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.demo-panel small {
  display: block;
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: #fff8ea;
  color: #76551d;
  line-height: 1.65;
  font-weight: 700;
}

.demo-panel.is-active > span {
  color: var(--ink);
}

.demo-preview {
  position: sticky;
  top: 92px;
}

.demo-shell {
  min-height: 680px;
  padding: 18px;
  border: 1px solid rgba(11, 29, 58, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(246,249,252,0.94)),
    radial-gradient(circle at 20% 0%, rgba(216,183,106,0.2), transparent 36%);
  box-shadow: 0 28px 90px rgba(15, 31, 61, 0.15);
  overflow: hidden;
}

.demo-shell-top {
  min-height: 56px;
  padding: 4px 6px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-shell-top img {
  height: 34px;
}

.demo-shell-top strong,
.demo-shell-top span {
  display: block;
}

.demo-shell-top strong {
  color: var(--ink);
  font-size: 17px;
}

.demo-shell-top span {
  margin-top: 2px;
  color: #768396;
  font-size: 13px;
  font-weight: 800;
}

.demo-screen {
  min-height: 540px;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.demo-screen.animating .demo-frame {
  animation: demoIn 520ms ease both;
}

@keyframes demoIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.demo-frame {
  min-height: 540px;
  padding: 24px;
}

.demo-frame.dark {
  color: #ffffff;
  background: linear-gradient(125deg, #0b1d3a, #17385f);
}

.demo-mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 70px;
}

.demo-mini-nav img {
  height: 34px;
  filter: brightness(0) invert(1);
}

.demo-mini-nav span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 8px;
  font-weight: 900;
}

.demo-frame h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
}

.demo-frame.dark h4 {
  color: #ffffff;
  font-size: 38px;
}

.demo-frame p {
  margin: 0 0 22px;
  color: #657389;
  line-height: 1.72;
}

.demo-frame.dark p {
  max-width: 560px;
  color: rgba(255,255,255,0.78);
}

.demo-primary {
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 900;
  position: relative;
}

.demo-frame.dark .demo-primary {
  background: #d8b76a;
  color: var(--ink);
}

.demo-primary.pulse::after,
.demo-choice.selected::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(216,183,106,0.62);
  border-radius: 12px;
  animation: clickPulse 1.45s ease infinite;
}

@keyframes clickPulse {
  0% { opacity: 0; transform: scale(0.92); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.08); }
}

.demo-form,
.demo-profile {
  width: min(540px, 100%);
  margin: 0 auto;
}

.demo-field {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  color: #233047;
  font-size: 14px;
  font-weight: 900;
}

.demo-input {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #ccd8e8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-weight: 800;
  position: relative;
  overflow: hidden;
}

.demo-input.typing::after {
  content: "";
  width: 8px;
  height: 20px;
  margin-left: 5px;
  display: inline-block;
  vertical-align: -4px;
  background: var(--ink);
  animation: blink 0.8s steps(2) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.demo-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 14px 0;
  color: #26344d;
  font-weight: 800;
}

.demo-checkbox i {
  width: 18px;
  height: 18px;
  border: 1px solid #7f8999;
  border-radius: 2px;
  background: var(--ink);
  box-shadow: inset 0 0 0 4px #ffffff;
  animation: checkPop 0.8s ease both;
}

@keyframes checkPop {
  from { transform: scale(0.65); }
  to { transform: scale(1); }
}

.demo-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.demo-scale-card {
  min-height: 215px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #ffffff;
}

.demo-scale-card.active {
  border-color: rgba(184,148,70,0.68);
  box-shadow: inset 0 0 0 2px rgba(216,183,106,0.18);
  animation: liftCard 1.3s ease infinite alternate;
}

@keyframes liftCard {
  to { transform: translateY(-4px); }
}

.demo-scale-card.done {
  background: #f2f5f9;
  color: #768396;
}

.demo-scale-card b {
  color: var(--ink);
  line-height: 1.35;
}

.demo-scale-card p {
  margin: 12px 0;
  color: var(--muted);
}

.demo-scale-card span {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 6px;
  background: #eef3f8;
  color: #526078;
  font-weight: 900;
}

.demo-question-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  color: #66748b;
  font-weight: 800;
}

.demo-choices {
  display: grid;
  gap: 10px;
}

.demo-choice {
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid #d5dfec;
  border-radius: 8px;
  background: #ffffff;
  color: #26344d;
  font-weight: 900;
  position: relative;
}

.demo-choice.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.demo-next-row {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
}

.demo-complete {
  min-height: 492px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.demo-success {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f5ef;
  color: var(--green);
  font-size: 38px;
  font-weight: 900;
  animation: checkPop 0.8s ease both;
}

.demo-complete p {
  max-width: 560px;
}

.demo-caption {
  min-height: 48px;
  padding: 14px 4px 0;
  color: #64728a;
  font-weight: 800;
  line-height: 1.5;
}

.step-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.step-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
}

.step-rail a {
  min-height: 54px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  color: #6a778c;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.step-rail a strong {
  color: var(--gold);
  font-size: 13px;
}

.step-rail a span {
  font-size: 14px;
  font-weight: 900;
}

.step-rail a.active {
  border-color: rgba(11, 29, 58, 0.28);
  background: var(--ink);
  color: #ffffff;
  transform: translateX(4px);
}

.step-rail a.active strong {
  color: #f0d489;
}

.step-list {
  min-width: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.notice h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.18;
}

.section-head p,
.step-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.step {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 30px 0;
  border-top: 1px solid #dfe6f0;
  scroll-margin-top: 96px;
}

.step.is-active .interactive-card {
  border-color: rgba(184, 148, 70, 0.55);
  box-shadow: 0 24px 64px rgba(15, 31, 61, 0.13);
}

.step.is-active .step-copy > span {
  color: var(--ink);
}

.step-copy {
  padding-top: 10px;
}

.step-copy > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.step h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
}

.step-copy small {
  display: block;
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: #fff8ea;
  color: #76551d;
  line-height: 1.65;
  font-weight: 700;
}

.browser {
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(15, 31, 61, 0.08);
  transform: translateZ(0);
}

.interactive-card {
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
}

.interactive-card:hover {
  transform: translateY(-4px);
}

.browser-top {
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e3e9f2;
  background: #f8fafc;
}

.browser-top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c7d1df;
}

.browser-top b {
  margin-left: 8px;
  color: #6d7b91;
  font-size: 13px;
}

.landing-view,
.form-view,
.profile-view,
.catalog-view,
.assessment-view,
.complete-view {
  min-height: 370px;
  padding: 24px;
}

.landing-view {
  color: var(--white);
  background: linear-gradient(120deg, var(--ink), #17385f);
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 68px;
}

.landing-nav img {
  height: 34px;
  filter: brightness(0) invert(1);
}

.landing-nav button {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 900;
}

.landing-view h4,
.form-view h4,
.profile-view h4,
.catalog-view h4,
.assessment-view h4,
.complete-view h4 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.28;
}

.landing-view h4 {
  max-width: 520px;
  color: var(--white);
  font-size: 34px;
}

.landing-view p {
  max-width: 560px;
  margin: 0 0 24px;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
}

.landing-view > button {
  width: auto;
  min-width: 150px;
  background: #d8b76a;
  color: var(--ink);
}

.form-view {
  width: min(520px, 100%);
  margin: 0 auto;
}

.form-view label,
.profile-view label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: #233047;
  font-size: 14px;
  font-weight: 900;
}

.form-view input,
.profile-view input,
.profile-view select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #ccd8e8;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
}

.form-view .primary,
.profile-view .primary {
  width: 100%;
}

.check-row {
  gap: 9px;
  margin: 12px 0;
  color: #26344d;
  font-weight: 800;
}

.check-row em {
  width: 18px;
  height: 18px;
  border: 1px solid #7f8999;
  border-radius: 2px;
  background: var(--ink);
  box-shadow: inset 0 0 0 4px var(--white);
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.profile-view .primary {
  margin-top: 12px;
}

.scale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scale-grid section {
  min-height: 210px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: var(--white);
}

.scale-grid section.done {
  background: #f2f5f9;
  color: #768396;
}

.scale-grid b {
  color: var(--ink);
  line-height: 1.35;
}

.scale-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.scale-grid span {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 6px;
  background: #eef3f8;
  color: #526078;
  font-weight: 900;
}

.progress-line,
.pager {
  justify-content: space-between;
  gap: 12px;
}

.progress-line {
  margin-bottom: 22px;
  color: #66748b;
  font-weight: 800;
}

.assessment-view h4 {
  max-width: 680px;
}

.choice-list {
  display: grid;
  gap: 10px;
}

.choice-list button,
.pager button {
  min-height: 44px;
  border: 1px solid #d5dfec;
  border-radius: 8px;
  background: var(--white);
  color: #26344d;
  font-weight: 900;
}

.choice-list button.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.pager {
  margin-top: 22px;
}

.pager button {
  min-width: 120px;
}

.complete-view {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.success-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f5ef;
  color: var(--green);
  font-size: 34px;
  font-weight: 900;
}

.complete-view p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.75;
}

.summary-row {
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.summary-row span {
  padding: 8px 11px;
  border-radius: 8px;
  background: #eef4f0;
  color: #326b51;
  font-weight: 900;
}

.notice {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 40px;
  border-top: 1px solid #dfe6f0;
}

.notice ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.notice li {
  padding-left: 24px;
  position: relative;
  color: #26344d;
  line-height: 1.7;
  font-weight: 800;
}

.notice li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 10px;
}

@media (max-width: 920px) {
  .topbar {
    padding: 0 18px;
  }

  .brand span {
    display: none;
  }

  .hero {
    padding: 72px 22px 86px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 42px;
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-layout {
    grid-template-columns: 1fr;
  }

  .demo-stage {
    grid-template-columns: 1fr;
  }

  .demo-preview {
    position: static;
  }

  .demo-panel {
    min-height: auto;
  }

  .step-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step,
  .notice {
    grid-template-columns: 1fr;
  }

  .scale-grid,
  .input-grid,
  .demo-card-grid,
  .demo-profile-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: var(--white);
  }

  .topbar {
    position: static;
  }

  .scroll-progress,
  .step-rail,
  .demo-preview {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero {
    min-height: auto;
    padding: 40px 34px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-device,
  .browser,
  .flow {
    box-shadow: none;
  }

  .flow,
  .steps,
  .notice {
    width: calc(100% - 48px);
  }

  .flow {
    margin-top: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
