:root {
  --bg: #f5f7fb;
  --bg-strong: #111827;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-dark: rgba(255, 255, 255, 0.08);
  --ink: #162033;
  --ink-soft: #647084;
  --line: rgba(22, 32, 51, 0.12);
  --line-strong: rgba(22, 32, 51, 0.22);
  --accent: #0f8b8d;
  --accent-soft: #e4f4f3;
  --accent-deep: #075e62;
  --gold: #c79a3b;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(17, 24, 39, 0.12);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shell: 1180px;
  --font-body: "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --font-heading: "Alibaba PuHuiTi", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-label: "DIN Alternate", "Bahnschrift", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-legal: "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(135deg, rgba(15, 139, 141, 0.08) 0%, transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 58%, #eef3f8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 72%);
}

body.auth-modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

#site-header,
#site-footer {
  position: relative;
  z-index: 10;
}

.shell {
  width: min(100% - 32px, var(--shell));
  margin: 0 auto;
}

.shell-wide {
  width: min(100% - 24px, 1320px);
}

.site-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 42px rgba(17, 24, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-conveyor {
  position: relative;
  display: grid;
  grid-template-columns: 46px 92px 54px minmax(170px, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 430px;
  padding: 10px 20px 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(7, 94, 98, 0.22);
  border-radius: 4px 28px 4px 28px;
  background:
    linear-gradient(135deg, rgba(7, 94, 98, 0.98), rgba(17, 24, 39, 0.98) 36%, rgba(255, 255, 255, 0.92) 36.4%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52), 0 14px 34px rgba(17, 24, 39, 0.1);
}

.brand-conveyor::before,
.brand-conveyor::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.brand-conveyor::before {
  left: 48px;
  right: 48%;
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 10px, transparent 10px 18px);
  opacity: 0.55;
}

.brand-conveyor::after {
  right: 0;
  top: 0;
  bottom: 0;
  width: 38px;
  background: linear-gradient(135deg, transparent 0 48%, rgba(15, 139, 141, 0.12) 49% 100%);
}

.brand-dock {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 58px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08);
  font-family: var(--font-label);
  font-weight: 900;
}

.brand-dock b {
  font-size: 13px;
  line-height: 1;
}

.brand-dock i {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-style: normal;
}

.brand-flow {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
}

.brand-flow i {
  width: 16px;
  height: 16px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.brand-sigil {
  display: grid;
  place-items: center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 0;
  background: transparent;
}

.brand-mark svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 10px 18px rgba(17, 24, 39, 0.16));
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-copy strong {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.15;
}

.brand-copy small {
  color: var(--accent-deep);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 900;
}

.brand-copy em {
  color: var(--ink-soft);
  font-size: 12px;
  font-style: normal;
}

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

.site-nav a {
  position: relative;
  padding: 8px 2px;
  color: var(--ink-soft);
  font-family: var(--font-label);
  font-weight: 700;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.entry-button {
  display: inline-grid;
  grid-template-columns: 36px auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(15, 139, 141, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(228, 244, 243, 0.86)),
    repeating-linear-gradient(135deg, rgba(15, 139, 141, 0.08) 0 1px, transparent 1px 8px);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(15, 139, 141, 0.16);
}

.entry-button .entry-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
}

.entry-button .entry-mark::before,
.entry-button .entry-mark::after {
  content: "";
  position: absolute;
  background: #fff;
}

.entry-button .entry-mark::before {
  left: 9px;
  right: 9px;
  top: 11px;
  height: 4px;
}

.entry-button .entry-mark::after {
  left: 16px;
  top: 8px;
  bottom: 8px;
  width: 4px;
}

.entry-button strong,
.entry-button small {
  display: block;
  text-align: left;
  line-height: 1.2;
}

.entry-button strong {
  font-family: var(--font-label);
  font-size: 13px;
}

.entry-button small {
  margin-top: 3px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
}

.user-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 139, 141, 0.1);
  color: var(--accent-deep);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-label);
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(15, 139, 141, 0.22);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button-text {
  min-height: auto;
  padding: 0;
  color: var(--accent-deep);
  font-weight: 800;
}

.hero,
.inner-hero,
.section {
  position: relative;
}

.hero {
  padding: 76px 0 38px;
}

.hero-grid,
.inner-grid,
.about-home,
.contact-home,
.payment-layout,
.contact-layout,
.text-layout,
.auth-layout,
.profile-layout,
.product-detail-hero {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: stretch;
}

