/* ============================================================
   官网 / 注册 / 后台 / 扫码
   ============================================================ */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------- 顶部导航 ------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 234, 242, 0.9);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-2);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link-plain {
  font-size: 14px;
  color: var(--ink-2);
  padding: 0 6px;
}

/* ------------------------------- 首屏 ------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 12% -10%, #1e4b96 0%, transparent 55%),
    radial-gradient(900px 500px at 88% 8%, #123a72 0%, transparent 60%),
    linear-gradient(160deg, #0c2340 0%, #10305c 55%, #0d2a4e 100%);
  color: #fff;
  padding: 78px 0 104px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 420px at 70% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.5px;
  color: #d7e4fb;
  letter-spacing: 0.01em;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: 46px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #6ee7a8, #25d366 55%, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.75;
  color: #c3d3e9;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.hero-cta .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.hero-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-note {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12.5px;
  color: #9fb6d4;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-note i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.18);
  color: var(--wa);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 9px;
}

/* 首屏右侧产品预览 */

.mock {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(4, 16, 32, 0.42);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}

.mock-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f5f7fb;
  border-bottom: 1px solid var(--line-2);
}

.mock-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8dfeb;
}

.mock-bar span {
  margin-left: 8px;
  font-size: 11px;
  color: #9aa6b8;
}

.mock-body {
  display: grid;
  grid-template-columns: 132px 1fr;
  height: 356px;
  color: var(--ink);
}

.mock-list {
  border-right: 1px solid var(--line-2);
  background: #fafbfe;
  padding: 8px;
  overflow: hidden;
}

.mock-item {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px 6px;
  border-radius: 8px;
}

.mock-item.active {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mock-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(140deg, #cdd9ef, #9db4d8);
}

.mock-av.g1 { background: linear-gradient(140deg, #c7e9d3, #7bc79a); }
.mock-av.g2 { background: linear-gradient(140deg, #d9d6f5, #a99fe8); }
.mock-av.g3 { background: linear-gradient(140deg, #f7dcc9, #e3a97e); }

.mock-item div {
  min-width: 0;
  flex: 1;
}

.mock-item b {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-item em {
  display: block;
  font-style: normal;
  font-size: 9px;
  color: #9aa6b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-chat {
  display: flex;
  flex-direction: column;
  background: #eef1f5;
  padding: 10px;
  gap: 8px;
}

.bubble {
  max-width: 78%;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 10.5px;
  line-height: 1.5;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.05);
}

.bubble.in {
  background: #fff;
  border-top-left-radius: 3px;
  align-self: flex-start;
}

.bubble.out {
  background: #d9fdd3;
  border-top-right-radius: 3px;
  align-self: flex-end;
}

.mock-typing {
  margin-top: auto;
  background: #fff;
  border-radius: 8px;
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 4px;
  font-size: 9.5px;
  color: #9aa6b8;
}

.mock-typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wa);
  animation: blink 1.2s infinite;
}

.mock-typing i:nth-child(2) { animation-delay: 0.2s; }
.mock-typing i:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 60%, 100% { opacity: 0.25; }
  30% { opacity: 1; }
}

/* ------------------------------- 数据条 ------------------------------- */

.stats {
  margin-top: -52px;
  position: relative;
  z-index: 2;
}

.stats-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 12px;
}

.stat {
  text-align: center;
  border-right: 1px solid var(--line-2);
}

.stat:last-child {
  border-right: none;
}

.stat b {
  display: block;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--brand-800);
  line-height: 1.2;
}

.stat span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ------------------------------- 通用区块 ------------------------------- */

.section {
  padding: 84px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
}

.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

/* 功能卡 */

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

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d8e2f5;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 19px;
  background: var(--brand-50);
  margin-bottom: 16px;
}

.feature-icon.wa {
  background: var(--wa-soft);
}

.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.72;
}

.feature .soon {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* 流程 */

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
}

.step-no {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand-800);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.step h4 {
  font-size: 15px;
  margin-bottom: 7px;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* 价格 */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.price-card.hot {
  border-color: var(--brand-600);
  box-shadow: 0 18px 44px rgba(20, 60, 119, 0.14);
  position: relative;
}

.price-card.hot::before {
  content: "最多人选";
  position: absolute;
  top: -11px;
  left: 26px;
  background: var(--brand-700);
  color: #fff;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
}

.price-card h4 {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}

.price {
  margin: 12px 0 4px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-900);
}

