:root {
  color-scheme: light;
  --ink-950: #07111f;
  --ink-900: #101828;
  --ink-800: #18243a;
  --ink-700: #24334d;
  --ink-600: #526077;
  --ink-500: #718096;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --surface-blue: #eff7ff;
  --line: #d8e2f0;
  --line-strong: #c5d2e3;
  --cyan: #0ea5e9;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --violet: #7c3aed;
  --success: #078f6d;
  --warning: #ad6800;
  --danger: #c03636;
  --font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bg: var(--surface-soft);
  --panel: var(--surface);
  --text: #0f172a;
  --muted: var(--ink-600);
  --primary: var(--blue);
  --primary-strong: var(--blue-dark);
  --accent: var(--cyan);
  --teal: var(--success);
  --soft-blue: var(--surface-blue);
  --soft-amber: #fff7e8;
  --shadow: 0 24px 64px rgba(7, 17, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  background: var(--surface-soft);
  color: var(--text);
  font: 14px/1.68 var(--font);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  min-height: 38px;
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  font-family: var(--font);
  letter-spacing: -0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 0 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: #4d73e6;
  color: #fff;
  box-shadow: 0 8px 24px rgba(47, 85, 196, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  text-align: left;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 18px;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  overflow: visible;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  min-width: max-content;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  padding: 0 18px;
  font-size: 14px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.nav-menu-trigger,
.account-trigger {
  padding-right: 22px;
}

.nav-menu-trigger::after,
.account-trigger::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 5px solid rgba(255, 255, 255, 0.78);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  display: none;
  min-width: 178px;
  border: 1px solid rgba(77, 115, 230, 0.18);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 33, 63, 0.16);
}

.nav-menu-right {
  right: 0;
  left: auto;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  display: grid;
}

.nav-menu a,
.nav-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  padding: 0 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.nav-menu a:hover,
.nav-menu button:hover,
.nav-menu button.active {
  background: var(--soft-blue);
  color: var(--primary-strong);
}

.nav-menu-danger {
  color: var(--danger) !important;
}

.session {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.session-button,
.ghost-button,
.secondary-link,
.text-button,
.icon-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 14px;
}

.session-button {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.account-menu {
  align-items: center;
}

.account-trigger {
  min-height: 38px;
  font-weight: 800;
}

.primary-button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  padding: 0 18px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(77, 115, 230, 0.24);
}

.primary-button:hover,
.primary-link:hover {
  background: var(--primary-strong);
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.92);
}

.ghost-button:hover,
.secondary-link:hover {
  border-color: var(--primary);
  color: var(--primary-strong);
}

.full {
  width: 100%;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
  gap: 34px;
  width: min(1280px, calc(100vw - 72px));
  margin: 26px auto 0;
  border-radius: 8px;
  padding: 42px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #5d80ea 0%, #3f65d7 68%, #2e59c9 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-content {
  align-self: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-band .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero-content h1 {
  margin: 0;
  max-width: 10em;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}

.hero-copy {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

.service-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 142px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(31, 61, 144, 0.24);
}

.service-code {
  display: inline-flex;
  width: max-content;
  border-radius: 6px;
  background: var(--soft-blue);
  color: var(--primary-strong);
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 900;
}

.service-card strong {
  font-size: 17px;
}

.service-card small {
  color: var(--muted);
  line-height: 1.55;
}

.hot-section,
.catalog-shell,
.detail-page,
.account-page {
  width: min(1280px, calc(100vw - 72px));
  margin: 26px auto 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
}

.section-heading h1 {
  font-size: 34px;
}

.section-heading h2 {
  font-size: 28px;
}

.section-heading span,
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.hot-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.notice-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1280px, calc(100vw - 72px));
  margin: 24px auto 0;
  border-radius: 8px;
  padding: 14px 18px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(77, 115, 230, 0.18);
}

.notice-bar span {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.contact-summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.16fr) minmax(300px, 0.92fr);
  gap: 20px;
  align-items: center;
  width: min(1280px, calc(100vw - 72px));
  margin: 18px auto 0;
  border: 1px solid #c6d9f4;
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(42, 74, 132, 0.08);
}

.contact-summary h2 {
  margin: 0;
  font-size: 24px;
}

.contact-summary dl,
.contact-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.contact-summary dl div,
.contact-detail-list div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border-left: 3px solid var(--teal);
  padding-left: 10px;
}

.contact-summary dt,
.contact-detail-list dt {
  color: var(--muted);
  font-size: 12px;
}

.contact-summary dd,
.contact-detail-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.policy-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.policy-link-row button,
.policy-card-grid button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--primary-strong);
  padding: 0 12px;
  font-weight: 800;
}

.policy-link-row button:hover,
.policy-card-grid button:hover {
  border-color: var(--primary);
  background: var(--soft-blue);
}

.catalog-shell {
  padding-bottom: 56px;
}

.catalog-title {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 22px 0;
}

.catalog-title p {
  margin: 0;
  color: var(--muted);
}

.catalog-title strong {
  color: var(--accent);
  font-size: 22px;
}

.search-panel,
.filter-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.search-panel {
  overflow: hidden;
}

.search-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #edf2fb;
}