.hero-copy h1,
.inner-hero h1,
.auth-copy h1 {
  margin: 0;
  max-width: 920px;
  font-family: var(--font-heading);
  font-size: clamp(2.65rem, 4.2vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead,
.inner-hero p,
.auth-copy p,
.section-head p {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.85;
}

.eyebrow,
.footer-kicker,
.card-kicker {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-family: var(--font-label);
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
}

.hero-actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-actions {
  margin-top: 18px;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.hero-trust-grid article,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-trust-grid article {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.hero-trust-grid strong {
  color: var(--bg-strong);
  font-size: 1.08rem;
  line-height: 1.35;
}

.hero-trust-grid span {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-panel,
.hero-note,
.payment-action,
.capability-panel,
.product-detail-side {
  padding: 28px;
}

.capability-note-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.capability-note-list article {
  padding: 16px;
  border: 1px solid rgba(15, 139, 141, 0.14);
  border-radius: var(--radius-md);
  background: rgba(228, 244, 243, 0.36);
}

.capability-note-list strong,
.capability-note-list p {
  margin: 0;
}

.capability-note-list strong {
  color: var(--accent-deep);
  font-family: var(--font-label);
}

.capability-note-list p {
  margin-top: 8px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.stage-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.inner-hero {
  padding: 58px 0 20px;
}

.inner-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.88fr);
  align-items: end;
}

.section {
  padding: 26px 0 42px;
}

.section-soft {
  background: linear-gradient(180deg, rgba(231, 242, 244, 0.72), rgba(255, 255, 255, 0.22));
}

.section-dark {
  background: linear-gradient(180deg, #111827 0%, #172235 100%);
  color: var(--white);
}

.section-dark .section-head p,
.section-dark .panel-copy p,
.section-dark .hero-note p,
.section-dark .chip-row span {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .panel,
.section-dark .case-card {
  background: var(--surface-dark);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.preview-grid,
.product-grid,
.card-grid,
.case-grid,
.download-grid,
.contact-cards,
.policy-layout {
  display: grid;
  gap: 18px;
}

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

.card-grid,
.case-grid,
.download-grid,
.contact-cards,
.product-grid,
.about-home,
.payment-layout,
.text-layout,
.contact-layout,
.auth-layout,
.profile-layout,
.product-detail-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.panel img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: calc(var(--radius-xl) - 4px);
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #f7fafc);
}

.panel-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.panel-copy h3,
.hero-note strong,
.payment-action h3,
.auth-panel h1,
.auth-panel h3,
.footer-grid h2,
.contact-panel h3,
.record-panel h3,
.product-detail-side h3 {
  margin: 0;
}

.panel-copy h3 {
  font-size: 1.42rem;
  line-height: 1.24;
}

.panel-copy p,
.payment-action p,
.product-detail-side p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.solution-tag {
  color: var(--accent-deep) !important;
  font-weight: 800;
}

.chip-row,
.chip-column {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-column {
  align-content: start;
}

.chip-row span,
.chip-column span {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
}

.case-card img {
  aspect-ratio: 16 / 10;
}

.download-card .bullet-list,
.payment-preview .bullet-list,
.full-section .bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.download-card.is-compact .bullet-list {
  display: none;
}

.product-card {
  overflow: hidden;
}

.product-link {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 100%;
}

.product-cover {
  min-height: 100%;
  background: #f8fafc;
}

.product-cover img {
  height: 100%;
  min-height: 176px;
  aspect-ratio: auto;
  object-fit: contain;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #f7fafc);
}

.product-detail-main {
  overflow: hidden;
}

.product-detail-side {
  align-self: start;
  display: grid;
  gap: 16px;
}

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

.detail-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 20px;
}

.about-long-copy {
  position: relative;
  overflow: hidden;
}

.about-long-copy::before {
  content: "";
  position: absolute;
  right: 28px;
  top: 28px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(15, 139, 141, 0.18);
  background:
    linear-gradient(90deg, transparent 48%, rgba(15, 139, 141, 0.18) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(15, 139, 141, 0.18) 48% 52%, transparent 52%);
  opacity: 0.7;
}

.mini-card-grid,
.process-strip {
  display: grid;
  gap: 16px;
}

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

.mini-card {
  padding: 22px;
}

.mini-card h3,
.process-strip strong,
.contact-service-panel h3 {
  margin: 0;
}

.mini-card p,
.process-strip p,
.contact-service-panel p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.process-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-strip article {
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
}

.process-strip span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 900;
}

.contact-card-grid {
  align-content: start;
}

.contact-panel,
.contact-service-panel {
  min-height: 0;
}

.contact-panel h3 {
  font-size: 1.22rem;
  line-height: 1.45;
  word-break: break-word;
}

.contact-service-panel {
  padding: 26px;
}

.contact-panel,
.contact-form,
.auth-panel,
.record-panel {
  padding: 28px;
}

.profile-layout {
  grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.2fr) minmax(300px, 0.88fr);
  align-items: start;
}

.profile-command {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 18px;
  padding: 26px;
  overflow: hidden;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(7, 94, 98, 0.98), rgba(17, 24, 39, 0.98) 58%, rgba(15, 139, 141, 0.9)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: 0 26px 60px rgba(7, 94, 98, 0.18);
}

.profile-command::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.profile-badge {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px 6px 18px 6px;
  background: rgba(255, 255, 255, 0.12);
}

.profile-badge span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--accent-deep);
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35em;
  font-weight: 900;
}

.profile-command h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.6em;
}

.profile-command .card-kicker,
.profile-command .profile-account {
  color: rgba(255, 255, 255, 0.72);
}

.profile-account {
  margin: -8px 0 0;
}

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

.profile-status-grid article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.profile-status-grid strong {
  font-family: var(--font-label);
  font-size: 1.55em;
}

.profile-status-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82em;
}

