/* ============================================================
   QYcms 前端样式 —— 多主题科技风
   主题通过 <html data-theme="..."> 切换，变量定义于 :root
   ============================================================ */

/* ---------- 主题变量 ---------- */
:root,
[data-theme="space"] {
  --bg: #060914;
  --bg-2: #0b1022;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --text: #e8edf7;
  --muted: #97a3b8;
  --primary: #4f7bff;
  --primary-2: #8b5cf6;
  --accent: #38bdf8;
  --border: rgba(255, 255, 255, 0.09);
  --glow: rgba(79, 123, 255, 0.45);
}
[data-theme="purple"] {
  --bg: #0c0716;
  --bg-2: #140a24;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --text: #f3eafc;
  --muted: #b29cc9;
  --primary: #a855f7;
  --primary-2: #ec4899;
  --accent: #f0abfc;
  --border: rgba(255, 255, 255, 0.09);
  --glow: rgba(168, 85, 247, 0.45);
}
[data-theme="cyan"] {
  --bg: #04141a;
  --bg-2: #07232c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --text: #e6fbfd;
  --muted: #8fc4cc;
  --primary: #06b6d4;
  --primary-2: #22d3ee;
  --accent: #67e8f9;
  --border: rgba(255, 255, 255, 0.09);
  --glow: rgba(34, 211, 238, 0.45);
}
[data-theme="gold"] {
  --bg: #150d05;
  --bg-2: #221405;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --text: #fdf3e3;
  --muted: #c9b08f;
  --primary: #f59e0b;
  --primary-2: #ef4444;
  --accent: #fbbf24;
  --border: rgba(255, 255, 255, 0.09);
  --glow: rgba(245, 158, 11, 0.45);
}
[data-theme="green"] {
  --bg: #04140c;
  --bg-2: #07231a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --text: #e6fdf0;
  --muted: #8fc9aa;
  --primary: #10b981;
  --primary-2: #22c55e;
  --accent: #6ee7b7;
  --border: rgba(255, 255, 255, 0.09);
  --glow: rgba(16, 185, 129, 0.45);
}

/* 白色科技风（浅色） */
[data-theme="light"] {
  --bg: #eef2f8;
  --bg-2: #ffffff;
  --surface: rgba(15, 23, 42, 0.025);
  --surface-2: rgba(15, 23, 42, 0.055);
  --text: #0f172a;
  --muted: #5b6b85;
  --primary: #3b6bff;
  --primary-2: #7c3aed;
  --accent: #2563eb;
  --border: rgba(15, 23, 42, 0.08);
  --glow: rgba(59, 107, 255, 0.18);
}
[data-theme="light"] .bg-deco::before { opacity: 0.45; }
[data-theme="light"] .bg-deco::after { opacity: 0.55; }

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1440px, 94%); margin: 0 auto; }
.gradient-text {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* 背景光晕 + 网格 */
.bg-deco { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.bg-deco::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 500px at 12% -5%, var(--glow), transparent 60%),
    radial-gradient(700px 500px at 95% 8%, var(--glow), transparent 60%);
  opacity: .55;
}
.bg-deco::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  opacity: .35;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: .5px; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 18px var(--glow); font-size: 1.1rem;
}
/* 导航 LOGO：用固定尺寸 div + background-image，避免 <img> 解码闪烁/拉伸 */
.logo .site-logo {
  width: 400px; height: 60px; max-width: none; flex-shrink: 0;
  background-size: contain; background-repeat: no-repeat; background-position: left center;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .94rem;
  transition: .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 12px;
  font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: .25s; font-size: .95rem;
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-2)); color: #fff;
  box-shadow: 0 10px 30px -10px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--glow); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* ---------- Hero / 区块 ---------- */
section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  color: var(--accent); background: var(--surface); border: 1px solid var(--border); margin-bottom: 16px;
  letter-spacing: 1px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: .5px; }
.section-head p { color: var(--muted); margin-top: 10px; }

