:root {
  --hd-blue: #1f80ff;
  --hd-blue-dark: #0b3b7a;
  --hd-navy: #061f43;
  --hd-green: #2ecc71;
  --hd-orange: #f39c12;
  --hd-red: #e74c3c;
  --hd-purple: #8e44ad;
  --hd-cyan: #1abc9c;
  --hd-ink: #202a3a;
  --hd-muted: #6b778c;
  --hd-line: #e8eef6;
  --hd-bg: #f4f7fb;
  --hd-shadow: 0 18px 48px rgba(16, 50, 94, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--hd-bg);
  color: var(--hd-ink);
  font-family: "Lato", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

a {
  text-decoration: none;
}

.navbar-hengdao {
  min-height: 74px;
  border: 0;
  border-bottom: 1px solid rgba(232, 238, 246, 0.95);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(14, 42, 78, 0.06);
  backdrop-filter: blur(14px);
}

.navbar-hengdao .nav-link {
  color: #34495e;
  font-weight: 700;
}

.navbar-hengdao .nav-link:hover,
.navbar-hengdao .nav-link.active {
  color: var(--hd-blue);
}

.navbar-toggler {
  border-color: #d9e3f0;
}

.navbar-toggler-icon {
  width: 24px;
  height: 18px;
  background-image: linear-gradient(#34495e, #34495e), linear-gradient(#34495e, #34495e),
    linear-gradient(#34495e, #34495e);
  background-position: 0 0, 0 8px, 0 16px;
  background-repeat: no-repeat;
  background-size: 24px 2px;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.row.g-3,
.row.g-4,
.row.g-5 {
  margin-right: -12px;
  margin-left: -12px;
  row-gap: 24px;
}

.row.g-3 > *,
.row.g-4 > *,
.row.g-5 > * {
  padding-right: 12px;
  padding-left: 12px;
}

.row.g-4,
.row.g-5 {
  row-gap: 32px;
}

.text-lg-end {
  text-align: right;
}

.brand-logo {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--hd-blue-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.brand-logo::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 9px;
  height: 28px;
  border-radius: 10px 10px 0 0;
  background: #ff3d68;
  transform: rotate(18deg);
}

.brand-logo::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 10px;
  width: 18px;
  height: 24px;
  border: 6px solid var(--hd-blue);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 18px 0 0;
}

.brand-copy strong,
.brand-copy small {
  display: block;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--hd-ink);
  font-size: 17px;
  font-weight: 900;
}

.brand-copy small {
  color: var(--hd-muted);
  font-size: 12px;
}

.btn-flat {
  border: 0;
  border-radius: 6px;
  font-weight: 800;
}

.btn-primary.btn-flat {
  background: var(--hd-blue);
  box-shadow: 0 12px 26px rgba(31, 128, 255, 0.25);
}

.btn-primary.btn-flat:hover {
  background: #126bdc;
}

.btn-outline-flat {
  border: 1px solid #cfe0f5;
  background: #fff;
  color: var(--hd-blue-dark);
}

.nav-text-link {
  color: var(--hd-blue-dark);
  font-weight: 800;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 132px 0 84px;
  background:
    linear-gradient(115deg, #f7fbff 0%, #eef6ff 42%, #ffffff 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -15% -48% 52%;
  height: 520px;
  background: radial-gradient(circle, rgba(31, 128, 255, 0.22), rgba(31, 128, 255, 0));
  pointer-events: none;
}

.fw-black {
  font-weight: 950;
  letter-spacing: 0;
}

.hero-lead {
  color: var(--hd-muted);
  max-width: 650px;
}

.label-flat {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.label-blue {
  background: var(--hd-blue);
}

.label-green {
  background: var(--hd-green);
}

.label-orange {
  background: var(--hd-orange);
}

.label-purple {
  background: var(--hd-purple);
}

.label-light {
  background: rgba(255, 255, 255, 0.18);
}

.hero-mini-stats > div {
  min-height: 76px;
  padding: 15px;
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  background: #fff;
}

.hero-mini-stats strong,
.hero-mini-stats span {
  display: block;
}

.hero-mini-stats strong {
  color: var(--hd-blue-dark);
  font-size: 22px;
  line-height: 1.1;
}

.hero-mini-stats span {
  color: var(--hd-muted);
  font-size: 13px;
}

.product-stage {
  position: relative;
  z-index: 1;
}

.pc-preview-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #d9e6f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--hd-shadow);
}

.pc-preview-image img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: left top;
}

.pc-preview-image figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 31, 67, 0.78);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.pc-preview-missing {
  display: none;
  min-height: 360px;
  padding: 34px;
  border: 1px dashed #b7c8dc;
  border-radius: 8px;
  background: #fff;
  color: var(--hd-muted);
  box-shadow: var(--hd-shadow);
}

.pc-preview-missing i,
.pc-preview-missing strong,
.pc-preview-missing span {
  display: block;
}

.pc-preview-missing i {
  margin-bottom: 16px;
  color: var(--hd-blue);
  font-size: 46px;
}

.pc-preview-missing strong {
  margin-bottom: 8px;
  color: var(--hd-ink);
  font-size: 22px;
}

.product-stage.is-missing-image .pc-preview-missing {
  display: block;
}

.product-stage.is-missing-image .pc-preview-image {
  display: none;
}

.pc-panel {
  overflow: hidden;
  border: 1px solid #d9e6f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--hd-shadow);
}

.pc-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--hd-line);
  color: #5d6d7e;
  font-size: 13px;
}