.search-tab {
  min-height: 48px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.search-tab.active {
  background: #fff;
  color: var(--primary-strong);
  box-shadow: inset 0 -3px 0 var(--primary);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 0;
  padding: 20px;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
}

.search-row input {
  border-radius: 8px 0 0 8px;
}

.search-row .primary-button {
  border-radius: 0 8px 8px 0;
}

.filter-panel {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 22px;
}

.filter-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.filter-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-left: 4px solid var(--primary);
  padding-left: 10px;
  font-weight: 800;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 0 12px;
}

.chip:hover,
.chip.active {
  border-color: var(--primary);
  background: var(--soft-blue);
  color: var(--primary-strong);
}

.filter-controls {
  grid-template-columns: 92px repeat(3, minmax(140px, 1fr)) minmax(180px, 1.5fr);
  align-items: end;
}

.filter-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.filter-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
  margin-top: 30px;
}

.project-pagination {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  border: 1px solid #c6d9f4;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(42, 74, 132, 0.08);
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination-button,
.pagination-number {
  min-width: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 13px;
  font-weight: 800;
}

.pagination-button:hover:not(:disabled),
.pagination-number:hover,
.pagination-number.active {
  border-color: var(--primary);
  background: var(--soft-blue);
  color: var(--primary-strong);
}

.pagination-status {
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 168px;
}

.pagination-status strong {
  color: var(--text);
  font-size: 15px;
}

.pagination-status span {
  color: var(--muted);
  font-size: 12px;
}

.project-card {
  overflow: hidden;
  border: 1px solid #bad2f4;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(42, 74, 132, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(42, 74, 132, 0.16);
}

.project-card.compact .project-body p,
.project-card.compact .project-tags {
  display: none;
}

.cover-button {
  display: block;
  width: 100%;
  min-height: 0;
  background: #164fb5;
  padding: 0;
}

.project-cover-art {
  display: grid;
  align-content: center;
  gap: 8px;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(15, 159, 143, 0.42), transparent 34%),
    repeating-linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #0c75d6 0%, #174dc3 54%, #102c83 100%);
  color: #fff;
  text-align: center;
}

.project-cover-art span {
  color: #ffef72;
  font-size: 13px;
  font-weight: 900;
}

.project-cover-art strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-cover-art small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  line-height: 1.55;
}

.project-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.project-body h3 {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-body p {
  display: -webkit-box;
  min-height: 40px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 25px;
}

.project-tags span {
  border-radius: 6px;
  background: #eff5ff;
  color: #3157b6;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 700;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.price {
  color: var(--accent);
  font-weight: 900;
}

.detail-page {
  padding-bottom: 56px;
}

.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  margin-top: 16px;
  align-items: start;
}

.detail-main,
.purchase-panel,
.similar-card,
.row-item,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.detail-main {
  overflow: hidden;
}

.detail-cover-art {
  min-height: 360px;
  aspect-ratio: auto;
  padding: 42px;
}

.detail-cover-art span {
  font-size: 18px;
}

.detail-cover-art strong {
  max-width: 680px;
  margin: 0 auto;
  font-size: 34px;
  line-height: 1.35;
}

.detail-cover-art small {
  font-size: 14px;
}

.detail-content {
  padding: 26px;
}

.detail-content h1 {
  margin: 0;
  font-size: 34px;
}

.detail-summary,
.detail-text {
  color: var(--muted);
  line-height: 1.8;
}

.detail-facts {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  border-left: 4px solid var(--primary);
  padding: 12px 0 12px 16px;
  background: #f8fbff;
}

.text-button {
  min-height: 28px;
  margin-left: 8px;
  color: var(--primary-strong);
  padding: 0 8px;
}

.delivery-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 24px;
  padding: 0;
  list-style: none;
}

.delivery-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfdff;
}

.delivery-list span {
  color: var(--muted);
  font-size: 13px;
}

.purchase-panel {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.panel-label {
  color: var(--muted);
  font-size: 13px;
}

.detail-price {
  color: var(--accent);
  font-size: 34px;
}

.selected-package-text {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

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

.service-package-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--text);
  padding: 12px;
  text-align: left;
}

.service-package-option:hover,
.service-package-option.active {
  border-color: var(--primary);
  background: var(--soft-blue);
}

.service-package-option span {
  display: grid;
  gap: 5px;
}

.service-package-option strong {
  font-size: 14px;
}

.service-package-option small {
  color: var(--muted);
  line-height: 1.45;
}

.service-package-option em {
  align-self: center;
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}

.purchase-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.similar-section {
  margin-top: 26px;
}

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

.similar-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.small-cover-art {
  width: 86px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  padding: 8px;
  text-align: center;
}

.small-cover-art span,
.small-cover-art small {
  display: none;
}

.small-cover-art strong {
  font-size: 11px;
  line-height: 1.35;
  -webkit-line-clamp: 3;
}

.similar-card h3 {
  display: -webkit-box;
  margin: 0 0 6px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.similar-card p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
}

.similar-card button {
  grid-column: 1 / -1;
}

.account-page {
  padding-bottom: 56px;
}

.table-list {
  display: grid;
  gap: 14px;
}

.row-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 16px;
}

