/* 快通达育 v2.1 —— 深空终端 × 新粗野主义设计语言（与快通达康绿色圆角风完全区分） */
:root {
  --ink: #0a0f2c;
  --ink-2: #111842;
  --line: #141b4d;
  --paper: #faf8f1;
  --card: #ffffff;
  --primary: #3a5eff;
  --primary-dark: #2337b8;
  --cyan: #22d3ee;
  --yellow: #ffd23e;
  --yellow-dark: #e8b400;
  --coral: #ff5d5d;
  --violet: #8b5cf6;
  --green: #2dd4a0;
  --text: #1c2340;
  --text-light: #5d6684;
  --radius: 12px;
  --hard: 5px 5px 0 rgba(20, 27, 77, .16);
  --hard-ink: 5px 5px 0 #141b4d;
  --maxw: 1160px;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text); background: var(--paper); line-height: 1.75; font-size: 15px;
}
a { color: var(--primary); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.mono { font-family: var(--mono); }

/* 滚动渐入 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cursor { animation: none; }
}

/* ---------- 深空底纹 ---------- */
.dark-sec {
  background: var(--ink);
  background-image:
    radial-gradient(1.5px 1.5px at 12% 25%, rgba(255, 255, 255, .5) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 15%, rgba(255, 255, 255, .4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 70%, rgba(255, 255, 255, .3) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 85%, rgba(255, 255, 255, .35) 50%, transparent 51%),
    radial-gradient(2px 2px at 90% 60%, rgba(34, 211, 238, .5) 50%, transparent 51%),
    radial-gradient(1px 1px at 42% 40%, rgba(255, 210, 62, .5) 50%, transparent 51%);
  color: #eef1ff;
}

/* ---------- 顶栏（终端提示符风） ---------- */
.topbar { background: var(--ink); color: #7f8ac2; font-size: 12.5px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 12px; font-family: var(--mono); }
.topbar .tb-left::before { content: "~/kuaitongdayu $ "; color: var(--cyan); }
.topbar a { color: var(--yellow); }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-right { display: flex; gap: 18px; white-space: nowrap; }
@media (max-width: 700px) { .topbar .tb-left { display: none; } .topbar-inner { justify-content: center; } }

/* ---------- 导航（深色） ---------- */
.site-header { background: var(--ink); position: sticky; top: 0; z-index: 100; border-bottom: 2px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 36px; border-radius: 9px; }
.brand .brand-name { font-size: 20px; font-weight: 800; color: #ffffff; letter-spacing: 1px; }
.brand .brand-slogan { font-size: 10.5px; color: var(--cyan); border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 10px; line-height: 1.5; font-family: var(--mono); }
.nav-toggle { display: none; background: none; border: none; font-size: 25px; color: #ffffff; cursor: pointer; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a { color: #c3cbf2; font-size: 14.5px; font-weight: 500; padding: 4px 2px; }
.main-nav a:hover, .main-nav a.active { color: var(--yellow); }
.main-nav a.active { border-bottom: 2px solid var(--yellow); }
.main-nav a.cta {
  background: var(--yellow); color: var(--ink); border: 2px solid var(--ink);
  padding: 7px 18px; border-radius: 10px; font-weight: 800;
  box-shadow: 3px 3px 0 rgba(255, 210, 62, .35);
}
.main-nav a.cta:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(255, 210, 62, .45); color: var(--ink); }
@media (max-width: 960px) {
  .brand .brand-slogan { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--ink-2); flex-direction: column; align-items: stretch;
    padding: 10px 22px 20px; gap: 0; border-bottom: 2px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav a.active { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav a.cta { margin-top: 14px; text-align: center; }
}

/* ---------- 按钮（硬阴影方角） ---------- */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: var(--radius);
  font-size: 15.5px; font-weight: 800; cursor: pointer;
  border: 2px solid var(--ink); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn-orange, .btn-primary { background: var(--yellow); color: var(--ink); box-shadow: var(--hard-ink); }
.btn-orange:hover, .btn-primary:hover { box-shadow: 7px 7px 0 #141b4d; background: var(--yellow); color: var(--ink); }
.btn-white { background: #ffffff; color: var(--ink); box-shadow: var(--hard-ink); }
.btn-white:hover { box-shadow: 7px 7px 0 #141b4d; }
.btn-ghost-w { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, .65); box-shadow: none; }
.btn-ghost-w:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Hero（深空 + 终端） ---------- */
.hero-x { padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero-x::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px;
  border-radius: 50%; border: 2px dashed rgba(34, 211, 238, .25);
}
.hero-x::before {
  content: ""; position: absolute; right: 60px; top: 40px; width: 90px; height: 90px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #38bdf8, #2337b8);
  box-shadow: 0 0 40px rgba(56, 189, 248, .5); opacity: .8;
}
.hero-grid { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; position: relative; z-index: 2; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero-kicker {
  display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, .4); border-radius: 8px; padding: 5px 14px; margin-bottom: 20px;
  background: rgba(34, 211, 238, .08);
}
.hero-copy h1 { font-size: 46px; line-height: 1.25; font-weight: 900; letter-spacing: 1px; margin-bottom: 16px; color: #ffffff; }
.hero-copy h1 em { font-style: normal; color: var(--yellow); position: relative; }
.hero-sub { font-size: 16.5px; color: #aab4e8; max-width: 540px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-tags { font-family: var(--mono); font-size: 12.5px; color: #6d78b4; }
.hero-tags b { color: var(--cyan); font-weight: 500; }

/* 终端窗口 */
.term {
  flex: 0 1 460px; min-width: 320px; background: #0d1435; border: 2px solid var(--line);
  border-radius: 14px; box-shadow: 8px 8px 0 rgba(34, 211, 238, .15); overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: 7px; background: var(--ink-2); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; }
.term-bar i:nth-child(1) { background: #ff5d5d; }
.term-bar i:nth-child(2) { background: #ffd23e; }
.term-bar i:nth-child(3) { background: #2dd4a0; }
.term-bar span { font-family: var(--mono); font-size: 11.5px; color: #6d78b4; margin-left: 8px; }
.term-body { padding: 18px 20px 22px; font-family: var(--mono); font-size: 13.5px; line-height: 2.1; color: #c8d2ff; min-height: 220px; }
.term-body .tl { white-space: pre-wrap; word-break: break-all; opacity: 0; }
.term-body .tl.shown { opacity: 1; }
.term-body .tl b { color: var(--yellow); font-weight: 600; }
.term-body .tl.ok { color: var(--green); }
.term-body .tl.warn { color: var(--coral); }
.term-body .prompt { color: var(--cyan); }
.cursor { display: inline-block; color: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 920px) {
  .hero-copy h1 { font-size: 32px; }
  .hero-x { padding: 44px 0 52px; }
  .term { flex: 1 1 100%; }
}

/* ---------- 终端风数据块 ---------- */
.stats-term { padding: 0 0 64px; }
.stats-term .term { max-width: 780px; margin: 0 auto; flex: none; box-shadow: 8px 8px 0 rgba(255, 210, 62, .18); }
.stats-term .term-body { min-height: 0; font-size: 14.5px; }
.stat-line { display: flex; align-items: baseline; gap: 6px; }
.stat-line .lbl { color: #8f9ad4; }
.stat-line .dots { flex: 1; border-bottom: 2px dotted #2a3470; transform: translateY(-4px); }
.stat-line .num { color: var(--yellow); font-weight: 700; font-size: 19px; }
.stat-line .num .unit { font-size: 13px; margin-left: 1px; }
.stat-line .cmt { color: #58628f; font-size: 12px; }
@media (max-width: 640px) { .stat-line .cmt { display: none; } }

/* ---------- 通用 section ---------- */
.section { padding: 72px 0; }
.section.tight { padding: 54px 0; }
.section.alt { background: #ffffff; }
.bg-lavender, .bg-mint, .bg-sky, .bg-cream {
  background: var(--paper);
  background-image: radial-gradient(rgba(20, 27, 77, .09) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}
.blob-wrap { position: relative; overflow: hidden; }
.blob { display: none; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 13px; font-weight: 500;
  color: var(--primary); letter-spacing: 1px; margin-bottom: 8px;
}
.section-head .eyebrow::before { content: "// "; color: var(--coral); }
.section-head h2 { font-size: 31px; font-weight: 900; margin-bottom: 10px; letter-spacing: 1px; position: relative; display: inline-block; }
.section-head h2::after {
  content: ""; position: absolute; left: -6px; right: -6px; bottom: 3px; height: 12px;
  background: rgba(255, 210, 62, .45); z-index: -1; transform: skew(-12deg);
}
.dark-sec .section-head h2 { color: #ffffff; }
.dark-sec .section-head h2::after { background: rgba(34, 211, 238, .25); }
.dark-sec .section-head p { color: #aab4e8; }
.section-head p { color: var(--text-light); font-size: 15.5px; max-width: 640px; margin: 0 auto; }
@media (max-width: 640px) { .section { padding: 52px 0; } .section-head h2 { font-size: 24px; } }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 服务卡（硬边卡） ---------- */
.svc-card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column;
  box-shadow: var(--hard); transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}
.svc-card:hover { transform: translate(-3px, -3px); }
.svc-card.t-blue:hover { box-shadow: 8px 8px 0 rgba(58, 94, 255, .35); }
.svc-card.t-green:hover { box-shadow: 8px 8px 0 rgba(45, 212, 160, .4); }
.svc-card.t-purple:hover { box-shadow: 8px 8px 0 rgba(139, 92, 246, .35); }
.svc-card.t-orange:hover { box-shadow: 8px 8px 0 rgba(255, 210, 62, .5); }
.svc-ico {
  width: 54px; height: 54px; border-radius: 10px; border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}
.t-blue .svc-ico { background: #e4eaff; }
.t-green .svc-ico { background: #dcf9ef; }
.t-purple .svc-ico { background: #efe7ff; }
.t-orange .svc-ico { background: #fff3c9; }
.svc-card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 8px; }
.svc-card p { font-size: 13.5px; color: var(--text-light); flex: 1; }
.svc-card .svc-for {
  font-family: var(--mono); font-size: 11.5px; color: var(--primary-dark);
  border-top: 1px dashed #c9cfe8; padding-top: 10px; margin: 14px 0 10px;
}
.svc-card .more { font-size: 14px; font-weight: 700; }
.svc-card .more:hover { text-decoration: underline; }

/* ---------- S 形学习路线（游戏关卡风） ---------- */
.route { position: relative; max-width: 980px; margin: 0 auto; }
.route::before {
  content: ""; position: absolute; left: 50%; top: 24px; bottom: 24px; width: 0;
  border-left: 3px dashed #b7bedf; transform: translateX(-50%);
}
.route-row { display: grid; grid-template-columns: 1fr 130px 1fr; align-items: center; margin-bottom: 12px; position: relative; }
.route-badge {
  width: 62px; height: 62px; margin: 0 auto; transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--line); border-radius: 14px;
  font-size: 24px; position: relative; z-index: 2; background: #ffffff;
  box-shadow: 4px 4px 0 rgba(20, 27, 77, .18);
}
.route-badge > span { transform: rotate(-45deg); display: block; }
.rb-1 { background: var(--yellow); }
.rb-2 { background: #ffc59d; }
.rb-3 { background: #b8e6ff; }
.rb-4 { background: #dcd0ff; }
.rb-5 { background: #ffc2d8; }
.route-card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--hard); padding: 20px 22px; transition: transform .15s ease;
}
.route-card:hover { transform: translate(-3px, -3px); }
.route-card .rc-age { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--primary); }
.route-card h4 { font-size: 17px; font-weight: 800; margin: 2px 0 6px; }
.route-card p { font-size: 13px; color: var(--text-light); }
.route-card .rc-tag {
  display: inline-block; font-family: var(--mono); font-size: 11px;
  background: var(--ink); color: var(--yellow); border-radius: 6px; padding: 2px 10px; margin-top: 10px;
}
.route-row:nth-child(odd) .route-card { grid-column: 1; text-align: right; }
.route-row:nth-child(odd) .route-badge { grid-column: 2; }
.route-row:nth-child(even) .route-card { grid-column: 3; }
.route-row:nth-child(even) .route-badge { grid-column: 2; grid-row: 1; }
@media (max-width: 820px) {
  .route::before { left: 33px; transform: none; }
  .route-row { grid-template-columns: 66px 1fr; gap: 14px; }
  .route-row .route-badge { grid-column: 1 !important; grid-row: 1; width: 50px; height: 50px; font-size: 19px; }
  .route-row .route-card { grid-column: 2 !important; text-align: left !important; }
}

/* ---------- 30 秒小自测（终端问答风） ---------- */
.quiz-card {
  max-width: 720px; margin: 0 auto; background: #0d1435; border: 2px solid var(--line);
  border-radius: 14px; box-shadow: 8px 8px 0 rgba(139, 92, 246, .25);
  padding: 30px 32px 26px; color: #c8d2ff; position: relative;
}
.quiz-card::before {
  content: "● ● ●  quiz.sh"; font-family: var(--mono); font-size: 11px; color: #58628f;
  letter-spacing: 2px; display: block; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px;
}
.quiz-progress { display: flex; gap: 6px; margin-bottom: 18px; }
.quiz-progress i { flex: 1; height: 6px; border-radius: 3px; background: #232c5e; }
.quiz-progress i.done { background: var(--cyan); }
.quiz-q { font-size: 18px; font-weight: 800; margin-bottom: 18px; color: #ffffff; }
.quiz-q::before { content: "> "; color: var(--cyan); font-family: var(--mono); }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opts button {
  text-align: left; padding: 13px 18px; border-radius: 10px; border: 1.5px solid #2a3470;
  background: #111a45; font-size: 14.5px; cursor: pointer; font-weight: 600; color: #c8d2ff;
  transition: all .15s ease; font-family: inherit;
}
.quiz-opts button:hover { border-color: var(--cyan); background: #16205a; transform: translateX(6px); color: #ffffff; }
.quiz-opts button .oi { margin-right: 8px; }
.quiz-result { text-align: center; animation: popin .35s ease; }
@keyframes popin { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
.quiz-result .qr-ico { font-size: 50px; margin-bottom: 8px; }
.quiz-result h3 { font-size: 21px; margin-bottom: 8px; color: var(--yellow); }
.quiz-result p { color: #aab4e8; font-size: 14px; margin-bottom: 20px; }
.quiz-result .qr-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.quiz-restart { background: none; border: none; color: #6d78b4; font-size: 13px; cursor: pointer; margin-top: 14px; text-decoration: underline; font-family: var(--mono); }
.quiz-restart:hover { color: var(--cyan); }

/* ---------- 痛点卡 + 对比表 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.pain-card { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--hard); padding: 24px; }
.pain-card .p-num { font-family: var(--mono); font-size: 15px; font-weight: 700; margin-bottom: 10px; display: inline-block; padding: 1px 10px; border-radius: 6px; border: 1.5px solid var(--line); }
.pain-card:nth-child(1) .p-num { background: var(--yellow); }
.pain-card:nth-child(2) .p-num { background: #dcd0ff; }
.pain-card:nth-child(3) .p-num { background: #b8e6ff; }
.pain-card h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.pain-card p { font-size: 13.5px; color: var(--text-light); }
@media (max-width: 860px) { .pain-grid { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .vs-table { min-width: 640px; }
.vs-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--hard); }
.vs-table th, .vs-table td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid #e3e6f2; }
.vs-table thead th { font-size: 15px; font-weight: 800; }
.vs-table thead th:first-child { width: 20%; background: var(--paper); }
.vs-table thead th:nth-child(2) { background: #ffe9e9; color: #b91c1c; }
.vs-table thead th:nth-child(3) { background: #e4eaff; color: var(--primary-dark); }
.vs-table tbody th { background: #fbfbfd; font-weight: 700; font-size: 13.5px; }
.vs-table td.good { color: var(--primary-dark); font-weight: 600; }
.vs-table td.bad { color: #b45f5f; }
.vs-table tr:last-child th, .vs-table tr:last-child td { border-bottom: none; }

/* ---------- 照片带（拍立得胶片风） ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding: 14px 0 6px; }
.photo-card {
  background: #ffffff; border: 2px solid var(--line); border-radius: 6px;
  padding: 9px 9px 0; box-shadow: var(--hard); position: relative;
  transition: transform .2s ease;
}
.photo-card:nth-child(1) { transform: rotate(-2.5deg); }
.photo-card:nth-child(2) { transform: rotate(1.8deg); }
.photo-card:nth-child(3) { transform: rotate(-1.5deg); }
.photo-card:nth-child(4) { transform: rotate(2.4deg); }
.photo-card:hover { transform: rotate(0) scale(1.04); z-index: 3; }
.photo-card::before {
  content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 74px; height: 22px; background: rgba(255, 210, 62, .75); border: 1px solid rgba(20, 27, 77, .15); z-index: 2;
}
.photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid #e3e6f2; }
.photo-card .pc-cap { padding: 10px 4px 12px; font-size: 13.5px; font-weight: 800; text-align: center; position: static; background: none; color: var(--text); }
.photo-card .pc-cap small { display: block; font-weight: 400; font-size: 11.5px; color: var(--text-light); font-family: var(--mono); }
.photo-note { text-align: center; font-size: 11.5px; color: var(--text-light); margin-top: 16px; font-family: var(--mono); }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .photo-grid { grid-template-columns: 1fr; } }

/* ---------- 四不承诺（深空霓虹卡） ---------- */
.pledge { padding: 72px 0; }
.pledge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pledge-card { border-radius: var(--radius); padding: 24px 20px; background: rgba(255, 255, 255, .04); transition: all .2s ease; }
.pledge-card:nth-child(1) { border: 1.5px solid rgba(255, 210, 62, .55); box-shadow: 0 0 22px rgba(255, 210, 62, .12) inset; }
.pledge-card:nth-child(2) { border: 1.5px solid rgba(255, 93, 93, .55); box-shadow: 0 0 22px rgba(255, 93, 93, .12) inset; }
.pledge-card:nth-child(3) { border: 1.5px solid rgba(34, 211, 238, .55); box-shadow: 0 0 22px rgba(34, 211, 238, .12) inset; }
.pledge-card:nth-child(4) { border: 1.5px solid rgba(139, 92, 246, .6); box-shadow: 0 0 22px rgba(139, 92, 246, .14) inset; }
.pledge-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); }
.pledge-card .p-ico { font-size: 26px; margin-bottom: 10px; }
.pledge-card h4 { font-size: 16.5px; margin-bottom: 6px; color: #ffffff; }
.pledge-card p { font-size: 12.5px; color: #aab4e8; }
@media (max-width: 960px) { .pledge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pledge-grid { grid-template-columns: 1fr; } }

/* ---------- 权威导航 ---------- */
.gov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: gov; }
.gov-card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 18px; color: var(--text); display: block; box-shadow: var(--hard);
  transition: transform .15s ease; position: relative; counter-increment: gov;
}
.gov-card::after {
  content: "0" counter(gov); position: absolute; right: 12px; top: 8px;
  font-family: var(--mono); font-size: 12px; color: #c3c9e2;
}
.gov-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 rgba(58, 94, 255, .25); }
.gov-card .g-tag {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; padding: 1px 8px; border-radius: 5px;
  margin-bottom: 8px; font-weight: 700; border: 1.5px solid var(--line);
}
.g-tag.official { background: #ffe1e1; }
.g-tag.contest { background: #e4eaff; }
.g-tag.exam { background: #dcf9ef; }
.g-tag.resource { background: #fff3c9; }
.gov-card h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 4px; }
.gov-card p { font-size: 12px; color: var(--text-light); line-height: 1.6; }
.gov-note { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 18px; font-family: var(--mono); }
@media (max-width: 960px) { .gov-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gov-grid { grid-template-columns: 1fr; } }

/* ---------- 资讯中心 ---------- */
.news-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.news-tabs button {
  border: 2px solid var(--line); background: var(--card); color: var(--text);
  padding: 8px 22px; border-radius: 10px; font-size: 14px; cursor: pointer; font-weight: 700;
  transition: all .12s ease; font-family: var(--mono);
}
.news-tabs button.on { background: var(--ink); color: var(--yellow); box-shadow: 3px 3px 0 rgba(20, 27, 77, .25); }
.news-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.news-item { display: none; }
.news-item.show { display: flex; }
.news-item {
  align-items: center; gap: 15px; background: var(--card); border: 2px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--hard); padding: 14px 16px; color: var(--text);
  transition: transform .15s ease;
}
.news-item:hover { transform: translate(-3px, -3px); }
.news-item:hover .n-title { color: var(--primary); }
.news-date {
  flex: none; width: 56px; text-align: center; border: 1.5px solid var(--line);
  border-radius: 8px; padding: 6px 0; line-height: 1.25; background: var(--paper); font-family: var(--mono);
}
.news-date b { display: block; font-size: 18px; color: var(--primary); }
.news-date i { font-style: normal; font-size: 10.5px; color: var(--text-light); }
.n-body { min-width: 0; flex: 1; }
.n-title { font-size: 14.5px; font-weight: 700; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-digest { font-size: 12.5px; color: var(--text-light); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.n-tag { flex: none; font-family: var(--mono); font-size: 10.5px; padding: 2px 8px; border-radius: 5px; border: 1.5px solid var(--line); }
.n-tag.c-policy { background: #ffe1e1; }
.n-tag.c-method { background: #e4eaff; }
.n-tag.c-rise { background: #efe7ff; }
.n-tag.c-res { background: #dcf9ef; }
@media (max-width: 860px) { .news-panel-grid { grid-template-columns: 1fr; } }

/* ---------- 资料下载 ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--hard); padding: 22px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .15s ease; position: relative; overflow: hidden;
}
.dl-card::after {
  content: "PDF"; position: absolute; right: -24px; top: 12px; transform: rotate(45deg);
  background: var(--yellow); border: 1.5px solid var(--line); font-family: var(--mono);
  font-size: 10px; font-weight: 700; padding: 2px 28px;
}
.dl-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 rgba(255, 210, 62, .45); }
.dl-top { display: flex; align-items: center; gap: 12px; }
.dl-ico {
  width: 46px; height: 46px; border-radius: 10px; border: 2px solid var(--line); background: var(--paper);
  display: flex; align-items: center; justify-content: center; font-size: 23px; flex: none;
}
.dl-card h4 { font-size: 15.5px; font-weight: 800; }
.dl-card .dl-sub { font-size: 11px; color: var(--text-light); font-family: var(--mono); }
.dl-card p { font-size: 13px; color: var(--text-light); flex: 1; }
.dl-card .btn-dl {
  display: block; text-align: center; background: var(--ink); color: var(--yellow);
  border-radius: 9px; padding: 10px 0; font-size: 14px; font-weight: 800; transition: all .15s;
  border: 2px solid var(--ink);
}
.dl-card .btn-dl:hover { background: var(--yellow); color: var(--ink); border-color: var(--line); }
@media (max-width: 960px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- APP 卡（深空控制台） ---------- */
.app-card {
  border: 2px solid var(--line); background: var(--ink);
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 255, 255, .4) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 20%, rgba(34, 211, 238, .5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 85% 75%, rgba(255, 210, 62, .5) 50%, transparent 51%);
  border-radius: 18px; color: #eef1ff; padding: 38px 42px;
  display: flex; gap: 36px; align-items: center; flex-wrap: wrap;
  box-shadow: 8px 8px 0 rgba(20, 27, 77, .2);
}
.app-card .ac-text { flex: 1 1 340px; }
.app-card h3 { font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.app-card .ac-ver {
  display: inline-block; font-family: var(--mono); background: rgba(34, 211, 238, .12);
  border: 1px solid rgba(34, 211, 238, .5); color: var(--cyan);
  border-radius: 8px; padding: 3px 12px; font-size: 12px; font-weight: 700; margin-bottom: 12px;
}
.app-card p { font-size: 14.5px; color: #aab4e8; margin-bottom: 14px; }
.app-card .ac-log { font-family: var(--mono); font-size: 12px; color: #8f9ad4; line-height: 2; }
.app-card .ac-qr { flex: none; text-align: center; }
.app-card .ac-qr img { width: 118px; height: 118px; border-radius: 12px; background: #ffffff; padding: 7px; margin: 0 auto 8px; border: 2px solid var(--line); }
.app-card .ac-qr span { font-size: 12px; color: #8f9ad4; display: block; font-family: var(--mono); }
.app-card .ac-btns { flex: none; display: flex; flex-direction: column; gap: 12px; }

/* ---------- 大事记 ---------- */
.milestones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.milestones::before { content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 3px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.ms-item { text-align: center; position: relative; padding-top: 46px; }
.ms-item::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 15px; height: 15px; background: var(--yellow); border: 2.5px solid var(--line);
}
.ms-item .ms-date { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--primary); }
.ms-item h5 { font-size: 14px; font-weight: 800; margin: 2px 0 3px; }
.ms-item p { font-size: 12px; color: var(--text-light); padding: 0 8px; }
@media (max-width: 860px) {
  .milestones { grid-template-columns: 1fr; }
  .milestones::before { left: 27px; right: auto; top: 8%; bottom: 8%; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 10px 18px); }
  .ms-item { text-align: left; padding: 0 0 22px 56px; }
  .ms-item::before { left: 21px; top: 4px; transform: rotate(45deg); }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--hard); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 17px 22px; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "?"; font-family: var(--mono); color: var(--ink); background: var(--yellow);
  border: 1.5px solid var(--line); border-radius: 6px; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center; flex: none; font-weight: 700; font-size: 14px;
}
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--primary); flex: none; margin-left: auto; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 18px 60px; font-size: 14px; color: var(--text-light); }

/* ---------- CTA + 表单 ---------- */
.cta-band { padding: 76px 0; }
.cta-grid { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.cta-copy { flex: 1 1 400px; }
.cta-copy h2 { font-size: 33px; font-weight: 900; margin-bottom: 14px; color: #ffffff; }
.cta-copy h2 em { font-style: normal; color: var(--yellow); }
.cta-copy p { color: #aab4e8; font-size: 15.5px; max-width: 520px; margin-bottom: 20px; }
.cta-points { list-style: none; display: grid; gap: 8px; font-size: 14px; color: #c8d2ff; font-family: var(--mono); }
.cta-points li::before { content: "[✓] "; color: var(--green); }
.lead-card {
  flex: 0 1 420px; min-width: 300px; background: var(--card); color: var(--text);
  border: 2px solid var(--line); border-radius: 16px; padding: 28px 28px 20px;
  box-shadow: 10px 10px 0 rgba(34, 211, 238, .25);
}
.lead-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.lead-card .lead-tip { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.lead-card .form-row { margin-bottom: 12px; }
.lead-card label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.lead-card .req { color: var(--coral); }
.lead-card input, .lead-card select, .lead-card textarea {
  width: 100%; padding: 10px 12px; font-size: 14px; border: 2px solid #d5daed;
  border-radius: 9px; font-family: inherit; background: var(--paper);
}
.lead-card input:focus, .lead-card select:focus, .lead-card textarea:focus {
  outline: none; border-color: var(--primary); background: #ffffff;
}
.lead-card .form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-card button[type=submit] { width: 100%; margin-top: 4px; }
.lead-card .privacy-note { font-size: 11px; color: var(--text-light); line-height: 1.6; margin-top: 10px; }
.form-msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
.form-msg.ok { color: #14875f; }
.form-msg.err { color: var(--coral); }
@media (max-width: 900px) { .cta-copy h2 { font-size: 25px; } .lead-card { flex: 1 1 100%; } }

/* ---------- 浮动侧栏 / 移动底栏 ---------- */
.float-bar { position: fixed; right: 16px; bottom: 120px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-bar a, .float-bar button {
  width: 56px; height: 56px; border-radius: 12px; border: 2px solid var(--line); cursor: pointer;
  background: var(--card); box-shadow: 4px 4px 0 rgba(20, 27, 77, .2); color: var(--text);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10.5px; gap: 2px; transition: transform .12s ease; font-weight: 700;
}
.float-bar a:hover, .float-bar button:hover { transform: translate(-2px, -2px); }
.float-bar .fb-ico { font-size: 19px; line-height: 1; }
.float-bar .fb-main { background: var(--yellow); color: var(--ink); }
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .float-bar { display: none; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--card); border-top: 2px solid var(--line); padding: 10px 14px; gap: 10px;
  }
  .mobile-cta a { flex: 1; text-align: center; padding: 12px 0; border-radius: 10px; font-weight: 800; font-size: 15px; border: 2px solid var(--line); }
  .mobile-cta .mc-ghost { color: var(--primary); background: var(--card); }
  .mobile-cta .mc-main { background: var(--yellow); color: var(--ink); }
  body { padding-bottom: 70px; }
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #8f9ad4; padding: 56px 0 30px; font-size: 13.5px; border-top: 2px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; margin-bottom: 30px; }
.site-footer h4 { color: #ffffff; font-size: 15px; margin-bottom: 12px; font-family: var(--mono); }
.site-footer h4::before { content: "# "; color: var(--cyan); }
.site-footer a { color: #8f9ad4; }
.site-footer a:hover { color: var(--yellow); }
.f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.f-brand img { height: 34px; border-radius: 8px; }
.f-brand span { color: #ffffff; font-size: 19px; font-weight: 800; }
.f-links { display: grid; gap: 8px; }
.site-update { font-family: var(--mono); font-size: 11.5px; color: #58628f; margin-top: 6px; }
.disclaimer { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 14px; padding-top: 16px; font-size: 12px; line-height: 1.9; color: #58628f; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* ============ R2 去同质化 ============ */
/* 1. CTA：表单在左 + 终端窗标题条 */
.cta-grid { flex-direction: row-reverse; }
.lead-card { border-radius: 14px; padding-top: 20px; }
.lead-card::before {
  content: "\25CF \25CF \25CF   consult_form.sh"; font-family: var(--mono); font-size: 11px;
  color: #9aa2c4; letter-spacing: 2px; display: block; margin: -4px -28px 16px; padding: 0 28px 12px;
  border-bottom: 2px solid #e8ebf6;
}

/* 2. 权威导航：目录清单行，不再是卡片矩阵 */
.gov-grid { grid-template-columns: 1fr 1fr; gap: 10px 26px; max-width: 980px; margin: 0 auto; }
.gov-card {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px;
  box-shadow: none; border: none; border-bottom: 2px dashed #d8dcee; border-radius: 0; background: transparent;
}
.gov-card:hover { transform: none; box-shadow: none; background: #ffffff; border-radius: 10px; border-bottom-color: transparent; outline: 2px solid var(--line); }
.gov-card::after { position: static; order: -1; flex: none; width: 30px; color: var(--coral); font-weight: 700; }
.gov-card .g-tag { margin: 0; flex: none; order: 3; margin-left: auto; }
.gov-card h4 { margin: 0; font-size: 14.5px; }
.gov-card p { display: none; }
.gov-card:hover h4 { color: var(--primary); }
@media (max-width: 720px) { .gov-grid { grid-template-columns: 1fr; } }

/* 3. 资讯：改为日志列表行（去卡片化） */
.news-panel-grid { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; gap: 0; }
.news-item {
  border: none; border-radius: 0; box-shadow: none; background: transparent;
  border-bottom: 2px dashed #d8dcee; padding: 13px 6px;
}
.news-item:hover { transform: translateX(8px); background: transparent; }
.news-date {
  border: none; background: transparent; width: auto; padding: 0;
  font-size: 12.5px; color: var(--text-light); white-space: nowrap;
}
.news-date b { display: inline; font-size: 12.5px; color: var(--text-light); font-weight: 500; }
.news-date i { display: none; }
.news-date::before { content: attr(data-ym) ""; }
.n-title { font-size: 15px; }
.n-digest { display: none; }

/* 4. 资料下载：双列横排行式 */
.dl-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
.dl-card { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; }
.dl-card::after { display: none; }
.dl-card .dl-top { flex: 1; min-width: 0; }
.dl-card p { display: none; }
.dl-card .btn-dl { flex: none; padding: 9px 20px; }
@media (max-width: 720px) { .dl-grid { grid-template-columns: 1fr; } }

/* 5. 对比表：git diff 终端风 */
.vs-table { background: #0d1435; border-color: var(--line); box-shadow: 8px 8px 0 rgba(20, 27, 77, .2); font-family: var(--mono); }
.vs-table th, .vs-table td { border-bottom: 1px solid #1c2554; color: #c8d2ff; font-size: 13px; }
.vs-table thead th { background: var(--ink-2) !important; color: #8f9ad4 !important; font-family: var(--mono); font-size: 13px; }
.vs-table thead th:nth-child(2) { color: var(--coral) !important; }
.vs-table thead th:nth-child(3) { color: var(--green) !important; }
.vs-table tbody th { background: #0d1435; color: var(--cyan); font-weight: 500; }
.vs-table td.bad { color: #ff9c9c; font-weight: 400; }
.vs-table td.bad::before { content: "- "; color: var(--coral); font-weight: 700; }
.vs-table td.good { color: #8fe8c5; font-weight: 400; }
.vs-table td.good::before { content: "+ "; color: var(--green); font-weight: 700; }

/* R3：浮动栏改为右下横排 dock（与康站竖排区分） */
.float-bar { flex-direction: row; bottom: 24px; right: 24px; gap: 8px; }
.float-bar a, .float-bar button { width: auto; height: 44px; flex-direction: row; padding: 0 16px; gap: 7px; font-size: 13px; border-radius: 10px; font-family: var(--mono); }
.float-bar .fb-ico { font-size: 16px; }

/* hero APP 下载徽章条 */
.hero-app {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 22px;
  background: rgba(34, 211, 238, .07); border: 1.5px solid rgba(34, 211, 238, .4);
  border-radius: 14px; padding: 12px 16px;
}
.hero-app img { width: 62px; height: 62px; border-radius: 9px; background: #ffffff; padding: 4px; flex: none; }
.hero-app .ha-txt b { display: block; color: #ffffff; font-size: 15px; font-weight: 800; }
.hero-app .ha-txt span { font-family: var(--mono); font-size: 11.5px; color: #8f9ad4; }
.hero-app .ha-btn {
  flex: none; margin-left: 6px; background: var(--cyan); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 10px; padding: 9px 18px;
  font-weight: 800; font-size: 14px; box-shadow: 3px 3px 0 rgba(34, 211, 238, .35);
  transition: transform .12s ease;
}
.hero-app .ha-btn:hover { transform: translate(-2px, -2px); color: var(--ink); }
@media (max-width: 480px) {
  .hero-app { width: 100%; gap: 10px; padding: 10px 12px; }
  .hero-app img { width: 52px; height: 52px; }
  .hero-app .ha-btn { padding: 8px 12px; font-size: 13px; margin-left: 0; }
}

/* ---------- AI 时代板块 ---------- */
.ai-sec { padding: 76px 0; }
.ai-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; }
.ai-stack { max-width: 440px; }
.stk-title { font-family: var(--mono); font-size: 13px; color: var(--cyan); margin-bottom: 14px; }
.stk-title span { color: #58628f; }
.stk {
  border-radius: 12px; padding: 13px 18px; margin-bottom: 10px;
  border: 1.5px solid; transition: transform .15s ease;
}
.stk:hover { transform: translateX(8px); }
.stk b { display: block; font-size: 15px; color: #ffffff; }
.stk span { font-family: var(--mono); font-size: 11.5px; color: #aab4e8; }
.stk.l4 { border-color: rgba(236, 72, 153, .6); background: rgba(236, 72, 153, .08); margin-right: 54px; }
.stk.l3 { border-color: rgba(139, 92, 246, .6); background: rgba(139, 92, 246, .08); margin-right: 36px; }
.stk.l2 { border-color: rgba(34, 211, 238, .6); background: rgba(34, 211, 238, .08); margin-right: 18px; }
.stk.l1 { border-color: rgba(255, 210, 62, .7); background: rgba(255, 210, 62, .1); }
.stk.l1 b { color: var(--yellow); }
.stk-note { font-family: var(--mono); font-size: 11.5px; color: #58628f; margin-top: 12px; }
.ai-points { display: grid; gap: 14px; }
.ai-point {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px; padding: 16px 18px; transition: all .2s ease;
}
.ai-point:hover { background: rgba(255, 255, 255, .08); border-color: rgba(34, 211, 238, .4); }
.ai-point .ap-ico { font-size: 24px; flex: none; margin-top: 2px; }
.ai-point h4 { font-size: 15.5px; color: #ffffff; margin-bottom: 3px; }
.ai-point p { font-size: 13px; color: #aab4e8; }
.ai-term { max-width: 780px; margin: 34px auto 0; flex: none; box-shadow: 8px 8px 0 rgba(34, 211, 238, .15); }
.ai-term .term-body { min-height: 0; }
@media (max-width: 900px) {
  .ai-grid { grid-template-columns: 1fr; gap: 30px; }
  .ai-stack { max-width: none; }
  .stk.l4 { margin-right: 30px; } .stk.l3 { margin-right: 20px; } .stk.l2 { margin-right: 10px; }
}

/* 页脚运营计数器 */
.site-meter { display: flex; gap: 26px; flex-wrap: wrap; font-size: 12px; color: #8f9ad4; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }
.site-meter b { color: var(--yellow); font-weight: 700; }
.site-meter a { color: var(--cyan); }
