/* ============================================================
   俏创教育科技有限公司 官网样式
   ============================================================ */
:root {
  --ink: #0d1b3e;
  --ink-2: #1b2b56;
  --primary: #2f5cff;
  --primary-2: #6a3bff;
  --accent: #ff7a1a;
  --bg: #f5f7ff;
  --card: #ffffff;
  --line: #e3e8f7;
  --muted: #5b6b93;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(24, 44, 108, .10);
  --shadow-lg: 0 22px 60px rgba(24, 44, 108, .16);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------------- 滚动进度条 ---------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 1000; background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
  border-radius: 0 3px 3px 0;
  transition: width .1s linear;
}

/* ---------------- 导航 ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 18px 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(24, 44, 108, .08);
}
.nav-inner { width: min(1180px, 92vw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-size: 22px; font-weight: 900;
  box-shadow: 0 8px 20px rgba(47, 92, 255, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; letter-spacing: .5px; color: #fff; transition: color .3s; }
.brand-text small { font-size: 10px; letter-spacing: 2.5px; color: rgba(255,255,255,.72); transition: color .3s; }
.nav.scrolled .brand-text strong { color: var(--ink); }
.nav.scrolled .brand-text small { color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.88); transition: all .25s ease; position: relative;
}
.nav.scrolled .nav-links a { color: var(--ink-2); }
.nav-links a:hover { background: rgba(255,255,255,.16); }
.nav.scrolled .nav-links a:hover { background: rgba(47, 92, 255, .10); }
.nav-links a.active { background: rgba(255,255,255,.2); color: #fff; font-weight: 700; }
.nav.scrolled .nav-links a.active { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(47,92,255,.32); }
.nav-links a.nav-cta {
  background: var(--accent); color: #fff; font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 122, 26, .38);
}
.nav-links a.nav-cta:hover { transform: translateY(-2px); background: #ff8c3a; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: #fff; transition: all .3s; }
.nav.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 90px;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(106, 59, 255, .38), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(47, 92, 255, .30), transparent 60%),
    linear-gradient(160deg, #0a1430 0%, #10205a 55%, #16256b 100%);
  color: #fff; overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; width: min(1180px, 92vw); margin: 0 auto; text-align: center; z-index: 2; }
.hero-eyebrow {
  display: inline-block; padding: 8px 20px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  font-size: 14px; letter-spacing: 2px; color: #cdd9ff;
  backdrop-filter: blur(6px);
}
.hero-title {
  margin: 26px 0 18px; font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 900; line-height: 1.22; letter-spacing: 1px;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.grad-text {
  background: linear-gradient(92deg, #7ea2ff 0%, #b39bff 45%, #ffb26b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { min-height: 34px; font-size: clamp(15px, 2vw, 19px); color: #b9c6ee; letter-spacing: 1px; }
.hero-sub .cursor { animation: blink .9s step-end infinite; color: #ffb26b; }
@keyframes blink { 50% { opacity: 0; } }

.hero-actions { margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 999px;
  font-size: 16px; font-weight: 700; border: 0; letter-spacing: 1px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  color: #fff; box-shadow: 0 12px 30px rgba(47, 92, 255, .45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(47, 92, 255, .55); }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }

.hero-stats {
  margin: 56px auto 0; width: min(980px, 100%);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 26px 18px; border-radius: 22px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.stat { text-align: center; }
.stat-num { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; color: #fff; line-height: 1.1; }
.stat-num em { font-style: normal; font-size: .58em; margin-left: 2px; color: #ffb26b; }
.stat-label { margin-top: 6px; font-size: 13px; color: #b9c6ee; letter-spacing: 1px; }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.5); border-radius: 16px;
  display: flex; justify-content: center; padding-top: 8px; z-index: 2;
}
.hero-scroll span {
  width: 4px; height: 9px; border-radius: 3px; background: #fff;
  animation: scrollHint 1.6s ease-in-out infinite;
}
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------- 通用 section ---------------- */
.section { padding: 100px 0; }
.section-alt { background: linear-gradient(180deg, #eef2ff 0%, #f7f9ff 100%); }
.sec-head { text-align: center; margin-bottom: 54px; }
.sec-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 4px;
  color: var(--primary); background: rgba(47, 92, 255, .10);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
}
.sec-tag.light { color: #9db4ff; background: rgba(255,255,255,.10); }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; letter-spacing: 2px; }
.sec-head p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* ---------------- 企业介绍 ---------------- */
.about-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; }
.about-copy h3 { font-size: 24px; font-weight: 800; margin-bottom: 16px; line-height: 1.45; }
.about-copy p { color: #3d4b74; margin-bottom: 14px; text-align: justify; }
.about-copy strong { color: var(--primary); }
.about-points { margin: 20px 0 26px; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; color: #3d4b74; }
.about-points i {
  flex: 0 0 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 13px;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: linear-gradient(135deg, #29c97a, #16a35f); margin-top: 4px;
}
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 22px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease; transform-style: preserve-3d;
}
.about-card:hover { box-shadow: var(--shadow-lg); }
.about-card-icon { font-size: 30px; margin-bottom: 10px; }
.about-card h4 { font-size: 18px; margin-bottom: 8px; }
.about-card p { font-size: 14px; color: var(--muted); }

/* ---------------- 课程体系 ---------------- */
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.course-card {
  position: relative; overflow: hidden; padding: 34px 24px 28px;
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.course-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.course-card:hover::before { transform: scaleX(1); }
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-no {
  position: absolute; top: 14px; right: 18px; font-size: 44px; font-weight: 900;
  color: rgba(47, 92, 255, .10); line-height: 1;
}
.course-icon { font-size: 36px; margin-bottom: 14px; }
.course-card h3 { font-size: 19px; margin-bottom: 10px; }
.course-card > p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.course-card ul { display: grid; gap: 7px; margin-bottom: 18px; }
.course-card ul li { font-size: 13.5px; color: #3d4b74; padding-left: 16px; position: relative; }
.course-card ul li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2));
}
.course-badge {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(255, 122, 26, .10); padding: 5px 13px; border-radius: 999px;
}
/* 卡片聚光灯 */
.spotlight { position: relative; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 92, 255, .10), transparent 65%);
  opacity: 0; transition: opacity .3s ease;
}
.spotlight:hover::after { opacity: 1; }