.profile-service-route {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.profile-service-route span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.profile-service-route i {
  width: 2px;
  height: 18px;
  background: rgba(255, 255, 255, 0.28);
}

.profile-command .button {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.profile-editor {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 250, 0.82)),
    radial-gradient(circle at top right, rgba(15, 139, 141, 0.12), transparent 42%);
}

.profile-section-head,
.profile-activity-head {
  display: grid;
  gap: 8px;
}

.profile-section-head h3,
.profile-activity-head h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.55em;
}

.profile-section-head p:not(.card-kicker) {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

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

.profile-form-grid label:nth-child(3),
.profile-form-grid label:nth-child(4) {
  grid-column: span 2;
}

.profile-save-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.profile-activity {
  display: grid;
  gap: 16px;
}

.profile-activity-head {
  padding: 0 4px;
}

.profile-record-card {
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.record-timeline {
  position: relative;
}

.record-timeline article {
  position: relative;
  padding-left: 64px;
}

.record-timeline article::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(15, 139, 141, 0.12);
}

.contact-form,
.auth-form,
.profile-form {
  display: grid;
  gap: 14px;
}

.contact-form label,
.auth-form label,
.profile-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.auth-form input,
.profile-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 16px;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.auth-form input:focus,
.profile-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 139, 141, 0.1);
}

.form-note,
.realname-hint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.realname-hint {
  color: var(--accent-deep);
  font-weight: 700;
}

.agree-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  line-height: 1.7;
}

.agree-line input {
  width: auto;
  margin-top: 5px;
}

.agree-line a {
  color: var(--accent-deep);
  font-weight: 800;
}

.auth-wrap {
  padding: 54px 0 64px;
}

.auth-copy {
  padding: 12px 0;
}

.auth-panel {
  max-width: 560px;
  justify-self: end;
  display: grid;
  gap: 14px;
}

.auth-switch {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(22, 32, 51, 0.06);
}

.auth-switch button {
  min-width: 92px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
}

.auth-switch .is-active {
  background: var(--bg-strong);
  color: var(--white);
}

.auth-dialog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.auth-dialog-links button {
  border: 0;
  padding: 0;
  color: var(--accent-deep);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.machine-code-box {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px dashed rgba(42, 102, 160, 0.36);
  background: rgba(42, 102, 160, 0.08);
}

.machine-code-box span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.machine-code-box strong {
  color: var(--ink);
  font-size: 1.45rem;
  letter-spacing: 0;
}

.is-hidden {
  display: none !important;
}

.payment-preview {
  overflow: hidden;
}

.payment-preview img {
  aspect-ratio: 16 / 9;
}

.payment-action {
  align-self: start;
  display: grid;
  gap: 14px;
}

.is-locked {
  position: relative;
}

.is-locked::after {
  content: "付费核验后查看完整公司方案";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(245, 247, 251, 0.82), rgba(245, 247, 251, 0.96));
  color: var(--accent-deep);
  font-size: 1.18rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(10px);
}

.text-stack,
.record-list {
  display: grid;
  gap: 14px;
}

.full-section {
  padding: 24px;
}

.full-section h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.full-section p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-family: var(--font-legal);
  line-height: 1.9;
}

.record-panel {
  align-self: start;
}

.record-list article {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.record-list strong {
  color: var(--ink);
}

.record-list span,
.record-list small {
  color: var(--ink-soft);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
}

.auth-modal.open {
  display: block;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.56);
}

.auth-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(540px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.26);
  padding: 30px;
}

.auth-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 32, 51, 0.06);
  color: var(--ink);
  font-size: 24px;
}

.auth-modal-head {
  padding-right: 42px;
}

.auth-modal-head h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.auth-modal-head p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.payment-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: none;
}

.payment-qr-modal.open {
  display: block;
}

.payment-qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.62);
  backdrop-filter: blur(8px);
}

.payment-qr-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  gap: 20px;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 250, 0.96)),
    repeating-linear-gradient(135deg, rgba(15, 139, 141, 0.05) 0 1px, transparent 1px 12px);
  box-shadow: 0 30px 96px rgba(0, 0, 0, 0.28);
  padding: 30px;
}

