/* ===== 全局 ===== */
:root {
  --p: #2563eb;
  --p-dark: #1d4ed8;
  --p-deep: #16337d;
  --p-light: #dbeafe;
  --grad: linear-gradient(135deg, #2563eb 0%, #3b82f6 55%, #60a5fa 100%);
  --text: #0f172a;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-gray: #f6f8fc;
  --bg-dark: #101a33;
  --border: #e6eaf2;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-lg: 0 18px 48px rgba(23,58,148,0.12), 0 4px 12px rgba(15,23,42,0.05);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
::selection { background: var(--p); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #c3cde0; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #9fb0d1; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: 999px; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all 0.28s ease; border: 2px solid transparent;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 8px 20px rgba(37,99,235,0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,99,235,0.42); filter: brightness(1.06); }
.btn-outline { background: transparent; color: var(--p); border-color: var(--p); }
.btn-outline:hover { background: var(--p); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,0.28); }
.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }

/* ===== 导航栏 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: all 0.3s;
}
.nav-scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 24px rgba(15,23,42,0.06); }
.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: 21px; color: var(--text); }
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--text-light); font-weight: 500; transition: color 0.2s; position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--grad); border-radius: 2px; transition: right 0.28s ease;
}
.nav-links a:hover { color: var(--p); }
.nav-links a:hover::after { right: 0; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 148px 0 76px; text-align: center; color: #fff;
  background: linear-gradient(160deg, #14275e 0%, #1d3f9e 42%, #2563eb 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 560px; height: 560px; top: -220px; right: -140px;
  background: radial-gradient(circle, rgba(96,165,250,0.42) 0%, rgba(96,165,250,0) 68%);
}
.hero::after {
  width: 460px; height: 460px; bottom: -200px; left: -120px;
  background: radial-gradient(circle, rgba(59,130,246,0.38) 0%, rgba(59,130,246,0) 68%);
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 880px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: 2px;
  color: #bfdbfe; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  padding: 7px 18px; border-radius: 999px; margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 900; line-height: 1.22; margin-bottom: 22px; letter-spacing: 1px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7dd3fc 0%, #93c5fd 45%, #e0e7ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: rgba(224,236,255,0.88);
  margin-bottom: 44px; max-width: 660px; margin-left: auto; margin-right: auto;
}
.hero-stats {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  padding-top: 44px;
}
.stat-item {
  min-width: 150px; padding: 20px 26px; text-align: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.28s ease, background 0.28s ease;
}
.stat-item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.13); }
.stat-item strong { display: block; font-size: 38px; font-weight: 900; line-height: 1.15; }
.stat-item span { font-size: 14px; color: rgba(224,236,255,0.78); letter-spacing: 1px; }

/* ===== 通用 Section ===== */
.section { padding: 96px 0; }
.section-gray { background: var(--bg-gray); }
.section-dark {
  background:
    radial-gradient(620px 300px at 12% 0%, rgba(37,99,235,0.35) 0%, rgba(37,99,235,0) 60%),
    radial-gradient(520px 280px at 88% 100%, rgba(59,130,246,0.28) 0%, rgba(59,130,246,0) 60%),
    var(--bg-dark);
  color: #fff;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
  text-align: center; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900;
  margin-bottom: 18px; letter-spacing: 1px;
}
.section-title::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 4px;
  background: var(--grad); margin: 16px auto 0;
}
.section-desc {
  text-align: center; font-size: 17px; color: var(--text-light);
  max-width: 640px; margin: 0 auto 52px;
}
.section-dark .section-desc { color: rgba(224,236,255,0.72); }