.row-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.row-item p {
  margin: 0 0 10px;
  color: var(--muted);
}

.row-subtext {
  font-size: 12px;
}

.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  gap: 14px;
  border: 1px solid #cddaf3;
  border-radius: 8px;
  padding: 14px;
  background: #f7faff;
}

.payment-summary {
  border-right: 1px solid var(--line);
  padding-right: 14px;
}

.payment-summary h3 {
  margin: 4px 0 8px;
  font-family: inherit;
  font-size: 15px;
}

.payment-summary p {
  margin: 0 0 10px;
}

.payment-gateway-content {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.payment-gateway-content span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.payment-gateway-content code {
  overflow-wrap: anywhere;
  color: var(--primary-strong);
  font-family: "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

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

.payment-channel {
  display: grid;
  gap: 10px;
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.payment-channel.enabled {
  border-color: #9db5f5;
  box-shadow: 0 12px 26px rgba(77, 115, 230, 0.12);
}

.payment-channel.disabled {
  background: #fbfcff;
}

.payment-channel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.payment-channel strong {
  font-size: 15px;
}

.payment-channel span {
  min-width: max-content;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--soft-blue);
  color: var(--primary-strong);
  font-size: 11px;
  font-weight: 800;
}

.payment-channel.disabled span {
  background: #f2f4f7;
  color: var(--muted);
}

.payment-channel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.software-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.software-intro h1 {
  margin: 0 0 14px;
  font-size: 34px;
}

.software-intro p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.software-note {
  display: grid;
  align-content: start;
  gap: 8px;
  border-left: 4px solid var(--teal);
  padding-left: 16px;
}

.software-note span {
  color: var(--muted);
  line-height: 1.65;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 56px;
}

.software-card {
  display: grid;
  gap: 16px;
  border: 1px solid #c6d9f4;
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(42, 74, 132, 0.08);
}

.software-card-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.software-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--primary-strong);
  font-size: 20px;
  font-weight: 900;
}

.software-card h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.software-card-head span:not(.software-icon) {
  color: var(--muted);
  font-size: 12px;
}

.software-card p {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.software-link-row {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfdff;
}

.software-link-row span {
  color: var(--muted);
  font-size: 12px;
}

.software-link-row code {
  overflow: hidden;
  color: var(--accent);
  font-family: "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.software-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.service-page {
  display: grid;
  gap: 22px;
  width: min(1280px, calc(100vw - 72px));
  margin: 26px auto 56px;
}

.service-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  overflow: hidden;
  border: 1px solid #c6d9f4;
  border-radius: 8px;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(237, 243, 255, 0.94) 0%, rgba(255, 255, 255, 0.96) 62%),
    repeating-linear-gradient(135deg, rgba(77, 115, 230, 0.09) 0 2px, transparent 2px 16px);
  box-shadow: var(--shadow);
}

.service-hero-panel-alt {
  border-color: #cfd9ea;
  background:
    linear-gradient(90deg, rgba(255, 244, 232, 0.92) 0%, rgba(255, 255, 255, 0.96) 66%),
    repeating-linear-gradient(135deg, rgba(15, 159, 143, 0.1) 0 2px, transparent 2px 16px);
}

.service-hero-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.16;
}

.service-hero-panel p:not(.eyebrow) {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.service-hero-actions {
  display: grid;
  grid-template-columns: minmax(150px, 1fr);
  gap: 10px;
  min-width: 180px;
}

.service-step-grid,
.service-mode-grid {
  display: grid;
  gap: 16px;
}

.service-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.service-step-card,
.service-mode-card,
.service-boundary-panel,
.service-flow-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(42, 74, 132, 0.08);
}

.service-step-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 206px;
  padding: 20px;
}

.service-step-card span,
.service-mode-card > span {
  display: inline-flex;
  width: max-content;
  border-radius: 6px;
  background: var(--soft-blue);
  color: var(--primary-strong);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
}

.service-step-card h2,
.service-mode-card h2,
.service-boundary-panel h2,
.service-flow-panel h2 {
  margin: 0;
}

.service-step-card h2,
.service-mode-card h2 {
  font-size: 20px;
}

.service-step-card p,
.service-mode-card p,
.service-boundary-panel p,
.service-boundary-panel li,
.service-flow-list span {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.service-boundary-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  padding: 24px;
}

.service-boundary-panel ul,
.service-mode-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
}

.service-mode-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.service-mode-card.recommended {
  border-color: #b7d8d3;
  background: linear-gradient(180deg, #f7fffd 0%, #ffffff 62%);
}

.service-mode-card.recommended > span {
  background: #e8f7f5;
  color: #08796f;
}

.service-flow-panel {
  padding: 24px;
}

.service-flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.service-flow-list div {
  display: grid;
  gap: 8px;
  border-left: 4px solid var(--primary);
  padding: 10px 12px;
  background: #fbfdff;
}

.service-flow-list strong {
  color: var(--text);
}

.contact-page-panel,
.policy-panel,
.policy-detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-page-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 28px;
  margin-bottom: 22px;
  padding: 28px;
}

.contact-page-panel h1 {
  margin: 0 0 12px;
  font-size: 38px;
}

