* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background: #eef0f7;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  /* 弹性居中：最大宽度限制 + 水平自动居中 */
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.headers {
  height: 64px;
  background-color: #fafafc;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}
.headers-title {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 30px;
  color: #333;
  font-weight: bold;
  cursor: pointer;
}
.headers-img {
  width: 54px;
  height: 54px;
}

/* ── Sidebar ── */
/* .sidebar {
  width: 28%;
  background: linear-gradient(to right, #f0f0f3, #ffffff);
  border-radius: 20px;
  margin: 84px 0 20px 20px;
  padding: 32px 20px 24px;
  height: calc(100vh - 20%);
  overflow-y: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
} */

.sidebar {
  width: 28%;
  background: linear-gradient(to right, #f0f0f3, #ffffff);
  border-radius: 20px;
  margin: 20px 0 20px 20px;
  padding: 32px 20px 24px;
  height: calc(100vh - 20%);
  overflow-y: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.sidebar h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  padding-bottom: 4px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ececec;
  border-radius: 4px;
  padding: 11px 12px;
  background: #ffffff;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.search-box svg {
  flex-shrink: 0;
  color: #aaa;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #333;
  width: 100%;
}

.search-box input::placeholder {
  color: #bbb;
}

.search-clear-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: none;
  background: #e7e7e7;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  padding: 0;
  transition:
    background 0.15s,
    opacity 0.15s;
  line-height: 1;
}

.search-clear-btn:hover {
  background: #e0e0e0;
}

.search-clear-btn.visible {
  display: flex;
}

nav #navList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

nav #navList li a {
  display: block;
  padding: 8px 10px 8px 20px;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  transition:
    background 0.18s,
    color 0.18s;
  cursor: pointer;
  position: relative;
}

nav #navList li.active a::before {
  content: "•";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  color: #c5bce8;
  font-size: 14px;
  line-height: 1;
}

nav #navList li a:hover {
  background: #f0eeff;
  color: #6c3fff;
}

nav #navList li a:hover::before {
  color: #6c3fff;
}

nav #navList li.active a {
  background: #ede8ff;
  color: #6c3fff;
  font-weight: 600;
}

nav #navList li.active a::before {
  color: #6c3fff;
}

/* ── Main content area ── */
.main {
  flex: 1;
  padding: 0px 16px 60px 16px;
  overflow-y: auto;
  height: 100vh;
  scrollbar-width: none;
}

.main::-webkit-scrollbar {
  display: none;
}

/* ── Content Panels ── */
.content-panel {
  display: none;
}

.content-panel.active {
  display: block;
}

#panel-manual {
  overflow: visible;
}

/* ── Hero / Home Panel ── */
/* .hero {
  display: flex;
  gap: 48px;
  padding: clamp(32px, 5vw, 84px) 0 0;
} */

.hero {
  display: flex;
  gap: 48px;
  padding: clamp(32px, 5vw, 73px) 0 0;
}

.hero-left {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0;
  overflow: visible;
}

.hero-left h1 {
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: clamp(20px, 2.5vw, 36px);
  margin-left: 40px;
}

.hero-qr-box {
  background: #f5f5f7;
  border-radius: 16px;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3.5vw, 48px)
    clamp(60px, 7vw, 94px) clamp(60px, 10vw, 148px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  min-height: clamp(320px, 35vw, 500px);
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 1;
}

.qr-title h3 {
  font-size: 32px;
  margin-bottom: 10px;
}

.qr-box .pc-logo-img {
  width: 100px;
  height: 100px;
}

.hero-qr-box p {
  font-size: clamp(13px, 1.3vw, 18px);
  font-weight: 500;
  color: #333;
  line-height: 1.6;
}

.hero-camera {
  position: absolute;
  right: clamp(-66px, -5.5vw, -78px);
  top: 36%;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-camera img {
  height: clamp(300px, 45vw, 650px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.4));
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #6c3fff;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.1s;
}

.hero-device {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a1a2e 0%, #2d2d4e 60%, #16213e 100%);
  border-radius: 20px;
  padding: 40px 48px;
  min-width: 320px;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

.hero-device::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(108, 63, 255, 0.35) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-device img {
  width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.55));
  position: relative;
  z-index: 1;
}

/* ── Section blocks ── */
.section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #ede8ff;
}

.section p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

.section ul,
.section ol {
  margin-bottom: 12px;
}

