/* 游核 Ucores 官网样式 —— 黑金（黑+荧光绿）浅色主题 */
:root {
  --ink: #0e0f11;
  --ink-2: #1f2329;
  --text: #1f2329;
  --text-2: #4e5969;
  --text-3: #86909c;
  --lime: #c8f135;
  --lime-dark: #a8d118;
  --bg: #ffffff;
  --bg-2: #f7f8fa;
  --bg-3: #f2f3f5;
  --border: #e5e6eb;
  --radius: 14px;
  --max: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* 顶部导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand small { font-weight: 400; color: var(--text-3); font-size: 12px; margin-left: 2px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { font-size: 14px; color: var(--text-2); transition: color .15s; }
.nav-links a:hover, .nav-links a.cur { color: var(--ink); font-weight: 500; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--ink); color: #fff; border-radius: 999px;
  padding: 10px 22px; font-size: 14px; font-weight: 500;
  transition: transform .15s, box-shadow .15s; border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(14,15,17,.18); }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lime:hover { box-shadow: 0 6px 16px rgba(168,209,24,.35); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn.sm { padding: 7px 16px; font-size: 13px; }

/* Hero */
.hero { padding: 88px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 220px at 20% 0%, rgba(200,241,53,.14), transparent 70%),
    radial-gradient(420px 220px at 85% 10%, rgba(200,241,53,.10), transparent 70%);
}
.hero .mark { width: 88px; height: 88px; border-radius: 24px; margin-bottom: 26px; box-shadow: 0 12px 32px rgba(14,15,17,.16); }
.hero h1 { font-size: 44px; line-height: 1.25; letter-spacing: .5px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%); padding: 0 2px; }
.hero p.sub { margin: 18px auto 0; max-width: 620px; color: var(--text-2); font-size: 17px; }
.hero .actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .meta { margin-top: 20px; font-size: 13px; color: var(--text-3); }

/* 区块 */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-2); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .kicker { color: var(--lime-dark); font-size: 13px; font-weight: 600; letter-spacing: 2px; }
.sec-head h2 { font-size: 30px; margin-top: 8px; }
.sec-head p { color: var(--text-2); margin-top: 10px; }

/* 卡片网格 */
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(14,15,17,.08); border-color: #d7d9de; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-2); }
.card .tag { display: inline-block; font-size: 12px; color: var(--lime-dark); background: rgba(200,241,53,.18); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.card .tag.dim { color: var(--text-3); background: var(--bg-3); }
.card .link { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--ink); font-weight: 500; }
.card .link::after { content: " →"; }
.card.soon { border-style: dashed; }
.card.soon:hover { transform: none; box-shadow: none; }

/* 产品页 */
.p-hero { padding: 72px 0 48px; }
.p-hero .crumb { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.p-hero h1 { font-size: 36px; display: flex; align-items: center; gap: 14px; }
.p-hero h1 img { width: 52px; height: 52px; border-radius: 14px; }
.p-hero .sub { color: var(--text-2); max-width: 680px; margin-top: 14px; }
.p-hero .actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.feat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.feat-list li { list-style: none; padding-left: 26px; position: relative; font-size: 15px; color: var(--text-2); }
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 4px;
  background: var(--lime); box-shadow: inset 0 0 0 3px var(--ink);
}
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.spec th { color: var(--text-3); font-weight: 500; width: 180px; }
code, .code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--bg-3); border-radius: 6px; padding: 2px 7px; font-size: 13px;
}
pre.codeblock {
  background: var(--ink); color: #e8eaed; border-radius: var(--radius);
  padding: 20px 24px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px; line-height: 1.8; overflow-x: auto;
}
pre.codeblock .c { color: #7a8189; }
pre.codeblock .g { color: var(--lime); }

/* 步骤 */
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
.step::before {
  counter-increment: s; content: counter(s);
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  background: var(--ink); color: var(--lime); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.step h4 { font-size: 15px; }
.step p { font-size: 13.5px; color: var(--text-2); }

/* CTA 横幅 */
.cta-band { background: var(--ink); border-radius: 20px; padding: 52px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(200,241,53,.16); }
.cta-band h2 { font-size: 26px; }
.cta-band p { color: #a9aeb6; margin: 12px auto 24px; max-width: 520px; font-size: 15px; }

/* 页脚 */
.footer { background: var(--ink); color: #a9aeb6; margin-top: 72px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 52px 0 36px; }
.footer h5 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer a { display: block; font-size: 13.5px; padding: 4px 0; color: #a9aeb6; }
.footer a:hover { color: var(--lime); }
.footer .brandline { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.footer .brandline img { width: 34px; height: 34px; border-radius: 9px; }
.footer .desc { font-size: 13px; margin-top: 12px; max-width: 300px; }
.footer .bottom { border-top: 1px solid #24262b; padding: 18px 0; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* 响应式 */
@media (max-width: 860px) {
  .grid.c3 { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .grid.c2, .grid.c3, .feat-list { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 60px 0 48px; }
  .hero h1 { font-size: 27px; }
  .p-hero h1 { font-size: 26px; }
  .footer .cols { grid-template-columns: 1fr; gap: 22px; }
}
