:root {
  --bg-0: #e8f2ff;
  --bg-1: #d2e7ff;
  --bg-2: #f8fbff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text-main: #11325f;
  --text-sub: #355d92;
  --primary: #1f6feb;
  --primary-strong: #0b54c4;
  --accent: #4aa7ff;
  --success: #158f68;
  --shadow: 0 16px 40px rgba(28, 71, 133, 0.18);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  /* Aligned with .landing-card (logo area) */
  background:
    radial-gradient(circle at 50% 22%, rgba(88, 170, 255, 0.28), rgba(88, 170, 255, 0) 44%),
    radial-gradient(circle at 50% 65%, rgba(20, 97, 200, 0.12), rgba(20, 97, 200, 0) 58%),
    linear-gradient(180deg, rgba(242, 248, 255, 0.9), rgba(232, 242, 255, 0.9));
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(31, 111, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 111, 235, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: floatGlow 10s ease-in-out infinite;
}

.bg-glow-1 {
  width: 320px;
  height: 320px;
  top: 80px;
  left: -60px;
  background: rgba(62, 147, 255, 0.35);
}

.bg-glow-2 {
  width: 420px;
  height: 420px;
  right: -110px;
  bottom: -80px;
  animation-delay: -3s;
  background: rgba(123, 197, 255, 0.32);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(245, 250, 255, 0.75);
  border-bottom: 1px solid rgba(31, 111, 235, 0.18);
}

.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

body.is-landing-view .topbar-inner {
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #52b0ff, #1166df);
  box-shadow: 0 0 16px rgba(21, 119, 255, 0.8);
}

.main-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 18px 42px;
  position: relative;
  z-index: 1;
}

.view {
  display: none;
  animation: fadeUp 420ms ease forwards;
}

.view.active {
  display: block;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(31, 111, 235, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card,
.flow-card {
  padding: clamp(20px, 4vw, 36px);
}

.hero-card {
  text-align: center;
}

.home-top-actions {
  margin-bottom: 12px;
  display: flex;
  justify-content: flex-start;
}

.home-dev-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  max-width: min(320px, calc(100vw - 200px));
  padding: 12px 20px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(145deg, #3b9cff 0%, var(--primary) 45%, var(--primary-strong) 100%);
  box-shadow:
    0 4px 0 rgba(11, 60, 140, 0.35),
    0 14px 32px rgba(31, 111, 235, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-dev-info-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 5px 0 rgba(11, 60, 140, 0.38),
    0 18px 38px rgba(31, 111, 235, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.home-dev-info-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 rgba(11, 60, 140, 0.35),
    0 10px 24px rgba(31, 111, 235, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.home-bottom-actions {
  justify-content: center;
}

.landing-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: clamp(560px, 64vh, 720px);
  padding: clamp(32px, 6vw, 68px) clamp(28px, 5.5vw, 72px) clamp(48px, 9vw, 96px);
  background:
    radial-gradient(circle at 50% 22%, rgba(88, 170, 255, 0.28), rgba(88, 170, 255, 0) 44%),
    radial-gradient(circle at 50% 65%, rgba(20, 97, 200, 0.12), rgba(20, 97, 200, 0) 58%),
    linear-gradient(180deg, rgba(242, 248, 255, 0.9), rgba(232, 242, 255, 0.9));
  border: 1px solid rgba(56, 131, 228, 0.26);
}

.landing-step16-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  min-width: 90px;
}

.landing-logo {
  width: clamp(220px, 25vw, 352px);
  height: auto;
  display: block;
  margin: 0 auto 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0.95;
  filter: saturate(1.08) brightness(1.04) drop-shadow(0 0 16px rgba(76, 158, 255, 0.32));
  animation: landingLogoFloat 3.2s ease-in-out infinite;
  transform-origin: center;
  /* Fade image edges into the card background */
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 72%, rgba(0, 0, 0, 0) 100%);
}

.landing-title {
  margin: 0 auto;
  max-width: 100%;
  font-size: clamp(1.58rem, 3.85vw, 2.95rem);
  line-height: 1.25;
}

html[lang="en"] .landing-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
  max-width: 100%;
  white-space: normal;
  font-size: clamp(1.12rem, 2.55vw, 2.02rem);
  line-height: 1.22;
}

html[lang="en"] .landing-title .landing-title-en-line {
  display: block;
  width: 100%;
  max-width: 42ch;
  text-align: center;
}

.landing-actions {
  justify-content: center;
  margin-top: 42px;
  gap: 16px;
}

.landing-actions .btn {
  padding: 20px 38px;
  font-size: 1.36rem;
  line-height: 1.35;
  border-radius: var(--radius-lg);
  min-height: 66px;
}

.landing-start-btn,
.landing-feature-btn {
  min-width: min(340px, 100%);
  white-space: nowrap;
}

.landing-footnote {
  margin: 52px 0 0;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
  color: #000;
  text-align: center;
  letter-spacing: 0.02em;
}

html[lang="en"] .landing-footnote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  font-size: 1.16rem;
  line-height: 1.4;
}

html[lang="en"] .landing-footnote .landing-footnote-en-line {
  display: block;
  width: 100%;
  max-width: 72ch;
  text-align: center;
}

.comments-card {
  max-width: 920px;
  margin: 0 auto;
}

.comments-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.comments-kicker {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-strong);
}