.contact-page-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-detail-list {
  align-content: start;
  border: 1px solid #c6d9f4;
  border-radius: 8px;
  padding: 16px;
  background: #fbfdff;
}

.contact-side {
  display: grid;
  gap: 14px;
}

.contact-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0;
  border: 1px solid #c6d9f4;
  border-radius: 8px;
  padding: 14px;
  background: #fbfdff;
}

.contact-qr img {
  width: min(180px, 100%);
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.contact-qr figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.policy-panel {
  padding: 22px;
}

.policy-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.policy-detail-panel {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding: 28px;
}

.policy-detail-panel h1 {
  margin: 0;
  font-size: 36px;
}

.policy-content {
  display: grid;
  gap: 12px;
}

.policy-content section {
  display: grid;
  gap: 8px;
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  background: #fbfdff;
}

.policy-content h2 {
  margin: 0;
  font-family: inherit;
  font-size: 18px;
}

.policy-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1.15fr);
  gap: 16px;
}

.profile-summary-card,
.profile-form-card,
.profile-stat,
.profile-recent-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.profile-summary-card,
.profile-form-card,
.profile-recent-card {
  padding: 20px;
}

.profile-summary-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

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

.profile-facts span {
  display: grid;
  gap: 4px;
  min-width: 0;
  border-left: 3px solid var(--primary);
  padding-left: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.profile-facts strong {
  color: var(--text);
  font-size: 12px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.profile-form-card {
  display: grid;
  gap: 14px;
}

.profile-form-card h3 {
  margin: 0;
  font-size: 18px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-feedback {
  margin: 0;
  border: 1px solid rgba(15, 159, 143, 0.24);
  border-radius: 8px;
  padding: 10px 12px;
  background: #eefbf8;
  color: #0f6f66;
  line-height: 1.7;
}

.profile-form-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.profile-stat-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-stat {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(77, 115, 230, 0.1), transparent 46%),
    #fff;
}

.profile-stat span {
  color: var(--muted);
}

.profile-stat strong {
  color: var(--primary-strong);
  font-size: 34px;
  line-height: 1;
}

.profile-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-card-heading h3 {
  margin: 0;
  font-size: 18px;
}

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

.profile-mini-row {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfdff;
}

.profile-mini-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-mini-row span {
  color: var(--muted);
  font-size: 12px;
}

.brokerage-dashboard {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
}

body[data-current-view='brokerage'] .floating-nav {
  display: none;
}

.brokerage-share-panel,
.brokerage-panel,
.brokerage-stat-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.brokerage-share-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1.28fr);
  align-items: end;
  gap: 28px;
  border-top: 4px solid var(--teal);
  padding: 22px;
}

.brokerage-share-panel h2 {
  margin: 2px 0 8px;
  font-size: 32px;
  letter-spacing: 0;
}

.brokerage-share-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.brokerage-share-panel label,
.brokerage-withdraw-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.brokerage-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.brokerage-copy-row input {
  min-width: 0;
}

.brokerage-stat-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.brokerage-stat-grid > div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 18px;
  box-shadow: none;
}

.brokerage-stat-grid span,
.brokerage-stat-grid small {
  color: var(--muted);
}

.brokerage-stat-grid strong {
  color: var(--primary-strong);
  font-size: 28px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.brokerage-stat-grid small {
  line-height: 1.5;
}

.brokerage-panel {
  min-width: 0;
  padding: 20px;
}

.brokerage-panel-wide {
  grid-column: 1 / -1;
}

.brokerage-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.brokerage-panel-heading h3 {
  margin: 0;
  font-size: 19px;
}

.brokerage-panel-heading > span {
  color: var(--muted);
  font-size: 12px;
}

.brokerage-level-tabs {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  background: var(--soft-blue);
}

.brokerage-level-tabs button {
  min-height: 32px;
  border-radius: 6px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
}

.brokerage-level-tabs button.active {
  background: #fff;
  color: var(--primary-strong);
  font-weight: 800;
}

.brokerage-list {
  display: grid;
}

.brokerage-list-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(100px, 0.65fr) minmax(110px, 0.65fr) 150px;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.brokerage-list-row:first-child {
  border-top: 1px solid var(--line);
}

.brokerage-list-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brokerage-list-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brokerage-list-row span,
.brokerage-list-row time {
  color: var(--muted);
  font-size: 12px;
}

.brokerage-list-row .status {
  justify-self: end;
  color: #3157b6;
}

.brokerage-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.brokerage-withdraw-form {
  display: grid;
  gap: 13px;
}

.brokerage-withdraw-history {
  align-self: start;
}

.brokerage-withdraw-row {
  grid-template-columns: minmax(130px, 0.8fr) minmax(90px, 0.5fr) minmax(140px, 1fr) 80px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 10px;
  background: #eef4ff;
  color: #3157b6;
  font-size: 12px;
  font-weight: 800;
}

.status.paid {
  background: #ecfdf3;
  color: #027a48;
}

.status.closed {
  background: #f2f4f7;
  color: #475467;
}

.status.payment-status {
  margin-left: 6px;
  background: #fff4e8;
  color: #b45309;
}

.danger {
  color: var(--danger);
}

.empty,
.empty-state {
  color: var(--muted);
  line-height: 1.7;
}

.empty-state {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 28px;
}

.empty-state h2 {
  margin: 0;
  color: var(--text);
}

.floating-nav {
  position: fixed;
  right: 22px;
  top: 36%;
  z-index: 25;
  display: grid;
  overflow: hidden;
  border-radius: 8px;
  background: #5577df;
  box-shadow: 0 18px 34px rgba(35, 64, 143, 0.22);
}

.floating-nav a,
.floating-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
}

