/* ============================================================
   聚塔AI官网 · Apple 风格设计系统
   参考 apple/DESIGN.md：单一交互蓝、明暗交替全幅 tile、
   SF 字阶、产品级渲染图、唯一柔和投影
   ============================================================ */

:root {
  --primary: #0066cc;
  --primary-hover: #0071e3;
  --primary-on-dark: #2997ff;
  --ink: #1d1d1f;
  --ink-80: #333333;
  --ink-48: #7a7a7a;
  --muted: #86868b;
  --canvas: #ffffff;
  --parchment: #f5f5f7;
  --pearl: #fafafc;
  --tile-dark: #1d1d1f;
  --black: #000000;
  --hairline: #d2d2d7;
  --hairline-soft: #e8e8ed;
  --danger: #ff3b30;
  --success: #34c759;
  --product-shadow: 3px 5px 30px rgba(0, 0, 0, 0.18);

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-text: var(--font-display);

  --nav-h: 48px;
  --section-pad: 96px;
  --container: 1080px;
  --radius-pill: 9999px;
  --radius-card: 20px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: var(--primary);
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.container-narrow {
  max-width: 820px;
}
.center-row {
  text-align: center;
  margin-top: 40px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 按钮 ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 17px;
  line-height: 1.2;
  min-height: 44px;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}
.btn-pill:active {
  transform: scale(0.96);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
}
.btn-primary:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.45);
  outline-offset: 2px;
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-ghost:hover {
  color: #fff;
  background: var(--primary);
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.btn-ghost-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-submit {
  width: 100%;
  font-size: 17px;
}

/* ---------- 全局导航 ---------- */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f5f5f7;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav-link {
  color: rgba(245, 245, 247, 0.88);
  font-size: 12.5px;
  padding: 6px 2px;
  border-radius: 6px;
  transition: color 0.2s ease;
  position: relative;
}
.nav-link:hover {
  color: #fff;
}
.nav-link.is-active {
  color: #fff;
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--primary-on-dark);
}
.nav-link-cta {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}
.nav-link-cta:hover {
  background: #fff;
  color: var(--ink);
}
.nav-item-group {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: rgba(28, 28, 30, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 8px;
  display: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.nav-item-group:hover .nav-dropdown,
.nav-item-group:focus-within .nav-dropdown {
  display: block;
}
.nav-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  color: #f5f5f7;
  font-size: 13px;
  border-radius: 8px;
}
.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
}
.nav-dropdown small {
  color: var(--primary-on-dark);
  font-size: 11px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: #f5f5f7;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle span:first-child {
  top: 15px;
}
.nav-toggle span:last-child {
  top: 24px;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  top: 19.5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  top: 19.5px;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--canvas);
  padding: 92px 22px 0;
  text-align: center;
}
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
}
.hero-eyebrow,
.section-eyebrow {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
}
.hero-title {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-top: 14px;
}
.hero-title .text-grad {
  color: var(--primary);
}
.hero-lead {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink-80);
  margin-top: 22px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}
.center-actions {
  justify-content: center;
}
.hero-visual {
  margin: 64px auto 0;
  max-width: 1100px;
}
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--product-shadow);
}

/* ---------- 数据条 ---------- */
.metrics-bar {
  background: var(--parchment);
  margin-top: 90px;
}
.metrics-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 46px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.metric strong {
  display: block;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.metric span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-48);
}

