/* ============================================================
   色小里 SEXIAOLI — 油漆调色助手 · 全自动调色设备官网
   ============================================================ */

:root {
  --coral: #ff6b4a;
  --coral-deep: #e8502e;
  --yellow: #ffd23f;
  --teal: #2ec4b6;
  --purple: #5d5fef;
  --pink: #ef476f;
  --blue: #118ab2;
  --ink: #1c1c2b;
  --ink-2: #14141f;
  --gray: #6b7280;
  --bg: #fdfcfa;
  --bg-soft: #f5f2ec;
  --card: #ffffff;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(28, 28, 43, .08);
  --shadow-lg: 0 24px 60px rgba(28, 28, 43, .14);
  --grad: linear-gradient(120deg, #ff6b4a, #ffd23f 55%, #2ec4b6);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: all .3s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--coral), var(--coral-deep));
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 107, 74, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(255, 107, 74, .45); }
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1.5px solid rgba(28, 28, 43, .15);
}
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-3px); }
.btn-wide { width: 100%; justify-content: center; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: all .35s ease;
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(253, 252, 250, .85);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(28, 28, 43, .06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { position: relative; width: 34px; height: 34px; flex-shrink: 0; }
.logo-mark .dot {
  position: absolute; border-radius: 50%;
  animation: logoSpin 6s linear infinite;
}
.logo-mark .d1 { width: 22px; height: 22px; background: var(--coral); top: 0; left: 0; opacity: .9; }
.logo-mark .d2 { width: 22px; height: 22px; background: var(--teal); top: 6px; left: 12px; opacity: .85; mix-blend-mode: multiply; }
.logo-mark .d3 { width: 22px; height: 22px; background: var(--yellow); top: 12px; left: 3px; opacity: .85; mix-blend-mode: multiply; }
.logo-text { font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.logo-text em {
  display: block; font-style: normal; font-size: 9px; font-weight: 600;
  letter-spacing: 3px; color: var(--gray); line-height: 1;
}
.logo-text.light { color: #fff; }
.logo-text.light em { color: rgba(255,255,255,.5); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; transition: color .25s; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2.5px; border-radius: 2px;
  background: var(--grad); transition: width .3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--coral); }
.nav-cta {
  padding: 9px 22px; border-radius: 999px; color: #fff !important;
  background: linear-gradient(120deg, var(--coral), var(--coral-deep));
}
.nav-cta:hover { box-shadow: 0 6px 18px rgba(255, 107, 74, .4); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 60px;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(46, 196, 182, .12), transparent 60%),
    radial-gradient(900px 600px at -10% 90%, rgba(255, 107, 74, .12), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.blob-1 { width: 420px; height: 420px; background: #ffd9cd; top: -120px; right: -80px; animation: blobFloat 14s ease-in-out infinite; }
.blob-2 { width: 360px; height: 360px; background: #c8f1ed; bottom: -100px; left: -120px; animation: blobFloat 18s ease-in-out infinite reverse; }
.blob-3 { width: 260px; height: 260px; background: #fff3c4; top: 40%; left: 42%; animation: blobFloat 16s ease-in-out 2s infinite; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-25px, 25px) scale(.95); }
}

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; color: var(--coral-deep);
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(46,196,182,.5); } 50% { box-shadow: 0 0 0 7px rgba(46,196,182,0); } }

.hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.2; margin: 24px 0 18px; letter-spacing: -1px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-desc { font-size: 16.5px; color: var(--gray); max-width: 540px; }
.hero-desc strong { color: var(--ink); }
.hero-actions { display: flex; gap: 16px; margin: 32px 0 38px; flex-wrap: wrap; }

.hero-mini-stats { display: flex; gap: 44px; }
.hero-mini-stats b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-mini-stats span { font-size: 13px; color: var(--gray); }

/* Hero 手机模型 */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mock {
  width: 300px; border-radius: 40px; padding: 14px;
  background: var(--ink); box-shadow: var(--shadow-lg);
  animation: phoneFloat 5s ease-in-out infinite;
  position: relative; z-index: 3;
}
@keyframes phoneFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: var(--ink); border-radius: 0 0 14px 14px; z-index: 2;
}
.phone-screen {
  border-radius: 28px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.app-topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 30px 18px 14px; font-size: 13px; font-weight: 700;
  background: linear-gradient(120deg, #fff5f2, #fffdf3);
}
.app-logo-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad); }
.app-scan { padding: 16px; }
.scan-frame {
  position: relative; height: 150px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #e8dfd0, #d8c8b0);
  border: 2px dashed rgba(255, 107, 74, .5);
}
.scan-target {
  position: absolute; inset: 22% 26%; border-radius: 10px;
  background: #e3d5c0; box-shadow: inset 0 0 0 2px #fff;
}
.scan-line {
  position: absolute; left: 6%; right: 6%; height: 2.5px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  animation: scanMove 2.6s ease-in-out infinite;
}
@keyframes scanMove { 0%,100% { top: 12%; } 50% { top: 85%; } }
.scan-tip { text-align: center; font-size: 12px; color: var(--gray); margin-top: 10px; }
.app-result { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.result-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 12px; background: var(--bg-soft);
}
.result-swatch { width: 34px; height: 34px; border-radius: 9px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); flex-shrink: 0; }
.result-info { flex: 1; min-width: 0; }
.result-info b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-info span { font-size: 10.5px; color: var(--teal); font-weight: 600; }
.result-tag {
  font-style: normal; font-size: 10px; font-weight: 700; color: #fff;
  background: var(--coral); padding: 3px 8px; border-radius: 999px;
}
.result-tag.alt { background: #b9c0cc; }
.app-btn {
  margin: 14px 16px 18px; padding: 12px; border: none; border-radius: 12px;
  background: linear-gradient(120deg, var(--coral), var(--coral-deep));
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
}

/* 漂浮色卡 */
.float-card {
  position: absolute; z-index: 4;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 12px 16px; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-lg); line-height: 1.4;
  animation: cardFloat 6s ease-in-out infinite;
}
.float-card i { display: block; width: 30px; height: 30px; border-radius: 8px; background: var(--c); margin-bottom: 6px; }
.float-card small { font-weight: 500; color: var(--gray); font-size: 11px; }
.fc-1 { top: 6%; left: -4%; animation-delay: 0s; }
.fc-2 { bottom: 16%; left: -10%; animation-delay: 1.4s; }
.fc-3 { top: 32%; right: -5%; animation-delay: 2.6s; }
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; color: var(--gray); z-index: 3;
}
.mouse { width: 22px; height: 34px; border: 2px solid var(--gray); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.mouse i { width: 3px; height: 7px; border-radius: 2px; background: var(--coral); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* ---------- 数据带 ---------- */
.stats-bar { background: var(--ink-2); padding: 44px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item b {
  display: block; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-item span { color: rgba(255,255,255,.65); font-size: 14px; }

/* ---------- 通用 Section ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--coral-deep);
  background: rgba(255, 107, 74, .1); margin-bottom: 18px;
}
.tag-dark { background: rgba(28,28,43,.08); color: var(--ink); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.5px; margin-bottom: 14px; }
.section-head p { color: var(--gray); font-size: 16px; }

/* 滚动进场动画 */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 调色助手 ---------- */
.section-assistant { background: var(--bg); }
.assistant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.assist-feature {
  position: relative; background: var(--card); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow);
  border-top: 4px solid transparent; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.assist-feature::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent, var(--coral));
}
.assist-feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feat-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent, var(--coral)) 12%, #fff);
  color: var(--accent, var(--coral)); margin-bottom: 20px;
}
.assist-feature h3 { font-size: 19px; margin-bottom: 10px; }
.assist-feature p { font-size: 14.5px; color: var(--gray); }