.section ul li,
.section ol li {
  font-size: 15px;
  color: #000;
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ── Features Panel ── */
.features-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.features-diagram {
  flex-shrink: 0;
}

.features-diagram img {
  width: 260px;
  object-fit: contain;
  border-radius: 12px;
}

.features-legend {
  flex: 1;
}

.features-legend h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
}

.features-legend ol {
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.features-legend ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  padding: 10px 14px;
  background: #f8f7ff;
  border-radius: 10px;
  border-left: 3px solid #6c3fff;
}

.features-legend ol li .num {
  background: #6c3fff;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── In the Box ── */
.inbox-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inbox-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #f8f7ff;
  border-radius: 10px;
  font-size: 15px;
  color: #444;
}

.inbox-list li .inbox-num {
  background: #6c3fff;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Indicator Light ── */
.indicator-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.indicator-diagram {
  flex-shrink: 0;
}

.indicator-diagram img {
  width: 200px;
  object-fit: contain;
  border-radius: 12px;
}

.indicator-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.indicator-item {
  padding: 14px 18px;
  border-radius: 10px;
  background: #f8f7ff;
}

.indicator-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 5px;
}

.indicator-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.indicator-item.red h4 {
  color: #d94040;
}

.indicator-item.blue h4 {
  color: #3355dd;
}

.indicator-item.red-blue h4 {
  color: #9933cc;
}

/* ── Recharge ── */
.recharge-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.recharge-images {
  flex-shrink: 0;
}

.recharge-images img {
  width: 240px;
  object-fit: contain;
  border-radius: 12px;
}

.recharge-steps {
  flex: 1;
}

/* ── Step list ── */
.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding: 14px 14px 14px 54px;
  background: #ede8ff;
  border-radius: 10px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  transform: none;
  background: #6c3fff;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.step-note {
  margin-top: 20px;
  padding: 12px 16px;
  background: #fff9e6;
  border-left: 4px solid #f5a623;
  border-radius: 8px;
  font-size: 15px;
  color: #7a5a00;
  line-height: 1.6;
}

/* ── Create Account ── */
.account-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.account-app-info {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #f8f7ff;
  border-radius: 16px;
  padding: 28px 24px;
  min-width: 180px;
}

.account-app-info .app-icon-wrap {
  background: #6c3fff;
  border-radius: 18px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}

.account-app-info .app-label {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.account-app-info .qr-label {
  font-size: 13px;
  color: #777;
  text-align: center;
  line-height: 1.5;
}

.account-steps {
  flex: 1;
}

.account-screen-grid {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 300px;
}

.account-screen-grid img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8f7ff;
}

#section-create-account .page-card-image {
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
}

#section-create-account .page-card-inner {
  flex-direction: column;
}

#section-create-account .page-card-image img {
  flex: 1;
  width: 0;
  max-height: 300px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8f7ff;
}

.page-card-images {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: flex-start;
}

.page-card-images img {
  flex: 1;
  max-width: 30%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 10px;
}

/* ── FAQ ── */
.faq-item {
  margin-bottom: 16px;
}

.faq-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
  padding-left: 10px;
  border-left: 3px solid #6c3fff;
}

.faq-item p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  padding-left: 14px;
  margin: 0;
}

.faq-sub-ol {
  margin: 10px 0 0 14px;
  padding-left: 18px;
  color: #444;
  font-size: 15px;
  line-height: 1.8;
}

.faq-sub-ol li {
  margin-bottom: 6px;
}

.faq-accuracy-table {
  margin: 14px 0 0 14px;
  border-collapse: collapse;
  width: calc(100% - 14px);
  font-size: 14px;
}

.faq-accuracy-table tr {
  border-bottom: 2px solid #ececec;
}

.faq-accuracy-table td {
  padding: 8px 12px;
  color: #444;
  font-size: 15px;
  line-height: 1.8;
  vertical-align: top;
}

.faq-accuracy-table td:first-child {
  white-space: nowrap;
  color: #333;
  min-width: 130px;
  font-size: 15px;
  line-height: 1.8;
}

.faq-accuracy-table td:nth-child(2) {
  color: #aaa;
  padding: 8px 6px;
  min-width: 20px;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.contact-card {
  background: #f8f7ff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-card .label {
  font-size: 12px;
  color: #aaa;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card .value {
  font-size: 15px;
  color: #333;
  font-weight: 600;
}

/* ── Compliance badge ── */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.badge {
  background: #ede8ff;
  color: #6c3fff;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #d0c8f0;
  border-radius: 3px;
}

.manual-section {
  margin-bottom: 40px;
  scroll-margin-top: 56px;
}

/* ── Download bar ── */
.panel-download-bar {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  padding: 12px 0 4px;
}

.page-back-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #eef0f7;
}