/* ---------- 产品 Tiles ---------- */
.product-tiles {
  margin-top: 0;
}
.tile {
  background: var(--canvas);
}
.tile-dark {
  background: var(--tile-dark);
}
.tile-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 90px 22px 0;
  text-align: center;
}
.tile-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.on-dark .tile-eyebrow {
  color: var(--primary-on-dark);
}
.tile-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 10px;
}
.tile-tagline {
  font-size: 26px;
  line-height: 1.25;
  margin-top: 10px;
  font-weight: 400;
}
.tile-summary {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--ink-48);
  font-size: 17px;
  line-height: 1.6;
}
.on-dark {
  color: #f5f5f7;
}
.on-dark .tile-summary {
  color: rgba(235, 235, 245, 0.7);
}
.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  font-size: 17px;
  color: var(--primary);
}
.on-dark .tile-link {
  color: var(--primary-on-dark);
}
.tile-link:hover {
  text-decoration: underline;
}
.tile-visual {
  margin: 56px auto 0;
  max-width: 880px;
}
.tile-visual img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* ---------- 通用 Section ---------- */
.section-title {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 12px;
  line-height: 1.12;
}

/* ---------- 增长闭环 ---------- */
.growth-section {
  background: var(--tile-dark);
  color: #f5f5f7;
  padding: var(--section-pad) 0;
}
.growth-section .section-title {
  color: #fff;
}
.growth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.growth-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  color: #f5f5f7;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.growth-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}
.growth-no {
  font-size: 14px;
  color: var(--primary-on-dark);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.growth-card h3 {
  font-size: 26px;
  margin-top: 14px;
}
.growth-product {
  color: var(--primary-on-dark);
  font-size: 15px;
  margin-top: 4px;
}
.growth-card p:last-child {
  margin-top: 14px;
  color: rgba(235, 235, 245, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- 解决方案 ---------- */
.solutions-preview {
  padding: var(--section-pad) 0;
  background: var(--canvas);
}
.sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.sol-card {
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  background: var(--pearl);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.sol-card h3 {
  font-size: 21px;
}
.sol-examples {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-48);
  line-height: 1.6;
}
.sol-value {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ---------- 优势 ---------- */
.advantages-section {
  padding: var(--section-pad) 0;
  background: var(--parchment);
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.adv-card {
  background: var(--canvas);
  border-radius: var(--radius-card);
  padding: 28px 26px;
}
.adv-card h3 {
  font-size: 19px;
}
.adv-card p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-48);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: var(--section-pad) 0;
  background: var(--canvas);
}
.faq-list {
  margin-top: 44px;
  border-top: 1px solid var(--hairline-soft);
}
.faq-item {
  border-bottom: 1px solid var(--hairline-soft);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  transition: transform 0.25s ease;
}
.faq-icon::before {
  left: 2px;
  right: 2px;
  top: 8px;
  height: 2px;
}
.faq-icon::after {
  top: 2px;
  bottom: 2px;
  left: 8px;
  width: 2px;
}
.faq-item[open] .faq-icon::after {
  transform: scaleY(0);
}
.faq-answer {
  padding: 0 40px 24px 4px;
  color: var(--ink-80);
  line-height: 1.7;
  font-size: 16px;
}

/* ---------- 底部 CTA ---------- */
.final-cta {
  background: var(--black);
  color: #fff;
  text-align: center;
  padding: 100px 22px;
}
.final-cta h2 {
  font-size: 44px;
  font-weight: 600;
 letter-spacing: -0.015em;
}
.final-cta p {
  margin-top: 16px;
  color: rgba(235, 235, 245, 0.7);
  font-size: 19px;
}
.final-cta .hero-actions {
  margin-top: 32px;
}

/* ---------- 页面通用 Hero ---------- */
.page-hero {
  padding: 90px 22px 80px;
  text-align: center;
  background: var(--canvas);
}
.page-hero-dark {
  background: var(--tile-dark);
  color: #fff;
}
.page-hero-dark .page-hero-lead {
  color: rgba(235, 235, 245, 0.75);
}
.page-hero-title {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 14px;
  line-height: 1.1;
}
.page-hero-lead {
  font-size: 22px;
  color: var(--ink-80);
  margin-top: 18px;
  line-height: 1.4;
}

/* ---------- 产品页 ---------- */
.product-showcase {
  background: var(--parchment);
  padding: 70px 0 80px;
}
.showcase-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--product-shadow);
}
.showcase-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  text-align: center;
}
.showcase-stats strong {
  font-size: 40px;
}
.showcase-summary {
  margin: 44px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-80);
}
.features-section {
  padding: var(--section-pad) 0 60px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.feature-row-reverse .feature-text {
  order: 2;
}
.feature-index {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.08em;
}
.feature-text h3 {
  font-size: 30px;
  margin-top: 12px;
  letter-spacing: -0.01em;
}
.feature-text p {
  margin-top: 14px;
  color: var(--ink-48);
  line-height: 1.7;
}
.feature-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--product-shadow);
}
.cross-products {
  background: var(--parchment);
  padding: var(--section-pad) 0;
}
.cross-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.cross-card {
  position: relative;
  background: var(--canvas);
  border-radius: var(--radius-card);
  padding: 22px;
  color: var(--ink);
  border: 1px solid var(--hairline-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cross-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.cross-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 18px;
}
.cross-card h3 {
  font-size: 19px;
}
.cross-card p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-48);
}
.cross-card-current {
  border-color: var(--primary);
}
.current-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ---------- 解决方案详情 ---------- */
.sol-detail-list {
  padding: 30px 0 70px;
}
.sol-detail {
  padding: 60px 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.sol-detail:last-child {
  border-bottom: none;
}
.sol-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.sol-index {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}
.sol-detail-head h2 {
  font-size: 34px;
  letter-spacing: -0.01em;
}
.sol-detail-body {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px 40px;
}
.sol-block h3 {
  font-size: 15px;
  color: var(--ink-48);
  font-weight: 600;
  margin-bottom: 8px;
}
.sol-block p {
  line-height: 1.75;
  font-size: 16px;
}
.sol-value-pill {
  grid-column: 1 / -1;
  justify-self: start;
  background: var(--parchment);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

/* ---------- 关于 ---------- */
.about-story {
  padding: 80px 0;
}
.about-lead {
  font-size: 28px;
  font-weight: 600;
  margin: 26px 0 20px;
  letter-spacing: -0.01em;
}
.about-story p {
  line-height: 1.85;
  font-size: 18px;
  color: var(--ink-80);
}
.values-section {
  background: var(--parchment);
  padding: var(--section-pad) 0;
}
.about-products {
  padding: var(--section-pad) 0;
}

/* ---------- 联系页 ---------- */
.contact-section {
  padding: 20px 0 90px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-info {
  background: var(--parchment);
  border-radius: var(--radius-card);
  padding: 34px 30px;
}
.contact-info h2 {
  font-size: 24px;
  margin-bottom: 22px;
}
.ci-item {
  padding: 14px 0;
  border-top: 1px solid var(--hairline-soft);
}
.ci-item:first-of-type {
  border-top: none;
}
.ci-label {
  display: block;
  font-size: 13px;
  color: var(--ink-48);
  margin-bottom: 4px;
}
.ci-value {
  display: block;
  color: var(--ink);
  font-size: 17px;
  word-break: break-all;
}
.ci-phone {
  color: var(--primary);
  font-size: 22px;
  font-weight: 600;
}
.ci-qr {
  margin-top: 12px;
  border-radius: 12px;
}
.contact-form-wrap {
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-card);
  padding: 36px 34px;
}
.contact-form-wrap > h2 {
  font-size: 24px;
  margin-bottom: 22px;
}
.form-row {
  margin-bottom: 18px;
}
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-row label em {
  color: var(--danger);
  font-style: normal;
}
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}
.field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--danger);
}
.form-alert {
  background: rgba(255, 59, 48, 0.08);
  color: var(--danger);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}
