/* TuTu Whitelist — 产品官网（白色主题） */
.home-page {
  --home-bg: #ffffff;
  --home-bg-soft: #f8fafc;
  --home-surface: #ffffff;
  --home-border: #e2e8f0;
  --home-text: #0f172a;
  --home-muted: #64748b;
  --home-accent: #2563eb;
  --home-accent-2: #16a34a;
  --home-glow: rgba(37, 99, 235, 0.18);
  --home-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
  min-height: 100vh;
  background: var(--home-bg);
  color: var(--home-text);
  font-family: var(--font);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.home-page a {
  color: inherit;
  text-decoration: none;
}

/* —— 顶栏 —— */
.home-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--home-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.home-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--home-text);
  white-space: nowrap;
}

.home-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.home-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  font-size: 0.92rem;
  color: var(--home-muted);
}

.home-nav-links a {
  transition: color 0.15s ease;
}

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

.home-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.home-nav-cta {
  display: inline-flex;
  align-items: stretch;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--home-border);
  background: #fff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.home-nav-cta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.9rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--home-muted);
  border-right: 1px solid var(--home-border);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.home-nav-cta-item:hover {
  background: var(--home-bg-soft);
  color: var(--home-text);
}

.home-nav-cta-item--qq .home-nav-cta-icon {
  color: #12b7f5;
  flex-shrink: 0;
}

.home-nav-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem 0 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  white-space: nowrap;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.home-nav-cta-primary:hover {
  filter: brightness(1.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.home-nav-cta-primary svg {
  opacity: 0.9;
  flex-shrink: 0;
}

.home-nav-cta-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.home-btn--nav {
  padding: 0.48rem 0.95rem;
  font-size: 0.88rem;
  border-radius: 9px;
}

.home-btn--lg {
  padding: 0.72rem 1.35rem;
  font-size: 0.95rem;
  border-radius: 12px;
}

.home-btn-icon {
  font-size: 0.9em;
  line-height: 1;
}

.home-btn--primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 8px 22px var(--home-glow);
}

.home-btn--demo {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.28);
}

.home-btn--ghost {
  border-color: var(--home-border);
  background: var(--home-surface);
  color: var(--home-text);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* —— Hero —— */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.5rem 4.5rem;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(59, 130, 246, 0.09), transparent 55%),
    radial-gradient(ellipse 55% 50% at 100% 10%, rgba(34, 197, 94, 0.08), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 45%);
}

.home-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.home-hero-copy {
  min-width: 0;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--home-border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--home-muted);
  font-size: 0.82rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.home-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}

.home-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--home-text);
}

.home-title-gradient {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 35%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-lead {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  color: var(--home-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.home-mini-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.home-mini-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--home-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-mini-pill {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--home-border);
  background: #fff;
  font-size: 0.82rem;
  color: var(--home-text);
}

.home-mini-pill--muted {
  color: var(--home-muted);
  background: var(--home-bg-soft);
}

.home-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.home-trust-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: var(--home-muted);
}

.home-trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 700;
}

/* —— 右侧预览图 —— */
.home-hero-visual {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.home-hero-showcase {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 1rem 0 0.5rem;
}

.home-hero-showcase-bg {
  position: absolute;
  inset: -8% -12% -4%;
  pointer-events: none;
  overflow: hidden;
}

.home-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

.home-hero-orb--blue {
  width: 220px;
  height: 220px;
  top: 10%;
  right: 0;
  background: rgba(59, 130, 246, 0.35);
}

.home-hero-orb--green {
  width: 180px;
  height: 180px;
  bottom: 8%;
  left: -4%;
  background: rgba(34, 197, 94, 0.28);
}

.home-hero-grid {
  position: absolute;
  inset: 12% 8%;
  border-radius: 24px;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 75%);
}

.home-hero-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  animation: home-hero-float 4s ease-in-out infinite;
}

.home-hero-float--scan {
  top: 6%;
  left: -2%;
  background: #fff;
  border: 1px solid var(--home-border);
  color: var(--home-text);
}

.home-hero-float--scan svg {
  color: #2563eb;
  flex-shrink: 0;
}

.home-hero-float--done {
  top: 18%;
  right: -4%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  animation-delay: -2s;
}

.home-hero-float-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: home-hero-pulse 2s ease-out infinite;
}

@keyframes home-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes home-hero-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.home-hero-phone {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 280px;
}

.home-hero-phone-shell {
  position: relative;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(160deg, #f8fafc 0%, #e2e8f0 45%, #cbd5e1 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 32px 64px rgba(15, 23, 42, 0.14),
    0 12px 28px rgba(15, 23, 42, 0.08);
}

.home-hero-phone-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  border-radius: 12px;
  background: #0f172a;
  z-index: 4;
}

