/* ============================================================
   Huvia 辉佳 - 页面专属样式（首页 / 产品 / 案例 / 关于）
   ============================================================ */

/* ============================================================
   首页专属
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 120px;
  background: linear-gradient(180deg, #FFFAF7 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(253,116,70,0.12) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 {
  margin-bottom: 24px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.15;
}
.hero-content h1 .brand-text { position: relative; }
.hero-content h1 .brand-text::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: var(--brand-soft);
  z-index: -1;
  border-radius: 2px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-light);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-mute);
  font-size: 13px;
}
.hero-trust .divider { width: 1px; height: 16px; background: var(--line); }

/* ---------- Hero 右侧可视化 ---------- */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signal-network {
  position: relative;
  width: 100%;
  height: 100%;
}
.signal-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #FFA37D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 20px 60px rgba(253,116,70,.35);
  z-index: 2;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 20px 60px rgba(253,116,70,.35), 0 0 0 0 rgba(253,116,70,.3); }
  50% { box-shadow: 0 20px 60px rgba(253,116,70,.35), 0 0 0 30px rgba(253,116,70,0); }
}
.signal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(253,116,70,.2);
  transform: translate(-50%, -50%);
}
.signal-ring.r1 { width: 280px; height: 280px; animation: rotate 40s linear infinite; }
.signal-ring.r2 { width: 420px; height: 420px; border-color: rgba(253,116,70,.12); animation: rotate 60s linear infinite reverse; }
@keyframes rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.signal-node {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: 1px solid var(--line-soft);
}
.signal-node svg { width: 28px; height: 28px; }
.signal-node.n1 { top: 8%;  left: 18%; animation: float 6s ease-in-out infinite; }
.signal-node.n2 { top: 14%; right: 12%; animation: float 6s ease-in-out infinite 1s; }
.signal-node.n3 { bottom: 18%; left: 8%; animation: float 6s ease-in-out infinite 2s; }
.signal-node.n4 { bottom: 8%; right: 18%; animation: float 6s ease-in-out infinite 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.signal-line {
  position: absolute;
  top: 50%; left: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253,116,70,.4), transparent);
  transform-origin: 0 0;
  z-index: 1;
}

/* ---------- 数据概览 ---------- */
.stats {
  margin-top: -40px;
  position: relative;
  z-index: 5;
}
.stats-grid {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border: 1px solid var(--line-soft);
}
.stat-item { text-align: left; padding-left: 24px; border-left: 1px solid var(--line); }
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num .unit { font-size: 18px; color: var(--brand); font-weight: 500; }
.stat-label { color: var(--text-light); font-size: 14px; margin-top: 8px; }

/* ---------- 价值卡片 ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-grid.value-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}
.value-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.value-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.value-card:hover::before { transform: scaleX(1); }
.value-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--brand);
}
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 { margin-bottom: 12px; font-size: 19px; }
.value-card p { color: var(--text-light); font-size: 14.5px; line-height: 1.75; }

/* ---------- 产品矩阵 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card:nth-child(-n+2),
.product-card:nth-child(n+3) {
  grid-column: span 1;
}
.product-card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(253,116,70,.04) 0%, rgba(253,116,70,0) 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.product-card::after {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--brand-soft) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px -12px rgba(253,116,70,.25), 0 8px 16px -8px rgba(0,0,0,.08);
  border-color: var(--brand);
}
.product-card:hover::before { opacity: 1; }
.product-card:hover::after { opacity: 1; transform: scale(1.2); }

/* Product card icon (line svg, matches value-icon style) */
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  color: var(--brand);
  transition: transform .4s var(--ease);
}
.product-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .4s var(--ease);
}
.product-card:hover .product-icon {
  transform: rotate(-8deg) scale(1.1);
}
.product-card:hover .product-icon svg { transform: scale(1.05); }
.product-card.featured {
  grid-column: span 1;
  background: linear-gradient(135deg, #1F2024 0%, #2C2D33 100%);
  color: #fff;
  border-color: transparent;
}
.product-card.featured h3, .product-card.featured .product-num { color: #fff; }
.product-card.featured p { color: rgba(255,255,255,.7); }
.product-card.featured .product-link { color: var(--brand-light); }
.product-card.featured::before {
  content: 'HOT';
  position: absolute;
  top: 20px; right: 20px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  z-index: 1;
}
.product-num {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  font-weight: 500;
}
.product-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.product-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.product-card .product-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.product-card .product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-light);
}
.product-card .product-features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}
.product-card.featured .product-features li { color: rgba(255,255,255,.75); }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 1;
  transition: color .3s var(--ease);
  margin-top: auto;
}
.product-card:hover .product-link { color: var(--brand); }
.product-link::after {
  content: '→';
  transition: transform .25s var(--ease);
}
.product-link:hover::after { transform: translateX(4px); }