.form-privacy {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-48);
}
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-success {
  text-align: center;
  padding: 30px 10px;
}
.form-success h2 {
  margin-top: 18px;
  font-size: 26px;
}
.form-success p {
  margin-top: 12px;
  color: var(--ink-48);
  line-height: 1.7;
}
.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------- 404 ---------- */
.error-page {
  padding: 130px 22px;
}
.error-code {
  font-size: 90px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
}
.error-page .hero-actions {
  margin-top: 30px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--parchment);
  color: var(--ink-80);
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 22px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.footer-desc {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-48);
  line-height: 1.7;
  max-width: 260px;
}
.footer-cta-pill {
  display: inline-block;
  margin-top: 16px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: 13px;
}
.footer-cta-pill:hover {
  background: var(--primary);
  color: #fff;
}
.footer-col h4 {
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-col a,
.footer-col span {
  display: block;
  color: var(--ink-80);
  font-size: 13px;
  line-height: 2;
  word-break: break-all;
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-legal {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-48);
  align-items: center;
}
.footer-legal a {
  color: var(--ink-48);
}
.footer-legal a:hover {
  color: var(--primary);
}
.footer-ai-label {
  margin-left: auto;
}

/* ============================================================
   后台样式
   ============================================================ */
.admin-login-body {
  background: linear-gradient(160deg, #1d1d1f 0%, #2c2c2e 100%);
  min-height: 100vh;
}
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 18px;
}
.admin-login-card {
  background: #fff;
  border-radius: 24px;
  padding: 44px 40px 34px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.admin-login-card h1 {
  font-size: 19px;
  margin: 16px 0 24px;
  color: var(--ink);
}
.admin-login-card .contact-form {
  text-align: left;
}
.back-site {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-48);
}

.admin-body {
  background: var(--parchment);
}
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--hairline-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.admin-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
}
.admin-nav {
  display: flex;
  gap: 6px;
}
.admin-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-80);
}
.admin-nav a:hover {
  background: var(--parchment);
}
.admin-nav a.is-active {
  background: var(--parchment);
  color: var(--primary);
  font-weight: 600;
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--danger);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
  margin-left: 4px;
}
.admin-topbar-right {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 13px;
}
.admin-topbar-right a {
  color: var(--ink-48);
}
.admin-topbar-right a:hover {
  color: var(--primary);
}
.admin-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 22px 80px;
}
.admin-page-title {
  font-size: 28px;
}
.admin-title-second {
  margin-top: 56px;
}
.admin-page-sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-48);
}
.admin-flash {
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14px;
  margin-bottom: 22px;
}
.admin-flash-ok {
  background: rgba(52, 199, 89, 0.12);
  color: #1c8c3f;
}
.admin-flash-err {
  background: rgba(255, 59, 48, 0.1);
  color: #c92c22;
}
.admin-form {
  margin-top: 24px;
}
.admin-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 30px;
  margin-bottom: 20px;
}
.admin-card h2 {
  font-size: 18px;
  margin-bottom: 20px;
}
.admin-card-hint {
  display: block;
  font-size: 12.5px;
  color: var(--ink-48);
  margin-top: 6px;
}
.admin-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}
.admin-grid-full {
  grid-column: 1 / -1;
}
.admin-card-inline {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.admin-card-inline .admin-grid2 {
  width: 100%;
}
.qr-preview {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.qr-preview img {
  border: 1px solid var(--hairline-soft);
  border-radius: 12px;
}
.qr-preview span {
  font-size: 12.5px;
  color: var(--ink-48);
}
.admin-save-bar {
  text-align: right;
  margin-top: 8px;
}
.admin-save-bar .btn-submit {
  width: auto;
  padding: 12px 36px;
}

/* 留言管理 */
.msg-filter {
  display: flex;
  gap: 8px;
  margin: 22px 0 24px;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  width: fit-content;
}
.msg-filter a {
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-80);
}
.msg-filter a.is-active {
  background: var(--primary);
  color: #fff;
}
.msg-filter i {
  font-style: normal;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  border-radius: 9px;
  padding: 1px 6px;
  margin-left: 4px;
}
.msg-filter a.is-active i {
  background: rgba(255, 255, 255, 0.3);
}
.msg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.msg-item {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.msg-handled {
  opacity: 0.65;
}
.msg-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.msg-head time {
  font-size: 12.5px;
  color: var(--ink-48);
}
.msg-status {
  font-size: 12px;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.st-new {
  background: rgba(255, 149, 0, 0.14);
  color: #c96a00;
}
.st-done {
  background: rgba(52, 199, 89, 0.14);
  color: #1c8c3f;
}
.st-push-ok {
  background: rgba(52, 199, 89, 0.14);
  color: #1c8c3f;
}
.st-push-fail {
  background: rgba(255, 59, 48, 0.12);
  color: #c53030;
}
.st-push-pending,
.st-push-off {
  background: rgba(0, 0, 0, 0.06);
  color: #6e6e73;
}
.msg-lines {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.msg-phone {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
}
.msg-company {
  font-size: 13px;
  color: var(--ink-48);
}
.msg-content {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-80);
  line-height: 1.6;
}
.msg-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}
.msg-btn {
  border: 1px solid var(--hairline);
  background: #fff;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--ink-80);
  min-width: 96px;
}
.msg-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.msg-btn-danger:hover {
  border-color: var(--danger);
  color: var(--danger);
}
.admin-empty {
  background: #fff;
  border-radius: 16px;
  text-align: center;
  padding: 70px 20px;
}
.admin-empty p {
  font-size: 18px;
  font-weight: 600;
}
.admin-empty span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-48);
}