/* ---------------- 讲师团队 ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: box-shadow .35s ease, transform .12s ease;
  display: flex; flex-direction: column;
}
.member:hover { box-shadow: var(--shadow-lg); }
.member-photo {
  position: relative; height: 280px; overflow: hidden;
  background:
    radial-gradient(140% 110% at 50% 0%, rgba(47, 92, 255, .18), transparent 62%),
    linear-gradient(180deg, #eef3ff 0%, #dfe8ff 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.member-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.9));
}
.member-photo img {
  height: 100%; width: 100%; object-fit: contain; object-position: bottom center;
  transform: translateY(6px) scale(1.02);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  filter: drop-shadow(0 14px 22px rgba(20, 40, 100, .18));
}
.member:hover .member-photo img { transform: translateY(0) scale(1.06); }
.member-body { padding: 20px 20px 24px; }
.member-body h3 { font-size: 20px; }
.member-body h3 small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.member-role { margin: 4px 0 12px; color: var(--primary); font-size: 14px; font-weight: 700; }
.member-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.member-tags li {
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  background: rgba(47, 92, 255, .08); color: var(--primary-2); font-weight: 600;
}
.member-detail { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.2, .8, .2, 1); }
.member:hover .member-detail, .member:focus-within .member-detail { max-height: 300px; }
.member-detail ul { display: grid; gap: 7px; padding-top: 12px; border-top: 1px dashed var(--line); }
.member-detail li { font-size: 13px; color: #3d4b74; padding-left: 14px; position: relative; }
.member-detail li::before {
  content: "·"; position: absolute; left: 2px; top: 0; color: var(--primary); font-weight: 900;
}

/* ---------------- 案例展示 ---------------- */
.case-filter { display: flex; justify-content: center; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; }
.chip {
  padding: 9px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 14.5px; font-weight: 600;
  transition: all .25s ease;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(47, 92, 255, .32);
}
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-item {
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, opacity .3s ease;
  animation: caseIn .4s ease both;
}
@keyframes caseIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.case-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.case-item.hide { display: none; }
.case-item img {
  width: 100%; height: 215px; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.case-item:hover img { transform: scale(1.07); }
.case-item figcaption { padding: 16px 18px 18px; }
.case-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 1px;
  color: var(--primary); background: rgba(47, 92, 255, .09);
  padding: 3px 11px; border-radius: 999px; margin-bottom: 8px;
}
.case-item h3 { font-size: 16.5px; line-height: 1.5; }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 1200; display: none;
  align-items: center; justify-content: center; padding: 4vh 4vw;
  background: rgba(8, 14, 34, .88); backdrop-filter: blur(8px);
}
.lightbox.show { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { max-width: min(920px, 92vw); text-align: center; }
.lightbox img {
  max-height: 68vh; width: auto; max-width: 100%; margin: 0 auto;
  border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox figcaption { margin-top: 18px; color: #fff; }
.lightbox figcaption h3 { font-size: 20px; margin-bottom: 8px; }
.lightbox figcaption p { color: #b9c6ee; font-size: 14.5px; max-width: 720px; margin: 0 auto; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; border: 0; color: #fff; background: rgba(255,255,255,.12);
  border-radius: 50%; display: grid; place-items: center;
  transition: background .25s ease, transform .25s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.26); transform: scale(1.08); }
.lb-close { top: 22px; right: 26px; width: 44px; height: 44px; font-size: 26px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 30px; }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 30px; }
.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }

