/* ==========================================================================
   大赛每日 —— 少儿机器人编程挑战平台 主样式
   设计风格：科技童趣 + 积木拼搭感
   主色：科技蓝 #0056D2 / 活力橙 #FF7A00；辅助：明黄 #FFD500 / 草绿 #34C759
   ========================================================================== */

/* ---------- 设计令牌（CSS 变量） ---------- */
:root {
  --tech-blue: #0056D2;     /* 主色：科技蓝 */
  --tech-blue-dark: #0040A0;
  --energy-orange: #FF7A00; /* 主色：活力橙 */
  --bright-yellow: #FFD500; /* 辅助：明黄 */
  --grass-green: #34C759;   /* 辅助：草绿 */
  --bg-grey: #F8F9FA;       /* 背景：浅灰白 */
  --card-white: #FFFFFF;    /* 卡片：纯白 */
  --text-main: #333333;     /* 正文：深灰 */
  --text-sub: #666666;      /* 次要文本 */
  --radius-card: 16px;      /* 卡片圆角 */
  --shadow-blue: 0 10px 30px rgba(0, 86, 210, 0.10);
  --shadow-orange: 0 10px 30px rgba(255, 122, 0, 0.12);
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.06);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1); /* 弹跳缓动 */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --maxw: 1200px;
  --font-title: "ZCOOL KuaiLe", "Baloo 2", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.7;
  /* 背景：浅灰白 + 微弱网格/积木底纹 */
  background-color: var(--bg-grey);
  background-image:
    linear-gradient(rgba(0, 86, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 86, 210, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.3; color: var(--text-main); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 通用按钮（弹跳动效） ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border: none; border-radius: 50px;
  font-family: var(--font-title); font-size: 1.05rem; font-weight: 700;
  cursor: pointer; transition: transform .25s var(--ease-bounce), box-shadow .25s var(--ease-out);
  text-align: center;
}
.btn-primary { background: var(--energy-orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 34px rgba(255,122,0,.28); }
.btn-primary:active { transform: translateY(-1px) scale(.98); }
.btn-secondary { background: var(--tech-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-secondary:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 34px rgba(0,86,210,.28); }
.btn-ghost { background: #fff; color: var(--tech-blue); border: 2px solid var(--tech-blue); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--tech-blue); color: #fff; }

/* ---------- 章节通用 ---------- */
.section { padding: 70px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block; padding: 6px 18px; border-radius: 50px;
  background: rgba(0,86,210,.08); color: var(--tech-blue);
  font-family: var(--font-title); font-size: .9rem; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section-title .hl { color: var(--energy-orange); }
.section-desc { color: var(--text-sub); margin-top: 12px; font-size: 1.05rem; }

/* ---------- 积木拼搭导航栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 3px solid rgba(0,86,210,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-size: 1.3rem; color: var(--tech-blue); }
.brand img { width: 42px; height: 42px; }
.brand b { color: var(--energy-orange); }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu > li > a {
  display: block; padding: 9px 16px; border-radius: 12px;
  font-weight: 600; color: var(--text-main);
  transition: transform .2s var(--ease-bounce), background .2s, color .2s;
}
/* 积木弹出 + 变色效果 */
.nav-menu > li > a:hover {
  transform: translateY(-4px);
  background: var(--bright-yellow);
  color: var(--tech-blue-dark);
  box-shadow: 0 6px 0 rgba(255,122,0,.35);
}
.nav-has-child { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-blue);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .22s var(--ease-out); border: 2px solid rgba(0,86,210,.06);
}
.nav-has-child:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 9px 14px; border-radius: 10px; font-size: .95rem; color: var(--text-sub); transition: all .18s; }
.nav-dropdown a:hover { background: rgba(0,86,210,.07); color: var(--tech-blue); transform: translateX(4px); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--tech-blue); border-radius: 3px; transition: .3s; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.2; }
.hero h1 .hl { color: var(--energy-orange); }
.hero h1 .hl2 { color: var(--tech-blue); }
.hero-lead { margin: 22px 0 16px; font-size: 1.15rem; color: var(--text-sub); }
.hero-stats { display: flex; gap: 26px; margin: 26px 0; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--font-title); font-size: 1.9rem; color: var(--tech-blue); }
.hero-stats .lbl { font-size: .9rem; color: var(--text-sub); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 24px; }
/* 旋转齿轮装饰 */
.gear { position: absolute; color: var(--tech-blue); opacity: .9; animation: spin 9s linear infinite; }
.gear.g1 { top: -18px; right: 30px; width: 64px; color: var(--bright-yellow); }
.gear.g2 { bottom: 10px; left: -16px; width: 50px; color: var(--energy-orange); animation-direction: reverse; animation-duration: 6s; }
@keyframes spin { to { transform: rotate(360deg); } }
/* 积木浮动块 */
.brick-float { position: absolute; width: 30px; height: 30px; border-radius: 7px; animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

/* ---------- 倒计时（齿轮背景） ---------- */
.countdown-band {
  background: linear-gradient(120deg, var(--tech-blue), var(--tech-blue-dark));
  color: #fff; border-radius: 24px; padding: 38px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-blue);
}
.countdown-band::before, .countdown-band::after {
  content: "⚙"; position: absolute; font-size: 180px; opacity: .08; animation: spin 14s linear infinite;
}
.countdown-band::before { top: -50px; right: -30px; }
.countdown-band::after { bottom: -70px; left: -20px; animation-direction: reverse; }
.countdown-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.countdown-timer { display: flex; gap: 14px; }
.cd-box { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 12px 18px; text-align: center; min-width: 76px; }
.cd-box .n { font-family: var(--font-title); font-size: 2rem; }
.cd-box .u { font-size: .8rem; opacity: .85; }

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

.card {
  background: var(--card-white); border-radius: var(--radius-card);
  box-shadow: var(--shadow-blue); overflow: hidden;
  transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease-out);
  border: 2px solid transparent;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,86,210,.16); border-color: rgba(255,122,0,.25); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eef3fb; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.06); }