/* ---------- 自定义确认弹窗 ---------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}
.modal-mask[hidden] {
  display: none;
}
.modal-box {
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 24px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}
.modal-box p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.modal-actions {
  display: flex;
  gap: 12px;
}
.modal-actions .btn-pill {
  flex: 1;
}

/* ---------- 滚动揭示动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- 智能助理端下载页（/download，私有分发链接） ---------- */
.dl-section {
  padding: 0 0 8px;
}
.dl-card {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-card);
  padding: 34px 34px 26px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  text-align: center;
}
/* 同页多张下载卡片（桌面端 / 安卓端）的上下间距 */
.dl-card + .dl-card {
  margin-top: 28px;
}
.dl-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: left;
}
.dl-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--parchment);
  padding: 9px;
  flex: none;
}
.dl-name {
  font-size: 24px;
  letter-spacing: -0.01em;
}
.dl-meta {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dl-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--hairline);
  display: inline-block;
}
.dl-btn {
  margin-top: 26px;
  width: 100%;
  max-width: 360px;
  font-size: 17px;
  font-weight: 500;
  padding-top: 15px;
  padding-bottom: 15px;
}
.dl-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.dl-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  background: var(--parchment);
  border-radius: 5px;
  padding: 2px 6px;
}
.dl-missing {
  margin-top: 26px;
  font-size: 15px;
  color: var(--danger);
}
.dl-note {
  margin-top: 16px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--parchment);
  border: 1px solid var(--hairline-soft);
  border-radius: 10px;
}
.dl-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dl-divider {
  height: 1px;
  background: var(--hairline-soft);
  margin: 28px 0 22px;
}
.dl-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  text-align: left;
}
.dl-facts dt {
  font-size: 13px;
  color: var(--muted);
}
.dl-facts dd {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink);
}

