/* =========================================================
   考研自学网 · 全站样式
   设计语言：编辑部式网格 + 大字号排版 + 荧光点缀
   ========================================================= */

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --ink: #141414;
  --ink-2: #3a3a3a;
  --ink-3: #77736b;
  --line: #141414;
  --line-soft: rgba(20, 20, 20, .14);
  --blue: #2340ff;
  --lime: #d4ff3a;
  --coral: #ff5a36;
  --white: #fffdf8;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 细微纸张噪点 */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: radial-gradient(rgba(20,20,20,.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

main, header, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--lime); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.serif { font-family: var(--font-serif); }
.hl { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding: 0 .08em; }
.blue { color: var(--blue); }

/* ---------- 顶部提示条 ---------- */
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 34px; }
.topbar .ticker { display: flex; gap: 10px; align-items: center; overflow: hidden; white-space: nowrap; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; animation: pulse 1.6s infinite; }
.topbar .right { color: rgba(244,241,234,.6); white-space: nowrap; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand-mark {
  width: 34px; height: 34px; border: 2px solid var(--ink);
  display: grid; place-items: center;
  background: var(--lime);
  font-family: var(--font-serif); font-size: 18px; font-weight: 900;
  box-shadow: 3px 3px 0 var(--ink);
}
.brand small { display: block; font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: .14em; color: var(--ink-3); margin-top: -2px; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: .2s;
}
.nav-links a:hover { border-color: var(--ink); }
.nav-links a.active { background: var(--ink); color: var(--paper); }

.nav-toggle { display: none; background: none; border: 1px solid var(--ink); width: 42px; height: 42px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; transition: .2s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-weight: 700; font-size: 15px;
  border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
  box-shadow: 4px 4px 0 var(--blue);
  transition: transform .15s, box-shadow .15s;
  cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--blue); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn.ghost:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn.lime { background: var(--lime); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- 通用版块 ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section.dark .mono, .section.dark .muted { color: rgba(244,241,234,.6); }

.sec-head { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: end; margin-bottom: 48px; }
.sec-head .idx { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); border-top: 2px solid currentColor; padding-top: 8px; }
.section.dark .sec-head .idx { color: var(--lime); }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 56px); }
.sec-head .more { font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.sec-head .more:hover { color: var(--blue); }

.muted { color: var(--ink-3); }

/* ---------- 首页 Hero ---------- */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; min-height: min(calc(100vh - 102px), 820px); }
.hero-main { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(40px, 5vw, 64px) 0; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border-right: 1px solid var(--line); }
.hero-tag { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--ink); padding: 6px 12px; background: var(--white); width: fit-content; }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: 1.02; letter-spacing: -.045em; font-weight: 900;
}
.hero h1 .serif { font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.hero h1 .strike { position: relative; color: var(--ink-3); font-weight: 400; }
.hero h1 .strike::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 6px; background: var(--coral); transform: rotate(-4deg); }
.hero-lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-side { display: grid; grid-template-rows: auto 1fr auto; }
.countdown { padding: 32px; border-bottom: 1px solid var(--line); background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.countdown::after {
  content: "考"; position: absolute; right: -20px; bottom: -70px;
  font-family: var(--font-serif); font-size: 260px; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,.08);
}
.countdown .mono { color: rgba(255,255,255,.75); }
.countdown .days { font-family: var(--font-mono); font-size: clamp(72px, 9vw, 128px); font-weight: 700; line-height: 1; letter-spacing: -.06em; margin: 16px 0 8px; }
.countdown .days small { font-family: var(--font-sans); font-size: 22px; letter-spacing: 0; margin-left: 6px; }
.countdown .sub { font-size: 13px; color: rgba(255,255,255,.75); }
.countdown .bar { height: 6px; background: rgba(255,255,255,.2); margin-top: 18px; }
.countdown .bar i { display: block; height: 100%; background: var(--lime); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }

