/* ============================================================
   Veykeen — Smart Fitness Console & Cloud
   Design tokens: hybrid direction (dark tech hero + light content)
   ============================================================ */
:root {
  --ink: #0b1424;          /* 深夜蓝：暗色区底色 */
  --ink-2: #131f35;        /* 暗色区卡片 */
  --ink-3: #1a2a44;        /* 暗色区描边/悬浮 */
  --violet: #7f77dd;       /* 主强调色：电光紫 */
  --violet-deep: #5b54c4;  /* 强调色 hover */
  --blue: #378add;         /* 辅助蓝（图表/图标点缀） */
  --text: #1a1d26;
  --muted: #5c6270;
  --line: #e4e6ee;
  --bg-soft: #f5f6fa;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 10px 30px rgba(11, 20, 36, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 排版 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: 20px; font-weight: 600; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-deep); }
.btn-ghost-dark { border: 1.5px solid rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-ghost { border: 1.5px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet-deep); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 20, 36, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
}
.logo span { color: var(--violet); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; stroke: #fff; }

/* ---------- Hero（暗色科技区） ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(127, 119, 221, 0.22), transparent),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(55, 138, 221, 0.14), transparent),
    var(--ink);
  color: #fff;
  padding: 120px 0 100px;
}
.hero .lead { color: rgba(255, 255, 255, 0.72); margin-top: 20px; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-visual {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  padding: 20px;
}
.hero-visual .screen {
  background: var(--ink);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-sm);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
}
.console-ui { width: 100%; height: 100%; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.console-ui .row { display: flex; gap: 14px; }
.console-ui .metric {
  flex: 1;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.console-ui .metric b { display: block; font-size: 22px; color: #fff; }
.console-ui .metric span { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.console-ui .metric.hot b { color: var(--violet); }
.console-ui .bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 8px 4px 0; }
.console-ui .bars i {
  flex: 1;
  background: linear-gradient(to top, var(--ink-3), rgba(127, 119, 221, 0.7));
  border-radius: 4px 4px 0 0;
}
.hero-note { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); text-align: center; }

/* ---------- 数据条 ---------- */
.stats-band { background: var(--ink-2); color: #fff; border-top: 1px solid var(--ink-3); }
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.stat b { font-size: 34px; font-weight: 700; display: block; letter-spacing: -0.02em; }
.stat b em { font-style: normal; color: var(--violet); }
.stat span { font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.stat small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.35); margin-top: 4px; }

/* ---------- 业务线卡片 ---------- */
.bg-soft { background: var(--bg-soft); }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(127, 119, 221, 0.4); }
.biz-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(127, 119, 221, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.biz-card .icon svg { width: 24px; height: 24px; stroke: var(--violet-deep); }
.biz-card p { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.biz-card .more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--violet-deep); }

/* ---------- 产品卡 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .thumb {
  height: 220px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: #b0b4c0;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.product-card .body { padding: 20px 22px 24px; }
.product-card .body h3 { font-size: 17px; }
.product-card .body p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.product-card ul.params { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.product-card ul.params li {
  font-size: 12.5px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}
.product-card .card-cta { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--violet-deep); }

/* ---------- OEM 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 15px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.05em;
}
.step h3 { font-size: 16px; margin-top: 10px; }
.step p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ---------- 信任区 ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cert-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.cert-chip {
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: var(--white);
}
.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-cell {
  height: 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: #b0b4c0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--violet); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- 询盘 CTA ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 80% 10%, rgba(127, 119, 221, 0.25), transparent),
    var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.cta-band .lead { color: rgba(255, 255, 255, 0.7); margin-top: 14px; }
.cta-band .btn-primary { justify-self: end; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--violet);
}
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); padding: 64px 0 32px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { margin-bottom: 16px; display: inline-block; }
.footer-grid h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid, .trust-grid, .cta-band { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band .btn-primary { justify-self: start; }
  .hero { padding: 80px 0 70px; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--ink-3);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .cards-4, .product-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .cta-band { padding: 44px 28px; }
}
