/* 智通saas软件官网 · 主题变量对齐招商彩页 HTML */
html {
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --max: 1180px;
  --radius: 12px;
  --radius-sm: 8px;

  --site-deep: #0c1222;
  --orb-1: rgba(56, 189, 248, 0.25);
  --orb-2: rgba(167, 139, 250, 0.2);
  --orb-3: rgba(251, 191, 36, 0.08);

  --site-accent: #38bdf8;
  --site-accent-2: #a78bfa;
  --site-gold: #fbbf24;
  --site-text: #f1f5f9;
  --site-muted: #94a3b8;
  --site-card: rgba(255, 255, 255, 0.06);
  --site-section-alt: rgba(255, 255, 255, 0.03);
  --site-border: rgba(148, 163, 184, 0.12);
  --site-link: #7dd3fc;
  --site-header-bg: rgba(12, 18, 34, 0.88);
  --site-glow: 0 0 60px rgba(56, 189, 248, 0.35);
  --site-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --site-accent-hover: #7dd3fc;
  --site-accent-soft: rgba(56, 189, 248, 0.15);

  /* 组件历史别名（各区块样式继续用 --text / --accent 等） */
  --text: var(--site-text);
  --muted: var(--site-muted);
  --surface: var(--site-card);
  --bg: var(--site-section-alt);
  --border: var(--site-border);
  --accent: var(--site-accent);
  --accent2: var(--site-accent-2);
  --accent-hover: var(--site-accent-hover);
  --accent-soft: var(--site-accent-soft);
  --link-blue: var(--site-link);
  --shadow: var(--site-shadow);
  --accent-deep: var(--site-gold);
}

html[data-theme="light"] {
  --site-deep: #f1f5f9;
  --orb-1: rgba(14, 165, 233, 0.18);
  --orb-2: rgba(124, 58, 237, 0.12);
  --orb-3: rgba(251, 191, 36, 0.06);

  --site-accent: #0284c7;
  --site-accent-2: #7c3aed;
  --site-gold: #d97706;
  --site-text: #0f172a;
  --site-muted: #475569;
  --site-card: #ffffff;
  --site-section-alt: rgba(15, 23, 42, 0.04);
  --site-border: rgba(15, 23, 42, 0.1);
  --site-link: #0369a1;
  --site-header-bg: rgba(255, 255, 255, 0.94);
  --site-glow: 0 8px 32px rgba(2, 132, 199, 0.2);
  --site-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --site-accent-hover: #0369a1;
  --site-accent-soft: rgba(2, 132, 199, 0.12);
}

html[data-palette="crimson"] {
  --site-accent: #fb7185;
  --site-accent-2: #f43f5e;
  --site-gold: #fde047;
  --orb-1: rgba(244, 63, 94, 0.22);
  --orb-2: rgba(225, 29, 72, 0.18);
  --orb-3: rgba(253, 224, 71, 0.07);
  --site-glow: 0 0 55px rgba(244, 63, 94, 0.38);
  --site-accent-soft: rgba(244, 63, 94, 0.15);
  --site-accent-hover: #fda4af;
  --site-link: #fda4af;
}
html[data-theme="light"][data-palette="crimson"] {
  --site-accent: #e11d48;
  --site-accent-2: #be123c;
  --site-gold: #ca8a04;
  --orb-1: rgba(225, 29, 72, 0.14);
  --orb-2: rgba(190, 18, 60, 0.1);
  --orb-3: rgba(253, 224, 71, 0.06);
  --site-glow: 0 8px 28px rgba(225, 29, 72, 0.2);
  --site-accent-hover: #be123c;
  --site-accent-soft: rgba(225, 29, 72, 0.12);
  --site-link: #e11d48;
}