/* 安装步骤 */
.dl-steps-section {
  padding: var(--section-pad) 0 0;
}
.dl-steps {
  list-style: none;
  margin: 46px 0 0;
  padding: 0;
}
.dl-steps li {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.dl-steps li:last-child {
  border-bottom: none;
}
.dl-step-no {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dl-step-body h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
}
.dl-step-body p {
  margin-top: 8px;
  color: var(--ink-48);
  line-height: 1.7;
}

/* 注意事项 */
.dl-notes-section {
  padding: var(--section-pad) 0 0;
}
.dl-notes {
  background: var(--parchment);
  border-radius: var(--radius-card);
  padding: 30px 32px;
}
.dl-notes h2 {
  font-size: 20px;
}
.dl-notes ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--ink-48);
  line-height: 1.9;
}
.dl-notes b {
  color: var(--ink);
  font-weight: 600;
}

/* 需要帮助 */
.dl-help-section {
  padding: var(--section-pad) 0;
}
.dl-help {
  text-align: center;
}
.dl-help h2 {
  font-size: 28px;
  letter-spacing: -0.015em;
}
.dl-help p {
  margin-top: 14px;
  color: var(--ink-48);
  line-height: 1.7;
}
.dl-help-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .dl-card {
    padding: 26px 20px 20px;
  }
  .dl-head {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .dl-meta {
    justify-content: center;
  }
  .dl-facts {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }
  .dl-notes {
    padding: 24px 20px;
  }
  .dl-help-actions .btn-pill {
    width: 100%;
  }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 980px) {
  :root {
    --section-pad: 72px;
  }
  .hero-title {
    font-size: 48px;
  }
  .tile-title {
    font-size: 40px;
  }
  .sol-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cross-grid,
  .growth-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 834px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 24px;
    display: none;
    margin-left: 0;
  }
  .nav-menu.is-open {
    display: flex;
  }
  .nav-link {
    font-size: 16px;
    padding: 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-link.is-active::after {
    display: none;
  }
  .nav-link-cta {
    margin-top: 14px;
    text-align: center;
    border-radius: var(--radius-pill);
  }
  .nav-dropdown {
    position: static;
    transform: none;
    background: transparent;
    box-shadow: none;
    display: block;
    min-width: 0;
    padding: 0 0 6px 14px;
  }
  .nav-dropdown a {
    padding: 10px 6px;
    font-size: 14px;
  }
  .global-nav {
    position: sticky;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .hero {
    padding: 64px 18px 0;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .hero-visual {
    margin-top: 44px;
  }
  .metrics-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 34px 18px;
  }
  .metric strong,
  .showcase-stats strong {
    font-size: 32px;
  }
  .tile-inner {
    padding: 64px 18px 0;
  }
  .tile-title {
    font-size: 30px;
  }
  .tile-tagline {
    font-size: 20px;
  }
  .section-title {
    font-size: 28px;
  }
  .final-cta {
    padding: 72px 18px;
  }
  .final-cta h2 {
    font-size: 30px;
  }
  .final-cta p {
    font-size: 16px;
  }
  .page-hero {
    padding: 60px 18px 56px;
  }
  .page-hero-title {
    font-size: 32px;
  }
  .page-hero-lead {
    font-size: 17px;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0;
  }
  .feature-row-reverse .feature-text {
    order: 0;
  }
  .feature-visual {
    order: 2;
  }
  .sol-detail-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sol-detail-head h2 {
    font-size: 26px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form-wrap,
  .contact-info {
    padding: 26px 20px;
  }
  .sol-grid,
  .adv-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-ai-label {
    margin-left: 0;
  }
  .faq-item summary {
    font-size: 16px;
  }
  .faq-answer {
    padding-right: 8px;
  }
  .admin-topbar-inner {
    gap: 14px;
    padding: 0 14px;
  }
  .admin-nav {
    display: none;
  }
  .admin-main {
    padding: 26px 14px 60px;
  }
  .admin-card {
    padding: 22px 18px;
  }
  .admin-grid2 {
    grid-template-columns: 1fr;
  }
  .msg-item {
    flex-direction: column;
  }
  .msg-actions {
    flex-direction: row;
    width: 100%;
  }
  .msg-actions form {
    flex: 1;
  }
  .msg-btn {
    width: 100%;
  }
  .msg-filter {
    width: 100%;
  }
  .msg-filter a {
    flex: 1;
    text-align: center;
  }
  .admin-topbar-right {
    gap: 12px;
  }
  .br-pc {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero-actions .btn-pill {
    width: 100%;
  }
  .showcase-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
