/* ============================================
   昆仑科技 - 红蓝撞色酷炫官网 全局样式
   主色: #0047AB (沉稳科技蓝)
   强调色: #D81E05 (高光警示红)
   ============================================ */

/* CSS Variables */
:root {
  --blue-primary: #0047AB;
  --blue-dark: #003380;
  --blue-light: #E6F0FF;
  --red-accent: #D81E05;
  --red-light: #FFE8E8;
  --bg-base: #FAFBFF;
  --text-dark: #1A1A2E;
  --card-bg: rgba(0, 40, 120, 0.06);
  --card-hover-border: linear-gradient(135deg, #0047AB, #D81E05);
  --nav-height: 72px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Geometric Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(30deg, rgba(0,71,171,0.03) 12%, transparent 12.5%, transparent 87%, rgba(0,71,171,0.03) 87.5%),
    linear-gradient(150deg, rgba(216,30,5,0.02) 12%, transparent 12.5%, transparent 87%, rgba(216,30,5,0.02) 87.5%),
    linear-gradient(60deg, rgba(0,71,171,0.02) 25%, transparent 25.5%, transparent 75%, rgba(0,71,171,0.02) 75%);
  background-size: 80px 140px;
  pointer-events: none;
  z-index: 0;
}

/* ===== Navigation ===== */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 71, 171, 0.08);
}

.main-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 71, 171, 0.1);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-primary), var(--red-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 20px rgba(0, 71, 171, 0.3);
  animation: logoBreath 3s ease-in-out infinite;
}

/* Logo背景容器 — 取代 <img> 避免浏览器裂图/alt图标显示在Logo与校名之间 */
.nav-logo-mark {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: url('../assets/company-logo.png') center/contain no-repeat;
  background-color: transparent;
  display: block;
}

@keyframes logoBreath {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 71, 171, 0.3); }
  50% { box-shadow: 0 0 30px rgba(0, 71, 171, 0.5), 0 0 10px rgba(216, 30, 5, 0.2); }
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a:hover { color: var(--blue-primary); background: rgba(0,71,171,.06); }
.nav-links a.active { color: var(--blue-primary); background: rgba(0,71,171,.1); }

.nav-cta {
  background: linear-gradient(135deg, var(--blue-primary), var(--red-accent));
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(0, 71, 171, 0.3);
  animation: ctaBreath 2.5s ease-in-out infinite;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 71, 171, 0.4) !important;
  color: #fff !important;
}

@keyframes ctaBreath {
  0%, 100% { box-shadow: 0 4px 15px rgba(0, 71, 171, 0.3); }
  50% { box-shadow: 0 4px 25px rgba(216, 30, 5, 0.25), 0 4px 15px rgba(0, 71, 171, 0.3); }
}

/* Mobile Menu Toggle — 默认隐藏，768px 以下由 @media 开启 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blue-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Close Button — 默认隐藏，768px 以下由 @media 开启 */
.nav-close-btn { display: none; }

/* 桌面端保留 .active 兼容（一些页面JS可能用了 active） */
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero Banner ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #f0f5ff 0%, #fafbff 40%, #fff5f5 100%);
  z-index: 0;
}

.hero-geo {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: geoFloat 8s ease-in-out infinite;
}

.hero-geo-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--blue-primary), transparent 70%);
  top: -100px; right: -50px;
  animation-delay: 0s;
}

.hero-geo-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--red-accent), transparent 70%);
  bottom: -50px; left: -80px;
  animation-delay: 2s;
}

.hero-geo-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--blue-primary), transparent 70%);
  top: 40%; left: 30%;
  animation-delay: 4s;
}

@keyframes geoFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.95); }
}

/* Floating Triangles */
.hero-triangle {
  position: absolute;
  width: 0; height: 0;
  opacity: 0.08;
  animation: triFloat 12s ease-in-out infinite;
}

.hero-triangle-1 {
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid var(--blue-primary);
  top: 20%; right: 15%;
  animation-delay: 0s;
}

.hero-triangle-2 {
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid var(--red-accent);
  top: 60%; right: 35%;
  animation-delay: 3s;
}