.comments-desc {
  max-width: 60ch;
}

.comment-form,
.comment-admin-panel,
.comments-list {
  display: grid;
  gap: 14px;
}

.comment-form {
  padding: 18px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
}

.comment-field {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--text-main);
}

.comment-field input,
.comment-field textarea {
  width: 100%;
  border: 1px solid rgba(31, 111, 235, 0.24);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.92);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-field textarea {
  resize: vertical;
  min-height: 126px;
}

.comment-field input:focus,
.comment-field textarea:focus {
  border-color: rgba(31, 111, 235, 0.72);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.12);
}

.comment-form-actions,
.comment-admin-login,
.comment-admin-tools,
.comments-list-header,
.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.comment-tip,
.comment-status,
.comment-admin-note,
.comments-empty {
  margin: 0;
  color: var(--text-sub);
}

.comment-status {
  min-height: 1.5em;
  font-weight: 700;
  color: var(--success);
}

.comment-admin-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px dashed rgba(31, 111, 235, 0.32);
  border-radius: var(--radius-md);
  background: rgba(236, 245, 255, 0.72);
}

.comment-admin-login .comment-field {
  flex: 1;
}

.comments-list-header {
  margin-top: 26px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(31, 111, 235, 0.18);
}

.comments-list-header h3 {
  margin: 0;
  font-size: 1.18rem;
}

#commentsCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
}

.comment-item {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(31, 111, 235, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 26px rgba(31, 111, 235, 0.08);
}

.comment-meta strong {
  color: var(--text-main);
}

.comment-meta time {
  font-size: 0.86rem;
  color: var(--text-sub);
}

.comment-content {
  margin: 10px 0 0;
  color: #234d84;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-delete-btn {
  margin-top: 12px;
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.28);
}

.comments-actions {
  justify-content: center;
}

.kicker {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sub);
  font-weight: 700;
}

.hero-title {
  margin: 10px auto 6px;
  max-width: 28ch;
  font-size: clamp(1.82rem, 4.2vw, 3.25rem);
  line-height: 1.2;
  white-space: nowrap;
}

.button-group {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card .button-group {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: min(100%, 720px);
  margin-left: auto;
  margin-right: auto;
}

.hero-card .button-group .btn {
  flex: 0 1 auto;
  min-width: 0;
  width: min(13em, calc(50% - 6px));
  max-width: calc(50% - 6px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  line-height: 1.2;
  font-size: clamp(1.28rem, 2.4vw + 0.76rem, 1.82rem);
  word-break: break-word;
}

.button-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  appearance: none;
  border: none;
  border-radius: var(--radius-md);
  padding: 11px 18px;
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(31, 111, 235, 0.4);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, #4fa9ff, #1975e8);
  box-shadow: 0 10px 24px rgba(57, 141, 245, 0.3);
}

.btn-outline {
  color: var(--primary-strong);
  border: 1px solid rgba(17, 84, 182, 0.38);
  background: rgba(255, 255, 255, 0.82);
}

.btn-outline:hover {
  border-color: rgba(17, 84, 182, 0.7);
  background: #fff;
}

.btn-success {
  color: #fff;
  background: linear-gradient(135deg, #1ca67a, var(--success));
  box-shadow: 0 10px 24px rgba(21, 143, 104, 0.32);
}

.btn-small {
  padding: 8px 13px;
  font-size: 0.88rem;
}

.lang-btn {
  min-width: 0;
  white-space: nowrap;
}

.dev-info-btn,
.topbar-comment-btn {
  display: none;
  white-space: nowrap;
}

body.is-landing-view .dev-info-btn,
body.is-landing-view .topbar-comment-btn,
body.is-landing-view .lang-btn {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(145deg, #3b9cff 0%, var(--primary) 45%, var(--primary-strong) 100%);
  box-shadow:
    0 4px 0 rgba(11, 60, 140, 0.35),
    0 14px 32px rgba(31, 111, 235, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body.is-landing-view .dev-info-btn:hover,
body.is-landing-view .topbar-comment-btn:hover,
body.is-landing-view .lang-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 5px 0 rgba(11, 60, 140, 0.38),
    0 18px 38px rgba(31, 111, 235, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

body.is-landing-view .dev-info-btn:active,
body.is-landing-view .topbar-comment-btn:active,
body.is-landing-view .lang-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 rgba(11, 60, 140, 0.35),
    0 10px 24px rgba(31, 111, 235, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.flow-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 3.2vw, 1.9rem);
}

#step11GlobalDownloadTitle {
  white-space: nowrap;
  font-size: clamp(1.28rem, 2.2vw, 1.68rem);
}

.step11-global-download-card #step11GlobalDownloadTitle {
  padding-right: min(44vw, 430px);
}

.flow-card p {
  margin-top: 0;
  margin-bottom: 10px;
  color: #234d84;
}

.step-progress {
  position: relative;
  z-index: 2;
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(31, 111, 235, 0.08);
}

.step-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--text-main);
  font-weight: 800;
}

.step-progress-label {
  letter-spacing: 0.04em;
}

.step-progress-value {
  color: var(--primary-strong);
  white-space: nowrap;
}

.step-progress-track {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 4px;
}

.step-progress-segment {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(31, 111, 235, 0.14);
  box-shadow: inset 0 0 0 1px rgba(31, 111, 235, 0.12);
  transition: background-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.step-progress-segment.is-filled {
  background: linear-gradient(135deg, #54b5ff, var(--primary));
  box-shadow: 0 4px 10px rgba(31, 111, 235, 0.18);
}

.step-progress-segment.is-current {
  transform: scaleY(1.26);
  background: linear-gradient(135deg, #1f6feb, #0b54c4);
  box-shadow: 0 5px 12px rgba(31, 111, 235, 0.28);
}

.step-entry-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: clamp(28px, 5vw, 48px);
  background:
    radial-gradient(circle at top left, rgba(90, 173, 255, 0.32), rgba(90, 173, 255, 0) 32%),
    radial-gradient(circle at 88% 18%, rgba(31, 111, 235, 0.18), rgba(31, 111, 235, 0) 28%),
    linear-gradient(145deg, rgba(250, 253, 255, 0.96), rgba(232, 243, 255, 0.92));
  border: 1px solid rgba(56, 131, 228, 0.24);
  box-shadow:
    0 24px 60px rgba(26, 77, 150, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.step-entry-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(112, 181, 255, 0.18);
  pointer-events: none;
}

.step-entry-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 167, 255, 0.28), rgba(74, 167, 255, 0));
  pointer-events: none;
}

.step-entry-hero,
.step-entry-actions,
.step-entry-back {
  position: relative;
  z-index: 1;
}

.step-entry-hero {
  max-width: 780px;
  margin-bottom: 26px;
}

.step-entry-card h2,
.step-guide-card h2,
.step-guide-card h2.step3-heading {
  margin: 0 0 14px;
  max-width: 760px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0d2d61;
}

.step-entry-desc {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1rem, 0.7vw + 0.88rem, 1.18rem);
  line-height: 1.8;
  color: #2d578f;
}