.floating-nav a:hover,
.floating-nav button:hover {
  background: rgba(255, 255, 255, 0.14);
}

body[data-current-view="software"] .floating-nav,
body[data-current-view="remoteService"] .floating-nav,
body[data-current-view="customService"] .floating-nav,
body[data-current-view="contact"] .floating-nav,
body[data-current-view="policy"] .floating-nav {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 33, 63, 0.52);
}

.login-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(420px, calc(100vw - 40px));
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(16, 33, 63, 0.28);
}

.checkout-panel {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(77, 115, 230, 0.2);
  border-radius: 10px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(16, 33, 63, 0.28);
}

.checkout-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  padding-top: 24px;
}

.checkout-qr-section {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--soft-blue);
}

.checkout-qr-section > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.checkout-qr-code {
  display: grid;
  place-items: center;
  width: 236px;
  height: 236px;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.checkout-qr-code canvas,
.checkout-qr-code img,
.checkout-qr-code svg {
  display: block;
  width: 220px !important;
  height: 220px !important;
}

.checkout-qr-fallback {
  display: grid;
  place-items: center;
  width: 236px;
  min-height: 236px;
  padding: 20px;
  border: 1px dashed #b8c7df;
  background: #fff;
  color: var(--muted);
}

.checkout-summary {
  min-width: 0;
}

.checkout-channel-name {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(15, 159, 143, 0.28);
  background: rgba(15, 159, 143, 0.08);
  color: #087b6f;
  font-size: 12px;
  font-weight: 800;
}

.checkout-summary h3 {
  margin: 14px 0 18px;
  font-size: 21px;
  line-height: 1.45;
}

.checkout-summary dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.checkout-summary dl > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.checkout-summary dt {
  color: var(--muted);
  font-size: 13px;
}

.checkout-summary dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
  text-align: right;
}

.checkout-summary .checkout-amount {
  color: var(--primary-strong);
  font-size: 24px;
}

.checkout-status {
  margin-top: 18px;
  border-left: 3px solid var(--primary);
  padding: 12px 14px;
  background: var(--soft-blue);
  color: var(--primary-strong);
  font-size: 14px;
  font-weight: 800;
}

.checkout-status.success {
  border-left-color: var(--teal);
  background: rgba(15, 159, 143, 0.08);
  color: #087b6f;
}

.checkout-status.error {
  border-left-color: var(--danger);
  background: rgba(180, 35, 24, 0.07);
  color: var(--danger);
}

.checkout-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, auto);
  gap: 10px;
  margin-top: 18px;
}

.checkout-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.modal-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.modal-heading h2 {
  margin: 0;
  font-size: 24px;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-blue);
}