/* ---------- 微信小程序下载引导 ---------- */
.hero-mp-tip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 999px;
  background: rgba(7, 193, 96, .08); color: #07965a;
  font-size: 13.5px; font-weight: 600;
  margin-bottom: 26px;
}

.mp-banner {
  display: flex; align-items: center; gap: 26px;
  margin-top: 52px; padding: 30px 38px;
  background: linear-gradient(120deg, #effbf3, #ffffff 45%, #f7fff9);
  border: 1.5px solid rgba(7, 193, 96, .28);
  border-radius: 24px; box-shadow: var(--shadow);
}
.mp-icon {
  width: 66px; height: 66px; border-radius: 18px; flex-shrink: 0;
  background: linear-gradient(140deg, #07c160, #059a4d);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(7, 193, 96, .35);
}
.mp-text { flex: 1; }
.mp-text b { display: block; font-size: 19px; margin-bottom: 4px; }
.mp-text span { font-size: 14px; color: var(--gray); }
.mp-search {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  background: #fff; border: 1.5px dashed rgba(7, 193, 96, .55);
  font-size: 14px; color: var(--gray); white-space: nowrap;
}
.mp-search b { color: #07965a; font-size: 18px; letter-spacing: 2px; }

/* ---------- 全自动调色设备（深色区） ---------- */
.section-machine { background: linear-gradient(180deg, var(--ink-2), #1d1d30); color: #fff; position: relative; overflow: hidden; }
.section-machine .section-head p { color: rgba(255,255,255,.6); }
.section-machine .section-head h2 { color: #fff; }
.section-machine .tag-dark { background: rgba(255,255,255,.1); color: #ffd23f; }

.machine-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }

/* CSS 画的调色机 */
.machine-visual { position: relative; display: flex; justify-content: center; }
.machine-glow {
  position: absolute; width: 80%; height: 70%; top: 15%;
  background: radial-gradient(ellipse, rgba(93,95,239,.25), transparent 70%);
  filter: blur(40px);
}
.machine-body {
  position: relative; width: min(420px, 100%);
  background: linear-gradient(160deg, #2b2b40, #20202f);
  border-radius: 26px; padding: 26px 26px 0;
  box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}
.machine-panel { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.panel-screen {
  flex: 1; margin-right: 18px; background: #101018; border-radius: 12px;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 8px;
  border: 1px solid rgba(46,196,182,.3);
}
.ps-line { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #7ef0e4; font-weight: 600; }
.ps-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 1.6s infinite; }
.ps-bar { display: flex; flex-direction: column; gap: 3px; }
.ps-bar b {
  height: 5px; border-radius: 3px; width: var(--w);
  background: linear-gradient(90deg, var(--coral), var(--yellow));
  animation: barLoad 3s ease-in-out infinite alternate;
}
.ps-bar b.b2 { background: linear-gradient(90deg, var(--teal), var(--purple)); animation-delay: .8s; }
@keyframes barLoad { from { width: calc(var(--w) - 14%); } to { width: var(--w); } }
.ps-bar em { font-style: normal; font-size: 9.5px; color: rgba(255,255,255,.45); }
.panel-keys { display: flex; flex-direction: column; gap: 8px; }
.panel-keys i { width: 26px; height: 26px; border-radius: 8px; background: #34344c; box-shadow: inset 0 2px 4px rgba(0,0,0,.4); }
.panel-keys .key-on { background: var(--teal); animation: pulse 2s infinite; }

.machine-tanks { display: flex; gap: 10px; justify-content: center; padding-bottom: 18px; }
.tank {
  position: relative; width: 46px; height: 110px;
  background: rgba(255,255,255,.06); border-radius: 10px 10px 6px 6px;
  border: 1px solid rgba(255,255,255,.12); overflow: hidden;
}
.tank::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--lvl); background: var(--c); opacity: .92;
  animation: tankWave 4s ease-in-out infinite;
}
@keyframes tankWave { 0%,100% { height: var(--lvl); } 50% { height: calc(var(--lvl) - 6%); } }
.tank label {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 10px; font-weight: 800; color: #fff;
  background: rgba(0,0,0,.4); width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.machine-nozzle { position: relative; height: 130px; background: rgba(0,0,0,.25); border-radius: 0 0 26px 26px; }
.nozzle-head {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 34px; height: 26px; background: #3a3a52; border-radius: 0 0 8px 8px;
}
.nozzle-head::after {
  content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 10px solid #3a3a52;
}
.drip {
  position: absolute; top: 38px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 12px; border-radius: 50% 50% 60% 60%;
  background: var(--coral); opacity: 0;
  animation: drip 2.2s ease-in infinite;
}
@keyframes drip {
  0% { top: 36px; opacity: 0; }
  15% { opacity: 1; }
  70% { top: 82px; opacity: 1; }
  71%, 100% { top: 82px; opacity: 0; }
}
.mix-can {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 56px; border-radius: 6px 6px 10px 10px;
  background: linear-gradient(160deg, #e8e8ef, #b9b9c6); overflow: hidden;
}
.can-paint {
  position: absolute; left: 4px; right: 4px; bottom: 4px; height: 60%;
  border-radius: 4px; background: linear-gradient(120deg, var(--coral), var(--yellow));
  animation: canFill 4.4s ease-in-out infinite alternate;
}
@keyframes canFill { from { height: 35%; } to { height: 72%; } }

.machine-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.spec-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px; padding: 20px 22px; transition: all .3s;
}
.spec-item:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.spec-item b {
  display: block; font-size: 21px; margin-bottom: 6px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.spec-item span { font-size: 13.5px; color: rgba(255,255,255,.62); }
.machine-specs .btn { grid-column: 1 / -1; margin-top: 8px; }

/* 工作流程 */
.flow {
  display: flex; align-items: stretch; justify-content: center; gap: 10px;
  background: rgba(255,255,255,.04); border-radius: 24px; padding: 36px 30px;
  border: 1px solid rgba(255,255,255,.08);
}
.flow-item { flex: 1; text-align: center; padding: 0 10px; }
.flow-num {
  font-size: 15px; font-weight: 800; color: var(--yellow);
  margin-bottom: 10px; letter-spacing: 2px;
}
.flow-item h4 { font-size: 18px; margin-bottom: 8px; }
.flow-item p { font-size: 13px; color: rgba(255,255,255,.55); }
.flow-arrow { align-self: center; font-size: 22px; color: var(--coral); padding: 0 4px; }

/* ---------- 调色实验室 ---------- */
.section-lab { background: var(--bg-soft); }
.lab-board {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px;
  background: #fff; border-radius: 28px; padding: 46px;
  box-shadow: var(--shadow-lg);
}
.lab-controls { display: flex; flex-direction: column; gap: 24px; }
.lab-slider .ls-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14.5px; font-weight: 600; }
.lab-slider .ls-head i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.lab-slider .ls-head b { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--gray); }
.lab-slider input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px;
  border-radius: 999px; background: var(--bg-soft); outline: none; cursor: pointer;
}
.lab-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--coral);
  box-shadow: 0 3px 10px rgba(28,28,43,.2); transition: transform .2s;
}
.lab-slider input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.lab-presets { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.preset-btn {
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid rgba(28,28,43,.12);
  background: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: all .25s;
}
.preset-btn:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }

.lab-preview { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.paint-bucket { position: relative; width: 190px; }
.bucket-handle {
  position: absolute; top: -34px; left: 12%; right: 12%; height: 60px;
  border: 5px solid #9aa0ad; border-bottom: none; border-radius: 80px 80px 0 0;
}
.bucket-body {
  position: relative; width: 100%; height: 200px;
  background: linear-gradient(160deg, #e9e9ef, #c7c7d2);
  border-radius: 10px 10px 26px 26px; overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5), var(--shadow);
}
.bucket-paint {
  position: absolute; left: 8px; right: 8px; bottom: 8px; height: 68%;
  border-radius: 6px 6px 20px 20px;
  background: #ff8a5c; transition: background .35s ease;
  box-shadow: inset 0 6px 14px rgba(0,0,0,.18);
}
.bucket-label {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 800; letter-spacing: 2px; color: rgba(28,28,43,.35);
  z-index: 2;
}
.lab-output { text-align: center; }
.lo-title { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--coral-deep); }
.lab-output p { font-size: 14px; color: var(--gray); margin: 8px 0 12px; max-width: 320px; }
.lo-hex {
  display: inline-block; padding: 8px 22px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 700; letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}

/* ---------- 灵感色库 ---------- */
.color-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.color-card {
  border-radius: 18px; overflow: hidden; cursor: pointer;
  background: #fff; box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.color-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.cc-block { height: 120px; position: relative; }
.cc-block::after {
  content: "点击使用配方"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700;
  background: rgba(28,28,43,.35); opacity: 0; transition: opacity .3s;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.color-card:hover .cc-block::after { opacity: 1; }
.cc-info { padding: 12px 14px; }
.cc-info b { display: block; font-size: 14px; }
.cc-info span { font-size: 11.5px; color: var(--gray); font-variant-numeric: tabular-nums; }

/* ---------- 解决方案 ---------- */
.section-solutions { background: var(--bg-soft); }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.solution-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); border-bottom: 4px solid var(--sc);
  transition: transform .35s ease, box-shadow .35s ease;
}
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sc-top span {
  width: 46px; height: 46px; border-radius: 14px; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--sc) 14%, #fff);
}
.sc-top b { font-size: 17px; }
.solution-card > p { font-size: 13.5px; color: var(--gray); margin-bottom: 16px; }
.solution-card ul { display: flex; flex-direction: column; gap: 6px; }
.solution-card li { font-size: 12.5px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.solution-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sc); flex-shrink: 0; }

/* ---------- 联系 ---------- */
.section-contact { background: var(--bg); }
.contact-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  background: linear-gradient(135deg, var(--ink-2), #23233a);
  border-radius: 32px; padding: 64px; color: #fff;
  position: relative; overflow: hidden;
}
.contact-panel::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,74,.22), transparent 70%);
  top: -140px; right: -100px; filter: blur(10px);
}
.contact-copy h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.3; margin-bottom: 16px; }
.contact-copy > p { color: rgba(255,255,255,.62); font-size: 15px; max-width: 400px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; font-size: 14.5px; color: rgba(255,255,255,.85); }