.step-entry-actions {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.step-entry-actions .btn {
  min-height: 150px;
  padding: 24px 22px;
  border-radius: 20px;
  text-align: left;
  font-size: clamp(1rem, 0.35vw + 0.94rem, 1.12rem);
  line-height: 1.65;
  font-weight: 700;
  white-space: normal;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.step-entry-actions .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.step-entry-actions .btn-primary {
  box-shadow:
    0 18px 34px rgba(31, 111, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.step-entry-actions .btn-secondary {
  box-shadow:
    0 18px 34px rgba(57, 141, 245, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.step-entry-back {
  margin-top: 26px;
  justify-content: space-between;
}

.step-entry-back .btn.btn-primary[data-nav="home"][data-i18n="backPrev"] {
  color: var(--primary);
  background: #fff;
  border: 1px solid rgba(31, 111, 235, 0.3);
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.14);
}

.step-entry-back .btn.btn-primary[data-nav="home"][data-i18n="backPrev"]:hover {
  color: var(--primary-strong);
  background: #fff;
  border-color: rgba(17, 84, 182, 0.55);
}

.step-guide-card {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 4.4vw, 42px);
  background:
    radial-gradient(circle at top left, rgba(90, 173, 255, 0.22), rgba(90, 173, 255, 0) 30%),
    radial-gradient(circle at right top, rgba(31, 111, 235, 0.12), rgba(31, 111, 235, 0) 24%),
    linear-gradient(160deg, rgba(250, 253, 255, 0.98), rgba(234, 244, 255, 0.94));
  border: 1px solid rgba(56, 131, 228, 0.22);
  box-shadow:
    0 22px 54px rgba(25, 74, 144, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.step-guide-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(110, 179, 255, 0.18);
  pointer-events: none;
}

.step-guide-card > * {
  position: relative;
  z-index: 1;
}

.step-guide-card > p {
  margin: 0;
  max-width: 760px;
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.12rem);
  line-height: 1.8;
  color: #2d578f;
}

.step-guide-card > p.step4-desc {
  max-width: 760px;
  font-size: clamp(1.12rem, 0.9vw + 0.95rem, 1.35rem);
  font-weight: 700;
  line-height: 1.55;
  color: #0d2d61;
}

.step-guide-card > p.step5-desc {
  max-width: 760px;
  font-size: clamp(1.12rem, 0.9vw + 0.95rem, 1.35rem);
  font-weight: 700;
  line-height: 1.55;
  color: #0d2d61;
}

.step-guide-card .step-image {
  margin-top: 22px;
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(31, 111, 235, 0.16);
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 20px 42px rgba(26, 76, 147, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.step-guide-card .step-image.step7-image {
  width: auto;
  max-height: 480px;
}

.step-guide-card .step-image.step8-image {
  max-height: 500px;
  width: auto;
}

.step-guide-card .step-image.step4-image,
.step-guide-card .step-image.step5-image {
  width: 82%;
  max-width: 620px;
}

.step-guide-card .step-image.step5-image {
  width: 76%;
  max-width: 560px;
}

.step-guide-nav {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 111, 235, 0.14);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.step-guide-nav .btn {
  min-width: 136px;
}

/* Step16: keep back/home on one centered row */
[data-view="step16"] .step-guide-nav {
  justify-content: center;
  gap: 16px;
}

/* Step11GlobalDownload: keep back/home on one centered row */
[data-view="step11GlobalDownload"] .step-guide-nav {
  justify-content: center;
  gap: 16px;
}

/* Step11 VRAM choice pages: center back/home on one row */
[data-view="step11"] .step-guide-nav,
[data-view="step11Vram8to12"] .step-guide-nav,
[data-view="step11Vram16Plus"] .step-guide-nav {
  justify-content: center;
  gap: 16px;
}

.step-cta-group {
  margin-top: 18px;
  max-width: 320px;
}

.step-cta-group .btn {
  min-height: 64px;
  justify-content: center;
  font-size: clamp(1.12rem, 0.9vw + 0.95rem, 1.35rem);
  font-weight: 700;
  border-radius: 16px;
}

.step-decision-card > p {
  max-width: 860px;
}

.step-decision-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.step-decision-actions .btn {
  min-height: 142px;
  padding: 24px 22px;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  white-space: normal;
  font-size: clamp(1rem, 0.3vw + 0.94rem, 1.08rem);
  line-height: 1.65;
  font-weight: 700;
  box-shadow:
    0 18px 34px rgba(31, 111, 235, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.step-guide-notice {
  margin-top: 18px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  background:
    linear-gradient(180deg, rgba(245, 250, 255, 0.98), rgba(233, 244, 255, 0.96));
  box-shadow: 0 14px 28px rgba(26, 76, 147, 0.1);
}

.step-guide-notice p {
  margin-bottom: 10px;
  font-weight: 600;
  color: #1f4f8b;
}

.step-helper-block {
  margin-top: 18px;
}

.step-helper-block > .btn {
  min-height: 46px;
  border-radius: 14px;
  padding-left: 16px;
  padding-right: 16px;
  font-weight: 700;
}

.step-guide-card h2.step9-title {
  max-width: calc(100% - 220px);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: 0;
}

.step-guide-card h2#step10Title {
  max-width: 840px;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.step-guide-card h2#step11Title {
  max-width: 900px;
  font-size: clamp(1.32rem, 2.35vw, 1.82rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.step-guide-card h2.step15-title {
  max-width: 900px;
  font-size: clamp(1.06rem, 1.55vw, 1.36rem);
  line-height: 1.45;
  letter-spacing: 0;
}

.step-guide-card h2[id^="step17_"][id$="Title"] {
  max-width: 900px;
  font-size: clamp(1.16rem, 1.85vw, 1.48rem);
  line-height: 1.3;
  letter-spacing: 0;
}

#step17SuccessTitle {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#step17SuccessTitle .step18-title-line {
  font-size: clamp(1.14rem, 1.95vw, 1.52rem);
  line-height: 1.35;
  font-weight: 700;
  color: #173d72;
}

#step17SuccessTitle .step18-download-url {
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.98rem, 0.38vw + 0.9rem, 1.1rem);
  line-height: 1.55;
  color: #1f6feb;
  text-decoration: underline;
  word-break: break-all;
}

#step20Title {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#step20Title .step20-title-line {
  font-size: clamp(1.12rem, 1.9vw, 1.5rem);
  line-height: 1.35;
  font-weight: 700;
  color: #173d72;
}

#step20Title .step20-sub-line {
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.9rem, 0.25vw + 0.84rem, 1rem);
  line-height: 1.55;
  font-weight: 600;
  color: #1f4f8b;
}

#step20Title .step20-command-box {
  display: block;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(31, 111, 235, 0.22);
  background: rgba(243, 249, 255, 0.92);
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.94rem, 0.2vw + 0.9rem, 1.02rem);
  line-height: 1.5;
  font-weight: 600;
  color: #143a6f;
  word-break: break-word;
}

/* Unify all step title typography (step1-step24). */
#step1Title,
.step-guide-card h2[id^="step"],
#step17SuccessTitle .step18-title-line,
#step20Title .step20-title-line {
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif !important;
  font-size: clamp(1.32rem, 2.15vw, 1.72rem) !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  color: #173d72 !important;
}