/* ---------- 案例 ---------- */
.case-preview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.case-content .tag { margin-bottom: 16px; }
.case-content h2 { margin-bottom: 24px; }
.case-content p { color: var(--text-light); font-size: 16px; margin-bottom: 32px; }
.case-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
}
.case-stats .item .num {
  font-size: 28px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.case-stats .item .label {
  color: var(--text-light);
  font-size: 13px;
  margin-top: 4px;
}
.case-mockup {
  background: linear-gradient(135deg, #fff 0%, #FFF8F5 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-mockup .phone {
  width: 240px;
  height: 480px;
  background: #1F2024;
  border-radius: 36px;
  padding: 12px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,.2);
}
.case-mockup .phone::before {
  content: '';
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 24px;
  background: #1F2024;
  border-radius: 12px;
  z-index: 2;
}
.case-mockup .phone::after {
  content: '';
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background: #2C2D33;
  border-radius: 4px;
  z-index: 3;
}
.case-mockup .screen {
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  padding: 60px 16px 16px;
  position: relative;
}
.case-mockup .msg-bubble {
  background: var(--bg-soft);
  padding: 12px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 85%;
  position: relative;
}
.case-mockup .msg-bubble.gradient {
  background: linear-gradient(135deg, var(--brand) 0%, #FFA37D 100%);
  color: #fff;
  margin-left: auto;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}
.case-mockup .msg-bubble .meta { color: var(--text-mute); font-size: 10px; margin-top: 6px; }
.case-mockup .msg-bubble.gradient .meta { color: rgba(255,255,255,.7); }
.case-mockup .msg-bubble .btn-mini {
  display: inline-block;
  background: rgba(255,255,255,.25);
  color: #fff;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 8px;
}
.case-mockup .msg-bubble.gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.1) 1px, transparent 0);
  background-size: 12px 12px;
  border-radius: inherit;
  pointer-events: none;
}

/* ---------- CTA Strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--brand) 0%, #E85A2B 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.15) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-strip h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 8px;
  position: relative;
}
.cta-strip p { color: rgba(255,255,255,.85); position: relative; }
.cta-strip .cta-actions { position: relative; display: flex; gap: 12px; flex-shrink: 0; }

/* ============================================================
   产品页
   ============================================================ */
.page-hero {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #FFFAF7 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(253,116,70,.10) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6) 0%, transparent 80%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 760px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { color: var(--text-light); font-size: 18px; max-width: 640px; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line-soft);
}
.product-detail:nth-child(even) { direction: rtl; }
.product-detail:nth-child(even) > * { direction: ltr; }
.product-detail:last-child { border-bottom: none; }
.product-detail-content .tag { margin-bottom: 16px; }
.product-detail-content h2 { font-size: 32px; margin-bottom: 20px; }
.product-detail-content > p { color: var(--text-light); font-size: 16px; margin-bottom: 32px; }
.product-detail-content h4 { margin: 24px 0 12px; font-size: 15px; }
.product-detail-content .feat-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.product-detail-content .feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.product-detail-content .feat-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  flex-shrink: 0;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6L5 9L10 3' stroke='%23FD7446' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.scenario-list { display: flex; flex-wrap: wrap; gap: 8px; }
.scenario-list li {
  background: var(--bg-soft);
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 100px;
  color: var(--text);
}