.hero-quiz { padding: 28px 32px; border-bottom: 1px solid var(--line); background: var(--white); }
.hero-quiz .q { font-weight: 700; font-size: 17px; margin: 12px 0 16px; line-height: 1.55; }
.hero-quiz .opts { display: grid; gap: 8px; }
.hero-quiz button {
  text-align: left; font: inherit; font-size: 14px; padding: 10px 14px;
  border: 1px solid var(--line-soft); background: var(--paper); cursor: pointer;
  display: flex; gap: 12px; transition: .15s;
}
.hero-quiz button b { font-family: var(--font-mono); }
.hero-quiz button:hover { border-color: var(--ink); }
.hero-quiz button.right { background: var(--lime); border-color: var(--ink); }
.hero-quiz button.wrong { background: #ffd9cf; border-color: var(--coral); text-decoration: line-through; }
.hero-quiz .explain { font-size: 13px; color: var(--ink-2); margin-top: 12px; display: none; border-left: 3px solid var(--blue); padding-left: 10px; }
.hero-quiz .explain.show { display: block; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-stats div { padding: 22px 20px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats b { display: block; font-family: var(--font-mono); font-size: 26px; letter-spacing: -.04em; }
.hero-stats span { font-size: 12px; color: var(--ink-3); }

/* ---------- 滚动字幕 ---------- */
.marquee { border-bottom: 1px solid var(--line); background: var(--lime); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee span { font-weight: 900; font-size: 22px; padding: 14px 28px; display: inline-flex; align-items: center; gap: 28px; }
.marquee span::after { content: "✳"; font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 资讯 ---------- */
.news-layout { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); background: var(--white); }
.news-feature { padding: 36px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.news-feature .cover {
  aspect-ratio: 16/9; border: 1px solid var(--line);
  background:
    linear-gradient(135deg, transparent 49.5%, var(--ink) 49.5%, var(--ink) 50.5%, transparent 50.5%),
    repeating-linear-gradient(0deg, transparent 0 23px, var(--line-soft) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, var(--line-soft) 23px 24px),
    var(--paper);
  position: relative; display: grid; place-items: center;
}
.news-feature .cover strong {
  font-family: var(--font-mono); font-size: clamp(48px, 7vw, 96px); letter-spacing: -.06em;
  background: var(--lime); padding: 0 16px; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
}
.news-feature h3 { font-size: clamp(22px, 2.4vw, 30px); }
.news-feature h3 a:hover { color: var(--blue); }

.news-list li { border-bottom: 1px solid var(--line-soft); }
.news-list li:last-child { border-bottom: 0; }
.news-list a { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 20px 28px; transition: background .15s; }
.news-list a:hover { background: var(--paper); }
.news-list a:hover h4 { color: var(--blue); }
.news-date { font-family: var(--font-mono); line-height: 1.1; }
.news-date b { display: block; font-size: 26px; letter-spacing: -.04em; }
.news-date span { font-size: 11px; color: var(--ink-3); }
.news-list h4 { font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: 0; margin-bottom: 4px; }
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  border: 1px solid currentColor; padding: 1px 8px; margin-right: 6px;
}
.tag.blue { color: var(--blue); }
.tag.coral { color: var(--coral); }
.tag.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- 时间轴 ---------- */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid var(--paper); position: relative; }
.timeline li { padding: 24px 18px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border: 2px solid var(--paper); background: var(--ink); }
.timeline li.done::before { background: var(--paper); }
.timeline li.now::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 6px rgba(212,255,58,.25); }
.timeline .when { font-family: var(--font-mono); font-size: 13px; color: var(--lime); }
.timeline h4 { font-size: 19px; margin: 8px 0 6px; }
.timeline p { font-size: 13px; color: rgba(244,241,234,.6); }
.timeline-note { margin-top: 36px; font-size: 13px; color: rgba(244,241,234,.5); }

/* ---------- 业务卡片 ---------- */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.biz-card { padding: clamp(28px, 4vw, 48px); background: var(--white); position: relative; display: flex; flex-direction: column; gap: 22px; min-height: 480px; transition: background .25s; }
.biz-card + .biz-card { border-left: 1px solid var(--line); }
.biz-card:hover { background: var(--paper-2); }
.biz-card .num { font-family: var(--font-mono); font-size: 13px; display: flex; justify-content: space-between; }
.biz-card h3 { font-size: clamp(30px, 3.6vw, 46px); }
.biz-card p { color: var(--ink-2); }
.biz-card ul { display: grid; gap: 10px; margin-top: auto; }
.biz-card li { display: flex; gap: 12px; align-items: baseline; border-top: 1px solid var(--line-soft); padding-top: 10px; font-size: 15px; }
.biz-card li::before { content: "→"; font-family: var(--font-mono); color: var(--blue); }
.biz-card .glyph { position: absolute; right: clamp(20px, 3vw, 40px); top: clamp(56px, 6vw, 72px); width: 96px; height: 96px; }

/* ---------- 科目 ---------- */
.subjects { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.subject { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 24px; background: var(--white); display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: .2s; }
.subject:hover { background: var(--ink); color: var(--paper); }
.subject:hover .muted { color: rgba(244,241,234,.6); }
.subject .big { font-family: var(--font-serif); font-size: 64px; font-weight: 900; line-height: 1; }
.subject h4 { font-size: 20px; }
.subject .meta { margin-top: auto; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; }
.subject .meter { height: 4px; background: var(--line-soft); }
.subject .meter i { display: block; height: 100%; background: var(--blue); }
.subject:hover .meter i { background: var(--lime); }

/* ---------- 引言 ---------- */
.manifesto { font-size: clamp(28px, 4.2vw, 58px); font-weight: 800; line-height: 1.3; letter-spacing: -.03em; max-width: 1080px; }
.manifesto .serif { font-style: italic; font-weight: 900; }
.manifesto em { font-style: normal; color: var(--ink-3); }

/* ---------- 子页头部 ---------- */
.page-head { border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-head .crumb { margin-bottom: 28px; color: var(--ink-3); }
.page-head .crumb a:hover { color: var(--blue); }
.page-head h1 { font-size: clamp(48px, 9vw, 132px); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.page-head .lead { margin-top: 28px; max-width: 640px; font-size: 18px; color: var(--ink-2); }
.page-head .bg-word {
  position: absolute; right: -2vw; bottom: -4vw; z-index: -1;
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(120px, 22vw, 320px);
  letter-spacing: -.08em; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-soft);
  user-select: none; pointer-events: none;
}

/* ---------- 特性网格 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.feature .ico { width: 48px; height: 48px; border: 2px solid var(--ink); display: grid; place-items: center; margin-bottom: 22px; background: var(--paper); font-family: var(--font-mono); font-weight: 700; }
.feature:nth-child(3n+1) .ico { background: var(--lime); }
.feature:nth-child(3n+2) .ico { background: var(--blue); color: var(--white); }
.feature h4 { font-size: 20px; margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--ink-2); }

/* 数字条 */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); }
.figures div { padding: 8px 24px 8px 0; border-left: 1px solid rgba(244,241,234,.25); padding-left: 24px; }
.figures div:first-child { border-left: 0; padding-left: 0; }
.figures b { display: block; font-family: var(--font-mono); font-size: clamp(40px, 5vw, 72px); letter-spacing: -.06em; line-height: 1.05; color: var(--lime); }
.figures span { font-size: 14px; color: rgba(244,241,234,.7); }

/* 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); font-size: 15px; vertical-align: top; }
th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--paper); font-weight: 500; }
tr:last-child td { border-bottom: 0; }
td.ok { color: var(--blue); font-weight: 700; }
td.no { color: var(--ink-3); }

/* 模拟手机 */
.device-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.device {
  width: min(300px, 100%); aspect-ratio: 9/18.5; margin: 0 auto;
  border: 3px solid var(--ink); border-radius: 36px; background: var(--white);
  box-shadow: 14px 14px 0 var(--blue); padding: 14px; position: relative;
}
.device::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; background: var(--ink); border-radius: 12px; }
.screen { height: 100%; border-radius: 24px; background: var(--paper); overflow: hidden; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 12px; font-size: 12px; }
.screen .s-head { display: flex; justify-content: space-between; align-items: center; }
.screen .s-head b { font-size: 16px; }
.screen .s-card { background: var(--white); border: 1px solid var(--ink); padding: 12px; }
.screen .s-card.lime { background: var(--lime); }
.screen .s-card.ink { background: var(--ink); color: var(--paper); }
.screen .s-prog { height: 6px; background: var(--line-soft); margin-top: 8px; }
.screen .s-prog i { display: block; height: 100%; background: var(--blue); }
.screen .s-opt { border: 1px solid var(--line-soft); padding: 8px 10px; background: var(--white); }
.screen .s-opt.on { border-color: var(--ink); background: var(--lime); }
.screen .s-tabs { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; border-top: 1px solid var(--line-soft); padding-top: 10px; font-size: 11px; color: var(--ink-3); }
.screen .s-tabs .on { color: var(--ink); font-weight: 700; }

.check-list { display: grid; gap: 14px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: 13px; font-weight: 700; margin-top: 2px; }

/* 流程 */
.process { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; border: 1px solid var(--line); }
.process li { padding: 28px 22px; border-right: 1px solid var(--line); background: var(--white); counter-increment: step; position: relative; }
.process li:last-child { border-right: 0; }
.process li::before { content: "0" counter(step); font-family: var(--font-mono); font-size: 40px; font-weight: 700; letter-spacing: -.06em; display: block; margin-bottom: 18px; color: var(--blue); }
.process h4 { font-size: 18px; margin-bottom: 8px; }
.process p { font-size: 14px; color: var(--ink-2); }

/* 案例 */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.case:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.case .thumb { aspect-ratio: 4/3; border-bottom: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-serif); font-size: 72px; font-weight: 900; }
.case:nth-child(1) .thumb { background: var(--lime); }
.case:nth-child(2) .thumb { background: var(--blue); color: var(--white); }
.case:nth-child(3) .thumb { background: var(--coral); color: var(--white); }
.case .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.case h4 { font-size: 19px; }
.case p { font-size: 14px; color: var(--ink-2); }