.page-back-bar-btn{
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  width: 100%;
  border: none;
  font-size: 15px;
  color: #4a4a6a;
  font-family: inherit;
  transition: background 0.18s;
  height: 40px;
  padding-left: 16px;
  margin-top: 20px;
}

.page-back-bar svg {
  flex-shrink: 0;
}

#section-install .step-list li:nth-child(1) {
  margin-top: 32px;
}

#section-install .step-list li:nth-child(2) {
  margin-top: 132px;
}

.install-img-small {
  height: 160px;
  object-fit: contain;
}

.step-list-from-4 {
  counter-reset: step 3;
}

#backBar {
  display: none;
}

.sidebar-back-btn {
  display: none;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  padding-left: 42px;
}

.page-card {
  background: #f5f5f7;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.page-card-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-card-text {
  width: 100%;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.page-card-image {
  flex-shrink: 0;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 0 auto;
}

.setup-image{
  width: 430px;
}

.page-card-image-features{
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 0 auto;
  max-width: 450px;
}

.page-card-image img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 10px;
}

.page-card-image-features .features-img{
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 10px;
}

.page-card-imaged {
  flex-shrink: 0;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 0 auto;
}

.page-card-imaged img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 10px;
}

.page-num-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.page-num-list li {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  padding: 1px 0;
}

.indicator-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}

.indicator-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #eee;
}

.indicator-table td {
  padding: 12px 14px;
  font-size: 15px;
  color: #444;
  border-bottom: 2px solid #eee;
  vertical-align: top;
  line-height: 1.6;
}

.indicator-table tr:last-child td {
  border-bottom: none;
}

.indicator-table .led-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.dot-red {
  background: #e53935;
}

.dot-blue {
  background: #1e88e5;
}

.dot-purple {
  background: #8e24aa;
}

.dot-off {
  background: #ccc;
  border: 1px solid #bbb;
}

#section-setup .step-list li {
  padding-left: 16px;
}

#section-setup .step-list li::before {
  display: none;
}

#section-setup .step-list > li {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.sub-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-list li {
  position: relative;
  padding: 4px 0 4px 16px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  background: none;
  border-radius: 0;
}

.sub-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #222;
}

.setup-group-divider {
  padding-bottom: 28px;
  align-items: flex-end;
}

.install-img-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.install-img-row img {
  flex: 1;
  min-width: 0;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8f7ff;
}

.col-layout {
  flex-direction: column;
  gap: 28px;
}

.col-layout-sm {
  flex-direction: column;
  gap: 16px;
}

.col-layout-lg {
  flex-direction: column;
  gap: 20px;
}

.contact-img-wrap {
  flex-shrink: 0;
  width: 240px;
}

.contact-img-wrap img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-email-link {
  color: #dd1b0d;
  font-weight: 500;
  text-decoration: none;
}

/* ── FCC / EU-UK 内容块 ── */
.compliance-logo {
  display: block;
  margin-bottom: 12px;
}

.compliance-logo-sm {
  width: 64px;
  display: block;
}

.compliance-logo-md {
  width: 72px;
}

.compliance-logo-lg {
  width: 80px;
}

.compliance-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.compliance-sub-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 18px 0 6px;
}

.compliance-text {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin: 0;
}

.compliance-text-top {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin: 0;
  margin-top: 10px;
}

.compliance-text-sm {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  margin-top: 16px;
}

.compliance-text-top-sm {
  font-size: 15px;
  color: #444;
  margin-top: 12px;
}

.compliance-product-info {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin: 0;
}

.compliance-product-info + .compliance-product-info {
  margin-top: 8px;
}

.compliance-std-list {
  margin: 4px 0 0 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.compliance-std-list li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}

.compliance-measure-list {
  margin: 10px 0 0 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compliance-measure-list li {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}

.compliance-divider {
  height: 1px;
  background: #f0eeff;
}

.disposal-text {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin: 0;
}

.faq-item-note {
  padding-top: 26px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 299;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-overlay.visible {
  display: block;
}

.nav-overlay.active {
  opacity: 1;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 300;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.nav-drawer.visible {
  display: flex;
}

.nav-drawer.active {
  transform: translateY(0);
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1.5px solid #f0eeff;
  flex-shrink: 0;
}

.nav-drawer-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
}

.nav-drawer-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f5f2ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6c3fff;
  flex-shrink: 0;
}

.nav-drawer-search {
  padding: 14px 20px 10px;
  flex-shrink: 0;
}

.nav-drawer-search .search-box {
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #ede8ff;
  background: #faf9ff;
  box-shadow: none;
}

.nav-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 4px 16px 32px;
}

