/* ===== StellarLink AI 公司网站样式 ===== */
:root {
  --bg: #0b1020;
  --bg-alt: #0f172a;
  --card: #151e33;
  --line: rgba(148, 163, 184, .15);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --brand: #6366f1;
  --brand2: #22d3ee;
  --accent: #f59e0b;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Hiragino Sans", Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  overflow-x: hidden;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* ---- 可访问性：键盘焦点 ---- */
:focus-visible { outline: 2px solid var(--brand2); outline-offset: 2px; border-radius: 6px; }

/* ---- 动效偏好：减弱动态 ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- 导航 ---- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 32, .72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; }
.logo-mark { color: var(--brand2); font-size: 1.2rem; }
.logo-text em { color: var(--brand2); font-style: normal; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: .92rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.lang-select {
  appearance: none; -webkit-appearance: none;
  color-scheme: dark;
  background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%238b93a7' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>") no-repeat right 12px center;
  color: var(--text); border: none; cursor: pointer;
  padding: 6px 30px 6px 14px; font-size: .82rem; outline: none;
}
.lang-select option { background-color: #151e33; color: #e2e8f0; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---- Hero ---- */
.hero { position: relative; padding: 108px 0 32px; text-align: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(99, 102, 241, .28), transparent 60%),
    radial-gradient(700px 340px at 80% 20%, rgba(34, 211, 238, .18), transparent 60%),
    radial-gradient(500px 300px at 50% 90%, rgba(245, 158, 11, .12), transparent 60%);
}
.hero-eyebrow { margin-bottom: 0;
  display: inline-block; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand2); border: 1px solid rgba(34, 211, 238, .35);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 18px;
}
.hero-title { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.2; font-weight: 800; }
.hero-sub { max-width: 620px; margin: 12px auto 20px; color: var(--muted); font-size: .98rem; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { padding: 10px 26px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: .2s; }
.btn-primary { background: linear-gradient(135deg, var(--brand), #8b5cf6); color: #fff; box-shadow: 0 8px 28px rgba(99, 102, 241, .4); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand2); color: var(--brand2); }
.hero-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line);
}
.stat b { display: block; font-size: 1.45rem; background: linear-gradient(90deg, var(--brand2), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---- 通用 Section ---- */
.section { padding: 36px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow { color: var(--brand2); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.section-title { text-align: center; font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 6px 0 10px; }
.section-desc { text-align: center; max-width: 860px; margin: 0 auto 24px; color: var(--muted); }

/* ---- 公司介绍 ---- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.about-card {
  position: relative;
  background: linear-gradient(180deg, rgba(21, 30, 51, .82), rgba(15, 23, 42, .66));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, .18); border-radius: var(--radius);
  padding: 18px 16px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.about-card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, .55); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.about-card .icon {
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.icon-tint-1 { background: rgba(99, 102, 241, .18); color: #a5b4fc; }
.icon-tint-2 { background: rgba(34, 211, 238, .15); color: #67e8f9; }
.icon-tint-3 { background: rgba(245, 158, 11, .15); color: #fcd34d; }
.about-card h3 { margin-bottom: 6px; font-size: 1.08rem; }
.about-card p { color: var(--muted); font-size: .88rem; line-height: 1.55; }

/* ---- 产品展示 ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.product-card {
  position: relative; border-radius: var(--radius); padding: 18px 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(21, 30, 51, .82), rgba(15, 23, 42, .66));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, .18); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.product-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  opacity: 0; transition: .25s;
}
.product-card:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, .4); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.product-card:hover::before { opacity: 1; }
.product-icon {
  width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 12px; color: var(--brand2);
}
.pi-1 { background: rgba(99, 102, 241, .18); color: #a5b4fc; }
.pi-2 { background: rgba(34, 211, 238, .16); color: #67e8f9; }
.pi-3 { background: rgba(245, 158, 11, .16); color: #fcd34d; }
.pi-4 { background: rgba(34, 197, 94, .16); color: #86efac; }
.product-card h3 { font-size: 1rem; margin-bottom: 6px; }
.product-card p { color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.product-link { color: var(--brand2); font-size: .88rem; font-weight: 600; }

/* ---- 联系列表 ---- */
.contact-list { list-style: none; color: var(--muted); font-size: .9rem; }
.contact-list li { margin-bottom: 12px; }
.c-list-item { display: flex; align-items: center; gap: 10px; }
.c-list-item svg { flex: none; color: var(--brand2); opacity: .9; }
.orbit {
  width: 220px; height: 220px; margin: 0 auto; border-radius: 50%;
  border: 1px dashed rgba(99, 102, 241, .45);
  display: flex; align-items: center; justify-content: center;
  animation: spin 14s linear infinite;
}
.orbit-core {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem;
  box-shadow: 0 0 60px rgba(99, 102, 241, .55);
  animation: spin 14s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding: 18px 0; color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---- 悬浮销售电话圆形按钮 ---- */
.sales-call {
  position: fixed; right: 30px; bottom: 30px; z-index: 200;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; display: flex; flex-direction: column; gap: 1px;
  align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(34, 197, 94, .5);
  transition: transform .2s;
}
.sales-call:hover { transform: scale(1.1); }
.call-mini-label { font-size: 9px; font-weight: 600; line-height: 1; }
.sales-call-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, .7);
  animation: ring 1.8s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}
.sales-call-tip {
  position: absolute; right: 62px; white-space: nowrap;
  background: var(--card); border: 1px solid var(--line); color: var(--text);
  font-size: .8rem; padding: 7px 14px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: .2s;
}
.sales-call:hover .sales-call-tip { opacity: 1; right: 64px; }

/* ---- 悬浮智能客服圆形按钮（customer-engine，:3004）---- */
.customer-call {
  position: fixed; right: 30px; bottom: 94px; z-index: 200;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff; display: flex; flex-direction: column; gap: 1px;
  align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(59, 130, 246, .5);
  transition: transform .2s;
}
.customer-call:hover { transform: scale(1.1); }
.ring-blue { border-color: rgba(59, 130, 246, .7); animation-name: ring; }

/* ---- 细节打磨 ---- */
.nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border-radius: 2px; transition: width .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.hero-title { letter-spacing: .01em; }
.hero-sub { line-height: 1.8; }

.product-link { display: inline-flex; align-items: center; gap: 4px; transition: color .2s, gap .2s; }
.product-card:hover .product-link { color: var(--brand); gap: 8px; }
.stat { transition: transform .2s; }
.stat:hover { transform: translateY(-2px); }

.section-alt {
  background:
    radial-gradient(700px 300px at 85% 15%, rgba(99, 102, 241, .08), transparent 60%),
    var(--bg-alt);
}
.call-hero, .sales-call, .customer-call, .btn, .lang-select, a, .product-link { cursor: pointer; }

/* ---- 产品卡内迷你动画按钮（销售/客服） ---- */
.call-row { display: flex; align-items: center; gap: 12px; }
.call-mini {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: transform .2s;
}
.call-mini:hover { transform: scale(1.12); }
.call-mini .sales-call-ring { border-width: 1.5px; }
.call-mini[data-voice="sales"] { background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 4px 14px rgba(34, 197, 94, .45); }
.call-mini[data-voice="customer"] { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 4px 14px rgba(59, 130, 246, .45); }
.call-mini[data-voice="customer"] .sales-call-ring { border-color: rgba(59, 130, 246, .7); animation-name: ring; }

/* ---- 快速开始步骤 ---- */
.qs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 26px; }
.qs-step {
  display: flex; gap: 12px; align-items: flex-start;
  background: linear-gradient(180deg, rgba(21, 30, 51, .82), rgba(15, 23, 42, .66));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, .18); border-radius: var(--radius);
  padding: 18px 16px; transition: transform .25s, border-color .25s;
}
.qs-step:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .4); }
.qs-step i {
  flex: none; width: 26px; height: 26px; border-radius: 50%; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff; font-size: .8rem; font-weight: 700;
}
.qs-step p { color: var(--muted); font-size: .86rem; line-height: 1.55; }
.qs-cta { text-align: center; margin-top: 26px; }
.call-row.soon {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: .86rem;
}

/* ---- 开始通话旁的脉冲动画图标 ---- */
.qs-cta { display: flex; align-items: center; justify-content: center; gap: 12px; }
.pulse-icon {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand2);
  background: rgba(34, 211, 238, .12);
  border: 1px solid rgba(34, 211, 238, .4);
}
.pulse-icon::before, .pulse-icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(34, 211, 238, .6);
  animation: ring 2.4s cubic-bezier(.2, .6, .35, 1) infinite;
}
.pulse-icon::after { animation-delay: 1.2s; }