.home-hero-phone-screen {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #ededed;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.hero-mp {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
  font-size: 12px;
  line-height: 1.5;
  color: #1a1a1a;
}

.hero-mp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 38px 14px 10px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-mp-nav-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-mp-nav-capsule {
  position: absolute;
  right: 12px;
  top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.hero-mp-nav-capsule i {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
}

.hero-mp-body {
  flex: 1;
  padding: 14px 12px 10px;
}

.hero-mp-server {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 12px;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.hero-mp-server-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.hero-mp-card {
  text-align: center;
  padding: 18px 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.hero-mp-success-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #16a34a;
  background: linear-gradient(180deg, #f0fdf4, #dcfce7);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.hero-mp-card-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.hero-mp-card-desc {
  margin: 0 0 14px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.55;
}

.hero-mp-code {
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border: 1px dashed #cbd5e1;
}

.hero-mp-code-label {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.hero-mp-code-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #0f172a;
}

.hero-mp-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 14px;
  padding: 0 4px;
}

.hero-mp-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  color: #94a3b8;
  min-width: 36px;
}

.hero-mp-progress-step span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  background: #e2e8f0;
  color: #64748b;
}

.hero-mp-progress-step--done {
  color: #16a34a;
}

.hero-mp-progress-step--done span {
  background: #dcfce7;
  color: #16a34a;
}

.hero-mp-progress-step--active {
  color: #2563eb;
}

.hero-mp-progress-step--active span {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.hero-mp-progress-line {
  flex: 1;
  height: 2px;
  max-width: 36px;
  margin-bottom: 16px;
  border-radius: 1px;
  background: #e2e8f0;
}

.hero-mp-progress-line--done {
  background: linear-gradient(90deg, #86efac, #4ade80);
}

.hero-mp-progress-line--active {
  background: linear-gradient(90deg, #4ade80, #93c5fd);
}

.hero-mp-tabbar {
  display: flex;
  padding: 10px 0 14px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-mp-tab {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
}

.hero-mp-tab--active {
  color: #07c160;
  font-weight: 700;
}

.home-hero-showcase-label {
  position: relative;
  z-index: 2;
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--home-muted);
  letter-spacing: 0.02em;
}

.home-device {
  position: relative;
}

.home-device-shell {
  border-radius: 20px;
  border: 1px solid var(--home-border);
  background: #fff;
  box-shadow:
    var(--home-shadow),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}

.home-device-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--home-border);
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.home-device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.home-device-bar span:nth-child(1) { background: #f87171; }
.home-device-bar span:nth-child(2) { background: #fbbf24; }
.home-device-bar span:nth-child(3) { background: #4ade80; }

.home-device-screen {
  background: #fafafa;
  line-height: 0;
}

.home-device-screen--preview {
  padding: 1.25rem;
  line-height: normal;
}

.home-demo-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  scroll-margin-top: 5rem;
}

.home-demo-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.home-demo-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
}

.home-demo-accent {
  color: #2563eb;
}

.home-demo-head p {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--home-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.home-demo-frame-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
  background: #f8fafc;
  line-height: 0;
}

.home-demo-frame {
  display: block;
  width: 100%;
  height: clamp(520px, 72vh, 760px);
  border: 0;
  background: #fafafa;
}

.home-device-caption {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--home-muted);
}

.home-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.home-preview-card {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--home-border);
  background: #fff;
}

.home-preview-card strong {
  display: block;
  font-size: 0.78rem;
  color: var(--home-muted);
  margin-bottom: 0.35rem;
}

.home-preview-card em {
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--home-text);
}

.home-preview-card em.ok {
  font-size: 1rem;
  color: #16a34a;
}

/* —— 内容区块 —— */
.home-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.home-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.home-section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.home-section-head p {
  margin: 0;
  color: var(--home-muted);
}

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

.home-feature {
  padding: 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-feature:hover {
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.home-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.home-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.home-feature p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.92rem;
}

/* —— 安全架构 —— */
.home-security-section {
  scroll-margin-top: 5rem;
}

.home-security-card {
  border-radius: 20px;
  border: 1px solid var(--home-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
  padding: 2.25rem 2rem 2rem;
}

.home-security-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.home-security-node {
  flex: 1 1 140px;
  max-width: 200px;
  text-align: center;
  padding: 0 0.25rem;
}

.home-security-node--cloud {
  max-width: 220px;
}

.home-security-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-security-icon--client {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.home-security-icon--cloud {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
}

.home-security-icon--server {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.home-security-node-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--home-text);
  margin-bottom: 0.25rem;
}

.home-security-node-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--home-muted);
  line-height: 1.45;
}