/* ===== 平台介绍卡片 ===== */
.platform-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.platform-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 30px; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.platform-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity 0.3s;
}
.platform-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: rgba(37,99,235,0.35); }
.platform-card:hover::before { opacity: 1; }
.platform-icon {
  width: 62px; height: 62px; border-radius: 16px; margin-bottom: 20px;
  background: linear-gradient(135deg, #eaf1ff 0%, #dbeafe 100%);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,0.12);
}
.platform-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.platform-card p { font-size: 15px; color: var(--text-light); line-height: 1.75; }

/* ===== 工种类别 ===== */
.trade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.trade-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.trade-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad);
}
.trade-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.trade-badge {
  display: inline-block; background: var(--grad); color: #fff;
  font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
  margin-bottom: 14px; letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(37,99,235,0.25);
}
.trade-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.trade-card p { font-size: 14.5px; color: var(--text-light); margin-bottom: 18px; line-height: 1.65; }
.trade-tag {
  display: inline-block; font-size: 13px; color: var(--p); font-weight: 700;
  background: var(--p-light); padding: 5px 12px; border-radius: 8px;
}

/* ===== 功能亮点 ===== */
.feature-list { display: flex; flex-direction: column; gap: 22px; max-width: 880px; margin: 0 auto; }
.feature-item {
  display: flex; gap: 26px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 30px; transition: all 0.3s ease;
}
.feature-item:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); border-color: rgba(37,99,235,0.3); }
.feature-num {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
  box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}
.feature-body h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feature-body p { font-size: 15px; color: var(--text-light); line-height: 1.75; }

/* ===== 学员好评 ===== */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.review-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 30px; transition: all 0.3s ease; position: relative;
}
.review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.review-card::before {
  content: "\201C"; position: absolute; top: 10px; right: 24px;
  font-size: 84px; line-height: 1; font-family: Georgia, serif;
  color: rgba(37,99,235,0.1); pointer-events: none;
}
.review-stars { color: #f59e0b; font-size: 18px; letter-spacing: 3px; margin-bottom: 14px; }
.review-card p { font-size: 16px; color: var(--text); line-height: 1.75; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--grad);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; box-shadow: 0 4px 10px rgba(37,99,235,0.25);
}
.review-author span { font-size: 14px; color: var(--text-light); font-weight: 500; }

/* ===== 数据展示 ===== */
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.data-item { text-align: center; padding: 10px 6px; }
.data-item strong {
  display: block; font-size: clamp(38px, 4.4vw, 54px); font-weight: 900; margin-bottom: 8px;
  background: linear-gradient(120deg, #93c5fd 0%, #e0e7ff 60%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.data-item span { font-size: 16px; color: rgba(224,236,255,0.7); letter-spacing: 1px; }

/* ===== Footer ===== */
.footer {
  background: #0b1226; color: #fff; padding: 56px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .logo-icon { width: 42px; height: 42px; font-size: 20px; }
.footer-brand .logo-text { font-size: 23px; font-weight: 800; }
.footer-desc { font-size: 15px; color: rgba(224,236,255,0.55); margin-bottom: 26px; letter-spacing: 1px; }
.footer-copy { font-size: 13.5px; color: rgba(224,236,255,0.35); }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .platform-cards, .trade-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 76px 0; }
}
@media (max-width: 768px) {
  .nav-inner { height: 60px; }
  .nav-links { display: none; }
  .hero { padding: 108px 0 56px; }
  .hero-kicker { font-size: 12px; padding: 6px 14px; }
  .hero-stats { gap: 12px; padding-top: 36px; }
  .stat-item { min-width: calc(50% - 6px); padding: 16px 12px; }
  .stat-item strong { font-size: 30px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .section-desc { font-size: 15px; }
  .platform-cards, .trade-grid, .review-grid { grid-template-columns: 1fr; }
  .platform-card, .trade-card, .review-card, .feature-item { padding: 26px 22px; }
  .data-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feature-item { flex-direction: column; gap: 16px; }
  .footer { padding: 44px 0 30px; }
}
@media (max-width: 400px) {
  .stat-item { min-width: 100%; }
  .data-item strong { font-size: 34px; }
}