html[data-palette="jade"] {
  --site-accent: #2dd4bf;
  --site-accent-2: #4ade80;
  --site-gold: #fef08a;
  --orb-1: rgba(45, 212, 191, 0.2);
  --orb-2: rgba(74, 222, 128, 0.15);
  --orb-3: rgba(254, 240, 138, 0.06);
  --site-glow: 0 0 55px rgba(45, 212, 191, 0.32);
  --site-accent-soft: rgba(45, 212, 191, 0.15);
  --site-accent-hover: #5eead4;
  --site-link: #5eead4;
}
html[data-theme="light"][data-palette="jade"] {
  --site-accent: #0d9488;
  --site-accent-2: #16a34a;
  --site-gold: #ca8a04;
  --orb-1: rgba(13, 148, 136, 0.14);
  --orb-2: rgba(22, 163, 74, 0.1);
  --orb-3: rgba(253, 224, 71, 0.06);
  --site-glow: 0 8px 28px rgba(13, 148, 136, 0.18);
  --site-accent-hover: #0f766e;
  --site-accent-soft: rgba(13, 148, 136, 0.12);
  --site-link: #0d9488;
}

html[data-palette="sunset"] {
  --site-accent: #fb923c;
  --site-accent-2: #f472b6;
  --site-gold: #fde047;
  --orb-1: rgba(251, 146, 60, 0.22);
  --orb-2: rgba(244, 114, 182, 0.16);
  --orb-3: rgba(253, 224, 71, 0.06);
  --site-glow: 0 0 55px rgba(251, 146, 60, 0.35);
  --site-accent-soft: rgba(251, 146, 60, 0.15);
  --site-accent-hover: #fdba74;
  --site-link: #fdba74;
}
html[data-theme="light"][data-palette="sunset"] {
  --site-accent: #ea580c;
  --site-accent-2: #db2777;
  --site-gold: #ca8a04;
  --orb-1: rgba(234, 88, 12, 0.14);
  --orb-2: rgba(219, 39, 119, 0.1);
  --orb-3: rgba(253, 224, 71, 0.06);
  --site-glow: 0 8px 28px rgba(234, 88, 12, 0.2);
  --site-accent-hover: #c2410c;
  --site-accent-soft: rgba(234, 88, 12, 0.12);
  --site-link: #ea580c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-color: var(--site-deep);
  background-image: radial-gradient(ellipse 80% 50% at 20% -10%, var(--orb-1), transparent),
    radial-gradient(ellipse 60% 40% at 90% 20%, var(--orb-2), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, var(--orb-3), transparent);
  min-height: 100vh;
  padding-bottom: 100px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black, transparent);
}

html[data-theme="light"] body::before {
  background-image: linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black, transparent);
}

a {
  color: var(--link-blue);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--site-header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--site-accent) 0%, var(--site-accent-2) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: var(--site-glow);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-desktop a {
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

html[data-theme="light"] .nav-desktop a:hover {
  background: var(--site-accent-soft);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--site-card);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 24px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--site-header-bg);
  backdrop-filter: blur(12px);
}

.nav-mobile a {
  padding: 12px 4px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile.is-open {
  display: flex;
}

@media (max-width: 900px) {
  .nav-desktop,
  .header-cta .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }
}