.payment-qr-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 32, 51, 0.06);
  color: var(--ink);
  font-size: 24px;
}

.payment-qr-head {
  padding-right: 42px;
}

.payment-qr-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.2;
}

.payment-qr-head p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.payment-qr-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.payment-qr-code {
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(15, 139, 141, 0.2);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: inset 0 0 0 6px rgba(15, 139, 141, 0.05);
}

.payment-qr-code img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.payment-qr-summary {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(22, 32, 51, 0.1);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.payment-qr-summary span,
.payment-qr-summary small {
  color: var(--ink-soft);
}

.payment-qr-summary strong {
  color: var(--accent-deep);
  font-family: var(--font-heading);
  font-size: 2.3rem;
  line-height: 1;
}

.payment-qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-main {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 86% 20%, rgba(15, 139, 141, 0.34), transparent 28%),
    linear-gradient(135deg, #07111d 0%, #121b2a 48%, #08252a 100%);
}

.footer-main::before {
  content: "";
  position: absolute;
  inset: -20% -8% auto auto;
  width: 52%;
  height: 140%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 28px);
  transform: skewX(-18deg);
  opacity: 0.66;
}

.footer-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  padding: 72px 0 34px;
}

.footer-lead {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-kicker {
  margin: 0;
  color: #6ee7d8;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.footer-lead h2,
.footer-lead p,
.terminal-row span,
.terminal-row strong,
.footer-bottom span {
  margin: 0;
}

.footer-lead h2 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
}

.footer-lead p {
  max-width: 560px;
  line-height: 1.9;
}

.footer-legal-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.footer-legal-line a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.footer-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 640px;
}

.footer-link-grid a {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-label);
  font-size: 13px;
}

.footer-link-grid a:hover {
  color: var(--white);
  border-color: rgba(110, 231, 216, 0.44);
}

.footer-terminal {
  display: grid;
  gap: 1px;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.terminal-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 24px;
  background: rgba(3, 12, 25, 0.42);
}

.terminal-row span {
  color: #6ee7d8;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.terminal-row strong {
  color: var(--white);
  line-height: 1.7;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .site-bar {
    grid-template-columns: 1fr;
  }

  .brand-conveyor {
    min-width: 0;
    width: min(100%, 520px);
  }

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

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

  .hero-grid,
  .inner-grid,
  .about-home,
  .contact-home,
  .payment-layout,
  .contact-layout,
  .text-layout,
  .auth-layout,
  .profile-layout,
  .product-detail-hero,
  .about-detail-grid,
  .mini-card-grid,
  .process-strip,
  .preview-grid,
  .card-grid,
  .case-grid,
  .download-grid,
  .product-grid,
  .contact-cards,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .profile-command {
    position: relative;
    top: auto;
  }

  .profile-form-grid,
  .profile-save-row {
    grid-template-columns: 1fr;
  }

  .profile-form-grid label:nth-child(3),
  .profile-form-grid label:nth-child(4) {
    grid-column: auto;
  }

  .auth-panel {
    max-width: none;
    justify-self: stretch;
  }

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

@media (max-width: 820px) {
  .hero {
    padding-top: 44px;
  }

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

  .product-link {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .button,
  .auth-switch button {
    width: 100%;
  }

  .site-actions,
  .hero-actions,
  .section-actions,
  .card-actions,
  .payment-qr-actions {
    width: 100%;
    flex-direction: column;
  }

  .site-actions .button,
  .site-actions .entry-button,
  .hero-actions .button,
  .card-actions .button,
  .payment-qr-actions .button {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell,
  .shell-wide {
    width: min(100% - 20px, var(--shell));
  }

  .hero-copy h1,
  .inner-hero h1,
  .auth-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .brand-conveyor {
    grid-template-columns: 42px 50px minmax(0, 1fr);
    border-radius: var(--radius-lg);
    background:
      linear-gradient(135deg, rgba(7, 94, 98, 0.98), rgba(17, 24, 39, 0.98) 42%, rgba(255, 255, 255, 0.92) 42.4%),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 18px);
  }

  .brand-flow {
    display: none;
  }

  .brand-sigil {
    order: 2;
  }

  .brand-copy {
    order: 3;
  }

  .brand-plate::after {
    display: none;
  }

  .identity-rail {
    display: none;
  }

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

  .hero-panel,
  .hero-note,
  .payment-action,
  .capability-panel,
  .contact-panel,
  .contact-form,
  .auth-panel,
  .full-section,
  .record-panel,
  .product-detail-side,
  .auth-dialog,
  .payment-qr-dialog {
    padding: 22px;
  }

  .payment-qr-body {
    grid-template-columns: 1fr;
  }

  .payment-qr-code {
    width: min(100%, 240px);
    margin: 0 auto;
  }
}
