/* 校牛牛官网 · 统一样式表
   零外部依赖：不引用任何 CDN / 远程字体 / 远程图片
   字体使用系统字体栈，图标使用内联 SVG
*/

:root {
  --orange: #FF8C00;
  --orange-d: #E67A00;
  --orange-l: #FFF4E6;
  --orange-ll: #FFFAF3;
  --ink: #1A1D21;
  --ink-2: #5A6270;
  --ink-3: #8A919C;
  --line: #ECEEF1;
  --bg: #FFFFFF;
  --bg-2: #FAFBFC;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 31, .04), 0 2px 8px rgba(20, 24, 31, .04);
  --shadow-md: 0 4px 12px rgba(20, 24, 31, .06), 0 12px 32px rgba(20, 24, 31, .06);
  --shadow-orange: 0 8px 24px rgba(255, 140, 0, .22);
  --max: 1160px;
}

* { box-sizing: border-box; }

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

html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #FFA02E 0%, #FF8C00 100%);
  box-shadow: 0 4px 12px rgba(255, 140, 0, .3);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex: none;
}
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.brand-sub { font-size: 11px; color: var(--ink-3); letter-spacing: .12em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-2);
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--orange-d); background: var(--orange-ll); }
.nav-links a.active { color: var(--orange-d); font-weight: 600; background: var(--orange-l); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s, box-shadow .16s, background .16s, color .16s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #FFA02E 0%, #FF8C00 100%);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255, 140, 0, .3); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: #DDE1E6;
}
.btn-ghost:hover { border-color: #C4CAD2; background: var(--bg-2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% -10%, #FFE7C7 0%, rgba(255, 239, 219, 0) 62%),
    radial-gradient(700px 360px at 8% 8%, #FFF6EC 0%, rgba(255, 250, 243, 0) 70%),
    #fff;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0 84px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--orange-l);
  color: var(--orange-d);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.22;
  letter-spacing: -.025em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--orange-d); }
.hero-lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; height: 380px; }
.phone {
  position: absolute;
  width: 208px;
  height: 372px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 14px 13px;
  overflow: hidden;
}
.phone-a { right: 96px; top: 0; transform: rotate(-6deg); z-index: 2; }
.phone-b { right: 0; top: 34px; transform: rotate(5deg); z-index: 1; }
.phone-screen { display: flex; flex-direction: column; gap: 9px; }
.ph-bar { height: 8px; border-radius: 6px; background: #F0F2F5; }
.ph-hero { height: 76px; border-radius: 14px; background: linear-gradient(135deg, #FFD9A8, #FFB25C); }
.ph-row { display: flex; align-items: center; gap: 8px; }
.ph-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--orange-l); flex: none; }
.ph-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.ph-lines i { display: block; height: 7px; border-radius: 5px; background: #EDEFF3; }
.ph-lines i:last-child { width: 58%; }
.ph-tag { height: 22px; border-radius: 7px; background: #F3F5F8; }
.ph-tag.orange { background: var(--orange-l); }

/* ---------- 数据带 ---------- */
.stats {
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 0;
}
.stat { text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.stat-num span { font-size: 16px; color: var(--orange-d); margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--ink-3); margin-top: 6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 78px 0; }
.section.tight { padding: 58px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-d);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; letter-spacing: -.02em; margin-bottom: 12px; }
.section-head p { color: var(--ink-2); font-size: 16px; }

/* ---------- 卡片网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #E3E7EC; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-2); }

.icon-box {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-l);
  color: var(--orange-d);
  margin-bottom: 16px;
}
.icon-box.blue { background: #EEF4FF; color: #2E6BE6; }
.icon-box.green { background: #EAF7EF; color: #1F9254; }
.icon-box.purple { background: #F3EEFF; color: #6B46D6; }

/* 三端产品卡 */
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.product-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.product-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--orange-l);
  color: var(--orange-d);
  letter-spacing: .04em;
}
.product h3 { font-size: 20px; }
.product .desc { color: var(--ink-2); font-size: 14.5px; margin-bottom: 18px; }
.product ul { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.product li {
  display: flex;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
  align-items: flex-start;
}
.product li svg { flex: none; margin-top: 5px; color: var(--orange); }

/* 功能列表（双列） */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.feature-item { display: flex; gap: 12px; align-items: flex-start; }
.feature-dot {
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--orange-l);
  color: var(--orange-d);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  margin-top: 2px;
}
.feature-item b { display: block; font-size: 15px; margin-bottom: 2px; }
.feature-item span { font-size: 13.5px; color: var(--ink-2); }