.home-security-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  color: #cbd5e1;
  padding: 0 0.15rem;
  margin-bottom: 1.5rem;
}

.home-security-arrow-line {
  width: 28px;
  height: 0;
  border-top: 2px dashed #cbd5e1;
}

.home-security-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--home-border);
}

.home-security-metric {
  text-align: center;
}

.home-security-metric-value {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.home-security-metric-value--green { color: #16a34a; }
.home-security-metric-value--blue { color: #2563eb; }
.home-security-metric-value--amber { color: #d97706; }
.home-security-metric-value--violet { color: #7c3aed; }

.home-security-metric-label {
  display: block;
  font-size: 0.82rem;
  color: var(--home-muted);
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.home-step {
  position: relative;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--home-border);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), #fff);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.home-step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--home-accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.home-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.home-step p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.92rem;
}

.home-cta {
  margin: 0 1.5rem 4rem;
  max-width: calc(1200px - 3rem);
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(34, 197, 94, 0.05));
  text-align: center;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

.home-cta h2 {
  margin: 0 0 0.65rem;
  font-size: 1.6rem;
}

.home-cta p {
  margin: 0 0 1.25rem;
  color: var(--home-muted);
}

/* —— 页脚 —— */
.home-footer {
  border-top: 1px solid var(--home-border);
  padding: 1.5rem 1.5rem 2rem;
  color: var(--home-muted);
  font-size: 0.85rem;
  background: var(--home-bg-soft);
}

.home-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.home-footer .pjy-powered {
  max-width: 1200px;
  margin: 0.75rem auto 0;
  justify-content: center;
  border-top: none;
  padding-top: 0;
  color: var(--home-muted);
}

.home-footer .pjy-powered-ipv6 {
  color: #2563eb;
}

.site-beian {
  max-width: 1200px;
  margin: 0.75rem auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.82rem;
  color: var(--home-muted);
}

.site-beian-item {
  white-space: nowrap;
}

.site-beian a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-beian a:hover {
  color: var(--home-text);
  text-decoration: underline;
}

/* —— 价格卡片 —— */
.home-pricing-section {
  padding-bottom: 3rem;
}

.home-pricing-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2rem 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--home-border);
  background: #fff;
  color: #0f172a;
  box-shadow: var(--home-shadow);
  text-align: center;
}

.home-pricing-badge {
  display: inline-flex;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.home-pricing-title {
  margin: 0 0 0.45rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
}

.home-pricing-sub {
  margin: 0 auto 1.25rem;
  max-width: 28rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-pricing-amount {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #16a34a;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.home-pricing-note {
  margin: 0 0 1.5rem;
  color: #64748b;
  font-size: 0.9rem;
}

.home-pricing-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1.25rem;
  text-align: left;
}

.home-pricing-features li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.45;
}

.home-pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 700;
}

.home-pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-pricing-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.32);
}

.home-pricing-foot {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* —— 响应式 —— */
@media (max-width: 1024px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-hero-visual {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .home-nav-inner {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }

  .home-nav-links {
    display: none;
  }

  .home-nav-cta-item--qq,
  .home-nav-cta-item[href="#demo"] {
    display: none;
  }

  .home-nav-cta:has(.home-nav-cta-primary:only-child) {
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .home-features,
  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-security-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
  }

  .home-security-card {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .home-security-arrow {
    display: none;
  }

  .home-security-flow {
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .home-security-node,
  .home-security-node--cloud {
    max-width: 100%;
  }
}

@media (max-width: 1100px) {
  .home-hero-float--scan {
    left: 0;
  }

  .home-hero-float--done {
    right: 0;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 2.25rem 1.15rem 3rem;
  }

  .home-hero-showcase {
    max-width: 300px;
    padding-top: 2rem;
  }

  .home-hero-phone {
    max-width: 250px;
  }

  .hero-mp {
    min-height: 360px;
  }

  .home-hero-float {
    font-size: 0.72rem;
    padding: 0.38rem 0.62rem;
  }

  .home-hero-float--scan {
    top: 0;
    left: -6%;
  }

  .home-hero-float--done {
    top: 12%;
    right: -8%;
  }

  .home-nav-inner {
    padding: 0.65rem 1.15rem;
  }

  .home-nav-cta {
    height: 36px;
    border-radius: 10px;
  }

  .home-nav-cta-primary {
    padding: 0 0.85rem 0 0.75rem;
    font-size: 0.82rem;
  }

  .home-hero-actions .home-btn--lg {
    width: 100%;
  }

  .home-pricing-features {
    grid-template-columns: 1fr;
  }

  .home-pricing-card {
    padding: 1.5rem 1.25rem;
  }
}