.auth-mode-button {
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.auth-mode-button.active {
  background: #fff;
  color: var(--primary-strong);
  box-shadow: 0 8px 18px rgba(77, 115, 230, 0.14);
}

.icon-button {
  width: 36px;
  min-height: 36px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.login-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.sms-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 8px;
}

.reset-password-fields {
  display: grid;
  gap: 14px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: 360px;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 12px 24px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    overflow: visible;
  }

  .nav-link {
    min-height: 42px;
    border-left: 0;
  }

  .hero-band {
    grid-template-columns: 1fr;
  }

  .hot-strip,
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 860px) {
  .site-header,
  .hero-band,
  .hot-section,
  .catalog-shell,
  .detail-page,
  .account-page,
  .service-page,
  .notice-bar,
  .contact-summary {
    width: calc(100vw - 24px);
  }

  .site-header {
    width: 100%;
    padding: 12px;
  }

  .session {
    width: 100%;
    justify-content: space-between;
  }

  .hero-band {
    margin-top: 14px;
    padding: 24px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

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

  .hot-strip,
  .project-grid,
  .similar-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .notice-bar {
    align-items: start;
    flex-direction: column;
  }

  .search-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .search-row input,
  .search-row .primary-button {
    border-radius: 8px;
  }

  .filter-row,
  .filter-controls {
    grid-template-columns: 1fr;
  }

  .project-pagination {
    grid-template-columns: 1fr 1fr;
  }

  .pagination-pages,
  .pagination-status {
    grid-column: 1 / -1;
  }

  .pagination-status {
    justify-items: start;
    order: -1;
  }

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

  .purchase-panel {
    position: static;
  }

  .service-package-option {
    grid-template-columns: minmax(0, 1fr);
  }

  .row-item {
    grid-template-columns: 1fr;
  }

  .software-intro,
  .service-hero-panel,
  .service-boundary-panel,
  .service-mode-grid,
  .contact-summary,
  .contact-page-panel,
  .contact-side,
  .profile-layout,
  .profile-stat-row,
  .brokerage-dashboard,
  .brokerage-share-panel {
    grid-template-columns: 1fr;
  }

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

  .brokerage-list-row,
  .brokerage-withdraw-row {
    grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
  }

  .brokerage-list-row > :nth-child(3),
  .brokerage-list-row > :nth-child(4) {
    justify-self: start;
  }

  .policy-link-row {
    justify-content: flex-start;
  }

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

  .service-page {
    margin-top: 14px;
  }

  .service-hero-panel,
  .service-boundary-panel,
  .service-flow-panel {
    padding: 20px;
  }

  .row-actions {
    justify-content: flex-start;
  }

  .payment-panel,
  .payment-channel-grid {
    grid-template-columns: 1fr;
  }

  .payment-summary {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 12px;
  }

  .floating-nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .service-grid,
  .hot-strip,
  .project-grid,
  .similar-list,
  .software-grid,
  .service-step-grid,
  .service-flow-list,
  .contact-summary dl,
  .contact-detail-list,
  .policy-card-grid {
    grid-template-columns: 1fr;
  }

  .hero-band,
  .filter-panel,
  .detail-content,
  .service-hero-panel,
  .service-boundary-panel,
  .service-mode-card,
  .service-flow-panel,
  .contact-page-panel,
  .policy-panel,
  .policy-detail-panel {
    padding: 18px;
  }

  .project-pagination {
    grid-template-columns: 1fr;
  }

  .pagination-button,
  .pagination-number {
    width: 100%;
  }

  .pagination-pages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .delivery-list li {
    grid-template-columns: 1fr;
  }

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

  .profile-facts {
    grid-template-columns: 1fr;
  }

  .brokerage-stat-grid,
  .brokerage-copy-row {
    grid-template-columns: 1fr;
  }

  .brokerage-panel-heading,
  .brokerage-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .brokerage-list-row,
  .brokerage-withdraw-row {
    grid-template-columns: 1fr;
  }

  .section-heading h1,
  .detail-content h1 {
    font-size: 28px;
  }

  .modal {
    align-items: end;
    padding: 0;
  }

  .login-panel,
  .checkout-panel {
    width: 100%;
    max-height: 94vh;
    border-radius: 8px 8px 0 0;
  }

  .checkout-panel {
    padding: 20px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
  }

  .checkout-qr-section {
    padding: 16px;
  }

  .checkout-qr-code,
  .checkout-qr-fallback {
    width: 216px;
    min-height: 216px;
  }

  .checkout-qr-code {
    height: 216px;
  }

  .checkout-qr-code canvas,
  .checkout-qr-code img,
  .checkout-qr-code svg {
    width: 200px !important;
    height: 200px !important;
  }

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

  .sms-code-row {
    grid-template-columns: 1fr;
  }
}

/* C3 D2: 深海蓝技术市场设计系统 */
body {
  overflow-x: clip;
}

button,
input,
select,
a {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

button {
  min-height: 44px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.34);
  outline-offset: 3px;
}

.site-header {
  grid-template-columns: 210px minmax(0, 1fr) auto;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 17, 31, 0.96);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  box-shadow: 0 9px 24px rgba(14, 165, 233, 0.22);
  font-size: 20px;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.03em;
}

.brand-copy small {
  color: #8797ae;
  letter-spacing: 0.08em;
}

.site-nav {
  justify-content: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  min-height: 68px;
  padding: 0 2px;
  border-left: 0;
  color: #aab6c8;
  font-size: 13px;
  font-weight: 600;
}

.nav-link::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #26c6f5;
  content: "";
  transform: scaleX(0);
}

.nav-link:hover,
.nav-link.active {
  background: transparent;
  color: #fff;
}

.nav-link.active::before {
  transform: scaleX(1);
}

.nav-menu {
  border-color: #2a3b54;
  border-radius: 12px;
  background: var(--ink-900);
  box-shadow: 0 24px 64px rgba(7, 17, 31, 0.28);
}

.nav-menu a,
.nav-menu button {
  border-radius: 9px;
  color: #d8e4f3;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu button:hover,
.nav-menu button.active {
  background: rgba(14, 165, 233, 0.12);
  color: #75d9ff;
}

.session-button,
.account-trigger {
  min-height: 42px;
  border-color: rgba(117, 217, 255, 0.52);
  border-radius: 11px;
  background: transparent;
}

.primary-button,
.primary-link,
.secondary-link,
.ghost-button,
.text-button,
.icon-button {
  min-height: 44px;
  border-radius: 11px;
}

.primary-button,
.primary-link {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.17);
}

.primary-button:hover,
.primary-link:hover {
  background: linear-gradient(90deg, #0698d8, var(--blue-dark));
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.27);
}

.ghost-button,
.secondary-link,
.text-button,
.icon-button {
  border-color: var(--line-strong);
}

.hero-band {
  width: min(1240px, calc(100vw - 48px));
  min-height: 520px;
  margin-top: 24px;
  padding: 54px;
  gap: 48px;
  border: 1px solid #1f3048;
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 22%, rgba(37, 99, 235, 0.26), transparent 25%),
    radial-gradient(circle at 90% 8%, rgba(124, 58, 237, 0.08), transparent 17%),
    linear-gradient(135deg, var(--ink-950), #091729 58%, #06101e);
  box-shadow: var(--shadow);
}