/* CTA 条 */
.cta {
  background: linear-gradient(135deg, #FFA02E 0%, #FF8C00 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 18px 40px rgba(255, 140, 0, .22);
}
.cta h2 { font-size: 26px; margin-bottom: 8px; }
.cta p { color: rgba(255, 255, 255, .9); font-size: 15px; }
.cta .btn-ghost { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .26); }
.cta .btn-white { background: #fff; color: var(--orange-d); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #14181E;
  color: #A8B0BB;
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; font-size: 19px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 600; }
.site-footer ul { display: flex; flex-direction: column; gap: 9px; }
.site-footer a:hover { color: var(--orange); }
.footer-desc { font-size: 13.5px; line-height: 1.8; color: #858E9A; max-width: 300px; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6E7681;
}
.footer-bottom a { color: #6E7681; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- 文档页（隐私政策 / 服务协议） ---------- */
.page-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 46px 0 40px;
}
.page-head h1 { font-size: 32px; letter-spacing: -.02em; margin-bottom: 10px; }
.page-head .meta { font-size: 13.5px; color: var(--ink-3); display: flex; gap: 18px; flex-wrap: wrap; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.crumb a:hover { color: var(--orange-d); }

.doc-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  padding: 46px 0 80px;
  align-items: start;
}
.doc-toc {
  position: sticky;
  top: 90px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}
.doc-toc h4 { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.doc-toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.doc-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.doc-toc a:hover { background: #fff; color: var(--orange-d); }

.doc { max-width: 780px; }
.doc h2 {
  font-size: 21px;
  margin: 40px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.doc h3 { font-size: 16.5px; margin: 26px 0 10px; color: var(--ink); scroll-margin-top: 90px; }
.doc h4 { font-size: 15px; margin: 18px 0 8px; color: var(--ink); }
.doc p { margin: 0 0 14px; color: #333940; font-size: 15px; line-height: 1.9; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 8px; color: #333940; font-size: 15px; line-height: 1.85; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .note {
  background: var(--orange-ll);
  border: 1px solid #FFE3BF;
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 22px;
  font-size: 14.5px;
  color: #6B4A18;
}
.doc .note p:last-child { margin-bottom: 0; }
.doc-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; }
.doc-table th, .doc-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: #333940;
}
.doc-table th { background: var(--bg-2); font-weight: 600; color: var(--ink); }
.doc-lead { font-size: 15.5px; color: var(--ink-2); margin-bottom: 26px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-item .icon-box { margin-bottom: 0; flex: none; }
.contact-item h3 { font-size: 15px; margin-bottom: 4px; }
.contact-item p { font-size: 14.5px; color: var(--ink-2); word-break: break-all; }
.contact-item a { color: var(--orange-d); font-weight: 600; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--orange-d);
  font-size: 20px;
  font-weight: 400;
  flex: none;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- 表格（关于页） ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.info-table th {
  width: 150px;
  text-align: left;
  padding: 14px 0;
  color: var(--ink-3);
  font-weight: 500;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.info-table td { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 60px; }
  .hero h1 { font-size: 36px; }
  .hero-visual { height: 340px; overflow: hidden; }
  .phone-a { right: auto; left: 50%; margin-left: -206px; }
  .phone-b { right: auto; left: 50%; margin-left: 6px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .stat:nth-child(2n) { border-right: 0; }
  .doc-layout { grid-template-columns: 1fr; gap: 26px; }
  .doc-toc { position: static; max-height: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 34px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: 15.5px; }
  .hero-visual { height: 278px; }
  .phone { width: 148px; height: 272px; padding: 10px; border-radius: 22px; }
  .phone-a { margin-left: -158px; }
  .phone-b { margin-left: 8px; }
  .phone-screen { gap: 7px; }
  .ph-hero { height: 58px; border-radius: 10px; }
  .ph-ico { width: 24px; height: 24px; border-radius: 7px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 25px; }
  .grid-3, .grid-4, .grid-2, .contact-grid, .feature-list { grid-template-columns: 1fr; }
  .page-head { padding: 32px 0 28px; }
  .page-head h1 { font-size: 25px; }
  .doc h2 { font-size: 19px; }
  .doc p, .doc li { font-size: 14.5px; }
  .footer-top { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