.product-visual {
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 100%);
  border-radius: var(--radius-lg);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(253,116,70,.10) 1px, transparent 0);
  background-size: 16px 16px;
  opacity: 0.5;
}
.product-visual .visual-icon {
  width: 120px; height: 120px;
  background: #fff;
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.product-visual .visual-icon svg { width: 60px; height: 60px; color: var(--brand); }
.product-visual .float-card {
  position: absolute;
  background: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.product-visual .float-card .num { color: var(--brand); font-size: 18px; font-weight: 600; }
.product-visual .float-card.c1 { top: 40px; left: 40px; animation: float 5s ease-in-out infinite; }
.product-visual .float-card.c2 { bottom: 40px; right: 40px; animation: float 5s ease-in-out infinite 2s; }
.product-visual .float-card.c3 { top: 50%; right: 30px; transform: translateY(-50%); animation: float 5s ease-in-out infinite 1s; }

/* ---------- 平台能力 ---------- */
.platform-section { background: var(--bg-soft); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.platform-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: var(--radius-md);
  text-align: left;
  border: 1px solid var(--line-soft);
  transition: all .25s var(--ease);
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.platform-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.platform-card .icon svg { width: 24px; height: 24px; }
.platform-card h4 { margin-bottom: 8px; }
.platform-card p { color: var(--text-light); font-size: 13.5px; }

/* ============================================================
   案例页
   ============================================================ */
.case-card-large {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.case-card-large:nth-child(even) { direction: rtl; }
.case-card-large:nth-child(even) > * { direction: ltr; }
.case-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.case-logo {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid var(--line-soft);
}
.case-brand-text h3 { font-size: 22px; margin-bottom: 4px; }
.case-brand-text .industry { color: var(--text-mute); font-size: 13px; }
.case-card-large h2 { font-size: 26px; margin-bottom: 16px; }
.case-card-large .case-section { margin-bottom: 24px; }
.case-card-large .case-section h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 12px;
  font-weight: 500;
}
.case-card-large .case-section ul { display: flex; flex-direction: column; gap: 8px; }
.case-card-large .case-section ul li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 14.5px;
}
.case-card-large .case-section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
}
.case-results {
  background: linear-gradient(135deg, #FFFAF7 0%, #fff 100%);
  border: 1px solid var(--brand-tint);
  border-radius: var(--radius-md);
  padding: 32px;
}
.case-results h5 { margin-bottom: 20px; font-size: 13px; }
.case-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case-results-grid .result .num {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.case-results-grid .result .num .pct { color: var(--brand); font-size: 16px; }
.case-results-grid .result .label {
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 4px;
}

.client-matrix {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.client-logo {
  height: 100px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-size: 15px;
  font-weight: 500;
  transition: all .2s var(--ease);
  padding: 16px;
  text-align: center;
}
.client-logo:hover {
  border-color: var(--brand-tint);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   关于我们
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-intro-content .eyebrow { margin-bottom: 20px; }
.about-intro-content h2 { margin-bottom: 24px; }
.about-intro-content p { color: var(--text-light); font-size: 16px; margin-bottom: 16px; line-height: 1.85; }
.about-intro-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.12);
  border: 1px solid var(--line-soft);
}
.about-intro-visual::before {
  display: none;
}
.about-intro-visual .building-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform .6s ease;
}
.about-intro-visual:hover .building-photo {
  transform: scale(1.04);
}

.brand-meaning {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.brand-meaning-card {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.brand-meaning-card h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 24px;
}
.brand-meaning-card h3 .sub { font-size: 14px; color: var(--text-mute); font-weight: 400; }
.brand-meaning-card .quote {
  color: var(--brand);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 20px;
}
.brand-meaning-card p { color: var(--text-light); line-height: 1.85; }

.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 32px;
  position: relative;
}
.timeline-year {
  flex-shrink: 0;
  width: 80px;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-align: right;
}
.timeline-content {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  position: relative;
  margin-left: 32px;
}
.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 32px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--brand-soft);
}
.timeline-content h4 { margin-bottom: 8px; }
.timeline-content p { color: var(--text-light); font-size: 14.5px; }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mv-card {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand);
}
.mv-card .label {
  font-size: 13px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: 12px;
}
.mv-card h3 { font-size: 22px; margin-bottom: 16px; }
.mv-card p { color: var(--text-light); line-height: 1.85; }

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.value-chip {
  padding: 12px 24px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.strength-card {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all .25s var(--ease);
}
.strength-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.strength-card .icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-soft) 0%, #FFE5D9 100%);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.strength-card .icon svg { width: 30px; height: 30px; }
.strength-card h4 { margin-bottom: 12px; }
.strength-card p { color: var(--text-light); font-size: 14px; }