.pc-titlebar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d2ddec;
}

.pc-body {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 430px;
  background: #eff3f8;
}

.pc-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 12px;
  background: var(--hd-navy);
  color: #a7bdd8;
}

.pc-sidebar i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 18px;
}

.pc-sidebar i.active {
  background: var(--hd-blue);
  color: #fff;
}

.pc-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, #ff3d68 0 28%, transparent 29%),
    radial-gradient(circle at 70% 58%, transparent 0 20%, #2388ff 21% 44%, transparent 45%),
    #0d3a78;
}

.pc-content {
  min-width: 0;
  padding: 16px;
}

.welcome-card,
.mock-card,
.data-card,
.chart-card {
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  background: #fff;
}

.welcome-card {
  padding: 16px;
}

.mock-card,
.data-card,
.chart-card {
  padding: 16px;
}

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

.shortcut-grid span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
}

.data-card i {
  font-size: 24px;
}

.data-card strong,
.data-card span {
  display: block;
}

.data-card strong {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1;
}

.data-card span {
  color: var(--hd-muted);
  font-size: 13px;
}

.chart-card {
  min-height: 156px;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 18px;
  height: 102px;
  padding: 12px 18px 0;
  border-left: 2px solid var(--hd-blue);
  border-bottom: 2px solid var(--hd-blue);
  background: repeating-linear-gradient(to top, #fafbfd 0 24px, #e6ebf2 25px 26px);
}

.chart-bars span {
  width: 34px;
  background: var(--hd-red);
}

.chart-bars .purchase {
  background: #27ae60;
}

.phone-preview {
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 180px;
  overflow: hidden;
  border: 8px solid #13243c;
  border-radius: 30px;
  background: #13243c;
  box-shadow: 0 24px 48px rgba(19, 36, 60, 0.28);
}

.phone-preview img {
  width: 100%;
  aspect-ratio: 9 / 18.8;
  object-fit: cover;
  border-radius: 20px;
}

.trust-strip {
  border-top: 1px solid var(--hd-line);
  border-bottom: 1px solid var(--hd-line);
  background: #fff;
}

.trust-strip i {
  color: var(--hd-blue);
  font-size: 24px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-top: 8px;
  font-size: 17px;
}

.trust-strip span {
  color: var(--hd-muted);
  font-size: 13px;
}

.section-block {
  padding: 88px 0;
  background: #fff;
}

.section-gray {
  background: var(--hd-bg);
}

.section-title {
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-title h2 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 950;
  letter-spacing: 0;
}

.section-title p,
.section-copy {
  color: var(--hd-muted);
  font-size: 18px;
}

.card-flat {
  height: 100%;
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 48, 91, 0.08);
}

.feature-card,
.scene-card,
.price-card {
  padding: 28px;
}

.feature-card > i,
.scene-card > i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
  font-size: 22px;
}

.feature-card h3,
.scene-card h3,
.price-card h3 {
  font-size: 22px;
  font-weight: 900;
}

.feature-card p,
.scene-card p,
.price-card p,
.accordion-body {
  color: var(--hd-muted);
}

.scene-card > i {
  background: var(--hd-blue);
}

.mobile-list li {
  margin: 14px 0;
  color: #334155;
}

.mobile-list i {
  color: var(--hd-green);
  margin-right: 8px;
}

.phone-row {
  align-items: center;
}

.phone-shot {
  margin: 0;
  text-align: center;
}

.phone-shot img {
  width: 100%;
  border: 7px solid #13243c;
  border-radius: 28px;
  background: #13243c;
  aspect-ratio: 9 / 18.8;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(19, 36, 60, 0.18);
}

.phone-shot.elevated {
  transform: translateY(-24px);
}

.phone-shot figcaption {
  margin-top: 12px;
  color: var(--hd-muted);
  font-weight: 900;
}

.price-card {
  position: relative;
}

.price-card.featured {
  border-color: rgba(31, 128, 255, 0.45);
  box-shadow: var(--hd-shadow);
}

.price-card .badge {
  position: absolute;
  top: 22px;
  right: 22px;
  border-radius: 999px;
}

.price-card strong {
  display: block;
  margin: 22px 0 16px;
  color: var(--hd-blue-dark);
  font-size: 30px;
}

.price-card ul {
  min-height: 112px;
  padding-left: 20px;
  color: #334155;
}