.hero-triangle-3 {
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 43px solid var(--blue-primary);
  top: 35%; left: 10%;
  animation-delay: 6s;
}

@keyframes triFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -20px) rotate(5deg); }
  50% { transform: translate(-10px, -30px) rotate(-3deg); }
  75% { transform: translate(20px, -10px) rotate(8deg); }
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { animation: fadeSlideUp 1s ease-out; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue-primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeSlideUp 1s ease-out 0.2s both;
}

.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
  animation: fadeSlideUp 1s ease-out 0.3s both;
}

.hero-title .highlight-blue { color: var(--blue-primary); }
.hero-title .highlight-red { color: var(--red-accent); }

.hero-desc {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeSlideUp 1s ease-out 0.5s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 1s ease-out 0.7s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red-accent), #ff4030);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(216, 30, 5, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(216, 30, 5, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--blue-primary);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--blue-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--blue-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 71, 171, 0.3);
}

.hero-visual {
  position: relative;
  animation: fadeSlideUp 1s ease-out 0.4s both;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
}

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 71, 171, 0.1);
  border: 1px solid rgba(0, 71, 171, 0.1);
  animation: cardFloat 6s ease-in-out infinite;
}

.hero-float-card:nth-child(1) {
  top: 0; left: 0;
  width: 65%;
  animation-delay: 0s;
}

.hero-float-card:nth-child(2) {
  top: 30%; right: 0;
  width: 55%;
  animation-delay: 2s;
}

.hero-float-card:nth-child(3) {
  bottom: 0; left: 10%;
  width: 60%;
  animation-delay: 4s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
}

.float-card-icon.blue { background: var(--blue-light); color: var(--blue-primary); }
.float-card-icon.red { background: var(--red-light); color: var(--red-accent); }

.float-card-title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.float-card-desc { font-size: 12px; color: #888; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Section Common ===== */
.section {
  padding: 100px 24px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue-primary);
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: #777;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ===== Stats Section ===== */
.stats-section {
  background: linear-gradient(135deg, var(--blue-primary) 0%, #003380 100%);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(216,30,5,0.2), transparent 70%);
  border-radius: 50%;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-ring {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  position: relative;
}

.stat-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.stat-ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.15);
  stroke-width: 6;
}

.stat-ring-progress-blue {
  fill: none;
  stroke: #4da3ff;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 2s ease-out;
}

.stat-ring-progress-red {
  fill: none;
  stroke: var(--red-accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  transition: stroke-dashoffset 2s ease-out;
}

.stat-number {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.stat-number span { font-size: 14px; font-weight: 400; }

.stat-label {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.9;
}

/* ===== Glass Card ===== */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0, 71, 171, 0.04);
  box-shadow: 0 4px 24px rgba(0, 71, 171, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.4s ease;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 71, 171, 0.15);
}

.glass-card:hover::before {
  background: linear-gradient(135deg, var(--blue-primary), var(--red-accent));
}

/* ===== Feature Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-icon.blue { background: var(--blue-light); color: var(--blue-primary); }
.feature-icon.red { background: var(--red-light); color: var(--red-accent); }

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ===== Course Cards ===== */
.course-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.course-scroll::-webkit-scrollbar { height: 6px; }
.course-scroll::-webkit-scrollbar-track { background: var(--blue-light); border-radius: 3px; }
.course-scroll::-webkit-scrollbar-thumb { background: var(--blue-primary); border-radius: 3px; }

.course-card {
  min-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 71, 171, 0.08);
  transition: all 0.4s ease;
  position: relative;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 71, 171, 0.12);
}

.course-card:hover .course-card-border {
  opacity: 1;
}