/* ============================================================
   响应式补充
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner, .case-preview, .product-detail, .case-card-large, .about-intro, .brand-meaning, .mv-grid {
    grid-template-columns: 1fr;
  }
  .product-detail:nth-child(even) { direction: ltr; }
  .case-card-large:nth-child(even) { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 24px; }
  .stat-item { padding-left: 0; border-left: none; }
  .value-grid, .product-grid, .strength-grid, .platform-grid { grid-template-columns: 1fr 1fr; }
  .product-card:nth-child(-n+2),
  .product-card:nth-child(n+3) { grid-column: span 1; }
  .client-matrix { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 60px 0 80px; }
  .hero-visual { height: 360px; }
  .yuexin-hero-image { max-height: 360px; }
  .cta-strip { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .product-visual { height: 320px; }
  .case-mockup { padding: 24px; }
  .case-mockup .phone { width: 200px; height: 400px; }
}
@media (max-width: 600px) {
  .stats-grid, .value-grid, .product-grid, .strength-grid, .platform-grid, .case-results-grid, .client-matrix {
    grid-template-columns: 1fr 1fr;
  }
  .case-card-large, .brand-meaning-card, .mv-card { padding: 28px; }
  .timeline::before { left: 50px; }
  .timeline-year { width: 50px; font-size: 18px; }
  .timeline-content { margin-left: 20px; padding: 18px 20px; }
}

/* ============================================================
   行业解决方案卡片（首页）
   ============================================================ */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.solution-card {
  display: block;
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color .25s, transform .25s, box-shadow .25s;
  color: inherit;
  text-decoration: none;
}
.solution-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -16px rgba(253,116,70,.25);
}
.solution-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(253,116,70,.10);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.solution-icon svg { width: 26px; height: 26px; }
.solution-card h3 {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.solution-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.solution-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  gap: 4px;
  transition: gap .2s;
}
.solution-card:hover .solution-link { gap: 8px; }

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

/* ============================================================
   子页面通用样式（产品 / 行业 / 文档）
   ============================================================ */
.subpage-hero {
  position: relative;
  padding: 28px 0 96px;
  background: linear-gradient(180deg, #FFFAF7 0%, #FFFFFF 100%);
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(253,116,70,0.10) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 75%);
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 36px;
  position: relative;
}
.breadcrumb a { color: var(--text-soft); transition: color .15s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .current { color: var(--ink); font-weight: 500; }
.breadcrumb span:not(.current) { color: var(--border); }

.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.subpage-hero-content h1 {
  font-size: 48px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
  margin: 16px 0 20px;
  line-height: 1.1;
}
.subpage-hero-content .subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.product-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--brand);
  background: rgba(253,116,70,.10);
  border-radius: 100px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stats .item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stats .item strong {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
}
.hero-stats .item span {
  font-size: 13px;
  color: var(--text-soft);
}

.subpage-hero-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yuexin-hero-image {
  max-height: 420px;
  width: auto;
  border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.2);
}

/* Phone mockup */
.phone-mockup {
  width: 280px;
  padding: 12px;
  background: linear-gradient(180deg, #1A1A2E, #2A2A3E);
  border-radius: 32px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.25);
}
.phone-screen {
  background: #fff;
  border-radius: 22px;
  padding: 20px 14px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg-card {
  background: #F8F9FB;
  border-radius: 12px;
  padding: 12px;
  border-left: 3px solid var(--brand);
}
.msg-card.alt { border-left-color: var(--ink); }
.msg-from {
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.msg-body {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 4px;
}
.msg-meta {
  font-size: 11px;
  color: var(--text-soft);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.feature-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -16px rgba(253,116,70,.25);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(253,116,70,.10);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* Scenario grid */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.scenario-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color .25s, transform .25s;
}
.scenario-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.scenario-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand);
  opacity: .35;
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
  line-height: 1;
}
.scenario-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.scenario-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* Spec grid */
.spec-grid {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.spec-row:last-child { border-bottom: none; }
.spec-label {
  color: var(--text-soft);
  font-weight: 500;
}
.spec-value {
  color: var(--ink);
}

/* Step grid */
.step-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.step-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color .25s, transform .25s;
}
.step-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
}
.step-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.step-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* API grid */
.api-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.api-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color .25s, transform .25s;
}
.api-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.api-method {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'SF Mono', Menlo, monospace;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: .05em;
}
.api-method.post { background: rgba(16,185,129,.10); color: #059669; }
.api-method.get { background: rgba(59,130,246,.10); color: #2563EB; }
.api-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  font-family: 'SF Mono', Menlo, monospace;
  margin-bottom: 8px;
}
.api-card p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
  line-height: 1.6;
}
.api-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.api-tags .tag {
  padding: 3px 8px;
  font-size: 11px;
  color: var(--brand);
  background: rgba(253,116,70,.08);
  border-radius: 4px;
}