.hero { position: relative; padding: 96px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); line-height: 1.08; font-weight: 900; letter-spacing: -.5px; }
.hero p.lead { color: var(--muted); font-size: 1.08rem; margin: 20px 0 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative; aspect-ratio: 1/1; border-radius: 24px; border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 40%, var(--glow), transparent 60%),
    var(--surface);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 30px 80px -30px var(--glow);
}
.hero-visual .drone { font-size: 7rem; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 0 24px var(--glow)); }
.hero-visual .ring { position: absolute; border: 1px solid var(--border); border-radius: 50%; }
.hero-visual .ring.r1 { inset: 12%; animation: spin 18s linear infinite; }
.hero-visual .ring.r2 { inset: 26%; border-style: dashed; animation: spin 26s linear infinite reverse; }
.hero-visual .ring.r3 { inset: 40%; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float-drone { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-12px) rotate(1deg)} }

/* Hero 图片轮播 */
.hero-carousel { padding: 0; overflow: hidden; }
.carousel { position: relative; height: clamp(560px, 64vw, 820px); }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease; pointer-events: none;
}
.slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.slide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-repeat: no-repeat; transform: scale(1.05); transition: transform 6s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,12,24,.82) 0%, rgba(8,12,24,.45) 42%, rgba(8,12,24,.12) 75%, rgba(8,12,24,0) 100%),
    linear-gradient(0deg, rgba(8,12,24,.6) 0%, transparent 40%);
}
.slide-inner {
  position: relative; height: 100%; display: flex; align-items: center;
}
.slide-inner .hero-text { max-width: 680px; position: relative; z-index: 2; }
.hero-text h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.1; font-weight: 900;
  letter-spacing: -.5px; margin-bottom: 18px; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-text h1 .gradient-text { color: var(--primary); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: .85rem; font-weight: 600;
  color: #fff; margin-bottom: 20px; backdrop-filter: blur(6px);
}
.hero-badge .badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.hero-subtitle { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 600; margin-bottom: 18px; color: rgba(255,255,255,.92); }
.hero-subtitle .highlight { color: #fff; font-weight: 800; }
.hero-desc { font-size: 1.02rem; line-height: 1.75; max-width: 560px; margin-bottom: 32px; color: rgba(255,255,255,.82); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta .btn-primary { padding: 14px 32px; border-radius: 10px; }
.hero-cta .btn-ghost {
  padding: 14px 32px; border-radius: 10px; border: 1px solid rgba(255,255,255,.5);
  color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(6px);
}
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,.18); }

/* 左右切换箭头 */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(15,23,42,.4); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(6px); transition: .25s; opacity: .7;
}
.carousel-arrow:hover { background: rgba(15,23,42,.7); opacity: 1; }
.carousel-arrow.prev { left: 22px; }
.carousel-arrow.next { right: 22px; }

/* 底部指示点 */
.carousel-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; gap: 10px;
}
.carousel-dots .dot {
  width: 11px; height: 11px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.4); transition: .3s;
}
.carousel-dots .dot.active { width: 30px; border-radius: 6px; background: var(--primary); box-shadow: 0 0 12px var(--primary); }

/* Hero 右侧运动无人机 */
.hero-drone-wrap {
  position: absolute; top: 18%; right: 6%; z-index: 5; pointer-events: none;
  width: var(--drone-size, 260px); height: auto;
}
.hero-drone {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
  animation: heroDroneMove var(--drone-speed, 6s) ease-in-out infinite;
}
@keyframes heroDroneMove {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-18px, -28px) rotate(2deg); }
  50% { transform: translate(14px, -50px) rotate(-1.5deg); }
  75% { transform: translate(-8px, -22px) rotate(1deg); }
}