.step11-download-actions {
  margin-top: 20px;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step11-download-actions.step11-single-action {
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.step11-download-actions.step11-single-action .btn {
  width: min(422px, 100%);
}

.step11-download-actions .btn {
  min-height: 86px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.5;
  font-size: clamp(1rem, 0.36vw + 0.94rem, 1.1rem);
  font-weight: 700;
}

.step11-download-actions .btn-secondary {
  background: linear-gradient(135deg, #2f86ff, #1f6feb);
  color: #fff;
  border-color: rgba(27, 93, 209, 0.95);
}

.step11-download-actions .btn-secondary:hover {
  background: linear-gradient(135deg, #5aa5ff, #2f86ff);
  color: #fff;
}

.step-guide-card > p.step11-global-download-desc {
  font-weight: 700;
  font-size: clamp(1.08rem, 0.45vw + 0.98rem, 1.24rem);
  line-height: 1.65;
}

.step-guide-card > p.step17-command-intro {
  margin-top: 10px;
  font-weight: 700;
  color: #1f4f8b;
  text-align: left;
}

.step-guide-card > p.step17-command-line {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(31, 111, 235, 0.22);
  background: rgba(243, 249, 255, 0.92);
  font-family: Consolas, "Courier New", monospace;
  font-size: clamp(0.98rem, 0.2vw + 0.94rem, 1.06rem);
  line-height: 1.5;
  color: #143a6f;
}

.step-guide-card > p.step17-success-note {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: clamp(1rem, 0.35vw + 0.94rem, 1.1rem);
  font-weight: 700;
  color: #1f4f8b;
  text-align: left;
}

.step-guide-card > p.step23-desc {
  white-space: pre-line;
}

.step11-vram-help-btn {
  position: absolute;
  top: clamp(16px, 2.2vw, 24px);
  right: clamp(16px, 2.2vw, 24px);
  z-index: 2;
  max-width: min(42vw, 400px);
  padding: 8px 12px;
  font-size: clamp(0.78rem, 0.22vw + 0.74rem, 0.9rem);
  line-height: 1.35;
  white-space: normal;
  text-align: left;
}

.step11-vram-help-box {
  margin-top: 14px;
}

.step11-keyword-red {
  color: #e53935;
}

.step11-vram-actions {
  margin-top: 18px;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step11-vram-actions .btn {
  min-height: 74px;
  border-radius: 16px;
  white-space: normal;
  line-height: 1.5;
  font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.06rem);
}

.step11-language-actions {
  margin-top: 20px;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step11-language-actions .btn {
  min-height: 74px;
  border-radius: 16px;
  white-space: normal;
  line-height: 1.5;
  font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.06rem);
}

.step9-helper-block {
  position: absolute;
  top: 24px;
  right: 24px;
  margin-top: 0;
  z-index: 3;
}

.step9-helper-block > #usernameHelpBtn {
  background: linear-gradient(135deg, #2f86ff, #1f6feb);
  color: #fff;
  border-color: rgba(27, 93, 209, 0.95);
}

.step9-helper-block > #usernameHelpBtn:hover {
  background: linear-gradient(135deg, #5aa5ff, #2f86ff);
  color: #fff;
}

.step9-helper-block .step-guide-notice {
  position: absolute;
  top: 56px;
  right: 0;
  width: min(420px, calc(100vw - 72px));
}

.online-access-card {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  min-height: 360px;
  text-align: center;
  padding: clamp(34px, 6vw, 60px) clamp(26px, 5vw, 56px);
  background:
    radial-gradient(circle at 50% 0%, rgba(89, 173, 255, 0.32), rgba(89, 173, 255, 0) 38%),
    radial-gradient(circle at 10% 88%, rgba(31, 111, 235, 0.14), rgba(31, 111, 235, 0) 28%),
    radial-gradient(circle at 90% 86%, rgba(74, 167, 255, 0.16), rgba(74, 167, 255, 0) 30%),
    linear-gradient(160deg, rgba(251, 254, 255, 0.98), rgba(232, 244, 255, 0.94));
  border: 1px solid rgba(56, 131, 228, 0.22);
  box-shadow:
    0 28px 64px rgba(25, 74, 144, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.online-access-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(110, 179, 255, 0.18);
  pointer-events: none;
}

.online-access-card > * {
  position: relative;
  z-index: 1;
}

.online-access-card h2 {
  margin: 0 auto 18px;
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.14;
  color: #0c2b5f;
}

.online-access-card p {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(1.02rem, 0.7vw + 0.9rem, 1.24rem);
  line-height: 1.9;
  color: #285287;
}

.online-access-actions {
  margin-top: 30px;
  align-items: center;
  justify-content: center;
}

.online-access-actions .btn {
  min-width: min(360px, 100%);
  min-height: 64px;
  padding: 18px 30px;
  border-radius: 18px;
  font-size: 1.08rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 18px 38px rgba(31, 111, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.developer-card .expert-profile {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.developer-card .expert-profile-visual {
  position: sticky;
  top: 88px;
}

.expert-photo-frame {
  border-radius: 20px;
  padding: 4px;
  background: linear-gradient(145deg, rgba(74, 167, 255, 0.55), rgba(31, 111, 235, 0.2));
  box-shadow: 0 20px 44px rgba(24, 78, 150, 0.2);
}

.expert-photo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  background: var(--surface-strong);
}

.expert-photo-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(165deg, #3b8dff 0%, var(--primary-strong) 48%, #082a5c 100%);
  font-size: clamp(3.75rem, 14vw, 6.25rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.06em;
  text-shadow: 0 6px 28px rgba(0, 30, 80, 0.45);
  user-select: none;
}

.developer-page-actions {
  flex-wrap: wrap;
  align-items: center;
}

.expert-profile-body {
  min-width: 0;
}

.expert-name {
  margin: 0 0 6px;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0c2854;
  line-height: 1.2;
}

.expert-role {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(31, 111, 235, 0.22);
  font-size: clamp(0.92rem, 0.35vw + 0.82rem, 1.05rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-sub);
}

.developer-expert-bio {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(0.88rem, 0.45vw + 0.78rem, 1rem);
  line-height: 1.75;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

.feature-list {
  margin: 6px 0 0;
  padding-left: 20px;
  color: #1f4d88;
}

.feature-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.features-page-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(76, 160, 255, 0.24), rgba(76, 160, 255, 0) 42%),
    linear-gradient(160deg, rgba(247, 251, 255, 0.98), rgba(233, 244, 255, 0.9));
}

.features-page-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(95, 171, 255, 0.2);
  pointer-events: none;
}

.features-page-shell {
  position: relative;
  z-index: 1;
  --features-tile-height: 154px;
}

.features-page-title {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.08;
  color: var(--text-main);
}

.features-page-lead {
  margin: 0 auto;
  max-width: 820px;
  width: 100%;
  box-sizing: border-box;
  font-size: clamp(1rem, 0.85vw + 0.82rem, 1.28rem);
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: #234d84;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

html[lang="en"] .features-page-lead {
  font-size: clamp(0.94rem, 0.62vw + 0.78rem, 1.12rem);
  line-height: 1.48;
  letter-spacing: 0;
  font-weight: 600;
}

.features-page-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 20px;
  text-align: left;
  align-items: stretch;
}

.feature-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  grid-column: span 2;
  min-height: var(--features-tile-height);
  height: var(--features-tile-height);
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(31, 111, 235, 0.2);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.32);
}

.feature-panel-title {
  margin: 0;
  font-size: clamp(1.08rem, 0.46vw + 0.96rem, 1.22rem);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

.feature-panel-desc {
  margin: 0;
  flex: 1 1 auto;
  color: #355d92;
  font-size: 0.98rem;
  line-height: 1.78;
}

.features-page-grid > :nth-child(4) {
  grid-column: 1 / span 2;
}

.features-page-grid > :nth-child(5) {
  grid-column: 3 / span 2;
}

.features-page-grid > :nth-child(6) {
  grid-column: 5 / span 2;
}

.feature-panel-button {
  appearance: none;
  color: #fff;
  border: 1px solid rgba(31, 111, 235, 0.2);
  cursor: pointer;
  text-align: left;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.feature-panel-button:hover {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(31, 111, 235, 0.32);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  filter: brightness(1.06);
  box-shadow: 0 18px 36px rgba(24, 78, 150, 0.14);
}

.feature-panel-button .feature-panel-desc {
  font-size: 0.96rem;
}

.features-page-actions {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: 30px;
}

.features-page-actions .btn,
.features-page-grid > .btn {
  grid-column: span 2;
  width: 100%;
  padding: 22px;
  font-size: clamp(1.08rem, 0.46vw + 0.96rem, 1.22rem);
  line-height: 1.5;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid rgba(31, 111, 235, 0.2);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.32);
  min-height: var(--features-tile-height);
  height: var(--features-tile-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.features-page-actions .btn:hover,
.features-page-grid > .btn:hover {
  border-color: rgba(31, 111, 235, 0.32);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  filter: brightness(1.06);
  box-shadow: 0 18px 36px rgba(24, 78, 150, 0.14);
}

.features-back-home-btn {
  min-width: 128px;
  margin-left: auto;
  flex: 0 0 auto;
}

.features-page-card .home-copyright {
  width: 100%;
  justify-content: flex-start;
}

/* Features page: same English font + size on grid tiles and bottom CTAs (zh-CN unchanged) */
html[lang="en"] .features-page-shell .feature-panel-button,
html[lang="en"] .features-page-shell .feature-panel-button .feature-panel-title,
html[lang="en"] .features-page-shell .features-page-actions .btn,
html[lang="en"] .features-page-shell .features-page-grid > .btn {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.02rem, 0.42vw + 0.94rem, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
}

/* Features page: unify Chinese font size for tile/buttons only */
html[lang="zh-CN"] .features-page-shell .feature-panel-button,
html[lang="zh-CN"] .features-page-shell .feature-panel-button .feature-panel-title,
html[lang="zh-CN"] .features-page-shell .features-page-actions .btn,
html[lang="zh-CN"] .features-page-shell .features-page-grid > .btn {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
  font-size: clamp(1.04rem, 0.44vw + 0.95rem, 1.14rem);
  font-weight: 700;
  line-height: 1.45;
}

.anti-bias-card {
  max-width: 980px;
  margin: 0 auto;
}

.anti-bias-card h2 {
  margin: 0 0 16px;
  line-height: 1.35;
}

.anti-bias-card h3 {
  margin: 20px 0 10px;
  font-size: 1.2rem;
  color: #11325f;
}

.anti-bias-card h4 {
  margin: 16px 0 8px;
  font-size: 1.06rem;
  color: #184b8a;
}

.anti-bias-card p {
  margin: 0 0 10px;
}

.anti-bias-card ul {
  margin: 0 0 12px;
  padding-left: 22px;
  color: #234d84;
}

.anti-bias-card li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.anti-bias-h4-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 24px;
  margin: 16px 0 8px;
}

.anti-bias-h4-row h4 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  order: 1;
}

.anti-bias-h4-row .btn {
  flex-shrink: 0;
  margin-left: auto;
  order: 2;
}

.anti-bias-h4-row .btn.btn-outline {
  color: #fff;
  border-color: rgba(27, 93, 209, 0.95);
  background: linear-gradient(135deg, #2f86ff, #1f6feb);
  box-shadow: 0 8px 18px rgba(31, 111, 235, 0.28);
}

.anti-bias-h4-row .btn.btn-outline:hover {
  color: #fff;
  border-color: rgba(27, 93, 209, 1);
  background: linear-gradient(135deg, #5aa5ff, #2f86ff);
}

.anti-bias-card .anti-bias-example-page {
  margin: 4px 0 18px;
}

.anti-bias-card > .button-row {
  width: 100%;
  box-sizing: border-box;
}

.anti-bias-card > .button-row:has([data-i18n="backPrev"]) {
  justify-content: flex-end;
}

.example-image-card .example-image-title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  color: #11325f;
  line-height: 1.35;
}

.example-image-card .example-full-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 111, 235, 0.16);
  box-shadow: 0 14px 30px rgba(32, 74, 143, 0.12);
}

.step-image {
  width: 100%;
  max-width: 760px;
  margin-top: 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 111, 235, 0.16);
  box-shadow: 0 14px 30px rgba(32, 74, 143, 0.18);
  display: block;
}

.model-credentials-image {
  margin-left: auto;
  margin-right: auto;
}

.quick-intro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.quick-intro-title {
  margin: 0;
}

.quick-intro-image-btn {
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: block;
  font: inherit;
  color: inherit;
  text-align: center;
  border-radius: var(--radius-md);
}

.quick-intro-image-btn:focus-visible {
  outline: 2px solid rgba(31, 111, 235, 0.65);
  outline-offset: 3px;
}

.quick-intro-image-btn:hover .quick-intro-image {
  filter: brightness(0.97);
}

.quick-intro-image {
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
  width: 100%;
  height: auto;
}

.quick-intro-card .step-image {
  border: none;
  box-shadow: none;
  margin-top: 0;
  border-radius: 0;
}

[data-view="model-evaluation"] .quick-intro-card {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

[data-view="model-evaluation"] .quick-intro-image {
  border: none;
  background: transparent;
  box-shadow: none;
}

.quick-intro-actions {
  margin-top: 8px;
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}

.quick-intro-actions .btn-primary {
  grid-column: 2;
  justify-self: center;
}

.quick-intro-actions .btn-outline {
  grid-column: 3;
  justify-self: end;
}

.quick-intro-actions.quick-intro-actions--principle-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.quick-intro-actions.quick-intro-actions--creative-care-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.quick-intro-actions.quick-intro-actions--psych-screening-image,
.quick-intro-actions.quick-intro-actions--privacy-security-image,
.quick-intro-actions.quick-intro-actions--clinic-efficiency-image,
.quick-intro-actions.quick-intro-actions--cot-training-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.quick-intro-actions.quick-intro-actions--model-evaluation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.quick-intro-actions.quick-intro-actions--quick-intro,
.quick-intro-actions.quick-intro-actions--what-ai-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.notice-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(31, 111, 235, 0.25);
  background: rgba(236, 245, 255, 0.95);
}

.hidden {
  display: none;
}

.helper-block {
  margin-top: 14px;
}

.home-copyright {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 111, 235, 0.2);
  background: rgba(255, 255, 255, 0.74);
}

.home-copyright img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(31, 111, 235, 0.3);
}

.home-copyright p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1b4f8d;
}

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 18px 22px;
}