/* SDK grid */
.sdk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sdk-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color .25s, transform .25s;
}
.sdk-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -16px rgba(253,116,70,.25);
}
.sdk-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(253,116,70,.10), rgba(253,116,70,.20));
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.sdk-icon svg { width: 26px; height: 26px; }
.sdk-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.sdk-card p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.6;
}
.sdk-actions {
  display: flex;
  gap: 8px;
}
.sdk-btn {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--ink);
  background: var(--bg-soft);
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.sdk-btn:hover {
  background: var(--brand);
  color: #fff;
}

/* Code mockup */
.code-mockup {
  width: 100%;
  background: #1A1A2E;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
}
.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #0F0F1F;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.code-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-header .dot.red { background: #FF5F57; }
.code-header .dot.yellow { background: #FFBD2E; }
.code-header .dot.green { background: #28CA42; }
.code-title {
  margin-left: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-family: 'SF Mono', Menlo, monospace;
}
.code-body {
  padding: 24px;
  margin: 0;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #E4E4E7;
  white-space: pre-wrap;
  overflow-x: auto;
}
.code-body .cm-key { color: #FF8C42; }
.code-body .cm-str { color: #98E8B5; }

/* Solution hero visual */
.solution-hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-card-large {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 60px -20px rgba(253,116,70,.18);
  position: relative;
}
.solution-card-large::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, transparent, rgba(253,116,70,.15));
  z-index: -1;
}
.solution-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #FF8C42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.solution-card-icon svg { width: 28px; height: 28px; }
.solution-card-large h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.solution-card-large ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.solution-card-large ul li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: var(--text-soft);
}
.solution-card-large ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 14px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* Globe mockup */
.globe-mockup {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.globe-core {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #FF8C42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(253,116,70,.4);
  position: relative;
  z-index: 2;
}
.globe-core svg { width: 70px; height: 70px; }
.globe-spoke {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 6px 20px -4px rgba(0,0,0,.10);
  transform: rotate(var(--d)) translate(140px) rotate(calc(-1 * var(--d)));
}
.globe-spoke span {
  display: inline-block;
  transform: rotate(calc(-1 * var(--d)));
}

/* MMS mockup */
.mms-mockup {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}
.mms-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px -12px rgba(0,0,0,.15);
  transition: transform .3s;
}
.mms-card:hover { transform: translateY(-4px); }
.mms-image {
  height: 120px;
  display: flex;
  align-items: flex-start;
  padding: 12px;
}
.mms-badge {
  background: rgba(255,255,255,.92);
  color: var(--ink);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 100px;
  letter-spacing: .05em;
}
.mms-content {
  padding: 16px;
}
.mms-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.mms-content p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
  line-height: 1.5;
}
.mms-btn {
  display: inline-block;
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
}

/* RCS card */
.rcs-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.12);
}
.rcs-image {
  height: 80px;
  display: flex;
  align-items: flex-start;
  padding: 10px;
}
.rcs-badge {
  background: rgba(255,255,255,.92);
  color: var(--ink);
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 500;
  border-radius: 100px;
  letter-spacing: .05em;
}
.rcs-body {
  padding: 14px;
}
.rcs-body h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.rcs-body p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.rcs-actions {
  display: flex;
  gap: 8px;
  padding: 0 14px 14px;
}
.rcs-btn {
  flex: 1;
  text-align: center;
  padding: 8px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
}
.rcs-btn.primary {
  background: var(--brand);
  color: #fff;
}

