/* ===== 设计变量 ===== */
:root {
  /* ===== 炎烁 LOGO 品牌色 ===== */
  --blue: #0D5EBB;        /* LOGO 左侧皇家蓝 */
  --blue-deep: #083D82;   /* 深蓝（Hero底、页脚） */
  --red: #DC2626;         /* LOGO 右侧正红 */
  --red-hot: #E31C25;     /* 亮红（强调、光晕） */
  --cyan: #60A5FA;        /* 柔和蓝（辅助光晕） */
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6B7280;
  --bg: #ffffff;
  --bg-alt: #F9FAFB;
  --line: #E5E7EB;
  --grad: linear-gradient(120deg, var(--red-hot), var(--red) 42%, var(--blue));
  --shadow: 0 20px 56px rgba(13, 94, 187, .12), 0 8px 24px rgba(220, 38, 38, .08);
  --radius: 22px;
  --maxw: 1360px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(var(--maxw), 92vw); margin: 0 auto; }

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }

/* ===== 顶部公告条 ===== */
.topbar {
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  text-align: center;
}
.topbar .container {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  padding: 8px 0; flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; border-bottom: 1px dashed rgba(255,255,255,.6); }

/* ===== 导航 ===== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 8px 30px rgba(15,42,90,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.logo-img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: contain;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 7px;
  border: 2px solid #fff; border-radius: 50%;
  border-right-color: transparent; border-bottom-color: transparent;
}
.logo-sub { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--grad); color: #fff !important; padding: 9px 18px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(26,115,232,.3);
}
.nav-cta:hover { filter: brightness(1.05); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px; border-radius: 999px; font-weight: 600; font-size: 16px;
  cursor: pointer; border: 0; transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px rgba(26,115,232,.35); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn.full { width: 100%; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 80px 0 100px; min-height: 620px; display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(820px 500px at 82% 2%, rgba(227,28,37,.42), transparent 62%),
    radial-gradient(700px 460px at 12% 24%, rgba(13,94,187,.44), transparent 58%),
    radial-gradient(600px 400px at 48% 110%, rgba(96,165,250,.22), transparent 60%),
    linear-gradient(160deg, var(--blue-deep) 0%, #102A52 45%, #1A0E26 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask: radial-gradient(125% 95% at 50% 0%, #000 28%, transparent 78%);
  mask: radial-gradient(125% 95% at 50% 0%, #000 28%, transparent 78%);
  opacity: .65; animation: gridDrift 26s linear infinite;
}
@keyframes gridDrift { to { background-position: 52px 52px; } }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-text { max-width: 620px; }
.badge {
  display: inline-block; background: rgba(255,255,255,.10); color: #fff;
  border: 1px solid rgba(255,255,255,.28); padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(50px, 7.2vw, 94px); line-height: 1.06; letter-spacing: -2px; color: #fff; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { color: rgba(255,255,255,.84); font-size: 20px; margin: 30px 0 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 36px; color: rgba(255,255,255,.72); font-size: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-trust strong { color: #fff; font-size: 19px; }

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--grad);
}

/* Hero 视觉 - 轨道 */
.hero-visual { display: flex; justify-content: center; }
.orbit { position: relative; width: 400px; height: 400px; display: grid; place-items: center; }
.core {
  width: 124px; height: 124px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 28px; z-index: 3;
  box-shadow: 0 14px 42px rgba(13,94,187,.48), 0 0 0 0 rgba(227,28,37,.46);
  animation: corePulse 3.2s ease-in-out infinite;
}
@keyframes corePulse { 0%,100% { box-shadow: 0 14px 42px rgba(13,94,187,.48), 0 0 0 0 rgba(227,28,37,.46); } 50% { box-shadow: 0 14px 42px rgba(13,94,187,.52), 0 0 0 22px rgba(227,28,37,0); } }
.ring { position: absolute; border: 1.5px solid rgba(96,165,250,.24); border-radius: 50%; }
.ring1 { width: 200px; height: 200px; animation: spin 14s linear infinite; }
.ring2 { width: 288px; height: 288px; border-color: rgba(227,28,37,.38); animation: spin 22s linear infinite reverse; }
.ring3 { width: 384px; height: 384px; border-style: dashed; animation: spin 30s linear infinite; }
.node {
  position: absolute; background: #fff; border: 1px solid var(--line); color: var(--blue);
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 20px rgba(15,42,90,.08); z-index: 4;
}
.n1 { top: 6%; left: 50%; transform: translateX(-50%); }
.n2 { right: 2%; top: 50%; transform: translateY(-50%); }
.n3 { bottom: 6%; left: 50%; transform: translateX(-50%); }
.n4 { left: 2%; top: 50%; transform: translateY(-50%); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 合作伙伴 ===== */
.partners { background: var(--bg-alt); padding: 26px 0; }
.partners-title { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.partners-row { display: flex; justify-content: center; gap: 38px; flex-wrap: wrap; }
.partners-row span { color: var(--ink-soft); font-weight: 700; opacity: .7; font-size: 17px; }

/* ===== 通用 section ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 44px; position: relative; }
.section-head::after {
  content: ""; display: block; width: 76px; height: 4px; margin: 20px auto 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--red-hot), var(--red) 50%, var(--blue));
  background-size: 200% 100%; animation: dividerSlide 3.5s linear infinite;
}
@keyframes dividerSlide { to { background-position: 200% 0; } }
.eyebrow { font-weight: 700; letter-spacing: 3px; font-size: 13px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 16px 0 24px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }

/* ===== 卡片 ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 40px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 72px; height: 72px; border-radius: 18px; background: linear-gradient(135deg, #eaf0ff, #eef4ff);
  display: grid; place-items: center; font-size: 36px; margin-bottom: 20px;
}
.card h3 { font-size: 23px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card ul { margin-top: 14px; list-style: none; display: grid; gap: 8px; }
.card ul li { font-size: 14px; color: var(--ink-soft); padding-left: 22px; position: relative; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

/* ===== 产品 ===== */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 46px 40px; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.product::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-tag {
  display: inline-block; background: #eaf0ff; color: var(--blue); font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.product h3 { font-size: 24px; margin-bottom: 14px; }
.product p { color: var(--ink-soft); font-size: 15px; }
.product-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.product-meta span { font-size: 12.5px; color: var(--blue-deep); background: var(--bg-alt); border: 1px solid var(--line); padding: 4px 10px; border-radius: 8px; }

/* ===== 客户案例 ===== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 40px; transition: transform .25s, box-shadow .25s; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-quote { font-size: 16px; color: var(--ink); font-weight: 500; position: relative; padding-top: 18px; }
.case-quote::before { content: "“"; position: absolute; top: -8px; left: -6px; font-size: 50px; color: var(--red); font-family: Georgia, serif; opacity: .55; }
.case-info { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.case-info strong { display: block; }
.case-info span { font-size: 13px; color: var(--muted); }

/* ===== 关于 ===== */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 12px 0 18px; }
.about-text p { color: var(--ink-soft); }
.about-values { display: grid; gap: 16px; margin-top: 24px; }
.about-values > div { display: flex; gap: 14px; align-items: flex-start; }
.v-ico { font-size: 24px; }
.about-values strong { display: block; }
.about-values p { font-size: 14px; }
.about-visual { display: grid; gap: 22px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; text-align: center; box-shadow: 0 10px 30px rgba(10,31,92,.07); }
.ac-num { font-size: 54px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ===== 数据统计 ===== */
.stats { background: linear-gradient(120deg, var(--blue-deep), var(--red) 55%, var(--blue)); color: #fff; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-size: clamp(48px, 6vw, 74px); font-weight: 800; letter-spacing: -1.5px; }
.stat-label { opacity: .85; font-size: 15px; margin-top: 6px; }

/* ===== 联系 ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 12px 0 16px; }
.contact-info p { color: var(--ink-soft); }
.contact-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.contact-list li { background: var(--bg-alt); border: 1px solid var(--line); padding: 12px 16px; border-radius: 12px; font-weight: 600; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); }
.field label {
  position: absolute; left: 14px; top: 14px; color: var(--muted); font-size: 15px;
  pointer-events: none; transition: .18s; background: #fff; padding: 0 4px;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -9px; font-size: 12px; color: var(--blue);
}
.form-tip { color: #059669; font-weight: 600; text-align: center; }

/* ===== 页脚 ===== */
.footer { background: var(--blue-deep); color: #cbd5e1; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 28px; padding: 40px 0 26px; }
.footer .logo { color: #fff; }
.footer-brand p { margin-top: 14px; color: #94a3b8; font-size: 14px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; color: #94a3b8; font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-qr h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-qr .qr-box { margin-bottom: 12px; }
.footer-qr .qr-placeholder { width: 108px; height: 108px; background: #f1f5f9; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.footer-qr .qr-placeholder span { font-size: 11px; color: #94a3b8; }
.footer-qr p { font-size: 13px; color: #94a3b8; line-height: 1.6; }
.footer-qr img { width: 108px; height: 108px; border-radius: 10px; object-fit: contain; background: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #64748b; font-size: 13px; }

/* ===== 滚动揭示动画 ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 顶部滚动进度条 ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad); z-index: 100; transition: width .12s linear;
  box-shadow: 0 0 12px rgba(226,59,59,.55);
}

/* ===== 右侧漂浮联系方式 ===== */
.float-contact {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  z-index: 60; display: flex; flex-direction: column; gap: 18px;
  animation: fcIn .6s ease both .25s;
}
@keyframes fcIn { from { opacity: 0; transform: translateY(-50%) translateX(26px); } to { opacity: 1; transform: translateY(-50%) translateX(0); } }

.fc-btn {
  position: relative; width: 64px; height: 64px; border-radius: 20px;
  border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: #fff; font-family: inherit; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.fc-ico { width: 27px; height: 27px; display: grid; place-items: center; }
.fc-ico svg { width: 100%; height: 100%; }
.fc-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-indent: 1.5px; }

/* 电话 - 品牌红 */
.fc-phone {
  background: linear-gradient(135deg, #FF4D4D 0%, var(--red) 52%, #A51313 100%);
  box-shadow: 0 14px 34px rgba(227,28,37,.4), inset 0 1px 0 rgba(255,255,255,.28);
}
.fc-phone:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(227,28,37,.5), inset 0 1px 0 rgba(255,255,255,.28); }

/* 客服 - 品牌蓝 */
.fc-service {
  background: linear-gradient(135deg, #4D9BFF 0%, var(--blue) 52%, var(--blue-deep) 100%);
  box-shadow: 0 14px 34px rgba(13,94,187,.42), inset 0 1px 0 rgba(255,255,255,.28);
}
.fc-service:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(13,94,187,.52), inset 0 1px 0 rgba(255,255,255,.28); }

/* 客服呼吸光环 */
.fc-service::before {
  content: ""; position: absolute; inset: -6px; border-radius: 26px;
  border: 2px solid rgba(13,94,187,.55); animation: fcPulse 2.4s ease-out infinite;
}
@keyframes fcPulse {
  0% { transform: scale(.94); opacity: .85; }
  70% { transform: scale(1.2); opacity: 0; }
  100% { opacity: 0; }
}

/* 客服未读红点 */
.fc-dot {
  position: absolute; top: 9px; right: 10px; width: 10px; height: 10px;
  background: var(--red-hot); border: 2px solid #fff; border-radius: 50%;
  animation: fcDot 1.8s ease-in-out infinite;
}
@keyframes fcDot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.4); } }

/* 顶部 - 玻璃白 */
.fc-top {
  background: rgba(255,255,255,.94); color: var(--blue-deep);
  border: 1px solid var(--line); backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(15,42,90,.16);
}
.fc-top:hover { transform: translateY(-4px); color: var(--blue); box-shadow: 0 18px 38px rgba(15,42,90,.24); }

.fc-btn.active { box-shadow: 0 0 0 4px rgba(13,94,187,.3), 0 14px 34px rgba(13,94,187,.42); }

/* 悬浮提示 */
.fc-tip {
  position: absolute; right: 82px; top: 50%; transform: translateY(-50%) scale(.9);
  transform-origin: right center; white-space: nowrap;
  background: var(--blue-deep); color: #fff; padding: 11px 18px; border-radius: 14px;
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  box-shadow: 0 12px 30px rgba(8,61,130,.4);
}
.fc-tip small { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.72); letter-spacing: 0; }
.fc-tip::after {
  content: ""; position: absolute; right: -7px; top: 50%; transform: translateY(-50%);
  border: 7px solid transparent; border-left-color: var(--blue-deep);
}
.fc-phone .fc-tip { background: linear-gradient(135deg, #991B1B, #B91C1C); }
.fc-phone .fc-tip::after { border-left-color: #B91C1C; }
.fc-btn:hover .fc-tip { opacity: 1; transform: translateY(-50%) scale(1); }

/* ===== 在线客服面板 ===== */
.chat-panel {
  position: fixed; right: 92px; bottom: 28px; z-index: 61;
  width: 340px; max-width: calc(100vw - 36px);
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(8,32,80,.28);
  display: flex; flex-direction: column; max-height: 78vh;
  animation: chatIn .26s ease;
}
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.chat-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: #fff;
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; font-weight: 800; font-size: 18px; flex-shrink: 0;
}
.chat-head-text { display: flex; flex-direction: column; line-height: 1.35; flex: 1; }
.chat-head-text strong { font-size: 15px; }
.chat-head-text span { font-size: 12px; color: rgba(255,255,255,.78); }
.chat-close {
  background: rgba(255,255,255,.16); border: 0; color: #fff; width: 30px; height: 30px;
  border-radius: 9px; font-size: 20px; cursor: pointer; line-height: 1; transition: background .2s;
}
.chat-close:hover { background: rgba(255,255,255,.3); }
.chat-body {
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
  overflow-y: auto; flex: 1; background: var(--bg-alt);
}
.chat-msg {
  max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.6;
}
.chat-msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-quick-btn {
  border: 1px solid var(--line); background: var(--bg-alt); color: var(--blue-deep);
  font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.chat-quick-btn:hover { border-color: var(--blue); color: var(--blue); background: #eaf0ff; }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input {
  flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: 14px; font-family: inherit; color: var(--ink);
}
.chat-input input:focus { outline: 0; border-color: var(--blue); }
.chat-input button {
  border: 0; background: var(--grad); color: #fff; font-weight: 600; font-size: 14px;
  padding: 0 18px; border-radius: 10px; cursor: pointer; transition: filter .2s;
}
.chat-input button:hover { filter: brightness(1.05); }

/* ===== 响应式 ===== */
@media (max-width: 640px) {
  .float-contact { right: 12px; gap: 12px; }
  .fc-btn { width: 56px; height: 56px; border-radius: 18px; }
  .fc-ico { width: 23px; height: 23px; }
  .fc-tip { right: 72px; }
  .chat-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
}
@media (max-width: 920px) {
  .cards, .products, .cases { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .about, .contact-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-qr { grid-column: span 2; text-align: center; }
  .footer-qr .qr-placeholder, .footer-qr img { margin: 0 auto; }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column;
    gap: 0; padding: 10px 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; padding: 12px 24px; }
  .nav-toggle { display: flex; }
  .cards, .products, .cases { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 40px 0 80px; }
  .orbit { width: 280px; height: 280px; }
}