.site-footer p {
  margin: 0;
  color: #355d92;
  font-size: 0.88rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
}

@keyframes landingLogoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.9;
    filter: saturate(1.04) brightness(1.02) drop-shadow(0 0 16px rgba(76, 158, 255, 0.24));
  }
  25% {
    transform: translateY(-8px) scale(1.03);
    opacity: 0.97;
    filter: saturate(1.1) brightness(1.05) drop-shadow(0 0 24px rgba(76, 158, 255, 0.38));
  }
  50% {
    transform: translateY(-16px) scale(1.07);
    opacity: 1;
    filter: saturate(1.16) brightness(1.08) drop-shadow(0 0 34px rgba(76, 158, 255, 0.52));
  }
  75% {
    transform: translateY(-7px) scale(1.035);
    opacity: 0.98;
    filter: saturate(1.1) brightness(1.05) drop-shadow(0 0 24px rgba(76, 158, 255, 0.38));
  }
}

@media (max-width: 900px) {
  .topbar-inner,
  .main-shell {
    max-width: 100%;
  }

  .developer-card .expert-profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .developer-card .expert-profile-visual {
    position: static;
    max-width: 280px;
    width: 100%;
  }

  .developer-card .expert-profile-body {
    text-align: left;
  }

  .developer-card .expert-role {
    text-align: left;
  }

  .developer-expert-bio {
    text-align: justify;
    text-align-last: left;
  }

  .features-page-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .features-page-grid > :nth-child(4),
  .features-page-grid > :nth-child(5) {
    grid-column: auto;
  }

  .features-page-card {
    text-align: left;
  }

  .features-back-home-btn {
    margin-top: 10px;
  }

  .features-page-actions {
    grid-template-columns: 1fr;
  }

  .features-page-actions .btn,
  .features-page-actions .feature-panel.feature-panel-button,
  .features-page-grid > .btn {
    grid-column: auto;
    min-height: 76px;
    border-radius: 16px;
    height: auto;
  }

  .step-entry-card {
    min-height: auto;
  }

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

  .step-entry-actions .btn {
    min-height: 120px;
  }

  .step-guide-card {
    max-width: 100%;
  }

  .step-guide-card h2 {
    max-width: none;
  }

  .step11-global-download-card #step11GlobalDownloadTitle {
    padding-right: 0;
  }

  .step11-vram-help-btn {
    position: static;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .step-guide-card > p.step5-desc {
    max-width: none;
  }

  .step-guide-card h2.step9-title {
    max-width: none;
    padding-right: 0;
  }

  .step9-helper-block {
    position: static;
    margin-top: 14px;
  }

  .step9-helper-block .step-guide-notice {
    position: static;
    width: auto;
  }

  .step11-download-actions {
    grid-template-columns: 1fr;
  }

  .step11-vram-actions {
    grid-template-columns: 1fr;
  }

  .step11-language-actions {
    grid-template-columns: 1fr;
  }

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

  .step-decision-actions .btn {
    min-height: 116px;
  }

  .step-guide-nav {
    justify-content: flex-start;
  }

  .button-row .btn,
  .button-group .btn {
    width: 100%;
  }

  .quick-intro-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .quick-intro-actions .btn-primary {
    width: auto;
    max-width: 100%;
  }

  .quick-intro-actions .btn-outline {
    align-self: flex-end;
    width: auto;
    max-width: 100%;
  }

  .quick-intro-actions.quick-intro-actions--principle-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }

  .quick-intro-actions.quick-intro-actions--principle-image > .btn:nth-child(2) {
    align-self: flex-end;
  }

  .quick-intro-actions.quick-intro-actions--creative-care-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }

  .quick-intro-actions.quick-intro-actions--creative-care-image > .btn:nth-child(2) {
    align-self: flex-end;
  }

  .quick-intro-actions.quick-intro-actions--psych-screening-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }

  .quick-intro-actions.quick-intro-actions--psych-screening-image > .btn:nth-child(2) {
    align-self: flex-end;
  }

  .quick-intro-actions.quick-intro-actions--privacy-security-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }

  .quick-intro-actions.quick-intro-actions--privacy-security-image > .btn:nth-child(2) {
    align-self: flex-end;
  }

  .quick-intro-actions.quick-intro-actions--quick-intro,
  .quick-intro-actions.quick-intro-actions--what-ai-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 10px;
  }

  .quick-intro-actions.quick-intro-actions--quick-intro > .btn-outline,
  .quick-intro-actions.quick-intro-actions--what-ai-intro > .btn-outline {
    align-self: flex-end;
  }

  .comments-header,
  .comment-form-actions,
  .comment-admin-login,
  .comment-admin-tools,
  .comments-list-header,
  .comment-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .comments-header .btn,
  .comment-form-actions .btn,
  .comment-admin-login .btn {
    width: 100%;
  }

}