/* —— 按钮 —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--site-accent), var(--site-accent-2));
  color: #ffffff;
  box-shadow: var(--site-glow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

html[data-theme="light"] .btn-outline {
  background: var(--site-card);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--link-blue);
}

/* —— 版心 —— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-bg-alt {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-kicker {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* —— Hero —— */
.hero {
  padding: 48px 0 64px;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .hero {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .hero h1 {
  background: linear-gradient(135deg, var(--site-accent) 0%, var(--site-accent-2) 55%, #4338ca 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--site-accent) 42%, transparent);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

html[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: color-mix(in srgb, var(--site-accent) 35%, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.hero-badge span {
  color: var(--accent);
  font-weight: 600;
}

.hero .lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 32em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-meta strong {
  color: var(--text);
}

/* Hero 真机截图：contain 完整展示，减少边缘裁切 */
.hero-showcase {
  position: relative;
  min-height: 280px;
  align-self: center;
}

.hero-frame {
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

html[data-theme="light"] .hero-frame {
  border-color: #cbd5e1;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

.hero-frame img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.hero-frame--desktop {
  position: relative;
  width: 92%;
  max-width: 800px;
  z-index: 1;
}

.hero-frame--desktop img {
  max-height: min(52vh, 540px);
}

.hero-frame--phone {
  position: absolute;
  width: clamp(150px, 26vw, 210px);
  right: 0;
  bottom: 0;
  z-index: 2;
}

.hero-frame--phone img {
  max-height: min(58vh, 560px);
}

@media (max-width: 900px) {
  .hero-showcase {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .hero-frame--desktop {
    width: 100%;
    max-width: none;
    position: relative;
  }

  .hero-frame--desktop img {
    max-height: none;
    width: 100%;
    max-width: 100%;
  }

  .hero-frame--phone {
    position: relative;
    width: min(88%, 320px);
    right: auto;
    bottom: auto;
    margin-top: 0;
  }

  .hero-frame--phone img {
    max-height: min(78vh, 720px);
    width: 100%;
    max-width: 100%;
  }
}

.mock-stack {
  position: relative;
  min-height: 320px;
}

.mock-phone,
.mock-desktop {
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

html[data-theme="light"] .mock-phone,
html[data-theme="light"] .mock-desktop {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border-color: #cbd5e1;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.mock-bar {
  height: 32px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

html[data-theme="light"] .mock-bar {
  background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
  border-bottom: 1px solid var(--border);
}

.mock-body {
  padding: 16px;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

html[data-theme="dark"] .mock-body {
  color: #94a3b8;
}

.mock-chip {
  padding: 4px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  font-weight: 600;
}

.mock-cell {
  height: 40px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px dashed rgba(148, 163, 184, 0.2);
}

html[data-theme="light"] .mock-cell {
  background: #f8fafc;
  border: 1px dashed var(--border);
}

.mock-phone {
  position: absolute;
  width: 38%;
  max-width: 200px;
  right: 8%;
  bottom: 0;
  z-index: 2;
  aspect-ratio: 9 / 18;
}

.mock-desktop {
  position: relative;
  width: 88%;
  aspect-ratio: 16 / 10;
  z-index: 1;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mock-body {
  padding: 16px;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

.mock-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.mock-chip {
  padding: 4px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  font-weight: 600;
}

.mock-grid-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-cell {
  height: 40px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px dashed var(--border);
}

@media (max-width: 900px) {
  .mock-stack {
    min-height: 280px;
  }

  .mock-desktop {
    width: 100%;
  }

  .mock-phone {
    width: 32%;
    right: 0;
  }
}

/* —— 价值 / 痛点 —— */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1000px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

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

/* —— 双端 —— */
.dual-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.dual-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 560px;
}

.dual-table th,
.dual-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.dual-table th {
  background: var(--site-accent-soft);
  font-weight: 700;
  color: var(--text);
}

html[data-theme="light"] .dual-table th {
  background: color-mix(in srgb, var(--site-accent) 14%, transparent);
}

.dual-table td {
  color: var(--muted);
}

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

.dual-table .tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-mobile {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

html[data-theme="light"] .tag-mobile {
  background: #f1f5f9;
  color: #334155;
}

.tag-pc {
  background: var(--accent-soft);
  color: var(--accent);
}

/* —— 场景 —— */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.scenario {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.scenario h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
}

.scenario ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.scenario li {
  margin-bottom: 6px;
}

/* —— 功能矩阵 —— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.trust-box {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-item h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

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

/* —— 信任 —— */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.trust-box h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

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

.trust-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* —— CTA —— */
.cta-band {
  background: linear-gradient(135deg, var(--site-accent), var(--site-accent-2));
  color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--site-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: #ffffff;
}

.cta-band p {
  margin: 0 0 24px;
  max-width: 520px;
  margin-inline: auto;
  opacity: 0.95;
}

.cta-band .btn-primary {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  filter: none;
}

.cta-band .btn-primary:hover {
  background: #f8fafc;
  color: #0f172a;
  filter: none;
}

/* —— 页脚 —— */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

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

.footer-brand {
  color: #e2e8f0;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-note {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #e2e8f0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 20px;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.footer-bottom a {
  color: #94a3b8;
}

/* —— 子页通用：顶栏、面包屑 —— */
.nav-desktop a.nav-active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
}

.page-hero {
  padding: 40px 0 12px;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .page-hero h1 {
  background: linear-gradient(135deg, var(--site-accent) 0%, var(--site-accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero .page-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 40em;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.breadcrumb a {
  color: var(--muted);
}

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

.breadcrumb span {
  color: var(--border);
  margin: 0 6px;
}

.page-main {
  padding: 36px 0 72px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.panel h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.panel > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

/* —— 下载列表 —— */
.dl-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.dl-item:first-child {
  padding-top: 0;
}

.dl-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dl-item-body h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.dl-item-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.dl-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.notice-inline {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  font-size: 0.88rem;
  color: var(--text);
}

html[data-theme="light"] .notice-inline {
  background: #fffbeb;
  border-color: #fde68a;
  color: #854d0e;
}

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

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.step-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.step-list li {
  margin-bottom: 8px;
}

/* —— 登录页 —— */
.login-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.login-body .site-header {
  position: relative;
}

.login-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 48px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.login-card h1 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .login-card h1 {
  background: linear-gradient(135deg, var(--site-accent) 0%, var(--site-accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-label .optional {
  font-weight: 400;
  color: var(--muted);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--site-card);
  transition: border-color 0.15s, box-shadow 0.15s;
}

html[data-theme="light"] .form-input {
  background: #ffffff;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-row-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}

.form-row-actions a {
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.form-footer-links {
  text-align: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}

.form-footer-links a {
  margin: 0 8px;
}

.login-real-url {
  margin-top: 16px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--muted);
  word-break: break-all;
}

html[data-theme="light"] .login-real-url {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.login-real-url code {
  font-size: 0.76rem;
}

/* —— 主题切换条（与招商彩页工具条行为类似）—— */
.theme-toolbar {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 9998;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(420px, calc(100vw - 32px));
  justify-content: flex-end;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .theme-toolbar {
  background: rgba(255, 255, 255, 0.95);
  border-color: #cbd5e1;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
}

.theme-toolbar-label {
  width: 100%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.theme-toolbar button {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--site-text);
  cursor: pointer;
}

html[data-theme="light"] .theme-toolbar button {
  background: #f8fafc;
  color: var(--site-text);
  border-color: #cbd5e1;
}

.theme-toolbar button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

html[data-theme="light"] .theme-toolbar button:hover {
  background: var(--site-accent-soft);
}

.theme-toolbar-btn--on {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.theme-chip--crimson {
  border-color: rgba(244, 63, 94, 0.45) !important;
}

.theme-chip--jade {
  border-color: rgba(45, 212, 191, 0.45) !important;
}

.theme-chip--sunset {
  border-color: rgba(251, 146, 60, 0.45) !important;
}

/* —— 导航栏主题/语言控件 —— */
.nav-theme-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-ctrl-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
  margin: 0 4px;
  flex-shrink: 0;
}

.nav-ctrl-btn {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: all 0.15s;
}

.nav-ctrl-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-ctrl-btn--on {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: var(--accent-soft) !important;
}

/* 移动端控件区 */
.mobile-nav-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 4px 4px;
}

.mobile-nav-controls .nav-ctrl-btn {
  font-size: 0.85rem;
  padding: 8px 14px;
}

@media (max-width: 900px) {
  .nav-theme-controls {
    display: none;
  }
}

/* —— Hero 轮播 —— */
.hero-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
}

.carousel-slide-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}

.carousel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 18, 34, 0.72);
  border: 1px solid color-mix(in srgb, var(--site-accent) 45%, transparent);
  color: var(--site-accent);
  backdrop-filter: blur(8px);
}

.carousel-tag--mobile {
  border-color: color-mix(in srgb, #34d399 45%, transparent);
  color: #34d399;
}

.carousel-tag--ordering {
  border-color: color-mix(in srgb, var(--site-accent-2) 50%, transparent);
  color: var(--site-accent-2);
}

.carousel-tag--reports {
  border-color: color-mix(in srgb, #fbbf24 45%, transparent);
  color: #fbbf24;
}

/* Slide: PC 端独立展示 */
.hero-frame--solo {
  position: relative;
  width: 100%;
  max-width: none;
  z-index: 1;
}

.hero-frame--solo img {
  max-height: min(55vh, 560px);
}

/* Slide: 手机端居中独立展示 */
.carousel-slide--phone-solo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.hero-frame--phone-center {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: clamp(180px, 30vw, 260px) !important;
  margin: 0 auto;
}

.hero-frame--phone-center img {
  max-height: min(60vh, 580px);
}

/* 订货门户 slide：双手机并排 */
.ordering-phone-pair {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
  min-height: 280px;
}

.ordering-phone-pair .hero-frame--phone {
  position: relative;
  width: clamp(160px, 28vw, 230px);
  flex-shrink: 0;
  bottom: auto;
  right: auto;
}

.ordering-phone-pair .hero-frame--phone:first-child {
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .ordering-phone-pair {
    gap: 12px;
    min-height: 0;
  }

  .ordering-phone-pair .hero-frame--phone {
    width: min(44%, 200px);
  }

  .hero-frame--phone-center {
    width: min(80%, 280px) !important;
  }
}

/* 轮播控制条 */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 标签式导航按钮 */
.carousel-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.carousel-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  transition: all 0.25s;
  flex-shrink: 0;
}

.carousel-dot.active {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--site-accent) 55%, transparent);
  color: var(--accent);
}

.carousel-dot.active::before {
  background: var(--accent);
  box-shadow: 0 0 6px var(--site-accent);
}

.carousel-dot:hover:not(.active) {
  border-color: var(--muted);
  color: var(--text);
}

.carousel-dot-label {
  pointer-events: none;
}

.carousel-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
  padding: 0;
  flex-shrink: 0;
}

.carousel-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

@media (max-width: 600px) {
  .carousel-dot {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
}

/* —— 联系区块 —— */
.contact-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 14px 24px;
  text-decoration: none;
  transition: all 0.2s;
  color: #fff;
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
}

.contact-info-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-label {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 500;
}

.contact-info-value {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-info-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .contact-info-sep {
    display: none;
  }
}

.cta-band-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-light {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
}

.cta-btn-light:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  text-decoration: none;
}

/* —— 页脚联系列 —— */
.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}

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

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

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-contact-link:hover {
  color: #fff;
}

.footer-contact-note {
  font-size: 0.8rem;
  color: #64748b;
  margin: 8px 0 0;
  line-height: 1.5;
}

/* —— 隐藏旧浮动工具栏（保险） —— */
.theme-toolbar {
  display: none !important;
}

@media print {
  .theme-toolbar {
    display: none !important;
  }
}

/* —— 订货系统板块 —— */
.ordering-section {
  background: transparent;
}

/* 三项亮点横排 */
.ordering-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .ordering-highlights {
    grid-template-columns: 1fr;
  }
}

.ordering-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, var(--site-accent-soft), rgba(167, 139, 250, 0.08));
  border: 1px solid color-mix(in srgb, var(--site-accent) 30%, transparent);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(8px);
}

html[data-theme="light"] .ordering-highlight-item {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.06), rgba(124, 58, 237, 0.04));
  border-color: color-mix(in srgb, var(--site-accent) 22%, transparent);
}

.ordering-highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ordering-highlight-item strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.ordering-highlight-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* 流程步骤条 */
.ordering-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.ordering-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ordering-flow-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--site-accent), var(--site-accent-2));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px var(--site-accent-soft);
}

.ordering-flow-label {
  font-size: 0.83rem;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.ordering-flow-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.6;
}

@media (max-width: 700px) {
  .ordering-flow {
    gap: 6px;
    padding: 18px 14px;
  }

  .ordering-flow-arrow {
    font-size: 0.9rem;
  }

  .ordering-flow-label {
    font-size: 0.75rem;
  }

  .ordering-flow-num {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }
}

/* 六宫格功能卡 */
.ordering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .ordering-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.ordering-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ordering-card:hover {
  border-color: color-mix(in srgb, var(--site-accent) 45%, transparent);
  box-shadow: var(--site-glow), var(--shadow);
}

.ordering-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--site-accent-soft), rgba(167, 139, 250, 0.12));
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  border: 1px solid color-mix(in srgb, var(--site-accent) 25%, transparent);
}

.ordering-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--text);
}

.ordering-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