.price small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.price-list li {
  padding: 7px 0 7px 24px;
  position: relative;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--wa-soft);
  color: var(--wa-dark);
  font-size: 10px;
  display: grid;
  place-items: center;
}

/* 页脚 */

.footer {
  background: var(--brand-950);
  color: #8fa5c2;
  padding: 46px 0 34px;
  font-size: 13px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .logo {
  color: #fff;
}

.footer p {
  margin-top: 12px;
  max-width: 340px;
  line-height: 1.75;
}

.footer-cols {
  display: flex;
  gap: 60px;
}

.footer-cols h5 {
  color: #dbe6f5;
  font-size: 13px;
  margin: 0 0 12px;
  font-weight: 600;
}

.footer-cols a {
  display: block;
  padding: 5px 0;
}

.footer-cols a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #66799a;
  font-size: 12.5px;
}

/* ------------------------------- 注册 / 登录 ------------------------------- */

.auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
  background: radial-gradient(900px 420px at 50% -10%, #dce7fb 0%, transparent 62%),
    linear-gradient(180deg, #f3f7fe 0%, #f7f9fd 100%);
}

.auth-brand {
  margin-bottom: 22px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(12, 35, 64, 0.12);
  padding: 30px 32px 26px;
  position: relative;
}

.auth-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: #f4f6fa;
  color: #8b97a9;
  font-size: 16px;
  display: grid;
  place-items: center;
}

.auth-close:hover {
  background: #eceff6;
  color: var(--ink);
}

.auth-card h1 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.auth-card .sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 6px 0 24px;
}

.code-row {
  display: flex;
  gap: 10px;
}

.code-row .input {
  flex: 1;
}

.code-btn {
  width: 104px;
  flex: none;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #dfe6f2;
  background: #f7f9fd;
  color: var(--brand-600);
  font-size: 13px;
  font-weight: 500;
}

.code-btn:hover:not(:disabled) {
  border-color: #b9cdf0;
  background: #eff4ff;
}

.code-btn:disabled {
  color: var(--muted-2);
  cursor: not-allowed;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hint code {
  background: var(--brand-50);
  color: var(--brand-700);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.auth-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
}

.auth-foot a {
  color: var(--accent);
  font-weight: 500;
}

.auth-alert {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
  background: #fef3f2;
  color: #b3261e;
  border: 1px solid #fbdcd9;
}

.auth-alert.ok {
  background: #effaf3;
  color: #0f7a3d;
  border-color: #cfefdb;
}

/* 待开通页 */

.pending-card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(12, 35, 64, 0.12);
  padding: 38px 38px 32px;
  text-align: center;
}

.pending-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--brand-50);
}

.pending-card h1 {
  font-size: 21px;
}

.pending-card > p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 10px;
  line-height: 1.75;
}

.timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 30px 0 26px;
}

.tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-2);
  flex: none;
  width: 96px;
}

.tl-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef1f7;
  color: #6b7c93;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

.tl-item.done .tl-dot {
  background: var(--wa);
  color: #fff;
}

.tl-item.now .tl-dot {
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  animation: pulse 1.8s infinite;
}

.tl-item.done,
.tl-item.now {
  color: var(--ink-2);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 91, 224, 0.28); }
  70% { box-shadow: 0 0 0 9px rgba(47, 91, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 91, 224, 0); }
}

.tl-line {
  height: 2px;
  flex: 1;
  background: #eef1f7;
  margin-bottom: 26px;
  min-width: 20px;
}

.tl-line.done {
  background: var(--wa);
}

.pending-info {
  background: #f8fafd;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 22px;
}

.pending-info div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.pending-info span {
  color: var(--muted);
}

/* ------------------------------- 运营后台 ------------------------------- */

.admin-top {
  height: 62px;
  background: linear-gradient(90deg, var(--brand-900), var(--brand-700));
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 18px;
}

.admin-top .logo {
  color: #fff;
  font-size: 15px;
}

.admin-top .tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #cfe0f8;
}

.admin-top .right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #cfe0f8;
}

.admin-top .right button {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  height: 30px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 12.5px;
}

.admin-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-head h1 {
  font-size: 20px;
}

.admin-head p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.kpi span {
  font-size: 12.5px;
  color: var(--muted);
}

.kpi b {
  display: block;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--brand-800);
  margin-top: 4px;
}

.table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

table.data th {
  text-align: left;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--muted);
  background: #fafbfe;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