.nav-drawer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-drawer-nav ul li a {
  display: flex;
  align-items: center;
  padding: 5px 14px 5px 18px;
  border-radius: 10px;
  font-size: 23px;
  color: #444;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
  position: relative;
}

.nav-drawer-nav ul li a:active {
  background: #ede8ff;
  color: #6c3fff;
}

.nav-drawer-nav ul li.active a {
  background: linear-gradient(90deg, #ede8ff 0%, #f5f2ff 100%);
  color: #6c3fff;
  font-weight: 600;
}

.nav-drawer-nav ul li.active a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  border-radius: 0 3px 3px 0;
}

.nav-data {
  flex: 1;
  overflow-y: auto;
  width: 100%;
  position: fixed;
  top: 55px;
  padding: 10px 20px 0 20px;
  z-index: 299;
  display: none;
  height: 54px;
  background-color: #eef0f7;
}

.nav-data .data-ul {
  list-style: none;
  position: relative;
  background: #fff;
  border-radius: 38px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.nav-data .data-ul li {
  display: inline-block;
  transition: transform 0.5s ease;
}

.nav-data .data-ul li a {
  display: flex;
  align-items: center;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 400;
  color: #56565c;
  text-decoration: none;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.nav-data .data-ul li a:active {
  background: #6c3fff;
  color: #fff;
}

.nav-data .data-ul li.active a {
  background: #6c3fff;
  color: #fff;
  text-shadow: 0 0 1px currentColor;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); */
}

.user-guide {
  font-size: clamp(20px, 6vw, 28px);
  color: #1a1a2e;
  font-weight: 700;
  margin-bottom: 8px;
}

.manual-ul {
  list-style: none;
  padding: 0 10px;
}

.manual-ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  padding: 0 15px;
  height: 32px;
}

.manual-ul li a {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #000;
  text-decoration: none;
  position: relative;
}

.manual-ul > .active {
  background: #6c3fff;
}

.manual-ul > .active a {
  color: #fff;
  font-weight: bold;
}

.sidebar-search-inline {
  display: none;
}

.sidebar-search-pc {
  display: flex;
}

/* 汉堡按钮在 PC / 笔记本默认隐藏 */
.sidebar-toggle {
  display: none;
}