.card-badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 50px; font-size: .8rem; font-family: var(--font-title); color: #fff; background: var(--energy-orange); }
.card-body { padding: 22px; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card-body p { color: var(--text-sub); font-size: .96rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--tech-blue); font-weight: 700; transition: gap .2s; }
.card:hover .card-link { gap: 12px; }

/* 作品展卡片可点击 */
.work-card { cursor: pointer; }
.work-card .card-media::after {
  content: "▶"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem; background: rgba(0,86,210,.35); opacity: 0; transition: opacity .3s;
}
.work-card:hover .card-media::after { opacity: 1; }

/* ---------- 关卡地图 ---------- */
.level-map { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; padding: 20px 0; position: relative; }
.level-node {
  position: relative; width: 168px; text-align: center; padding: 10px;
}
.level-dot {
  width: 86px; height: 86px; margin: 0 auto 12px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center; font-size: 2.1rem;
  color: #fff; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease-bounce);
  border: 4px solid #fff;
}
.level-node:hover .level-dot { transform: translateY(-6px) rotate(-4deg) scale(1.05); }
.level-node h4 { font-size: 1.05rem; }
.level-node p { font-size: .85rem; color: var(--text-sub); }
.level-node:nth-child(1) .level-dot { background: var(--grass-green); }
.level-node:nth-child(2) .level-dot { background: var(--tech-blue); }
.level-node:nth-child(3) .level-dot { background: var(--energy-orange); }
.level-node:nth-child(4) .level-dot { background: #9b59ff; }
.level-node:nth-child(5) .level-dot { background: var(--bright-yellow); color: var(--tech-blue-dark); }
.level-line { display: none; }

/* ---------- 机构 Logo 滚动墙 ---------- */
.logo-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 18px; width: max-content; animation: marquee 26s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-chip {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px;
  padding: 16px 26px; box-shadow: var(--shadow-soft); white-space: nowrap; font-family: var(--font-title);
  color: var(--tech-blue); border: 2px solid rgba(0,86,210,.06);
}
.logo-chip span.dot { width: 26px; height: 26px; border-radius: 7px; background: var(--energy-orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 机器人组装进度条 ---------- */
.assembly { display: flex; align-items: center; gap: 16px; background:#fff; border-radius: var(--radius-card); padding: 20px 24px; box-shadow: var(--shadow-soft); }
.assembly .robot-emoji { font-size: 2.4rem; filter: grayscale(.6); transition: filter .4s; }
.assembly.done .robot-emoji { filter: none; animation: bounce .6s var(--ease-bounce); }
@keyframes bounce { 0%,100%{ transform: translateY(0);} 40%{ transform: translateY(-12px);} }
.assembly-bar { flex: 1; height: 16px; background: #e9eef6; border-radius: 50px; overflow: hidden; }
.assembly-fill { height: 100%; width: 0; border-radius: 50px; background: linear-gradient(90deg, var(--tech-blue), var(--energy-orange)); transition: width 1.2s var(--ease-out); }
.assembly-pct { font-family: var(--font-title); color: var(--tech-blue); min-width: 56px; text-align: right; }

/* ---------- 通用页面头部横幅 ---------- */
.page-hero { background: linear-gradient(120deg, rgba(0,86,210,.06), rgba(255,122,0,.06)); padding: 56px 0; }
.page-hero .crumb { font-size: .9rem; color: var(--text-sub); margin-bottom: 12px; }
.page-hero .crumb a:hover { color: var(--tech-blue); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero p { color: var(--text-sub); margin-top: 12px; max-width: 760px; font-size: 1.08rem; }

/* ---------- 栏目页五类文本区块 ---------- */
.col-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.col-tab { padding: 10px 22px; border-radius: 50px; background: #fff; font-family: var(--font-title); color: var(--text-sub); cursor: pointer; box-shadow: var(--shadow-soft); transition: all .2s var(--ease-bounce); border: 2px solid transparent; }
.col-tab.active, .col-tab:hover { background: var(--tech-blue); color: #fff; transform: translateY(-3px); }
.col-panel { display: none; animation: fadein .4s var(--ease-out); }
.col-panel.active { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: translateY(0);} }
.prose h2 { font-size: 1.5rem; margin: 6px 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 22px 0 10px; color: var(--tech-blue); }
.prose p { margin-bottom: 14px; color: var(--text-main); }
.prose ul { margin: 0 0 16px; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-main); }
.prose li::before { content: "▪"; position: absolute; left: 6px; color: var(--energy-orange); font-size: 1.2rem; }

.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 16px; }
.info-table th, .info-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid #eef1f6; font-size: .96rem; }
.info-table th { background: rgba(0,86,210,.06); color: var(--tech-blue); font-family: var(--font-title); }
.info-table tr:last-child td { border-bottom: none; }

/* FAQ 折叠 */
.faq-item { background: #fff; border-radius: 14px; box-shadow: var(--shadow-soft); margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 16px 20px; font-family: var(--font-title); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .ico { color: var(--energy-orange); transition: transform .3s; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq-a p { padding: 0 20px 18px; color: var(--text-sub); }

/* ---------- 特性小卡 ---------- */
.feature { background:#fff; border-radius: var(--radius-card); padding: 26px; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease-bounce); border-bottom: 4px solid var(--bright-yellow); }
.feature:hover { transform: translateY(-6px); }
.feature .ic { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; background: rgba(0,86,210,.08); color: var(--tech-blue); margin-bottom: 14px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--text-sub); font-size: .95rem; }

/* ---------- 下载页 ---------- */
.dl-card { background:#fff; border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-blue); display: flex; align-items: center; gap: 18px; transition: transform .3s var(--ease-bounce); }
.dl-card:hover { transform: translateY(-6px); }
.dl-ic { width: 60px; height: 60px; border-radius: 16px; background: rgba(255,122,0,.12); color: var(--energy-orange); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; }
.dl-meta { flex: 1; }
.dl-meta h3 { font-size: 1.1rem; }
.dl-meta p { font-size: .88rem; color: var(--text-sub); }

/* ---------- 搜索页 ---------- */
.search-box { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 30px; }
.search-box input { flex: 1; padding: 15px 22px; border-radius: 50px; border: 2px solid rgba(0,86,210,.15); font-size: 1rem; font-family: var(--font-body); outline: none; transition: border .2s; }
.search-box input:focus { border-color: var(--tech-blue); }
.result-item { background:#fff; border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow-soft); margin-bottom: 12px; transition: transform .2s; }
.result-item:hover { transform: translateX(6px); }
.result-item h3 { font-size: 1.1rem; color: var(--tech-blue); }
.result-item p { color: var(--text-sub); font-size: .92rem; }
.result-item .tag { font-size: .78rem; color: var(--energy-orange); }

/* ---------- 错误页 ---------- */
.error-wrap { text-align: center; padding: 90px 20px; }
.error-code { font-family: var(--font-title); font-size: clamp(5rem, 18vw, 11rem); color: var(--tech-blue); line-height: 1; }
.error-code span { color: var(--energy-orange); }

/* ---------- 合规页正文 ---------- */
.legal-body { background:#fff; border-radius: var(--radius-card); padding: 40px; box-shadow: var(--shadow-soft); }
.legal-body h2 { font-size: 1.3rem; margin: 26px 0 12px; color: var(--tech-blue); }
.legal-body p, .legal-body li { color: var(--text-main); margin-bottom: 12px; }
.legal-body ul { padding-left: 4px; }
.legal-body li { padding-left: 24px; position: relative; }
.legal-body li::before { content: "●"; position: absolute; left: 4px; color: var(--energy-orange); font-size: .7rem; top: 8px; }

/* ---------- CTA 区块 ---------- */
.cta-band { background: linear-gradient(120deg, var(--energy-orange), #ff9a3c); border-radius: 28px; padding: 50px; text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-orange); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.cta-band p { margin: 12px 0 24px; opacity: .95; }
.cta-band .btn-ghost { background: #fff; color: var(--energy-orange); border-color: #fff; }
.cta-band .btn-ghost:hover { background: var(--tech-blue); color: #fff; border-color: var(--tech-blue); }

/* ---------- 页脚 ---------- */
.site-footer { background: #11233d; color: #c5d2e6; padding: 56px 0 24px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-size: 1.2rem; color: #fff; margin-bottom: 14px; }
.footer-brand img { width: 38px; }
.site-footer p { font-size: .92rem; color: #92a3bd; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: .92rem; color: #a9b8d0; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--bright-yellow); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 20px; text-align: center; font-size: .85rem; color: #7f90ab; }
.footer-bottom a:hover { color: var(--bright-yellow); }

/* ---------- 视频/图片弹窗 ---------- */
.modal { position: fixed; inset: 0; background: rgba(11,26,48,.82); display: none; align-items: center; justify-content: center; z-index: 999; padding: 20px; }
.modal.open { display: flex; animation: fadein .3s; }
.modal-content { max-width: 720px; width: 100%; background:#fff; border-radius: 20px; overflow: hidden; position: relative; }
.modal-content img { width: 100%; }
.modal-body { padding: 22px; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: none; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-soft); }

/* ---------- 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 返回顶部 ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 14px; background: var(--tech-blue); color:#fff; border:none; cursor:pointer; font-size:1.2rem; box-shadow: var(--shadow-blue); opacity: 0; transform: translateY(20px); transition: all .3s var(--ease-bounce); z-index: 90; }
.to-top.show { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--energy-orange); transform: translateY(-4px); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-menu {
    position: fixed; top: 72px; right: 0; width: 280px; height: calc(100vh - 72px);
    background: #fff; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px;
    box-shadow: -8px 0 30px rgba(0,0,0,.12); transform: translateX(110%); transition: transform .3s var(--ease-out); overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu > li > a:hover { transform: none; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .countdown-inner { flex-direction: column; text-align: center; }
  .legal-body { padding: 24px; }
  .cta-band { padding: 34px 24px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
}

/* ---------- 搜索页样式 ---------- */
.search-tags { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center; }
.chip { display: inline-block; padding: 8px 16px; border-radius: 50px; background: rgba(0,86,210,.08); color: var(--tech-blue); border: 1px solid rgba(0,86,210,.2); cursor: pointer; font-size: .95rem; transition: all .2s var(--ease-out); }
.chip:hover { background: var(--tech-blue); color: #fff; border-color: var(--tech-blue); transform: translateY(-2px); }
.search-results { display: flex; flex-direction: column; gap: 16px; }
.result-item { display: block; background: #fff; border-radius: 14px; padding: 20px; box-shadow: var(--shadow-soft); transition: all .3s var(--ease-bounce); border-left: 4px solid var(--tech-blue); }
.result-item:hover { transform: translateX(8px); box-shadow: var(--shadow-blue); }
.result-item .tag { display: inline-block; padding: 4px 12px; border-radius: 50px; background: rgba(0,86,210,.1); color: var(--tech-blue); font-size: .8rem; margin-bottom: 8px; }
.result-item h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--tech-blue); }
.result-item p { color: var(--text-sub); font-size: .95rem; }

/* ---------- 下载页样式 ---------- */
.dl-info { flex: 1; }
.dl-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.dl-info p { font-size: .88rem; color: var(--text-sub); }
.dl-btn { flex-shrink: 0; }

/* ---------- 详情页样式 ---------- */
.detail-hero { padding: 60px 0; color: #fff; }
.detail-hero .crumb { color: rgba(255,255,255,.85); margin-bottom: 16px; }
.detail-hero .crumb a { color: #fff; text-decoration: underline; }
.detail-hero h1 { color: #fff; margin: 16px 0; }
.detail-hero p { color: rgba(255,255,255,.92); font-size: 1.1rem; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 50px; font-size: .85rem; font-weight: 600; margin-bottom: 16px; }
.badge-yellow { background: rgba(255,213,0,.25); color: #FFD500; }
.badge-blue { background: rgba(0,86,210,.25); color: #0056D2; }
.crumb { font-size: .9rem; color: var(--text-sub); margin-bottom: 20px; }
.crumb a { color: var(--tech-blue); }

/* ---------- 错误页样式 ---------- */
.error-page { text-align: center; padding: 100px 20px; }
.error-robot { font-size: 6rem; margin-bottom: 20px; }
.error-code { font-family: var(--font-title); font-size: clamp(4rem, 15vw, 9rem); color: var(--tech-blue); line-height: 1; margin-bottom: 20px; }
.error-page h1 { font-size: 2rem; margin-bottom: 12px; }
.error-page p { color: var(--text-sub); margin-bottom: 30px; }
.error-links { margin-top: 40px; }
.error-links p { margin-bottom: 16px; }
.error-links a { display: inline-block; margin: 0 12px; padding: 8px 16px; color: var(--tech-blue); border-bottom: 2px solid var(--tech-blue); transition: all .2s; }
.error-links a:hover { color: var(--energy-orange); border-color: var(--energy-orange); }

/* ---------- 法律页面样式 ---------- */
.legal { max-width: 880px; margin: 0 auto; }
.legal-update { display: block; color: var(--text-sub); font-size: .9rem; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,.1); }
.legal h2 { font-size: 1.3rem; margin: 32px 0 16px; color: var(--tech-blue); }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 10px; }
.legal li::marker { color: var(--energy-orange); }
.legal-note { margin-top: 40px; padding: 20px; background: rgba(255,122,0,.08); border-radius: 12px; border-left: 4px solid var(--energy-orange); color: var(--text-sub); font-size: .95rem; }

/* ---------- 页面 Hero 样式 ---------- */
.page-hero { background: linear-gradient(135deg, rgba(0,86,210,.08) 0%, rgba(255,122,0,.08) 100%); padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 16px 0; }
.page-hero p { color: var(--text-sub); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ---------- 通用卡片 ---------- */
.card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); }
.prose { line-height: 1.8; }
.prose img { margin: 20px 0; border-radius: 14px; }
.prose h2 { font-size: 1.4rem; margin: 28px 0 16px; }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 24px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }

/* ---------- 信息表格 ---------- */
.info-table { width: 100%; border-collapse: collapse; box-shadow: var(--shadow-soft); border-radius: 12px; overflow: hidden; }
.info-table th { background: rgba(0,86,210,.08); padding: 14px; text-align: left; font-weight: 600; color: var(--tech-blue); }
.info-table td { padding: 12px 14px; border-bottom: 1px solid rgba(0,0,0,.05); }
.info-table tr:last-child td { border-bottom: none; }

/* ---------- 提示 Toast 样式 ---------- */
.toast-tip { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--tech-blue); color: #fff; padding: 14px 24px; border-radius: 50px; box-shadow: var(--shadow-blue); z-index: 999; opacity: 0; transition: all .3s var(--ease-out); font-size: .95rem; }
.toast-tip.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- 特性卡片 ---------- */
.feature { text-align: center; padding: 20px; }
.feature .ic { font-size: 2.4rem; margin-bottom: 12px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--text-sub); font-size: .95rem; }

/* ---------- CTA 带状 ---------- */
.cta-band { background: linear-gradient(135deg, var(--tech-blue) 0%, var(--tech-blue-dark) 100%); color: #fff; padding: 50px 40px; border-radius: 20px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.92); margin-bottom: 24px; }

/* ---------- 栏目页 Hero ---------- */
.col-hero { background: linear-gradient(120deg, var(--tech-blue), #2c7be5); color: #fff; padding: 50px 0; }
.col-hero h1 { color: #fff; margin: 16px 0; }
.col-hero p { color: rgba(255,255,255,.92); }

/* ---------- 栏目选项卡 ---------- */
.col-tabs { display: flex; gap: 12px; margin-bottom: 30px; border-bottom: 2px solid rgba(0,0,0,.08); overflow-x: auto; padding-bottom: 14px; }
.col-tab { padding: 10px 20px; border-radius: 12px 12px 0 0; background: transparent; border: none; cursor: pointer; font-weight: 600; color: var(--text-sub); transition: all .2s; white-space: nowrap; }
.col-tab.active { background: var(--tech-blue); color: #fff; }
.col-panels { position: relative; }
.col-panel { display: none; animation: fadein .3s; }
.col-panel.active { display: block; }

/* ---------- FAQ 折叠 ---------- */
.faq-item { background: #fff; border-radius: 12px; margin-bottom: 12px; box-shadow: var(--shadow-soft); overflow: hidden; }
.faq-q { padding: 18px 20px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
.faq-q:hover { background: rgba(0,86,210,.04); }
.faq-q::after { content: "▼"; color: var(--tech-blue); transition: transform .3s; }
.faq-item.open .faq-q::after { transform: rotateZ(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease-out); padding: 0 20px; color: var(--text-sub); }
.faq-item.open .faq-a { padding: 0 20px 18px; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 760px) {
  .detail-hero { padding: 40px 0; }
  .page-hero { padding: 40px 0; }
  .search-tags { justify-content: flex-start; }
  .col-tabs { gap: 8px; }
  .col-tab { padding: 8px 14px; font-size: .9rem; }
  .error-robot { font-size: 4rem; }
  .error-code { font-size: 3rem; }
}
