/* 与 vv09.cc 同一套样式：浅灰底、白卡片、单一蓝色点缀。
   数值照抄 vv09.cc 的 assets/css/site.css（本地副本 vv09cc/dist/assets/css/site.css），改之前先对照它。 */
:root { --ink: #354052; --muted: #7d8795; --line: #e4e8ee; --paper: #fff; --ground: #f7f8fa; --blue: #5879f5; --blue-soft: #edf2ff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
code { padding: 1px 6px; border-radius: 6px; background: #f3f5f8; color: #344050; font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
kbd { padding: 0 5px; border: 1px solid #d7def0; border-bottom-width: 2px; border-radius: 5px; background: #fff; font: .85em ui-monospace, SFMono-Regular, Menlo, monospace; }

.wrap { width: min(1040px, calc(100% - 40px)); margin: auto; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; color: var(--blue); }
.brand-image { display: block; width: 62px; height: 62px; object-fit: contain; }
.back { color: var(--muted); font-size: 14px; }
.back:hover, .text-link:hover { color: var(--blue); }
.text-link { color: #526fe0; }

/* ---------- 首页 ---------- */
.home { min-height: 100vh; display: flex; flex-direction: column; }
.home-main { flex: 1; display: grid; place-items: center; padding: 56px 0 90px; }
.home-intro { text-align: center; margin-bottom: 62px; }
.home h1 { font-size: clamp(42px, 6vw, 68px); margin: 0; letter-spacing: .08em; line-height: 1.2; }
.motto { color: #8993a1; letter-spacing: .14em; margin: 18px 0 0; font-size: 28px; font-weight: 600; }
.home-notice { width: min(720px, 100%); margin: 30px auto 0; padding: 17px 20px; border: 1px solid rgba(145, 168, 255, .6); border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(66, 91, 150, .07); text-align: left; }
.home-notice strong { display: block; color: #40506a; font-size: 16px; }
.home-notice strong span { color: var(--blue); font-size: 17px; }
.home-notice p { margin: 7px 0 0; color: #69768a; font-size: 14px; line-height: 1.75; }
.menu-grid { width: min(1040px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.menu-card, .tutorial-platform { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 25px; box-shadow: 0 7px 16px rgba(37, 49, 67, .045); }
.menu-card { min-height: 145px; transition: .2s; }
.menu-card:hover { transform: translateY(-4px); border-color: #cdd8ff; box-shadow: 0 12px 24px rgba(45, 69, 130, .1); }
.menu-card b { font-size: 20px; }
.menu-card span { font-size: 13px; color: var(--muted); margin-top: 9px; }
.menu-card i { margin-top: auto; align-self: flex-end; color: var(--blue); font-style: normal; font-size: 20px; }

/* ---------- 内页 ---------- */
.page-head { padding: 52px 0 36px; background: #fff; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; margin: 0 0 8px; }
.page-head h1 { font-size: clamp(32px, 5vw, 46px); margin: 0; line-height: 1.25; letter-spacing: .03em; }
.page-head p { color: var(--muted); margin: 12px 0 0; }
.content { padding: 38px 0 80px; }
.notice { padding: 18px 20px; border-left: 3px solid #91a8ff; background: #f8faff; color: #5e6b7d; font-size: 14px; margin: 0 0 25px; }
.resource-bar { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px; border: 1px solid #d7def0; background: #fff; border-radius: 10px; color: #46546a; font-size: 14px; font-weight: 650; cursor: pointer; }
.button.primary { border-color: #5879f5; background: #5879f5; color: #fff; }
.button:hover { border-color: #5879f5; }
.button.small { padding: 4px 10px; font-size: 12px; border-radius: 8px; }

/* 软件教程总览 */
.tutorial-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tutorial-platform h2 { margin: 0; font-size: 22px; }
.tutorial-platform > p { margin: 5px 0 18px; color: var(--muted); font-size: 14px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tool-grid a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid #e4e9f2; border-radius: 10px; background: #fafbfc; color: #4d5b70; font-size: 14px; font-weight: 650; text-align: center; transition: .2s; }
.tool-grid a:hover { border-color: #9eb1ff; background: #f4f6ff; color: #4769e6; }
.tool-grid a.primary { border-color: #5879f5; background: #5879f5; color: #fff; }

/* 图文步骤 */
.steps { display: grid; gap: 30px; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 0 0 30px; border-bottom: 1px solid var(--line); }
.step-no { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: #4d6de0; font-size: 14px; font-weight: 750; }
.step h2 { font-size: 22px; margin: 4px 0 8px; line-height: 1.4; }
.step p { margin: 0 0 10px; color: #4f5b6c; }
.step small { display: block; color: #7d8795; line-height: 1.75; }
.step .notice { margin: 12px 0 0; }
.cmd { display: block; overflow: auto; padding: 13px 15px; margin: 12px 0; background: #f3f5f8; border-radius: 10px; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: #344050; white-space: nowrap; }
.step-visuals { display: grid; grid-template-columns: minmax(0, 520px); gap: 12px; margin-top: 17px; }
.step-visuals img { width: 100%; display: block; border: 1px solid var(--line); border-radius: 10px; background: #f4f6f8; max-height: 480px; object-fit: contain; }

.plain-card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.plain-card h2 { margin: 0 0 8px; }
.plain-card p { margin: 0; color: var(--muted); }
.plain-card ol { margin: 12px 0 0; padding-left: 1.3em; color: #4f5b6c; }
.plain-card + .plain-card, .steps + .plain-card, .tutorial-platforms + .plain-card { margin-top: 18px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-card h2 { margin-top: 5px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.contact-card p { margin-top: 9px; }
.contact-card a, .plain-card p a { color: #526fe0; overflow-wrap: anywhere; }
.contact-card a:hover, .plain-card p a:hover { text-decoration: underline; }

.footer { border-top: 1px solid var(--line); padding: 24px 0; color: #9099a6; font-size: 13px; background: #fff; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 1040px); }
  .brand-image { width: 52px; height: 52px; }
  .home-main { padding: 36px 0 54px; }
  .home-intro { margin-bottom: 38px; }
  .home-notice { margin-top: 24px; padding: 15px 16px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .menu-card { min-height: 130px; padding: 20px; }
  .tutorial-platforms, .contact-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step-no { width: 44px; height: 38px; border-radius: 10px; }
  .page-head { padding: 35px 0 27px; }
  .content { padding-top: 26px; }
}
@media (max-width: 420px) {
  .menu-grid { grid-template-columns: 1fr; }
  .home h1 { font-size: 42px; }
  .motto { font-size: 20px; }
}
@media (max-width: 400px) {
  .tool-grid { grid-template-columns: 1fr; }
}