/* 资讯列表页 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px;
  border: 1px solid var(--ink); background: transparent; cursor: pointer; transition: .15s;
}
.filters button:hover { background: var(--white); }
.filters button.on { background: var(--ink); color: var(--paper); }
.article-list { border-top: 2px solid var(--ink); }
.article { display: grid; grid-template-columns: 140px 1fr 40px; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line-soft); align-items: start; cursor: pointer; }
.article:hover h3 { color: var(--blue); }
.article .d { font-family: var(--font-mono); font-size: 14px; color: var(--ink-3); }
.article h3 { font-size: clamp(19px, 2vw, 24px); margin: 6px 0 10px; letter-spacing: -.01em; transition: color .15s; }
.article .summary { color: var(--ink-2); font-size: 15px; }
.article .detail { display: none; margin-top: 16px; padding: 18px 20px; background: var(--white); border-left: 3px solid var(--blue); font-size: 15px; color: var(--ink-2); }
.article .detail p + p { margin-top: 10px; }
.article.open .detail { display: block; }
.article .toggle { width: 40px; height: 40px; border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--font-mono); font-size: 18px; transition: transform .2s; }
.article.open .toggle { transform: rotate(45deg); background: var(--lime); }
.article[hidden] { display: none; }

/* 关于 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.about-grid p + p { margin-top: 18px; }
.about-grid .big-p { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.55; letter-spacing: -.01em; }
.info-table { border-top: 2px solid var(--ink); }
.info-table div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.info-table dt, .info-table .k { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); padding-top: 3px; letter-spacing: .06em; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.contact-card { padding: 32px 28px; background: var(--white); }
.contact-card + .contact-card { border-left: 1px solid var(--line); }
.contact-card .mono { color: var(--ink-3); }
.contact-card b { display: block; font-size: 20px; margin: 12px 0 8px; word-break: break-all; }
.contact-card p { font-size: 14px; color: var(--ink-2); }
.notice { border: 2px dashed var(--ink); padding: 28px 32px; background: var(--white); }
.notice h4 { font-size: 18px; margin-bottom: 12px; }
.notice ol { list-style: decimal; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }

/* CTA */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(32px, 5vw, 68px); max-width: 760px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(244,241,234,.18); }
.footer .brand-mark { box-shadow: 3px 3px 0 var(--blue); color: var(--ink); }
.footer p { color: rgba(244,241,234,.6); font-size: 14px; }
.footer h5 { margin: 0 0 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--lime); }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer li a { color: rgba(244,241,234,.8); }
.footer li a:hover { color: var(--lime); }
.footer-disclaimer { padding: 24px 0; font-size: 12px; color: rgba(244,241,234,.5); line-height: 1.8; border-bottom: 1px solid rgba(244,241,234,.18); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0 28px; font-size: 12px; color: rgba(244,241,234,.5); }
.footer-bottom a:hover { color: var(--lime); }
.footer-bottom .beian { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-word { font-family: var(--font-mono); font-weight: 700; font-size: clamp(56px, 13vw, 190px); letter-spacing: -.07em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(244,241,234,.18); padding-top: 32px; white-space: nowrap; overflow: hidden; user-select: none; }

/* ---------- 进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .topbar .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-main { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .hero-side { margin: 0 calc(var(--gutter) * -1); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; border-top: 0; }
  .timeline li { border-top: 2px solid var(--paper); }
  .subjects { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr 1fr; }
  .process li { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px var(--gutter); border: 0; border-top: 1px solid var(--line-soft); }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .topbar .right { display: none; }

  .sec-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
  .sec-head .idx { width: fit-content; }
  .news-layout, .biz-grid, .device-row, .about-grid { grid-template-columns: 1fr; }
  .news-feature { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; }
  .news-list a { padding: 18px 20px; grid-template-columns: 60px 1fr; gap: 14px; }
  .biz-card + .biz-card { border-left: 0; border-top: 1px solid var(--line); }
  .biz-card { min-height: 0; }
  .biz-card .glyph { width: 64px; height: 64px; }
  .feature-grid, .cases, .contact-cards { grid-template-columns: 1fr; }
  .contact-card + .contact-card { border-left: 0; border-top: 1px solid var(--line); }
  .figures { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .figures div:nth-child(3) { border-left: 0; padding-left: 0; }
  .article { grid-template-columns: 1fr 40px; gap: 12px 16px; }
  .article .d { grid-column: 1 / -1; }
  .device-row .device { order: -1; }
}

@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr 1fr; }
  .subjects { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process li { border-right: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats b { font-size: 20px; }
  .countdown, .hero-quiz { padding: 24px var(--gutter); }
  .info-table div { grid-template-columns: 1fr; gap: 4px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* =========================================================
   题库产品界面还原（与 App 实际界面风格保持一致：浅蓝渐变 + 卡片）
   ========================================================= */
.app {
  --a-blue: #3b82f6; --a-blue-2: #6aa6ff; --a-violet: #7c5cf5; --a-green: #22a75b; --a-orange: #f97316; --a-red: #ef4444;
  --a-text: #1b2333; --a-sub: #6b7280; --a-bg: #f3f6fc;
  font-family: var(--font-sans); color: var(--a-text); background: var(--a-bg);
  letter-spacing: 0;
}
.app h1, .app h4, .app b { letter-spacing: 0; }
.app-card { background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.9); border-radius: 14px; box-shadow: 0 4px 16px rgba(59,130,246,.08); }
.app .svip { display: inline-block; font-size: 9px; font-weight: 800; color: #9a6400; background: linear-gradient(#fff3c4, #ffd76a); border: 1px solid #f3c34a; border-radius: 5px; padding: 0 5px; vertical-align: middle; margin-left: 4px; }
.app .ai-btn { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; padding: 6px 6px 6px 14px; border-radius: 999px; background: linear-gradient(90deg, #4f8cff, #6b7bff); box-shadow: 0 6px 14px rgba(79,140,255,.35); }
.app .ai-btn i { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--a-blue); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.app .stat-main { border-radius: 14px; color: #fff; background: linear-gradient(160deg, #5b9bff, #69a8ff 60%, #8ec0ff); padding: 12px; position: relative; overflow: hidden; }
.app .stat-main .n { font-size: 30px; font-weight: 800; line-height: 1.1; font-family: var(--font-sans); }
.app .stat-main .n small { font-size: 11px; margin-left: 2px; }
.app .stat-main .bars { display: flex; gap: 4px; align-items: flex-end; height: 26px; margin-top: 10px; }
.app .stat-main .bars i { flex: 1; background: rgba(255,255,255,.35); border-radius: 3px 3px 0 0; }
.app .stat-sm { border-radius: 14px; padding: 10px 12px; }
.app .stat-sm.v { background: linear-gradient(135deg, #fff, #ece8ff); }
.app .stat-sm.r { background: linear-gradient(135deg, #fff, #ffe6e1); }
.app .stat-sm .lbl { font-size: 10px; font-weight: 700; color: var(--a-text); }
.app .stat-sm .n { font-size: 20px; font-weight: 800; line-height: 1.2; }
.app .stat-sm.v .n { color: var(--a-violet); }
.app .stat-sm.r .n { color: var(--a-red); }
.app .stat-sm .n small { font-size: 10px; color: var(--a-text); margin-left: 2px; }
.app .quick { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; font-size: 10px; font-weight: 600; }
.app .quick span { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 4px; border-radius: 9px; font-size: 13px; }
.app .quick .q1 span { background: #ffe6e1; color: var(--a-red); }
.app .quick .q2 span { background: #fff1d6; color: #d97706; }
.app .quick .q3 span { background: #e6eeff; color: var(--a-blue); }
.app .quick .q4 span { background: #e3f4ff; color: #0284c7; }
.app .quick .q5 span { background: #e2f7ec; color: var(--a-green); }
.app .sec-t { font-weight: 800; font-size: 13px; }
.app .learn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app .learn > div { border-radius: 12px; padding: 10px; border: 1px solid #fff; position: relative; min-height: 70px; }
.app .learn b { font-size: 12px; display: block; }
.app .learn p { font-size: 9px; color: var(--a-sub); }
.app .learn em { font-style: normal; font-size: 9px; display: inline-block; margin-top: 8px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.8); }
.app .learn .c1 { background: linear-gradient(135deg, #f7faff, #dce9ff); } .app .learn .c1 em { color: var(--a-blue); }
.app .learn .c2 { background: linear-gradient(135deg, #faf8ff, #e9e1ff); } .app .learn .c2 em { color: var(--a-violet); }
.app .learn .c3 { background: linear-gradient(135deg, #f7fdf9, #dbf3e4); } .app .learn .c3 em { color: var(--a-green); }
.app .learn .c4 { background: linear-gradient(135deg, #fffaf5, #ffe6d3); } .app .learn .c4 em { color: var(--a-orange); }
.app .learn .dot { position: absolute; right: 8px; top: 8px; width: 12px; height: 12px; border-radius: 50%; color: #fff; font-size: 8px; display: grid; place-items: center; }
.app .learn .c1 .dot { background: var(--a-blue); } .app .learn .c2 .dot { background: var(--a-violet); }
.app .learn .c3 .dot { background: var(--a-green); } .app .learn .c4 .dot { background: var(--a-orange); }
.app .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: 9px; color: #9aa3b2; background: #fff; border-radius: 16px; padding: 6px 0; box-shadow: 0 -2px 14px rgba(27,35,51,.06); }
.app .tabbar .on { color: var(--a-blue); font-weight: 700; }
.app .tabbar i { display: block; font-style: normal; font-size: 13px; }
.app .scan { border-radius: 14px; background: #2563eb; color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.app .scan b { font-size: 14px; display: block; }
.app .scan p { font-size: 10px; opacity: .85; margin: 4px 0 10px; }
.app .scan .btns { display: flex; gap: 6px; }
.app .scan .btns span { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fff; color: #2563eb; }
.app .scan .btns span + span { background: rgba(255,255,255,.2); color: #fff; }
.app .scan .frame { width: 54px; height: 54px; flex: none; border-radius: 6px; background: #fff; position: relative; }
.app .scan .frame::before { content: ""; position: absolute; left: 10px; right: 10px; top: 16px; height: 22px; background: repeating-linear-gradient(#cfe0ff 0 4px, transparent 4px 9px); }
.app .mascot { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #fff 0 46%, #1b2333 47% 100%); position: relative; flex: none; }
.app .mascot::before, .app .mascot::after { content: ""; position: absolute; top: 20px; width: 10px; height: 12px; border-radius: 50%; background: #1b2333; }
.app .mascot::before { left: 14px; } .app .mascot::after { right: 14px; }

/* 手机端界面（放进 .device 里） */
.screen.app { padding: 40px 12px 10px; gap: 10px; font-size: 11px; background: linear-gradient(180deg, #e8f0ff 0%, var(--a-bg) 35%); }
.screen.app .hello { display: flex; justify-content: space-between; align-items: flex-start; }
.screen.app .hello h1 { font-size: 17px; font-weight: 900; }
.screen.app .hello p { font-size: 9px; color: var(--a-sub); margin: 2px 0 8px; }
.screen.app .ai-btn { font-size: 11px; }
.screen.app .stats { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
.screen.app .stats .col { display: grid; gap: 8px; }
.screen.app .quick { background: transparent; }
.screen.app .tabbar { margin-top: auto; }

/* 桌面端界面 */
.desk-mock { border: 2px solid var(--ink); background: var(--white); box-shadow: 14px 14px 0 var(--ink); }
.desk-mock .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.desk-mock .chrome i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.desk-mock .chrome i:nth-child(1) { background: var(--coral); } .desk-mock .chrome i:nth-child(2) { background: var(--lime); }
.desk-mock .chrome span { margin: 0 auto; font-size: 12px; font-weight: 700; }
.desk-mock .app { padding: clamp(14px, 2.4vw, 28px); display: grid; gap: 14px; font-size: 12px; }
.desk-mock .row1 { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; }
.desk-mock .hello { border-radius: 14px; padding: 16px 18px; background: linear-gradient(135deg, #fff, #e9f0ff 60%, #efe9ff); display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.desk-mock .hello h1 { font-size: 20px; font-weight: 900; }
.desk-mock .hello p { color: var(--a-sub); font-size: 11px; margin: 4px 0 12px; }
.desk-mock .ai-btn { font-size: 12px; }
.desk-mock .stat-main .n { font-size: 34px; }
.desk-mock .row1 .col { display: grid; gap: 14px; }
.desk-mock .quick { background: #fff; border-radius: 14px; padding: 12px 0; box-shadow: 0 2px 10px rgba(27,35,51,.04); font-size: 11px; }
.desk-mock .learn { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.desk-mock .learn > div { min-height: 96px; }
.desk-mock .learn b { font-size: 13px; }
.desk-mock .learn em { margin-top: 22px; }
.mock-caption { margin-top: 28px; font-size: 13px; color: var(--ink-3); }

@media (max-width: 820px) {
  .desk-mock .row1 { grid-template-columns: 1fr 1fr; }
  .desk-mock .hello { grid-column: 1 / -1; }
  .desk-mock .learn { grid-template-columns: 1fr 1fr; }
  .desk-mock { box-shadow: 8px 8px 0 var(--ink); }
}
@media (max-width: 480px) {
  .desk-mock .row1 { grid-template-columns: 1fr; }
  .desk-mock .scan .frame { display: none; }
}