.floating-download {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #6c3fff;
  color: #fff;
  border-radius: 30px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(108, 63, 255, 0.38);
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.floating-download:hover {
  background: #5429e0;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 32px rgba(108, 63, 255, 0.48);
}

@media (min-width: 1400px) {
  html {
    background: #eef0f7;
  }
}

@media (max-width: 1024px) {
  body {
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    min-height: unset;
    max-width: 100%;
    scrollbar-width: none;
  }

  body::-webkit-scrollbar {
    display: none;
  }

  .sidebar {
    width: 100%;
    border-radius: 0;
    margin: 0;
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    overflow: hidden;
    flex-direction: row;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    flex-wrap: nowrap;
    transition: none;
    transform: translateZ(0);
    will-change: transform;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  }

  .main {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    height: 0; /* 配合 flex:1 撑满剩余高度，同时触发内部滚动 */
    padding-top: 56px;
    padding-bottom: 0px;
    /* iOS 惯性滚动 */
    -webkit-overflow-scrolling: touch;
    /* 防止 iOS 滚动到边界时弹回触发页面跳顶 */
    overscroll-behavior-y: contain;
  }

  .sidebar-search-inline {
    display: flex;
    flex: 1;
    min-width: 0;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1.5px solid #ede8ff;
    background: #faf9ff;
    box-shadow: none;
  }

  .sidebar-search-pc {
    display: none;
  }

  .sidebar nav {
    display: none;
  }

  nav .nav-drawer-nav {
    display: flex !important;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    padding: 4px 16px 32px;
  }

  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #6c3fff;
    padding: 0;
  }

  #panel-manual {
    overflow: visible;
    max-width: 100%;
  }

  .hero {
    min-height: auto;
    flex-direction: column;
    gap: 20px;
    padding: 0px;
  }

  .hero-left h1 {
    font-size: clamp(22px, 5vw, 32px);
    margin-left: 0;
    margin-bottom: 20px;
  }

  .hero-qr-box {
    padding: clamp(32px, 3vw, 28px) clamp(16px, 3vw, 24px)
      clamp(32px, 7vw, 56px);
    min-height: clamp(220px, 35vw, 320px);
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-camera {
    /* right: clamp(-16px, -2.5vw, -24px); */
    top: 50%;
  }

  .hero-camera img {
    height: clamp(200px, 38vw, 340px);
  }

  .qr-box img {
    width: clamp(80px, 13vw, 130px) !important;
  }

  .page-title {
    font-size: clamp(18px, 3.5vw, 22px);
    padding-left: 0;
    margin-bottom: 12px;
  }

  .page-card {
    padding: clamp(14px, 2.5vw, 20px) clamp(12px, 2.5vw, 18px);
  }

  .page-card-inner {
    flex-direction: column;
    gap: 20px;
  }

  .page-card-image {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 12px;
    min-height: 150px;
  }

  .page-card-imaged {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    height: auto;
    margin-bottom: 8px;
  }

  .page-card-images {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  #section-guide .page-title {
    font-size: clamp(20px, 6vw, 28px);
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 8px;
  }

  #section-create-account .page-card-image {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 16px;
  }

  #section-create-account .page-card-image img {
    flex: 1 1 40%;
    max-height: 200px;
  }

  .install-img-row {
    flex-wrap: wrap;
  }

  .install-img-row img {
    flex: 1 1 45%;
    height: clamp(120px, 18vw, 160px);
  }

  .page-back-bar {
    display: none !important;
  }

  .sidebar-back-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #6c3fff;
    padding: 0;
    border-radius: 8px;
    transition: background 0.15s;
  }

  .sidebar-back-btn:hover {
    background: #f0eeff;
  }

  .sidebar-back-btn.visible {
    display: flex;
  }

  .contact-img-wrap {
    width: 100%;
    min-height: 335px;
    margin-bottom: 10px;
  }

  .contact-img-wrap img {
    max-width: 280px;
    display: block;
    margin: 0 auto;
  }

  .manual-section {
    scroll-margin-top: 116px;
  }

  .step-list .red-step {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  #section-install .step-list li:nth-child(1) {
    margin-top: 0;
  }

  #section-install .step-list li:nth-child(2) {
    margin-top: 0px;
  }

  #section-install .step-list li:nth-child(3) {
    margin-top: 0px;
  }
}

@media (max-width: 600px) {
  .hero-camera img {
    height: clamp(300px, 42vw, 240px);
  }

  .hero-qr-box {
    min-height: clamp(180px, 38vw, 260px);
  }

  .hero-left h1 {
    font-size: clamp(20px, 6vw, 28px);
  }

  .hero-qr-box .qr-title h3 {
    font-size: 18px;
  }

  .qr-box img {
    width: 60px !important;
    height: 60px !important;
  }

  .page-title {
    font-size: clamp(16px, 4.5vw, 20px);
  }

  .page-card {
    padding: clamp(12px, 3vw, 16px) clamp(10px, 3vw, 14px);
    border-radius: 12px;
  }

  .page-card-image img {
    max-width: 100%;
  }

  .light-img{
    max-height: 250px !important;
  }

  .page-card-images img {
    flex: 1;
    max-width: 50%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
  }

  #section-guide .page-title {
    font-size: clamp(20px, 6vw, 28px);
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 8px;
  }

  #section-create-account .page-card-image img {
    flex: 1 1 46%;
    max-height: clamp(130px, 32vw, 180px);
  }

  #section-wireless .flooter-note {
    font-size: clamp(13px, 3.2vw, 14px);
    margin-bottom: 10px;
  }

  .step-list li {
    font-size: clamp(13px, 3.2vw, 14px);
    padding: clamp(9px, 2.5vw, 12px) clamp(9px, 2.5vw, 12px)
      clamp(9px, 2.5vw, 12px) clamp(38px, 11vw, 48px);
  }

  .step-list .sub-li {
    padding: 0;
    line-height: 20px;
  }

  .step-list li::before {
    width: clamp(20px, 6vw, 26px);
    height: clamp(20px, 6vw, 26px);
    font-size: clamp(13px, 2.8vw, 12px);
    left: clamp(9px, 2.5vw, 12px);
    top: clamp(10px, 2.8vw, 14px);
  }

  .step-list .red-step {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  #section-install .step-list li:nth-child(1) {
    margin-top: 0;
  }

  #section-install .step-list li:nth-child(2) {
    margin-top: 0px;
  }

  #section-install .step-list li:nth-child(3) {
    margin-top: 0px;
  }

  .indicator-table td,
  .indicator-table th {
    font-size: clamp(13px, 2.8vw, 13px);
    padding: clamp(6px, 1.8vw, 8px) clamp(6px, 2vw, 10px);
  }

  .faq-item h4 {
    font-size: clamp(13px, 3.2vw, 14px);
  }

  .faq-item p,
  .faq-sub-ol {
    font-size: clamp(13px, 2.8vw, 13px);
  }

  .faq-accuracy-table td {
    font-size: clamp(13px, 2.8vw, 13px);
    padding: 6px 6px;
  }

  .faq-accuracy-table td:first-child {
    min-width: clamp(80px, 22vw, 110px);
  }

  .compliance-text,
  .compliance-text-top,
  .compliance-product-info,
  .compliance-std-list li,
  .compliance-measure-list li {
    font-size: clamp(13px, 3vw, 14px);
  }

  .compliance-section-title,
  .compliance-sub-title {
    font-size: clamp(13px, 3.2vw, 15px);
  }

  .install-img-row img {
    flex: 1 1 100%;
    height: clamp(110px, 30vw, 140px);
  }

  .contact-img-wrap img {
    max-width: clamp(160px, 50vw, 220px);
  }

  .btn-download {
    padding: 10px 20px;
    font-size: 13px;
  }

  .floating-download {
    padding: clamp(9px, 2.5vw, 11px) clamp(16px, 5vw, 22px);
    font-size: clamp(13px, 3.2vw, 14px);
    border-radius: 24px;
    bottom: 20px;
  }

  .manual-section {
    margin-bottom: clamp(20px, 5vw, 32px);
  }
  .guide-step-desc {
    font-size: 13px !important;
  }

  .page-card-text {
    font-size: 13px !important;
  }

  .page-num-list li {
    font-size: 13px !important;
  }

  .disposal-text {
    font-size: 13px !important;
  }
  .nav-data {
    display: block;
    background-color: #eef0f7;
  }

  .main {
    padding-top: 110px;
    padding-bottom: 0px;
  }
}