.course-card-border {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--blue-primary), var(--red-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.course-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.course-card-body { padding: 24px; }

.course-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.course-tag.blue { background: var(--blue-light); color: var(--blue-primary); }
.course-tag.red { background: var(--red-light); color: var(--red-accent); }

.course-card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.course-card-desc { font-size: 13px; color: #777; line-height: 1.6; }

/* ===== FAQ Accordion ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 71, 171, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover { border-color: rgba(0, 71, 171, 0.2); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-primary);
  transition: color 0.3s ease;
}

.faq-item.active .faq-question { color: var(--red-accent); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--red-light);
  transform: rotate(180deg);
}

.faq-icon svg { width: 14px; height: 14px; }
.faq-item:not(.active) .faq-icon svg { color: var(--blue-primary); }
.faq-item.active .faq-icon svg { color: var(--red-accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ===== News Cards ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 71, 171, 0.08);
  transition: all 0.4s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 71, 171, 0.12);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body { padding: 24px; }

.news-card-date {
  font-size: 12px;
  color: var(--red-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.4;
}

.news-card-excerpt {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Footer ===== */
.main-footer {
  background: linear-gradient(180deg, var(--bg-base) 0%, #f0f2f8 100%);
  padding: 60px 24px 30px;
  position: relative;
  z-index: 1;
}

.footer-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--red-accent), var(--blue-primary));
  margin-bottom: 50px;
  border-radius: 2px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-top: 16px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--blue-primary); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 71, 171, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: #999;
}

.footer-partners {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-partner-logo {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(0, 71, 171, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--blue-primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-partner-logo:hover {
  background: rgba(0, 71, 171, 0.12);
  box-shadow: 0 0 15px rgba(0, 71, 171, 0.15);
}

/* ===== Sub-page Header ===== */
.subpage-header {
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, var(--blue-primary) 0%, #003380 50%, #1a0a30 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.subpage-header::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(216,30,5,0.15), transparent 70%);
  border-radius: 50%;
}

.subpage-header::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,71,171,0.2), transparent 70%);
  border-radius: 50%;
}

.subpage-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.subpage-breadcrumb {
  font-size: 14px;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

.subpage-breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.subpage-breadcrumb a:hover { opacity: 1; }

/* ===== Contact Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0, 71, 171, 0.12);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-dark);
  background: #fff;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(0, 71, 171, 0.08);
}

.form-textarea { min-height: 140px; resize: vertical; }

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  animation: revealFallback 0.01s forwards 1s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

@keyframes revealFallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile — 全宽顶部下拉 (v10 风格，768px 断点) */
@media (max-width: 768px) {
  .nav-links { 
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 16px 20px 20px;
    gap: 4px;
    box-shadow: 0 10px 40px rgba(0,71,171,0.1);
    z-index: 998;
    transition: visibility 0.2s, opacity 0.2s;
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    display: flex;
  }
  .nav-links a { font-size: 16px; padding: 12px 20px; border-radius: 10px; }
  .nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 44px; height: 44px;
    font-size: 28px;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-bottom: 4px;
    border-radius: 8px;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .nav-close-btn:hover { background: rgba(0,0,0,0.05); }
  .nav-close-btn:active { background: rgba(0,0,0,0.1); }
  .nav-toggle { display: flex; position: relative; z-index: 1001; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav-toggle span { transition: transform 0.2s ease-out, opacity 0.2s ease-out; }
  .nav-overlay {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 997;
    transition: visibility 0.2s, opacity 0.2s;
  }
  .nav-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 16px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-ring { width: 90px; height: 90px; }
  .stat-number { font-size: 22px; }
  .course-card { min-width: 260px; }
}

/* PC端性能优化：简化高精度滤镜和复杂渐变 */
@media (min-width: 1025px) and (hover: hover) {
  /* 减少backdrop-filter模糊度 */
  .main-nav {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }
  
  /* 简化卡片悬浮效果 */
  .glass-card, .stat-card, .faq-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  
  /* 简化FAQ折叠动画 */
  .faq-answer {
    transition: max-height 0.2s ease !important;
  }
  
  /* 减少按钮悬浮效果复杂度 */
  .btn-primary, .btn-outline, .btn-secondary {
    transition: all 0.2s ease !important;
  }
  
  /* 简化表单元素焦点效果 */
  .form-input:focus, .form-textarea:focus {
    transition: all 0.2s ease !important;
  }
}