.hero-band .eyebrow {
  color: #75d9ff;
  letter-spacing: 0.14em;
}

.hero-content h1 {
  max-width: 11em;
  font-size: clamp(38px, 3.2vw, 48px);
  line-height: 1.12;
}

.hero-copy {
  color: #aab9cd;
  font-size: 15px;
  line-height: 1.85;
}

.service-grid {
  gap: 14px;
}

.service-card {
  min-height: 156px;
  border-color: rgba(216, 226, 240, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 30px rgba(7, 17, 31, 0.08);
}

.service-card:hover {
  border-color: #9fc9f7;
  box-shadow: 0 18px 36px rgba(7, 17, 31, 0.18);
}

.service-code {
  border-radius: 7px;
  background: var(--surface-blue);
  color: var(--blue-dark);
}

.hot-section,
.catalog-shell,
.detail-page,
.account-page,
.service-page,
.notice-bar,
.contact-summary {
  width: min(1240px, calc(100vw - 48px));
}

.section-heading h1,
.section-heading h2,
.catalog-title h2 {
  color: var(--ink-950);
  letter-spacing: -0.02em;
}

.search-panel,
.filter-panel,
.project-card,
.purchase-panel,
.detail-content,
.row-item,
.software-card,
.service-hero-panel,
.service-boundary-panel,
.service-mode-card,
.service-flow-panel,
.contact-page-panel,
.policy-panel,
.policy-detail-panel {
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

input,
select,
textarea {
  min-height: 44px;
  border-color: var(--line-strong);
  border-radius: 10px;
  color: var(--ink-900);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.13);
}

.modal {
  padding: 24px;
  background: rgba(3, 10, 20, 0.12);
  backdrop-filter: blur(12px);
}

.modal-backdrop {
  background: rgba(3, 10, 20, 0.76);
}

.login-panel,
.checkout-panel {
  border: 1px solid #314057;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.2), transparent 34%),
    var(--ink-900);
  color: #fff;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
}

.login-panel {
  width: min(520px, calc(100vw - 48px));
  padding: 34px;
}

.checkout-panel {
  width: min(900px, calc(100vw - 48px));
  padding: 34px;
}

.login-panel .eyebrow,
.checkout-panel .eyebrow {
  color: #75d9ff;
}

.login-panel label,
.checkout-summary dt,
.checkout-note,
.checkout-qr-section > p {
  color: #a6b4c6;
}

.login-panel input {
  border-color: #3a485d;
  background: #0c1625;
  color: #fff;
}

.auth-mode-tabs {
  border-color: #334157;
  background: #0c1625;
}

.auth-mode-button {
  color: #8495ac;
}

.auth-mode-button.active {
  background: #122239;
  color: #7addff;
  box-shadow: none;
}

.checkout-heading,
.checkout-summary dl > div {
  border-color: #334157;
}

.checkout-qr-section {
  border-color: #36465d;
  border-radius: 14px;
  background: #0b1626;
}

.checkout-summary h3,
.checkout-summary dd {
  color: #edf5ff;
}

.checkout-status {
  border-left: 0;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.12);
  color: #75d9ff;
}

.site-footer {
  margin-top: 96px;
  background: #050d18;
  color: #91a0b5;
}