/* ── Quick Start Guide ── */
.guide-steps {
  display: block;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
}

.guide-step-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1.5px solid #ede8ff;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  width: auto;
  margin-bottom: 10px;
}

/* .guide-step-card:hover {
  box-shadow: 0 6px 20px rgba(108, 63, 255, 0.14);
  transform: translateY(-2px);
} */

.guide-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-step-num {
  background: #6c3fff;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  position: absolute;
  left: -5px;
  top: -4px;
}

.guide-step-icon {
  font-size: 22px;
  line-height: 1;
}

.guide-step-body {
  flex: 1;
}

.guide-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 28px;
}

.guide-step-desc {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.guide-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5bce8;
  font-size: 28px;
  font-weight: 300;
  padding: 0 6px;
  flex-shrink: 0;
  align-self: center;
}

.guide-images {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 4px;
  align-items: center;
}

.guide-images img {
  flex: 1;
  max-width: 450px;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 12px;
}

.guide-images .logo-img {
  width: 50px;
  height: 50px;
}
.guide-images .btn-download{
  height: 40px;
}

@media (max-width: 1024px) {
  .guide-steps {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: -10px;
  }

  .guide-step-card {
    flex: 1 1 calc(50% - 10px);
    min-width: 140px;
    flex-direction: column;
  }

  .guide-step-arrow {
    display: none;
  }

  .guide-images img {
    max-width: 100%;
    max-height: 220px;
  }
}

@media (max-width: 600px) {
  .guide-steps {
    margin-bottom: -10px;
  }

  .guide-step-card {
    flex: 1 1 100%;
    flex-direction: column;
  }

  .guide-images {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-around;
  }

  .guide-images .logo-img {
    width: 50px;
    height: 50px;
  }
  .guide-images .btn-download{
    height: 40px;
  }
}

#section-manual {
  display: none;
}

/* ── 移动端 Tab 切换 ── */
@media (max-width: 1024px) {
  /* 默认隐藏 guide 和 manual tab 区块，以及所有详情区块 */
  #section-home,
  #section-guide,
  #section-manual,
  .detail-section {
    display: none !important;
  }

  /* Tab 激活时显示 */
  #section-home.tab-active,
  #section-guide.tab-active,
  #section-manual.tab-active {
    display: block !important;
  }

  /* manual tab 激活时，同步显示详情区块 */
  body.tab-manual .detail-section {
    display: block !important;
  }
}