@media (max-width: 520px) {
  .topbar-inner {
    padding: 12px;
  }

  body.is-landing-view .dev-info-btn,
  body.is-landing-view .topbar-comment-btn,
  body.is-landing-view .lang-btn {
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 800;
  }

  .home-copyright {
    flex-direction: column;
    text-align: center;
  }

  .home-copyright p {
    font-size: 0.82rem;
  }

  .features-page-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .features-page-lead {
    line-height: 1.75;
  }

  .feature-panel {
    padding: 18px 16px;
  }
}

/* ── Landing action buttons (blue fill) ──────── */
.landing-faq-btn,
.landing-feature-btn {
  color: #fff;
  background: linear-gradient(135deg, #4fa9ff, #1975e8);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.28);
}

.landing-faq-btn:hover,
.landing-feature-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #63b5ff, #1565d8);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(31, 111, 235, 0.4);
}

/* ── FAQ page ─────────────────────────────────── */
.faq-card {
  max-width: 860px;
  margin-inline: auto;
}

.faq-page-title {
  margin: 0 0 28px;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-main);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(95, 171, 255, 0.18);
  padding: 22px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent, #3b82f6);
  line-height: 1.4;
}

.faq-answer p {
  margin: 0 0 10px;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-body, #374151);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 8px 0 10px 1.4em;
  padding: 0;
}

.faq-answer ul li {
  margin-bottom: 6px;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-body, #374151);
}

.faq-actions {
  margin-top: 28px;
  justify-content: flex-start;
}