.demo-section {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--hd-blue-dark), #102f5e);
}

.demo-box {
  padding: 46px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--hd-shadow);
}

.demo-box p {
  color: #d8eaff;
}

.demo-box .form-label {
  color: #eef7ff;
  font-weight: 900;
}

.demo-box .form-control,
.demo-box .form-select {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
}

.form-select {
  display: block;
  width: 100%;
  padding: 0.375rem 2rem 0.375rem 0.75rem;
  color: #495057;
  background: #fff;
}

.form-message {
  color: #d8eaff;
}

.scan-note {
  margin-top: 14px;
  color: #d8eaff;
}

.scan-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  border-radius: 10px !important;
  background: #fff;
  box-shadow: 0 24px 70px rgba(6, 31, 67, 0.24);
}

.scan-modal .modal-dialog {
  width: min(430px, calc(100vw - 32px));
  max-width: 430px;
  margin: 7vh auto;
}

.scan-modal-head {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  padding: 14px 58px;
  border: 0 !important;
  background: #fff;
}

.scan-modal .modal-body {
  padding: 4px 28px 30px;
}

.scan-modal h3 {
  margin: 4px 0 18px;
  color: var(--hd-ink);
  font-size: 24px;
  font-weight: 950;
}

.scan-modal p {
  max-width: 330px;
  margin: 18px auto 0;
  color: var(--hd-muted);
}

.mini-code {
  display: block;
  width: min(280px, 72vw);
  max-height: 52vh;
  margin: 0 auto;
  border: 1px solid var(--hd-line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.scan-close {
  position: absolute;
  top: 50%;
  right: 18px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f0f4f8;
  color: #526173;
  font-size: 22px;
  line-height: 30px;
  transform: translateY(-50%);
  cursor: pointer;
}

.scan-close:hover {
  background: #e3ebf5;
}

.faq-accordion {
  max-width: 920px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--hd-line);
  border-radius: 8px !important;
  background: #fff;
}

.faq-accordion .accordion-header {
  margin: 0;
}

.faq-accordion .accordion-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 22px 58px 22px 24px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--hd-ink) !important;
  font-family: inherit !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.faq-accordion .accordion-button::after {
  content: "\f107";
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--hd-muted);
  font-family: FontAwesome;
  font-size: 18px;
  transform: translateY(-50%) rotate(180deg);
  transition: transform 0.2s ease;
}

.faq-accordion .accordion-button.collapsed::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-accordion .accordion-button:focus {
  outline: 0;
  box-shadow: inset 3px 0 0 var(--hd-blue);
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--hd-blue-dark) !important;
  background: #edf6ff !important;
}

.faq-accordion .accordion-body {
  padding: 0 24px 22px;
  font-size: 17px;
}

.site-footer {
  padding: 38px 0;
  color: #d9e8fa;
  background: var(--hd-navy);
}

.site-footer p,
.site-footer span {
  color: #9bb4d1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #d9e8fa;
  font-weight: 800;
}

.bg-belize {
  background: #2980b9 !important;
}

.bg-nephritis {
  background: #27ae60 !important;
}

.bg-carrot {
  background: #e67e22 !important;
}

.bg-alizarin {
  background: #e74c3c !important;
}

.bg-wisteria {
  background: #8e44ad !important;
}

.bg-turquoise {
  background: #1abc9c !important;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 16px 0 8px;
  }

  .hero-section {
    padding-top: 118px;
  }

  .product-stage {
    min-height: 0;
  }

  .phone-preview {
    width: 150px;
  }

  .phone-shot.elevated {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .hero-section,
  .section-block,
  .demo-section {
    padding-left: 4px;
    padding-right: 4px;
  }

  .hero-section {
    padding-top: 108px;
  }

  .display-4 {
    font-size: 2.45rem;
  }

  .product-stage {
    min-height: 0;
    margin-inline: -10px;
  }

  .pc-preview-image img {
    min-height: 220px;
  }

  .pc-body {
    grid-template-columns: 58px 1fr;
    min-height: 330px;
  }

  .pc-sidebar {
    gap: 10px;
    padding: 12px 8px;
  }

  .pc-sidebar i {
    width: 34px;
    height: 34px;
  }

  .pc-content {
    padding: 10px;
  }

  .pc-content .alert,
  .welcome-card {
    font-size: 12px;
  }

  .pc-content .col-5,
  .pc-content .col-7 {
    width: 100%;
  }

  .shortcut-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .data-card,
  .chart-card {
    display: none;
  }

  .phone-preview {
    right: 12px;
    width: 132px;
  }

  .phone-row {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
  }

  .phone-row > div {
    flex: 0 0 68%;
    max-width: 68%;
  }

  .price-card ul {
    min-height: auto;
  }

  .demo-box {
    padding: 28px 18px;
  }

  .footer-links {
    gap: 12px;
  }

  .text-lg-end {
    text-align: left;
  }
}
