/* ============================================================
   启航教育 · 官网样式
   配色：活力橙 + 科技蓝，明亮大气
   ============================================================ */

:root {
  --orange: #ff6b35;
  --orange-2: #ff8c42;
  --orange-soft: #fff1e9;
  --blue: #1a56db;
  --blue-2: #2b6ef5;
  --blue-deep: #0b2a63;
  --blue-soft: #eef4ff;
  --purple: #7c5cff;
  --green: #16a34a;
  --cyan: #0891b2;
  --pink: #db2777;
  --ink: #1b2440;
  --ink-2: #5b6480;
  --line: #eceff6;
  --bg: #ffffff;
  --bg-soft: #f7f9fd;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(20, 45, 100, 0.10);
  --shadow-sm: 0 8px 24px rgba(20, 45, 100, 0.08);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--maxw)); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  display: flex; align-items: center; gap: 28px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff; font-weight: 800; font-size: 22px;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(255,107,53,0.35);
}
.brand-text strong { display: block; font-size: 19px; letter-spacing: 0.5px; line-height: 1.1; }
.brand-text span { font-size: 9px; letter-spacing: 2px; color: var(--ink-2); }
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-links a {
  padding: 9px 15px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  border-radius: 10px; transition: 0.2s;
}
.nav-links a:hover { color: var(--orange); background: var(--orange-soft); }
.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff !important; padding: 11px 20px !important;
  box-shadow: 0 8px 20px rgba(255,107,53,0.3); border-radius: 11px !important;
}
.nav-cta:hover { filter: brightness(1.05); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(43,110,245,0.16), transparent 60%),
    radial-gradient(700px 520px at 12% 82%, rgba(255,107,53,0.14), transparent 60%),
    linear-gradient(180deg, #fbfdff, #f4f8ff);
}
.hero-shape { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; }
.hero-shape.s1 { width: 260px; height: 260px; background: linear-gradient(135deg,#ffd9c7,#ffb38a); top: -80px; right: 8%; }
.hero-shape.s2 { width: 180px; height: 180px; background: linear-gradient(135deg,#cfe0ff,#9dbdff); bottom: 40px; left: 4%; }
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  padding: 84px 0 90px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--orange); background: var(--orange-soft);
  padding: 8px 15px; border-radius: 30px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px); line-height: 1.12; margin: 22px 0 20px;
  letter-spacing: -1px; font-weight: 850;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { font-size: 18px; color: var(--ink-2); max-width: 540px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 13px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: 0; transition: 0.22s;
}
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; box-shadow: 0 12px 28px rgba(255,107,53,0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255,107,53,0.4); }
.btn-ghost { background: #fff; color: var(--blue); border: 1.5px solid #d9e4fb; }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .glow {
  position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,110,245,0.18), transparent 68%);
}
.hero-card {
  position: relative; width: 100%; max-width: 500px;
  background: #fff; border-radius: 26px; padding: 22px;
  box-shadow: 0 30px 70px rgba(20,45,100,0.18);
  transform: rotate(-2deg);
}
.hero-card-top { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.hero-card-top .pic { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(135deg,var(--orange),var(--orange-2)); display:grid;place-items:center; font-size: 26px; }
.hero-card-top b { font-size: 17px; }
.hero-card-top small { color: var(--ink-2); }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding: 10px 4px 0; }
.bar { flex: 1; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #bcd2ff, #7ea6ff); position: relative; }
.bar.o { background: linear-gradient(180deg, #ffc3a8, #ff8f5c); }
.float-chip {
  position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); font-weight: 700; font-size: 14px; display: flex; gap: 9px; align-items: center;
}
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.float-chip.c1 { top: 4%; left: -6%; animation: float 5s ease-in-out infinite; }
.float-chip.c2 { bottom: 6%; right: -4%; animation: float 5.6s ease-in-out infinite 0.6s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ---------- 数据条 ---------- */
.stats-band { background: linear-gradient(120deg, var(--blue-deep), var(--blue)); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 38px 0; }
.stat { text-align: center; color: #fff; position: relative; }
.stat + .stat::before { content:''; position:absolute; left:-10px; top:8px; height:44px; width:1px; background: rgba(255,255,255,0.2); }
.stat .num { font-size: 38px; font-weight: 850; letter-spacing: -1px; }
.stat .num em { font-style: normal; color: #ffd0b8; font-size: 22px; margin-left: 2px; }
.stat .label { color: #c9d9ff; font-size: 14px; margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 14px; letter-spacing: -0.5px; }
.sec-head p { color: var(--ink-2); font-size: 17px; margin: 0; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual { position: relative; }
.about-art {
  border-radius: 26px; padding: 34px; color: #fff; overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--blue), var(--blue-deep));
  min-height: 380px;
}
.about-art::after { content:''; position:absolute; width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,0.07);right:-60px;bottom:-60px; }
.about-art .big-quote { font-size: 90px; line-height: 0.6; color: rgba(255,255,255,0.25); font-family: Georgia, serif; }
.about-art h3 { font-size: 26px; margin: 22px 0 14px; }
.about-art p { color: #d6e3ff; }
.about-badge {
  position: absolute; right: -18px; top: -22px; width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff;
  display: grid; place-items: center; text-align: center; font-weight: 800; box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.about-badge span { font-size: 13px; line-height: 1.25; }
.about-copy p { color: var(--ink-2); font-size: 16px; margin: 0 0 16px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.feature b { display: block; margin-bottom: 4px; }
.feature small { color: var(--ink-2); font-size: 13px; line-height: 1.5; }

/* ---------- 课程 ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: 0.28s; position: relative; display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.course-cover { height: 160px; display: grid; place-items: center; position: relative; overflow: hidden; }
.course-cover .emoji { font-size: 68px; filter: drop-shadow(0 12px 16px rgba(0,0,0,0.15)); z-index:1; transition: 0.3s; }
.course-card:hover .course-cover .emoji { transform: scale(1.12) rotate(-6deg); }
.cover-orange { background: linear-gradient(135deg,#ffb38a,#ff6b35); }
.cover-blue { background: linear-gradient(135deg,#8fb4ff,#1a56db); }
.cover-purple { background: linear-gradient(135deg,#b9a8ff,#7c5cff); }
.cover-green { background: linear-gradient(135deg,#8ee0a8,#16a34a); }
.cover-cyan { background: linear-gradient(135deg,#8adce8,#0891b2); }
.cover-pink { background: linear-gradient(135deg,#f6a5cc,#db2777); }
.course-cover::before { content:'';position:absolute;width:180px;height:180px;border:2px solid rgba(255,255,255,0.3);border-radius:50%;right:-40px;top:-50px; }
.course-badge { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--orange); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 20px; z-index:2; }
.course-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.course-cat { font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 4px 11px; border-radius: 20px; align-self: flex-start; }
.course-body h3 { font-size: 20px; margin: 14px 0 8px; }
.course-body p { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; flex: 1; }
.course-meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); margin-bottom: 16px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 16px; }
.course-price { font-size: 21px; font-weight: 850; color: var(--orange); }
.course-more { font-size: 14px; font-weight: 700; color: var(--blue); }

/* ---------- 师资 ---------- */
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teacher-card { text-align: center; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px 20px; box-shadow: var(--shadow-sm); transition:0.28s; }
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; color: #fff; font-size: 40px; font-weight: 800; border: 5px solid #fff; box-shadow: 0 8px 22px rgba(20,45,100,0.15); }
.av-orange{background:linear-gradient(135deg,#ffb38a,#ff6b35)} .av-blue{background:linear-gradient(135deg,#8fb4ff,#1a56db)}
.av-purple{background:linear-gradient(135deg,#b9a8ff,#7c5cff)} .av-green{background:linear-gradient(135deg,#8ee0a8,#16a34a)}
.teacher-card h3 { font-size: 19px; margin: 0 0 3px; }
.teacher-title { color: var(--orange); font-weight: 700; font-size: 13px; }
.teacher-years { display:inline-block; font-size:12px; color:var(--ink-2); background:var(--bg-soft); padding:3px 10px; border-radius:20px; margin:8px 0; }
.teacher-card p { font-size: 13px; color: var(--ink-2); margin: 8px 0 0; }

/* ---------- 新闻 ---------- */
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.news-item {
  display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; transition: 0.22s; align-items: flex-start;
}
.news-item:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.news-date { flex-shrink: 0; text-align: center; background: var(--blue-soft); border-radius: 12px; padding: 10px 12px; color: var(--blue); }
.news-date .d { font-size: 22px; font-weight: 850; line-height: 1; }
.news-date .m { font-size: 11px; margin-top: 3px; }
.news-cat { font-size: 12px; color: var(--orange); font-weight: 700; }
.news-item h3 { font-size: 17px; margin: 5px 0 6px; }
.news-item p { font-size: 13px; color: var(--ink-2); margin: 0; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange), var(--orange-2)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 0; color: #fff; }
.cta-inner h2 { font-size: clamp(26px,3vw,38px); margin: 0 0 8px; }
.cta-inner p { margin: 0; color: rgba(255,255,255,0.9); font-size: 17px; }
.btn-white { background: #fff; color: var(--orange); }
.btn-white:hover { transform: translateY(-2px); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue-deep); color: #cdd9f2; padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-mark { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 16px; margin: 0 0 18px; }
.footer-col p { font-size: 14px; margin: 9px 0; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px; text-align: center; font-size: 13px; color: #9fb0d4; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 24px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background:#fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; box-shadow: var(--shadow-sm); border-bottom:1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .nav-toggle { display: block; margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 64px; }
  .hero-visual { order: -1; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 4px; }
}
@media (max-width: 640px) {
  .section { padding: 66px 0; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
  .stat + .stat::before { display: none; }
  .course-grid, .teacher-grid, .news-list { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-chip.c1 { left: 0; }
  .float-chip.c2 { right: 0; }
}