/* Chat mockup */
.phone-mockup.chat { width: 300px; }
.chat-msg {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.chat-msg.from-user { justify-content: flex-end; }
.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-bubble {
  background: #F8F9FB;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--ink);
  max-width: 75%;
  line-height: 1.5;
}
.chat-msg.from-user .chat-bubble {
  background: var(--brand);
  color: #fff;
}
.chat-bubble p { margin-bottom: 6px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble strong { font-size: 13px; }
.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.chat-actions span {
  padding: 4px 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  color: var(--ink);
}

/* ============================================================
   留资页面 (contact.html)
   ============================================================ */
.contact-section {
  padding: 48px 0 80px;
  background: linear-gradient(180deg, #FFFAF7 0%, #FFFFFF 280px);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(253,116,70,.08) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 60%);
  pointer-events: none;
}
.contact-compact-header {
  position: relative;
  text-align: center;
  margin-bottom: 32px;
}
.contact-compact-header .eyebrow {
  justify-content: center;
}
.contact-compact-header h1 {
  font-size: 28px;
  margin-bottom: 10px;
}
.contact-compact-header p {
  color: var(--text-light);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ---- 表单区 ---- */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 760px;
}
.contact-form-header {
  margin-bottom: 24px;
}
.contact-form-header h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.contact-form-header p {
  font-size: 14px;
  color: var(--text-light);
}
.contact-form-header .req {
  color: var(--brand);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.form-group .req {
  color: var(--brand);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-mute);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(253,116,70,.10);
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239A9CA0' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}
.form-group textarea {
  resize: vertical;
  min-height: 96px;
}

.form-submit-btn {
  align-self: flex-start;
  padding: 14px 36px;
  font-size: 15px;
  margin-top: 8px;
}
.form-submit-btn svg {
  transition: transform .25s var(--ease);
}
.form-submit-btn:hover svg {
  transform: translateX(4px);
}

.form-privacy {
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.6;
}

/* ---- 成功提示 ---- */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
}
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(253,116,70,.10);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.success-icon svg {
  width: 36px;
  height: 36px;
}
.form-success h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.form-success p {
  color: var(--text-light);
  font-size: 15px;
  max-width: 360px;
  line-height: 1.7;
}

/* ---- 信息卡片区（表单下方） ---- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}
.sidebar-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.sidebar-card:hover {
  border-color: var(--brand-tint);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.sidebar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.sidebar-icon svg {
  width: 22px;
  height: 22px;
}
.sidebar-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.sidebar-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ---- 联系方式区 ---- */
.sidebar-contact {
  background: linear-gradient(135deg, #FFFAF7 0%, #FFF1EC 100%);
  border: 1px solid var(--brand-tint);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  width: 100%;
}
.sidebar-contact h4 {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--ink);
}
.contact-items-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
}
.contact-item svg {
  flex-shrink: 0;
  color: var(--brand);
}

/* ---- 响应式 ---- */
@media (max-width: 960px) {
  .contact-section { padding: 36px 0 64px; }
  .contact-compact-header h1 { font-size: 24px; }
  .contact-layout { gap: 32px; }
  .contact-form-wrap { padding: 28px 24px; }
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
  .contact-items-row { gap: 12px 24px; }
  /* 子页面响应式 */
  .subpage-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .subpage-hero-content h1 { font-size: 36px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .api-grid { grid-template-columns: 1fr 1fr; }
  .sdk-grid { grid-template-columns: 1fr 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .spec-label { font-size: 12px; }
  .globe-mockup { width: 280px; height: 280px; }
  .globe-core { width: 110px; height: 110px; }
  .globe-core svg { width: 55px; height: 55px; }
  .globe-spoke { transform: rotate(var(--d)) translate(120px) rotate(calc(-1 * var(--d))); }
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-form-wrap {
    padding: 28px 20px;
  }
  .form-submit-btn {
    align-self: stretch;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-items-row {
    flex-direction: column;
    gap: 10px;
  }
}


@media (max-width: 600px) {
  .subpage-hero { padding: 20px 0 60px; }
  .subpage-hero-content h1 { font-size: 28px; }
  .feature-grid, .api-grid, .sdk-grid, .step-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stats .item strong { font-size: 20px; }
  .step-grid { grid-template-columns: 1fr; }
}