/* ---------------- 合作客户跑马灯 ---------------- */
.marquee {
  position: relative; overflow: hidden; padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partner {
  position: relative; flex: 0 0 210px; width: 210px; padding: 24px 20px 20px; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: all .3s ease;
}
.partner:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.partner-logo { width: 100%; height: 76px; display: flex; align-items: center; justify-content: center; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-logo svg { width: 48px; height: 48px; color: #b5c2df; }
.partner-name { width: 100%; min-height: 46px; font-size: 14px; font-weight: 600; line-height: 1.6; text-align: center; overflow-wrap: anywhere; }
.content-linked { position: relative; }
.content-article-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.content-article-link > span { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #ffffffed; color: var(--primary); box-shadow: 0 2px 8px #17306912; font-size: 16px; }
.content-article-link:focus-visible { outline: 3px solid var(--primary); outline-offset: -4px; }
.case-item[role="button"]:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@media(max-width:600px) { .partner { flex-basis: 170px; width: 170px; padding: 20px 16px 16px; } .partner-logo { height: 64px; } .partner-name { font-size: 13px; } }
@media(prefers-reduced-motion:reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

/* ---------------- 联系我们 ---------------- */
.section-dark {
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(106, 59, 255, .30), transparent 60%),
    radial-gradient(600px 380px at 5% 100%, rgba(47, 92, 255, .26), transparent 60%),
    linear-gradient(160deg, #0a1430, #131f4c);
  color: #fff; padding: 90px 0;
}
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 900; margin-bottom: 12px; }
.contact-info > p { color: #b9c6ee; margin-bottom: 28px; }
.contact-list { display: grid; gap: 16px; }
.contact-list li {
  display: grid; gap: 3px; padding: 16px 20px; border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
}
.contact-list b { font-size: 13px; color: #8fa5e8; letter-spacing: 2px; }
.contact-list span { font-size: 15.5px; }

.contact-form {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 34px 30px; backdrop-filter: blur(10px);
}
.contact-form h3 { font-size: 21px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: #b9c6ee; margin-bottom: 7px; letter-spacing: 1px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; color: #fff; font-size: 15px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  font-family: inherit; transition: border-color .25s ease, box-shadow .25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.38); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 92, 255, .22);
}
.field input.err, .field textarea.err { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.16); }
.field select { width: 100%; padding: 13px 16px; border-radius: 12px; color: #fff; font: inherit; background: #142344; border: 1px solid rgba(255,255,255,.18); }
.field input[type="checkbox"] { width: auto; }
.btn-block { width: 100%; }
.form-tip { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.4); text-align: center; }

/* 提交成功提示 */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  background: #16a35f; color: #fff; padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 600; box-shadow: 0 16px 40px rgba(0,0,0,.28);
  opacity: 0; pointer-events: none; transition: all .35s cubic-bezier(.2,.8,.2,1); z-index: 1300;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 页脚 ---------------- */
.footer { background: #081027; color: #8ea0cc; padding: 46px 0 30px; text-align: center; }
.footer-inner { display: grid; gap: 12px; justify-items: center; }
.brand.light .brand-text strong { color: #fff; }
.brand.light .brand-text small { color: #66779f; }
.footer p { font-size: 14.5px; }
.footer small { font-size: 12px; color: #55648c; }

/* ---------------- 返回顶部 ---------------- */
.back-top {
  position: fixed; right: 26px; bottom: 30px; width: 50px; height: 50px;
  border-radius: 50%; border: 0; display: grid; place-items: center; z-index: 950;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff;
  box-shadow: 0 12px 28px rgba(47, 92, 255, .45);
  opacity: 0; pointer-events: none; transform: translateY(16px) scale(.85);
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.back-top:hover { transform: translateY(-4px) scale(1.06); }

/* ---------------- 滚动显现 ---------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .course-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 320px);
    flex-direction: column; justify-content: center; gap: 10px;
    background: rgba(10, 20, 48, .97); backdrop-filter: blur(16px);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
    padding: 30px; box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: #fff !important; font-size: 17px; padding: 12px 18px; width: 100%; text-align: center; }
  .nav-toggle { display: flex; z-index: 1001; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
  .course-grid, .team-grid, .case-grid, .about-cards { grid-template-columns: 1fr; }
  .member-photo { height: 320px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
