:root {
  --bg: #0e0a14;
  --bg-2: #150e1f;
  --brand: #ff6a2a;
  --brand-2: #ff8a3d;
  --accent: #ffb37a;
  --text: #f4f1ee;
  --text-dim: #a59fa6;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ===== 导航栏 ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(14, 10, 20, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo .gem {
  width: 34px; height: 34px; border-radius: 9px;
  object-fit: contain; display: block;
  box-shadow: 0 4px 16px rgba(255, 106, 42, .35);
}
.logo .cn { background: linear-gradient(90deg, #fff, #ffd4b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .en { font-size: 11px; color: var(--text-dim); font-weight: 600; letter-spacing: 1px; margin-top: 2px; }
.nav-links { display: flex; gap: 24px; align-items: center; margin-left: 28px; }
.nav-links a { color: var(--text-dim); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.bg { padding: 6px 14px; border-radius: 999px; background: rgba(255, 106, 42, .12); color: var(--brand); }
.nav-spacer { flex: 1; }
.btn-download {
  padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 6px 20px rgba(255, 106, 42, .45);
  transition: transform .15s, box-shadow .2s;
}
.btn-download:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 106, 42, .55); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ===== 第一屏 Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 24px 40px;
  background:
    radial-gradient(800px 500px at 70% 30%, rgba(255, 106, 42, .22), transparent 60%),
    radial-gradient(900px 600px at 20% 70%, rgba(186, 64, 255, .14), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } }

.hero-left { position: relative; z-index: 2; }
.site-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(255, 106, 42, .1); border: 1px solid rgba(255, 106, 42, .25);
  font-size: 12px; color: var(--accent);
}
.site-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 {
  font-size: clamp(40px, 6vw, 64px); line-height: 1.1; font-weight: 900; letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero h1 .l2 { background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .desc {
  color: var(--text-dim); font-size: 16px; max-width: 520px; margin-bottom: 28px;
}
.hero .desc b { color: var(--text); font-weight: 700; }
.quick-actions { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.quick-actions a {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text-dim);
  transition: all .2s;
}
.quick-actions a:hover { color: var(--text); border-color: var(--brand); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px rgba(255, 106, 42, .45); transition: transform .15s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary::before { content: "↓"; font-weight: 700; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(255, 106, 42, .6); }
.btn-ghost {
  padding: 14px 24px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid var(--border); color: var(--text); background: var(--card); transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--brand); background: rgba(255, 106, 42, .08); }

/* 右侧 APP 展示 */
.hero-right { position: relative; height: 480px; display: flex; align-items: center; justify-content: center; }
.hero-right::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255, 106, 42, .25), transparent 60%);
  filter: blur(40px);
}
.orbit {
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(255, 106, 42, .15);
  animation: spin 24s linear infinite;
}
.orbit::before, .orbit::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1px dashed rgba(255, 106, 42, .2);
}
.orbit::before { inset: 30px; }
.orbit::after { inset: 70px; border-style: dotted; opacity: .5; }
@keyframes spin { from{transform:rotate(0);} to{transform:rotate(360deg);} }

.phone {
  position: relative; width: 280px; height: 380px; border-radius: 32px;
  background: linear-gradient(160deg, #fff8f1, #ffe1c8);
  box-shadow: 0 30px 80px rgba(255, 106, 42, .35), 0 0 0 8px rgba(255, 255, 255, .05);
  overflow: hidden;
  transform: rotate(-4deg);
}
.phone .bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-size: 11px; color: #5a3a25; font-weight: 600; }
.phone .bar .dots { display: flex; gap: 4px; }
.phone .bar .dot { width: 6px; height: 6px; border-radius: 50%; background: #c47148; }
.phone .red-pill {
  margin: 8px 18px 12px; padding: 14px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 6px 18px rgba(255, 106, 42, .35);
}
.phone .red-pill .ttl { font-size: 13px; font-weight: 700; }
.phone .red-pill .sub { font-size: 10px; opacity: .85; margin-top: 2px; }
.phone .search {
  margin: 0 18px; padding: 8px 12px; border-radius: 10px;
  background: #fff; border: 1px solid #f1d3b6; font-size: 11px; color: #8a6a5a;
  display: flex; align-items: center; gap: 6px;
}
.phone .grid-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px 18px; }
.phone .ico {
  aspect-ratio: 1; border-radius: 12px; background: #fff;
  border: 1px solid #f3dcc6;
  display: grid; place-items: center; font-size: 18px;
}

.floating-card {
  position: absolute; padding: 10px 14px; border-radius: 12px;
  background: rgba(20, 14, 28, .85); border: 1px solid var(--border);
  backdrop-filter: blur(10px); font-size: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  animation: float 4s ease-in-out infinite;
}
.floating-card .v { font-size: 18px; font-weight: 800; color: var(--accent); }
.floating-card .v small { font-size: 12px; }
.floating-card .l { color: var(--text-dim); font-size: 10px; }
.fc-1 { top: 30px; left: -10px; animation-delay: 0s; }
.fc-2 { bottom: 60px; right: -20px; animation-delay: 1.5s; }
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }

/* 信任条卡片 */
.trust-card {
  max-width: 1180px; margin: 50px auto 0;
  padding: 18px 24px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 106, 42, .12), rgba(186, 64, 255, .08));
  border: 1px solid rgba(255, 106, 42, .2);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.trust-card .ic {
  width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
}
.trust-card .text { flex: 1; min-width: 240px; }
.trust-card .ttl { font-weight: 700; margin-bottom: 4px; }
.trust-card .desc { font-size: 13px; color: var(--text-dim); }
.trust-card .desc a { color: var(--accent); }
.trust-card .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-card .btn-ghost { padding: 8px 16px; font-size: 13px; }

/* ===== 围绕产品的板块 ===== */
section.block { max-width: 1180px; margin: 0 auto; padding: 90px 24px; }
.block .eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.block h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 12px 0 14px; }
.block .lead { color: var(--text-dim); max-width: 720px; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  transition: transform .2s, border-color .2s, background .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 106, 42, .5); background: rgba(255, 106, 42, .06); }
.card .ico { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 15px; }

.projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 980px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projects { grid-template-columns: 1fr; } }
.proj {
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: relative; overflow: hidden;
}
.proj .tag { position: absolute; top: 16px; right: 16px; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 106, 42, .15); color: var(--accent); }
.proj .pico { font-size: 32px; margin-bottom: 12px; }
.proj h4 { font-size: 18px; margin-bottom: 6px; }
.proj p { color: var(--text-dim); font-size: 14px; }
.proj .rate { margin-top: 14px; font-size: 14px; color: var(--accent); font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
.step { text-align: center; padding: 26px 18px; border: 1px dashed var(--border); border-radius: 16px; }
.step .n { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 14px; }

.final-cta { text-align: center; background: radial-gradient(600px 300px at 50% 0%, rgba(255, 106, 42, .15), transparent 70%); }
.final-cta h2 { font-size: clamp(30px, 5vw, 48px); }
.final-cta p { color: var(--text-dim); margin: 12px auto 30px; max-width: 560px; }

footer { border-top: 1px solid var(--border); padding: 30px 24px; text-align: center; color: var(--text-dim); font-size: 13px; }
footer a { color: var(--brand); }
.ft-top { max-width: 760px; margin: 0 auto; }
.ft-links { margin-bottom: 10px; }
.ft-links a, .ft-top > p:last-child a { color: var(--brand); }
.ft-meta { margin: 4px 0; opacity: .85; }
.ft-beian { margin-top: 8px; font-size: 12px; }
.ft-beian a { color: var(--text-dim); text-decoration: none; }
.ft-beian a:hover { color: var(--brand); }

/* ===== 下载区 ===== */
.dl-box { display: flex; gap: 40px; align-items: center; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.dl-qr { width: 200px; height: 200px; border-radius: 16px; background: #fff; padding: 10px; object-fit: contain; }
.dl-qr.placeholder { display: grid; place-items: center; color: #999; border: 2px dashed var(--border); background: var(--card); font-size: 14px; }
.dl-btns { display: flex; flex-direction: column; gap: 14px; min-width: 220px; }

/* ===== 在线客服浮窗 ===== */
#kfWidget { position: fixed; right: 20px; bottom: 20px; z-index: 200; font-size: 14px; }
.kf-toggle { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; cursor: pointer; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 24px rgba(255, 106, 42, .45); color: #fff; }
.kf-panel { position: absolute; right: 0; bottom: 66px; width: 260px; padding: 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--border); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); display: none; }
.kf-panel.open { display: block; }
.kf-h { font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.kf-qr { width: 160px; height: 160px; border-radius: 12px; background: #fff; padding: 8px; display: block; margin: 0 auto 10px; object-fit: contain; }
.kf-qr.placeholder { display: grid; place-items: center; color: #999; border: 2px dashed var(--border); background: var(--card); font-size: 13px; }
.kf-tip { text-align: center; color: var(--text-dim); font-size: 13px; margin-bottom: 10px; }
.kf-info div { font-size: 13px; color: var(--text-dim); padding: 3px 0; }

@media (max-width: 640px) {
  .dl-box { flex-direction: column; }
  .kf-panel { width: 220px; }
}

/* ===== 文章资讯 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.news-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; cursor: pointer; transition: transform .2s, border-color .2s; }
.news-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.news-cover { height: 150px; background-size: cover; background-position: center; background-color: #221a2e; }
.news-body { padding: 16px 18px; }
.news-body h3 { font-size: 17px; margin-bottom: 8px; color: var(--text); }
.news-body p { font-size: 13px; color: var(--text-dim); line-height: 1.6; height: 3.2em; overflow: hidden; }
.news-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-dim); margin-top: 10px; }
.news-empty { color: var(--text-dim); text-align: center; padding: 40px 0; }
.news-pagin { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.np-btn { background: var(--card); border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 6px 12px; cursor: pointer; }
.np-btn.on { background: var(--brand); border-color: var(--brand); }
.news-detail { max-width: 760px; margin: 0 auto; padding: 20px; }
.news-detail h1 { font-size: 26px; margin: 12px 0; }
.news-cover-full { width: 100%; border-radius: 12px; margin: 16px 0; }
.news-content { line-height: 1.9; color: var(--text); font-size: 15px; }
.news-content img { max-width: 100%; }
.back-btn { background: none; border: 1px solid var(--border); color: var(--brand); border-radius: 8px; padding: 6px 14px; cursor: pointer; }

/* ===== 数据库表单（留言 / 预约，同一排双栏） ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; }
.contact-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px; display: flex; flex-direction: column;
}
.contact-card-title { font-size: 19px; font-weight: 800; margin: 0 0 4px; color: var(--text); }
.contact-card .db-form { margin: 16px 0 0; max-width: none; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.db-form { max-width: 520px; margin: 22px auto 0; display: flex; flex-direction: column; gap: 12px; }
.db-form .row2 { display: flex; gap: 12px; }
.db-form .row2 input { flex: 1; }
.db-form input, .db-form textarea {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-size: 14px; font-family: inherit;
}
.db-form input:focus, .db-form textarea:focus { outline: none; border-color: var(--brand); }
.db-form textarea { resize: vertical; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: none;
  border-radius: 10px; padding: 13px; font-size: 15px; font-weight: 700; cursor: pointer;
}
.btn-primary:hover { opacity: .92; }
.form-tip { font-size: 13px; text-align: center; min-height: 18px; color: var(--text-dim); }
.form-tip.ok { color: #4ade80; }
.form-tip.err { color: #f87171; }

@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } .db-form .row2 { flex-direction: column; } }

/* 客服二维码 hover 弹出 */
.btn-ghost { position: relative; }
.kf-hover-tip {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  z-index: 50;
  text-align: center;
  width: 180px;
  pointer-events: none;
}
.btn-ghost:hover .kf-hover-tip,
.btn-ghost:focus .kf-hover-tip { display: block; }
.kf-hover-tip img { width: 160px; height: 160px; display: block; border-radius: 6px; object-fit: contain; background: #fff; }
.kf-hover-tip .kf-hover-text { margin-top: 6px; font-size: 12px; color: var(--text-dim); }
.kf-hover-tip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--card);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 640px) {
  .kf-hover-tip { left: auto; right: 0; transform: none; }
  .kf-hover-tip::after { left: auto; right: 18px; transform: rotate(45deg); }
}