.contact-form { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 2; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07);
  color: #fff; font-size: 14px; font-family: var(--font); outline: none;
  transition: border-color .25s, background .25s;
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form select:invalid { color: rgba(255,255,255,.5); }
.contact-form option { color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.45); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--coral); background: rgba(255,255,255,.12);
}
.form-tip { font-size: 12px; color: rgba(255,255,255,.4); text-align: center; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink-2); color: rgba(255,255,255,.7); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding: 64px 0 44px;
}
.footer-brand p { font-size: 13.5px; margin-top: 16px; color: rgba(255,255,255,.5); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13.5px; margin-bottom: 11px; color: rgba(255,255,255,.55); transition: color .25s; }
.footer-col a:hover { color: var(--yellow); }
.footer-keywords { padding: 6px 0 30px; font-size: 12.5px; }
.footer-keywords span { color: rgba(255,255,255,.5); margin-right: 6px; }
.footer-keywords a {
  display: inline-block; margin: 5px 6px 0 0; padding: 4px 12px;
  border-radius: 999px; background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.4;
  transition: color .25s, background .25s;
}
.footer-keywords a:hover { color: var(--yellow); background: rgba(255,255,255,.12); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 12.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; color: rgba(255,255,255,.4); }
.footer-bottom .icp-link { color: rgba(255,255,255,.4); transition: color .25s; }
.footer-bottom .icp-link:hover { color: var(--yellow); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto; }
  .hero-actions, .hero-mini-stats { justify-content: center; }
  .hero-visual { margin-top: 50px; }
  .assistant-grid { grid-template-columns: repeat(2, 1fr); }
  .machine-showcase { grid-template-columns: 1fr; gap: 50px; }
  .color-grid { grid-template-columns: repeat(3, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-panel { grid-template-columns: 1fr; padding: 44px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(320px, 82%); height: 100vh;
    background: #fff; flex-direction: column; justify-content: center; gap: 26px;
    box-shadow: -10px 0 40px rgba(0,0,0,.12); transition: right .4s ease;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; z-index: 110; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .section { padding: 70px 0; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .assistant-grid { grid-template-columns: 1fr; }
  .machine-specs { grid-template-columns: 1fr; }
  .flow { flex-direction: column; gap: 20px; }
  .flow-arrow { transform: rotate(90deg); }
  .lab-board { grid-template-columns: 1fr; padding: 30px 24px; }
  .color-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }
  .fc-1 { left: 0; } .fc-2 { left: 0; } .fc-3 { right: 0; }
  .hero-mini-stats { gap: 26px; flex-wrap: wrap; }
  .mp-banner { flex-direction: column; text-align: center; padding: 28px 22px; gap: 18px; }
}