/* 悬浮工具 */
.float-tools {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 6px 24px -8px rgba(0,0,0,.25); transition: .25s; font-size: 1.1rem;
}
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(0,0,0,.35); }
.float-btn svg { width: 20px; height: 20px; }
.float-btn.back-top { opacity: 0; transform: translateY(20px); pointer-events: none; }
.float-btn.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.float-theme-wrap { position: relative; }
.float-theme-wrap .theme-menu {
  position: absolute; right: 56px; bottom: 0; display: flex; gap: 8px; padding: 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 8px 28px -8px rgba(0,0,0,.3);
  opacity: 0; transform: translateX(10px); pointer-events: none; transition: .25s;
}
.float-theme-wrap .theme-menu.show { opacity: 1; transform: none; pointer-events: auto; }
.float-theme-wrap .theme-menu button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; }
.float-theme-wrap .theme-menu button[data-t="space"] { background: linear-gradient(135deg,#0f172a,#3b82f6); }
.float-theme-wrap .theme-menu button[data-t="purple"] { background: linear-gradient(135deg,#581c87,#a855f7); }
.float-theme-wrap .theme-menu button[data-t="cyan"] { background: linear-gradient(135deg,#0e7490,#22d3ee); }
.float-theme-wrap .theme-menu button[data-t="gold"] { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.float-theme-wrap .theme-menu button[data-t="green"] { background: linear-gradient(135deg,#10b981,#22c55e); }
.float-theme-wrap .theme-menu button[data-t="light"] { background: linear-gradient(135deg,#ffffff,#e2e8f0); border-color: #cbd5e1; }

.slides { display: grid; gap: 18px; }
.slide-card {
  border-radius: 20px; padding: 40px; border: 1px solid var(--border); color: #fff; position: relative; overflow: hidden;
}
.grad-blue { background: linear-gradient(120deg, #1d4ed8, #7c3aed); }
.grad-purple { background: linear-gradient(120deg, #7c3aed, #db2777); }
.grad-cyan { background: linear-gradient(120deg, #0e7490, #0891b2); }
.grad-gold { background: linear-gradient(120deg, #b45309, #dc2626); }
.grad-green { background: linear-gradient(120deg, #047857, #16a34a); }
.slide-card h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
.slide-card p { opacity: .92; margin: 10px 0 22px; max-width: 560px; }

/* 数据统计 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card {
  text-align: center; padding: 30px 18px; border-radius: 18px; border: 1px solid var(--border);
  background: var(--surface); backdrop-filter: blur(6px); transition: .3s;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 16px 40px -20px var(--glow); }
.stat-card .num { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; }
.stat-card .lab { color: var(--muted); margin-top: 6px; font-size: .95rem; }

/* 优势 */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  padding: 30px 24px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface);
  transition: .3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 20px 50px -24px var(--glow); }
.feature-card .ico { font-size: 2.2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .94rem; }

/* 课程 */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card {
  border-radius: 20px; border: 1px solid var(--border); background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column; transition: .3s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -28px var(--glow); border-color: var(--primary); }
.course-banner { height: 170px; display: grid; place-items: center; font-size: 3.4rem; color: #fff; position: relative; overflow: hidden; }
.course-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .5s; }
.course-card:hover .course-banner img { transform: scale(1.08); }
.course-banner .tag {
  position: absolute; top: 14px; left: 14px; font-size: .75rem; font-weight: 700; padding: 5px 12px;
  border-radius: 999px; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); z-index: 2; color: #fff;
}
.course-banner .tag-level { left: auto; right: 14px; background: var(--primary); }
.course-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.course-body h3 { font-size: 1.22rem; }
.course-body .desc { color: var(--muted); font-size: .92rem; flex: 1; }
.course-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: .76rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.course-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-size: 1.3rem; font-weight: 800; }
.price small { font-size: .8rem; color: var(--muted); font-weight: 600; }

/* 新闻 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  border-radius: 20px; border: 1px solid var(--border); background: var(--surface); overflow: hidden;
  display: flex; flex-direction: column; transition: .3s; color: inherit; text-decoration: none;
}

/* 首页课程预览：新样式（参考图） */
.courses-preview-section {
  background: #f1f3f6;
  padding: 80px 0;
}
.courses-preview-section .section-head {
  margin-bottom: 40px;
}
.courses-preview-section .section-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.courses-preview-section .section-head p {
  color: #666;
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}
.home-courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home-course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.home-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.12);
}
.home-course-banner {
  height: 170px;
  position: relative;
  overflow: hidden;
}
.home-course-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.home-course-card:hover .home-course-banner img {
  transform: scale(1.06);
}
.home-course-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 2;
}
.home-course-body {
  padding: 16px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.home-course-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}
.home-course-meta {
  font-size: .8rem;
  color: #888;
  font-weight: 500;
}
.home-course-desc {
  font-size: .82rem;
  color: #777;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.home-courses-more {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: .3s;
}
.home-courses-more:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
@media (max-width: 1080px) {
  .home-courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-courses-grid { grid-template-columns: 1fr; }
  .home-course-banner { height: 200px; }
}

/* 应用场景 */
.scenarios-section {
  background: #fff;
  padding: 80px 0;
}
.scenarios-section .section-head {
  margin-bottom: 40px;
}
.scenarios-section .section-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.scenarios-section .section-head p {
  color: #666;
  font-size: 1rem;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.scenario-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform .3s, box-shadow .3s;
}
.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.scenario-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.scenario-card:hover img {
  transform: scale(1.06);
}
.scenario-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
@media (max-width: 1080px) {
  .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .scenarios-grid { grid-template-columns: 1fr; }
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -28px var(--glow); border-color: var(--primary); }
.news-banner { height: 140px; display: grid; place-items: center; font-size: 3rem; color: #fff; position: relative; }
.news-banner .tag {
  position: absolute; top: 14px; left: 14px; font-size: .75rem; font-weight: 700; padding: 5px 12px;
  border-radius: 999px; background: rgba(0,0,0,.35); backdrop-filter: blur(4px);
}
.news-icon { width: 48px; height: 48px; color: rgba(255,255,255,.9); }
.news-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body h3 { font-size: 1.12rem; line-height: 1.45; }
.news-body .desc { color: var(--muted); font-size: .9rem; flex: 1; line-height: 1.6; }
.news-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; }
.news-body .more { color: var(--primary); font-size: .86rem; font-weight: 600; margin-top: 4px; }
.back-link { display: inline-block; color: var(--muted); font-size: .9rem; margin-bottom: 22px; transition: .2s; }
.back-link:hover { color: var(--primary); }
.news-article { max-width: 820px; margin: 0 auto; }
.news-article h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.35; margin-bottom: 16px; }
.news-meta.big { gap: 22px; font-size: .9rem; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.news-content { white-space: pre-wrap; line-height: 1.9; color: var(--text); font-size: 1rem; }
.news-foot { display: flex; gap: 12px; margin-top: 32px; }

/* CTA */
.cta-box {
  text-align: center; padding: 56px 28px; border-radius: 24px; border: 1px solid var(--border);
  background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 22%, transparent), color-mix(in srgb, var(--primary-2) 22%, transparent));
  box-shadow: 0 30px 80px -40px var(--glow);
}
.cta-box h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
.cta-box p { color: var(--muted); margin: 12px 0 26px; }

/* 关于我们 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.mv-card { padding: 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.mv-card h4 { color: var(--accent); margin-bottom: 6px; font-size: 1rem; }
.mv-card p { color: var(--muted); font-size: .9rem; }
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.values-list li { list-style: none; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: .9rem; }
.timeline { border-left: 2px solid var(--border); margin-left: 8px; padding-left: 22px; }
.timeline li { list-style: none; position: relative; margin-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 0 10px var(--glow); }
.timeline .yr { font-weight: 800; color: var(--accent); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { text-align: center; padding: 26px 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.team-card .avatar { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 2rem; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 0 22px var(--glow); }
.team-card h4 { font-size: 1.05rem; }
.team-card .role { color: var(--accent); font-size: .82rem; margin: 4px 0 8px; }
.team-card p { color: var(--muted); font-size: .85rem; }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.info-card { padding: 28px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); margin-bottom: 16px; }
.info-card .k { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: 1px; }
.info-card .v { font-size: 1.05rem; margin-top: 4px; }
.form-card { padding: 30px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--text); font-size: .95rem; font-family: inherit; outline: none; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--glow); }
.field textarea { resize: vertical; min-height: 110px; }
.form-msg { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; display: none; }
.form-msg.ok { display: block; background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.4); }
.form-msg.err { display: block; background: rgba(239,68,68,.15); color: #fca5a5; border: 1px solid rgba(239,68,68,.4); }

/* 页脚 - 参考图深色科技风 */
.footer {
  padding: 70px 0 28px;
  margin-top: 60px;
  background: #0d1321;
  color: #a7b1c6;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr .9fr 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.footer-logo { display: block; }
.footer-logo img { width: 130px; height: 130px; object-fit: contain; border-radius: 50%; }
.logo-fallback {
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f 0%, #0ea5e9 100%);
  color: #fff; font-weight: 700; font-size: 1.05rem;
  display: grid; place-items: center; text-align: center; padding: 12px;
}
.logo-fallback .mark { font-size: 1.6rem; display: block; margin-bottom: 4px; }
.footer-social { display: flex; gap: 12px; }
.soc-item {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  transition: .25s;
}
.soc-item:hover { background: rgba(14,165,233,.2); border-color: rgba(14,165,233,.5); transform: translateY(-2px); }
.soc-item svg { width: 18px; height: 18px; color: #fff; }
.footer-col h4, .footer-brand h4 {
  color: #fff; font-size: 1.05rem; margin-bottom: 18px; letter-spacing: .5px;
}
.footer-col a, .footer-col p {
  color: #a7b1c6; font-size: .92rem; display: block; margin-bottom: 12px;
  transition: .2s;
}
.footer-col a:hover { color: #38bdf8; }
.footer-col p { margin: 0 0 12px; line-height: 1.6; }
.footer-col i { margin-right: 8px; opacity: .9; }
.footer-qr { display: flex; gap: 24px; justify-content: flex-end; }
.qr-item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.qr-item img {
  width: 154px; height: 154px; border-radius: 10px;
  background: #fff; padding: 3px; object-fit: contain;
}
.qr-title { font-size: .95rem; color: #fff; margin-bottom: 10px; }
.qr-hint { font-size: .78rem; color: #94a3b8; margin-top: 10px; }
.footer-bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  color: #7a8499; font-size: .82rem;
  margin-top: 50px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-copy { justify-self: start; }
.footer-tech { justify-self: center; text-align: center; }
.footer-links { justify-self: end; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #7a8499; transition: .2s; }
.footer-links a:hover { color: #38bdf8; }

/* ---------- 课程页专用样式 ---------- */
.page-hero {
  padding: 110px 0 60px; text-align: center; position: relative;
  background: radial-gradient(800px 400px at 50% -10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%), var(--bg);
}
.page-hero .hero-eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  background: color-mix(in srgb, var(--primary) 15%, transparent); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  margin-bottom: 18px;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -.5px; margin-bottom: 16px; }
.page-hero h1 .gradient-text { color: var(--primary); }
.page-hero p { color: var(--muted); max-width: 680px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }

.courses-section { padding: 60px 0 80px; }
.courses-page-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.courses-page-grid .course-card { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: .3s; }
.courses-page-grid .course-banner { height: 160px; position: relative; overflow: hidden; }
.courses-page-grid .course-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.courses-page-grid .course-card:hover .course-banner img { transform: scale(1.08); }
.courses-page-grid .course-tags { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.courses-page-grid .tag { position: static; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; backdrop-filter: blur(4px); }
.courses-page-grid .tag-level { margin-left: auto; background: var(--primary); }
.courses-page-grid .course-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.courses-page-grid .course-body h3 { font-size: 1.08rem; line-height: 1.4; }
.courses-page-grid .course-meta-row { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .78rem; }
.courses-page-grid .desc { color: var(--muted); font-size: .88rem; line-height: 1.65; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.courses-page-grid .btn-full { width: 100%; justify-content: center; margin-top: 4px; }

/* 课程体系 */
.system-section {
  padding: 80px 0;
  background-color: var(--surface);
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 35%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 35%, transparent) 1px, transparent 1px);
  background-size: 40px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.system-section .section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.system-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; }
.system-tab {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--muted);
  font-weight: 700; cursor: pointer; transition: .25s; font-size: .92rem;
}
.system-tab:hover, .system-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 8px 24px -10px var(--glow); }
.system-panel { display: none; }
.system-panel.active { display: block; }
.system-path {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
}
.system-path::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), color-mix(in srgb, var(--primary) 20%, transparent));
  transform: translateX(-50%);
  z-index: 0;
}
.system-step {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 28px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.step-num {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: start;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 0 20px var(--glow);
}
.step-card {
  grid-row: 1;
  padding: 0;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px -10px rgba(0,0,0,.08);
}
.step-card h3 {
  font-size: 1.15rem;
  padding: 14px 22px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
  padding: 16px 22px 22px;
}
/* 各步骤卡片采用主题色渐变，增加视觉层次 */
.system-step:nth-child(1) .step-card h3 { background: var(--primary); }
.system-step:nth-child(2) .step-card h3 { background: var(--primary-2); }
.system-step:nth-child(3) .step-card h3 { background: color-mix(in srgb, var(--primary) 50%, var(--primary-2)); }
.system-step:nth-child(4) .step-card h3 { background: color-mix(in srgb, var(--primary-2) 70%, var(--primary)); }
.system-step:nth-child(odd) .step-card {
  grid-column: 1;
  justify-self: end;
  text-align: left;
}
.system-step:nth-child(even) .step-card {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}
.system-step:nth-child(odd) .step-list {
  grid-column: 3;
  justify-self: start;
}
.system-step:nth-child(even) .step-list {
  grid-column: 1;
  justify-self: end;
}
.step-list {
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 460px;
}
.step-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: .85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-item span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
  font-size: .7rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.system-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: .9rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.system-foot-icon { font-size: 1.2rem; }

/* 专业应用课程 */
.application-section { padding: 0 0 90px; }
.application-hero {
  padding: 80px 0 110px; text-align: center; margin-bottom: -60px;
  background: linear-gradient(120deg, rgba(15,23,42,.95), rgba(30,41,59,.95)), url('https://picsum.photos/seed/apphero/1600/500') center/cover;
}
.application-hero .section-head { max-width: 700px; margin: 0 auto; }
.application-hero .eyebrow { background: var(--primary); color: #fff; }
.application-hero h2 { color: #fff; }
.application-hero p { color: rgba(255,255,255,.8); }
.application-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.app-tab { padding: 10px 28px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font-weight: 700; cursor: pointer; transition: .25s; }
.app-tab:hover, .app-tab.active { background: #fff; color: var(--primary); }
.application-panels { position: relative; z-index: 2; }
.app-panel { display: none; }
.app-panel.active { display: block; }
.app-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0,0,0,.5); }
.app-card-head { padding: 28px 32px; border-bottom: 1px solid var(--border); }
.app-card-head h3 { font-size: 1.4rem; margin-bottom: 14px; }
.app-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.app-meta i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-right: 6px; vertical-align: middle; font-style: normal; }
.app-card-body { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.app-col { padding: 26px 24px; border-right: 1px solid var(--border); }
.app-col:last-child { border-right: none; }
.app-col h4 { font-size: 1rem; color: var(--accent); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.app-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.app-col li { font-size: .85rem; color: var(--text); padding-left: 16px; position: relative; line-height: 1.5; }
.app-col li::before { content: "•"; position: absolute; left: 0; color: var(--primary); font-weight: 900; }

/* 机构标准 */
.standards-section { padding: 80px 0; background: var(--bg); }
.standards-section .section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.standard-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: .3s; }
.standard-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -28px var(--glow); border-color: color-mix(in srgb, var(--primary) 55%, var(--border)); }
.standard-img { height: 150px; overflow: hidden; }
.standard-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.standard-card:hover .standard-img img { transform: scale(1.08); }
.standard-body { padding: 20px; }
.standard-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.standard-body p { color: var(--muted); font-size: .85rem; line-height: 1.6; margin-bottom: 16px; }
.standard-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.standard-items div { font-size: .78rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px; text-align: center; }
.standard-items i {
  display: inline-block;
  width: 8px;
  height: 14px;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 6px;
  font-style: normal;
}

/* CTA section */
.cta-section { padding: 20px 0 90px; }

/* ---------- 时尚增强：装饰光球 + 卡片精致化 ---------- */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; z-index: -1; }
.hero { overflow: hidden; }

.stat-card, .feature-card, .course-card {
  position: relative; overflow: hidden;
  box-shadow: 0 12px 34px -20px rgba(0,0,0,.55);
}
.stat-card::before, .feature-card::before, .course-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 90% at 50% -25%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%);
  opacity: .7;
}
.stat-card:hover, .feature-card:hover, .course-card:hover {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
  box-shadow: 0 26px 64px -26px var(--glow);
  transform: translateY(-6px);
}
.section-head h2, .hero h1 { letter-spacing: -.5px; }
.btn-primary {
  box-shadow: 0 10px 30px -8px var(--glow),
              inset 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent);
}
.slide-card { box-shadow: 0 24px 60px -30px var(--glow); }
.nav { backdrop-filter: blur(18px); }

/* 动画 */
.reveal { opacity: 0; transform: translateY(28px); transition: .7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* 响应式 */
@media (max-width: 880px) {
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg-2);
    border-bottom: 1px solid var(--border); padding: 10px; display: none; }
  .nav-links.show { display: flex; }
  .nav-links a { width: 100%; padding: 14px; }
  .nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: 1.2rem; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-carousel .carousel { height: clamp(480px, 82vw, 600px); }
  .slide-inner .hero-text { max-width: 92%; }
  .slide-mask { background: linear-gradient(0deg, rgba(8,12,24,.78) 0%, rgba(8,12,24,.35) 50%, rgba(8,12,24,.15) 100%); }
  .hero-drone-wrap { top: 8%; right: 3%; width: clamp(100px, 30vw, 180px) !important; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 1.4rem; }
  .carousel-arrow.prev { left: 10px; }
  .carousel-arrow.next { right: 10px; }
  .stats-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid, .team-grid { grid-template-columns: 1fr; }
  .courses-page-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-qr { justify-content: flex-start; }
  .footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .footer-links { justify-content: center; gap: 12px; }
  .footer-copy { order: 0; }
  .footer-tech { order: 1; }
  .footer-links { order: 2; }
  .mv-grid, .values-list { grid-template-columns: 1fr; }
  /* 应用课程四列在窄屏改为单列 */
  .app-card-body { grid-template-columns: 1fr; }
  .app-col { padding: 18px 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .app-col:last-child { border-bottom: none; }
  .app-card-head { padding: 20px 22px; }
  .app-card-head h3 { font-size: 1.15rem; }
  .application-hero { padding: 50px 0 70px; margin-bottom: -30px; }
  .application-section { padding: 0 0 60px; }
  .app-tab { padding: 8px 18px; font-size: .85rem; }
  /* 机构标准四列在窄屏改为两列 */
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  /* 课程体系列表在窄屏改为「徽标列 + 内容列」两列，不用绝对定位避免横向溢出 */
  .system-path::before { left: 26px; top: 30px; bottom: 30px; }
  .system-step {
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: start;
    padding-left: 0;
  }
  .step-num {
    grid-column: 1;
    grid-row: 1;
    position: static;
    justify-self: center;
    align-self: start;
    margin-top: 2px;
  }
  .system-step:nth-child(odd) .step-card,
  .system-step:nth-child(even) .step-card {
    grid-column: 2;
    justify-self: stretch;
    text-align: left;
    max-width: none;
  }
  .system-step:nth-child(odd) .step-list,
  .system-step:nth-child(even) .step-list {
    grid-column: 2;
    justify-self: stretch;
    max-width: none;
  }
  .step-list { grid-template-columns: 1fr; }
  .system-foot { flex-direction: column; text-align: center; gap: 8px; }
}
@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-social { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-qr { justify-content: center; }
  .footer-logo img, .logo-fallback { width: 110px; height: 110px; }
  .footer-bottom { text-align: center; }
  .news-grid { grid-template-columns: 1fr; }
  .courses-page-grid { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .standard-items { grid-template-columns: 1fr; }
  /* LOGO 窄屏按比例缩放，避免横向溢出（盒随宽度等比，不会拉伸） */
  .logo .site-logo { width: min(300px, 56vw); height: auto; aspect-ratio: 400 / 60; background-size: contain; }
}
