:root {
  --ink: #17201f;
  --ink-soft: #34413f;
  --paper: #f7f6f1;
  --surface: #ffffff;
  --surface-muted: #eeeee8;
  --line: #dcded6;
  --line-strong: #b9beb5;
  --accent: #d95738;
  --accent-dark: #b7432a;
  --teal: #15746d;
  --teal-soft: #dceee9;
  --gold: #d9a441;
  --text: #17201f;
  --muted: #63706c;
  --radius-sm: 4px;
  --radius: 6px;
  --shadow: 0 12px 32px rgba(23, 32, 31, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
::selection { color: #fff; background: var(--accent); }

.navbar {
  min-height: 72px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 241, 0.96) !important;
  box-shadow: none;
}
.navbar.navbar-scrolled { box-shadow: 0 3px 12px rgba(23, 32, 31, 0.06); }
.navbar-brand-text { color: var(--ink); font-size: 1rem; font-weight: 800; letter-spacing: .04em; }
.brand-mark {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; border-radius: 50%; background: var(--accent); box-shadow: none;
}
.brand-mark i { font-size: .9rem; }
.navbar .nav-link {
  margin: 0 2px; padding: 25px 10px !important; color: var(--ink-soft) !important;
  border-bottom: 3px solid transparent; font-size: .85rem; font-weight: 600;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--ink) !important; border-color: var(--accent); }
.navbar .nav-link::after { display: none; }
.navbar .nav-link-cta { color: var(--accent-dark) !important; }
.navbar-toggler { border-radius: var(--radius-sm); border-color: var(--line-strong); }

.consult-dock { position: fixed; z-index: 1050; right: 20px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.float-consult-btn, .consult-dock-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: 4px; text-decoration: none; font-size: .82rem; font-weight: 800;
  transition: transform .18s ease, background .18s ease;
}
.float-consult-btn { color: #fff; background: var(--ink); box-shadow: 0 8px 20px rgba(23, 32, 31, .18); }
.consult-dock-link { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(23, 32, 31, .08); }
.float-consult-btn:hover, .consult-dock-link:hover { color: #fff; background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(217, 87, 56, .22); }
.float-consult-btn::before, .float-consult-btn::after { display: none; }

.hero-section, .page-banner {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink);
}
.hero-section { padding: 110px 0; }
.page-banner { padding: 64px 0 58px; margin-bottom: 42px; text-align: left; }
.hero-section::before, .hero-section::after, .page-banner::before, .page-banner::after { display: none; }
.hero-section h1, .page-banner h1 { max-width: 820px; margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 800; letter-spacing: .02em; text-shadow: none; }
.page-banner h1 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.hero-section .lead, .page-banner p { max-width: 600px; margin: 18px 0 0; color: #c9d0cc; }
.hero-section::marker { display: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #d5dcd8; font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.eyebrow-dark { color: var(--accent); }
.section-title { margin-bottom: 28px; padding: 0; color: var(--ink); text-align: left; font-size: 1.8rem; font-weight: 800; }
.section-title::after { display: none; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2, .home-intro-band h2 { margin: 8px 0 0; color: var(--ink); font-size: clamp(1.55rem, 2.5vw, 2.35rem); font-weight: 800; letter-spacing: .01em; line-height: 1.35; }
.section-heading-centered { align-items: center; flex-direction: column; text-align: center; }
.section-heading-centered p { max-width: 530px; color: var(--muted); margin: 0; }
.section-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-dark); font-size: .85rem; font-weight: 800; text-decoration: none; }
.section-link:hover { color: var(--ink); }

.btn { border-radius: var(--radius-sm); padding: .58rem 1rem; font-size: .9rem; font-weight: 800; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { border-color: var(--accent); background: var(--accent); box-shadow: none; }
.btn-primary:hover, .btn-primary:focus { border-color: var(--accent-dark); background: var(--accent-dark); box-shadow: none; filter: none; }
.btn-outline-primary { color: var(--ink); border-color: var(--ink); }
.btn-outline-primary:hover { border-color: var(--ink); background: var(--ink); box-shadow: none; }
.btn-light { color: var(--ink); box-shadow: none; }
.btn-outline-light:hover { color: var(--ink); background: #fff; }
.btn-lg { padding: .75rem 1.25rem; border-radius: var(--radius-sm); }

#homeCarousel { background: var(--ink); }
.carousel-media { width: 100%; height: min(680px, calc(100vh - 72px)); min-height: 480px; object-fit: cover; opacity: .65; }
#homeCarousel .carousel-caption { right: 0; bottom: 0; left: 0; top: 0; display: flex; align-items: center; padding: 0; text-align: left; background: linear-gradient(90deg, rgba(23,32,31,.88) 0%, rgba(23,32,31,.52) 48%, rgba(23,32,31,.06) 100%); }
.hero-copy { max-width: 650px; padding: 52px 0; }
.hero-copy h1 { margin: 12px 0; color: #fff; font-size: clamp(2.2rem, 4.5vw, 4.4rem); font-weight: 800; line-height: 1.16; letter-spacing: .01em; }
.hero-copy p { max-width: 530px; margin: 0 0 24px; color: #d4ddd7; font-size: 1.1rem; }
#homeCarousel .carousel-indicators { z-index: 4; justify-content: flex-start; width: min(1140px, calc(100% - 24px)); margin: 0 auto 28px; }
#homeCarousel .carousel-indicators [data-bs-target] { width: 28px; height: 3px; margin: 0 4px 0 0; border: 0; border-radius: 0; }
#homeCarousel .carousel-control-prev, #homeCarousel .carousel-control-next { width: 7%; }

.home-intro-band { padding: 48px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics-grid > div { padding: 15px 20px; border-right: 1px solid var(--line); }
.metrics-grid > div:last-child { border-right: 0; }
.metrics-grid strong { display: block; color: var(--accent); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.metrics-grid span { color: var(--muted); font-size: .78rem; }
.business-section { background: var(--surface-muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; background: var(--surface); }
.system-card { position: relative; height: 100%; overflow: hidden; border-radius: var(--radius); transition: border-color .2s ease, transform .2s ease; }
.system-card::before { display: none; }
.system-card:hover { border-color: var(--ink); box-shadow: none; transform: translateY(-3px); }
.system-card .card-body { padding: 18px; }
.system-card .card-title { color: var(--ink); font-weight: 800; }
.system-card .card-text { line-height: 1.6; }
.media-frame { position: relative; height: 200px; overflow: hidden; background: #dfe3df; }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.system-card:hover .media-frame img, .system-card:hover .media-frame video { transform: scale(1.025); }
.media-badge { position: absolute; top: 12px; left: 12px; padding: 4px 7px; border-radius: 3px; background: rgba(23, 32, 31, .82); color: #fff; font-size: .7rem; font-weight: 800; backdrop-filter: none; }
.video-placeholder { height: 200px; background: var(--ink); font-size: .85rem; }
.price-tag { color: var(--accent); background: none; -webkit-text-fill-color: currentColor; font-size: 1.25rem; font-weight: 800; }
.biz-feature { height: 100%; padding: 30px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: none; transition: border-color .2s ease; }
.biz-feature:hover { border-color: var(--ink); box-shadow: none; transform: none; }
.biz-feature .biz-icon { width: auto; height: auto; margin: 0 0 20px; justify-content: flex-start; border-radius: 0; background: transparent; box-shadow: none; color: var(--accent); font-size: 2rem; }

.form-control, .form-select { min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .6rem .75rem; }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(21, 116, 109, .14); }
.form-label { color: var(--ink); font-size: .85rem; font-weight: 800; }
.form-required::after { color: var(--accent); }

.purchase-intro { margin: -10px 0 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); }
.purchase-intro p { max-width: 620px; }
.purchase-steps { display: flex; justify-content: flex-end; gap: 14px; color: var(--ink); font-size: .75rem; font-weight: 800; white-space: nowrap; }
.purchase-steps span { display: inline-flex; align-items: center; gap: 5px; }
.purchase-steps b { color: var(--accent); }
.selectable-card.is-selected { border: 2px solid var(--teal); box-shadow: none; }
.system-select-control { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-muted); cursor: pointer; }
.system-select-control input { position: absolute; opacity: 0; }
.select-control-icon { width: 23px; height: 23px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); }
.system-select-control strong, .system-select-control small { display: block; }
.system-select-control strong { color: var(--ink); font-size: .83rem; }
.system-select-control small { color: var(--muted); font-size: .72rem; }
.system-select-control input:checked + .select-control-icon { color: #fff; border-color: var(--teal); background: var(--teal); }
.system-select-control input:checked + .select-control-icon i::before { content: "\F26A"; }
.purchase-summary { position: sticky; bottom: 16px; z-index: 15; padding: 26px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); backdrop-filter: none; }
.purchase-summary-head, .purchase-summary-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.purchase-summary h2 { margin: 4px 0 0; color: var(--ink); font-size: 1.35rem; font-weight: 800; }
.summary-total { display: flex; flex-direction: column; align-items: flex-end; }
.summary-total span { color: var(--muted); font-size: .8rem; }
.summary-selection { display: flex; flex-wrap: wrap; gap: 7px; min-height: 44px; padding: 14px 0; margin-top: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.selected-system-pill, .selection-placeholder { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 3px; background: var(--teal-soft); color: #125e58; font-size: .78rem; font-weight: 800; }
.selection-placeholder { background: transparent; color: var(--muted); font-weight: 600; }
.form-inline-message { margin: 0; color: var(--accent-dark); font-size: .82rem; font-weight: 700; }

.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: .84rem; font-weight: 800; text-decoration: none; }
.back-link:hover { color: var(--accent-dark); }
.detail-title { margin: 8px 0 0; color: var(--ink); font-size: clamp(1.85rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.28; }
.detail-summary { color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }
.detail-main-media { width: 100%; max-height: 500px; object-fit: contain; border-radius: var(--radius); background: var(--ink); box-shadow: none; }
.detail-media-stage { min-height: 330px; }
.detail-thumbnail-list { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-thumb { width: 72px; height: 54px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--radius-sm); background: var(--ink); color: #fff; cursor: pointer; }
.detail-thumb:hover, .detail-thumb:focus-visible, .detail-thumb.is-active { border-color: var(--accent); outline: none; }
.detail-thumb img, .detail-thumb span { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; object-fit: cover; }
.detail-content-body { color: var(--ink-soft); line-height: 1.9; }
.detail-content-body h2, .detail-content-body h3, .detail-content-body h4 { color: var(--ink); font-weight: 800; margin: 2rem 0 .85rem; }
.detail-content-body blockquote { padding: 14px 18px; border-left: 3px solid var(--accent); border-radius: 0; background: var(--surface-muted); }
.detail-content-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.detail-content-body table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; }
.detail-content-body th, .detail-content-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.detail-content-body th { background: var(--surface-muted); color: var(--ink); }

.announcement-item { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.announcement-item:hover { padding-left: 10px; background: transparent; }
footer.site-footer { margin-top: 72px; padding: 58px 0 24px; color: #b8c1bc; background: var(--ink); }
footer.site-footer::before { display: none; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1rem; }
.footer-intro { max-width: 330px; color: #aeb9b2; margin: 18px 0; }
.footer-action { color: #fff !important; font-size: .85rem; font-weight: 800; }
footer.site-footer h6 { color: #fff; margin-bottom: 15px; font-size: .85rem; font-weight: 800; }
footer.site-footer a { color: #b8c1bc; text-decoration: none; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .col-lg-2 a, footer.site-footer .col-lg-3 a { display: block; margin-bottom: 9px; font-size: .84rem; }
footer.site-footer p { color: #aeb9b2; font-size: .84rem; margin-bottom: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid #3e4946; color: #84908a; font-size: .75rem; }
.payment-test-card { position: relative; padding: 38px 30px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.payment-test-card::before { display: none; }
.payment-test-badge, .payment-kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 5px 8px; border-radius: 3px; background: #fff1e9; color: var(--accent-dark); font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.payment-kicker { background: var(--teal-soft); color: #125e58; }
.reveal-up { opacity: 1; transform: none; transition: none; }

@media (max-width: 1199.98px) {
  .navbar .navbar-collapse { padding: 12px 0 16px; }
  .navbar .nav-link { padding: 10px !important; border-bottom: 0; }
  .navbar .nav-link:hover, .navbar .nav-link.active { background: var(--surface-muted); border-color: transparent; }
}
@media (max-width: 768px) {
  .navbar { min-height: 62px; }
  .hero-section { padding: 76px 0; }
  .page-banner { padding: 48px 0 44px; margin-bottom: 28px; }
  .metrics-grid > div { padding: 12px 10px; }
  .metrics-grid strong { font-size: 1.5rem; }
  .section-heading, .purchase-summary-head, .purchase-summary-footer { align-items: flex-start; flex-direction: column; }
  .purchase-summary { position: static; padding: 20px; }
  .summary-total { align-items: flex-start; }
  .consult-dock { right: 14px; bottom: 18px; }
  .float-consult-btn { width: 42px; height: 42px; justify-content: center; padding: 0; border-radius: 50%; }
  .float-consult-btn span, .consult-dock-link { display: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}