.site-footer-inner {
  width: min(1240px, calc(100vw - 48px));
  min-height: 168px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.site-footer-brand strong,
.site-footer-brand small {
  display: block;
}

.site-footer-brand strong {
  color: #fff;
}

.site-footer-brand small {
  margin-top: 3px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer nav button {
  padding: 0;
  background: transparent;
  color: #91a0b5;
}

.site-footer nav button:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 24px;
    gap: 8px 20px;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .nav-link {
    min-height: 44px;
  }

  .hero-band {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: 100%;
    padding: 10px 15px 8px;
  }

  .brand-copy small,
  #sessionText {
    display: none;
  }

  .session {
    width: auto;
  }

  .hero-band,
  .hot-section,
  .catalog-shell,
  .detail-page,
  .account-page,
  .service-page,
  .notice-bar,
  .contact-summary,
  .site-footer-inner {
    width: calc(100vw - 30px);
  }

  .hero-band {
    margin-top: 15px;
    padding: 36px 22px;
    border-radius: 18px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    align-items: end;
    padding: 12px;
  }

  .login-panel,
  .checkout-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 30px 20px 24px;
    border-radius: 20px 20px 14px 14px;
  }

  .site-footer-inner {
    min-height: 0;
    padding: 38px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* C3 D3: 项目库加载、空结果与错误状态 */
.project-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 280px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 42px 24px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.project-state > span {
  color: var(--cyan-dark);
  font: 700 12px/1 var(--font);
  letter-spacing: 0.12em;
}

.project-state h2,
.project-state p {
  margin: 0;
}

.project-state p {
  max-width: 520px;
  color: var(--text-muted);
}

.project-list-state-error {
  border-color: #fecaca;
  background: #fffafa;
}

.project-list-state-error > span {
  color: var(--danger);
}

.project-skeleton {
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.project-skeleton > span,
.project-skeleton > strong,
.project-skeleton > i {
  display: block;
  background: linear-gradient(90deg, #e9eef5 25%, #f8fafc 50%, #e9eef5 75%);
  background-size: 200% 100%;
  animation: project-skeleton-pulse 1.4s ease-in-out infinite;
}

.project-skeleton > span {
  width: 100%;
  height: 168px;
}

.project-skeleton > strong {
  width: 72%;
  height: 20px;
  margin: 24px 20px 18px;
}

.project-skeleton > i {
  width: calc(100% - 40px);
  height: 12px;
  margin: 10px 20px;
}

.project-skeleton > i:last-child {
  width: 56%;
}

@keyframes project-skeleton-pulse {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-skeleton > span,
  .project-skeleton > strong,
  .project-skeleton > i {
    animation: none;
  }
}

/* C3 D4: 详情与相似项目的独立状态 */
.project-detail-state {
  display: grid;
  min-height: 520px;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.project-detail-state-loading > span,
.project-detail-state-loading > strong,
.project-detail-state-loading > i {
  display: block;
  width: min(720px, calc(100% - 48px));
  height: 18px;
  background: linear-gradient(90deg, #e9eef5 25%, #f8fafc 50%, #e9eef5 75%);
  background-size: 200% 100%;
  animation: project-skeleton-pulse 1.4s ease-in-out infinite;
}

.project-detail-state-loading > span {
  height: 230px;
}

.project-detail-state-loading > strong {
  width: min(520px, calc(100% - 48px));
  height: 30px;
}

.project-detail-state-loading > i {
  height: 12px;
}

.project-detail-state-loading > i:last-child {
  width: min(420px, calc(100% - 48px));
}

.project-detail-state-error {
  border-color: #fecaca;
  background: #fffafa;
}

.project-detail-state-error > span {
  color: var(--danger);
  font: 700 12px/1 var(--font);
  letter-spacing: 0.12em;
}

.project-detail-state-error h1,
.project-detail-state-error p {
  margin: 0;
}

.project-detail-state-error p {
  max-width: 560px;
  color: var(--text-muted);
}

.detail-environment-boundary,
.detail-delivery-boundary {
  color: var(--text-muted);
}

.detail-delivery-boundary:not(li) {
  padding: 22px;
  border: 1px dashed var(--line-strong);
  background: var(--surface-soft);
}

.detail-delivery-boundary:not(li) strong,
.detail-delivery-boundary:not(li) p {
  display: block;
  margin: 0;
}

.detail-delivery-boundary:not(li) p {
  margin-top: 8px;
}

.similar-projects-state {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-muted);
}

.similar-projects-state-error {
  border-color: #fed7aa;
  background: #fffaf5;
}

.checkout-boundary {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(14, 165, 233, 0.26);
  background: rgba(14, 165, 233, 0.08);
  color: #b8e9ff;
  font-size: 12px;
  line-height: 1.65;
}

/* C3 D6: 订单与资源加载状态 */
.account-list-state {
  display: grid;
  min-height: 240px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 36px 24px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.account-list-state > span:first-child {
  color: var(--cyan-dark);
  font: 700 12px/1 var(--font);
  letter-spacing: 0.12em;
}

.account-list-state h2,
.account-list-state p {
  margin: 0;
}

.account-list-state p {
  max-width: 520px;
  color: var(--text-muted);
}

.account-list-state > i {
  width: min(520px, calc(100% - 32px));
  height: 12px;
  background: linear-gradient(90deg, #e9eef5 25%, #f8fafc 50%, #e9eef5 75%);
  background-size: 200% 100%;
  animation: project-skeleton-pulse 1.4s ease-in-out infinite;
}

.order-list-state-error,
.resource-list-state-error {
  border-color: #fecaca;
  background: #fffafa;
}

.order-list-state-error > span:first-child,
.resource-list-state-error > span:first-child {
  color: var(--danger);
}

@media (prefers-reduced-motion: reduce) {
  .account-list-state > i {
    animation: none;
  }
}

/* C3 D7: 用户资料与推广中心状态 */
.user-center-state {
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 40px 24px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.user-center-state > span:first-child {
  color: var(--cyan-dark);
  font: 700 12px/1 var(--font);
  letter-spacing: 0.12em;
}

.user-center-state h2,
.user-center-state p {
  margin: 0;
}

.user-center-state p {
  max-width: 520px;
  color: var(--text-muted);
}

.user-center-state > i {
  width: min(560px, calc(100% - 32px));
  height: 12px;
  background: linear-gradient(90deg, #e9eef5 25%, #f8fafc 50%, #e9eef5 75%);
  background-size: 200% 100%;
  animation: project-skeleton-pulse 1.4s ease-in-out infinite;
}

.profile-content-state-error,
.brokerage-content-state-error {
  border-color: #fecaca;
  background: #fffafa;
}

.profile-content-state-error > span:first-child,
.brokerage-content-state-error > span:first-child {
  color: var(--danger);
}

@media (prefers-reduced-motion: reduce) {
  .user-center-state > i {
    animation: none;
  }
}

@media (max-width: 760px) {
  .similar-projects-state {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-detail-state-loading > span,
  .project-detail-state-loading > strong,
  .project-detail-state-loading > i {
    animation: none;
  }
}