table.data td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}

table.data tr:last-child td {
  border-bottom: none;
}

table.data tr:hover td {
  background: #fcfdff;
}

.tenant-name {
  font-weight: 600;
  color: var(--ink);
}

.tenant-sub {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 2px;
}

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

.link-btn {
  border: none;
  background: none;
  color: var(--accent);
  font-size: 13px;
  padding: 4px 6px;
  border-radius: 6px;
}

.link-btn:hover {
  background: var(--brand-50);
}

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

.link-btn.danger:hover {
  background: #fef3f2;
}

.empty {
  padding: 56px 20px;
  text-align: center;
  color: var(--muted-2);
  font-size: 13.5px;
}

/* 弹窗 */

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 35, 64, 0.42);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 200;
}

.modal {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
}

.modal h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.modal .sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

/* ------------------------------- 扫码接入 ------------------------------- */

.connect-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(12, 35, 64, 0.12);
  overflow: hidden;
}

.connect-head {
  padding: 18px 26px;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafd;
}

.connect-head h2 {
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.connect-head .switch {
  font-size: 12.5px;
  color: var(--accent);
}

.connect-body {
  padding: 30px 26px 26px;
  text-align: center;
}

.qr-box {
  width: 248px;
  height: 248px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 10px;
  background: #fff;
  position: relative;
  display: grid;
  place-items: center;
}

.qr-box img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
}

.qr-mask {
  position: absolute;
  inset: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 16px;
}

.qr-mask b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 4px;
}

.qr-steps {
  margin: 22px 0 6px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.qr-steps b {
  color: var(--accent);
  font-weight: 600;
}

.qr-tip {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qr-tip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warn);
  animation: pulse2 1.6s infinite;
}

@keyframes pulse2 {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.connect-foot {
  border-top: 1px solid var(--line-2);
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbfe;
  font-size: 12.5px;
  color: var(--muted);
}

.demo-box {
  margin-top: 20px;
  border: 1px dashed #c9d6ef;
  background: #f7faff;
  border-radius: 12px;
  padding: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: left;
}

.demo-box b {
  color: var(--brand-700);
}

/* ---- 扫码页：代理 + 二维码 双栏 ---- */

.connect-wide {
  max-width: 940px;
}

.connect-grid {
  display: grid;
  grid-template-columns: 384px 1fr;
}

.pane {
  padding: 22px 24px 24px;
}

.pane-right {
  border-left: 1px solid var(--line-2);
  background: #fbfcfe;
  text-align: center;
}

.pane-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

.pane-head i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--brand-700);
  color: #fff;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.plabel {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 6px;
}

.pinput {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pinput:focus {
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px rgba(12, 60, 130, 0.08);
}

.proto-row {
  display: flex;
  gap: 8px;
}

.proto-btn {
  flex: 1;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}

.proto-btn.active {
  border-color: var(--brand-700);
  color: var(--brand-700);
  background: #eef4ff;
  font-weight: 600;
}

.quick-row {
  display: flex;
  gap: 8px;
}

.quick-row .pinput {
  flex: 1;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.proxy-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.proxy-actions .btn {
  flex: 1;
}

.test-result {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  min-height: 18px;
  word-break: break-all;
}

.test-result.ok {
  color: #0f7b3f;
}

.test-result.err {
  color: #c0392b;
}

.pane-hint {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.75;
  background: #f7f9fd;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 10px 12px;
}

.pane-hint + .pane-hint {
  margin-top: 8px;
}

.pane-hint-warn {
  background: #fffaf2;
  border-color: #f3ddb8;
  color: #8a5a12;
}

.pane-hint-warn b {
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  letter-spacing: 0.2px;
}

.direct-row {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}

.qr-stage {
  min-height: 292px;
  display: grid;
  place-items: center;
}

.empty-state {
  color: var(--muted);
  font-size: 13px;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 54px 0;
}

.qr-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  font-size: 12.5px;
}

.qr-foot a {
  color: var(--accent);
}

@media (max-width: 860px) {
  .connect-grid {
    grid-template-columns: 1fr;
  }

  .pane-right {
    border-left: none;
    border-top: 1px solid var(--line-2);
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .features,
  .pricing,
  .flow,
  .stats-card,
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .mock {
    transform: none;
  }

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

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--line-2);
    padding-bottom: 12px;
  }

  .stat:last-child {
    border-bottom: none;
  }

  .nav-links {
    display: none;
  }
}
