/* ============================================
   壹加壹教育 · 子站样式
   配色：教育培训（天蓝+明黄）
   ============================================ */

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #0ea5e9;
  --secondary: #7c3aed;
  --secondary-dark: #6d28d9;
  --accent: #facc15;
  --accent-dark: #eab308;
  --bg: #f0f9ff;
  --bg-card: #ffffff;
  --bg-hero: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #fef9c3 100%);
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #bae6fd;
  --border-light: #e0f2fe;
  --shadow: 0 4px 20px rgba(2, 132, 199, 0.1);
  --shadow-hover: 0 8px 30px rgba(2, 132, 199, 0.18);
  --radius: 12px;
  --radius-lg: 16px;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --nav-border: var(--border);
  --footer-bg: linear-gradient(135deg, #0c4a6e, #082f49);
  --footer-text: #cbd5e1;
  --footer-accent: var(--accent);
}

* { 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;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === 导航 === */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--nav-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.logo-title { font-size: 20px; font-weight: 800; color: var(--primary-dark); }
.logo-sub { font-size: 12px; color: var(--text-muted); }
.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; flex: 1; justify-content: center; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: all 0.2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--primary); color: white; }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: white !important; font-weight: 600 !important;
}
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

/* === Hero === */
.hero { background: var(--bg-hero); padding: 80px 0; position: relative; overflow: hidden; }
.hero h1 { font-size: 42px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; color: var(--text); }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; max-width: 700px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 50px; flex-wrap: wrap; }
.stat-item h3 { font-size: 36px; font-weight: 800; color: var(--primary); }
.stat-item p { font-size: 14px; color: var(--text-muted); }

/* === 按钮 === */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 50px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.3s; text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-secondary {
  background: white; color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1e293b;
}

/* === 区块 === */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-title h2 span { color: var(--primary); }
.section-title p { font-size: 16px; color: var(--text-muted); }

/* === 卡片 === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow);
  transition: all 0.3s; border: 1px solid var(--border);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-icon { font-size: 40px; margin-bottom: 16px; }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* === 高亮框 === */
.highlight-box {
  background: linear-gradient(135deg, var(--bg), white);
  border-left: 4px solid var(--primary);
  padding: 20px 24px; border-radius: 0 12px 12px 0; margin-bottom: 16px;
}
.highlight-box p { font-size: 15px; line-height: 1.8; }
.highlight-box strong { color: var(--primary-dark); }

/* === 表格 === */
.data-table { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th {
  background: var(--primary); color: white;
  padding: 14px 16px; text-align: left; font-weight: 600; font-size: 14px;
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.data-table tr:nth-child(even) { background: var(--bg); }

/* === FAQ（全部展开，禁止折叠） === */
.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item {
  background: white; border-radius: 12px; margin-bottom: 12px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  padding: 24px;
}
.faq-question {
  font-weight: 700; font-size: 16px; color: var(--primary-dark);
  margin-bottom: 10px; display: flex; gap: 8px;
}
.faq-question::before { content: "Q"; flex-shrink: 0; }
.faq-answer { font-size: 15px; color: var(--text-muted); line-height: 1.8; padding-left: 20px; }
.faq-answer::before { content: "A: "; font-weight: 700; color: var(--primary); }

/* === 案例卡片 === */
.case-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.3s; border: 1px solid var(--border);
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.case-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 24px; color: white;
}
.case-header h3 { font-size: 20px; font-weight: 700; }
.case-tag {
  display: inline-block; background: rgba(255,255,255,0.2);
  padding: 4px 12px; border-radius: 20px; font-size: 12px; margin-top: 8px;
}
.case-body { padding: 24px; }
.case-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.case-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); margin-top: 16px; flex-wrap: wrap; }

/* === 团队卡片 === */
.team-card { text-align: center; }
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: white;
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--text-muted); }

/* === CTA === */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; padding: 60px 0; text-align: center;
}
.cta-section h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; }
.cta-section .btn-accent { font-size: 18px; padding: 16px 40px; }
.cta-phone {
  font-size: 28px; font-weight: 800; color: var(--accent);
  margin-bottom: 20px; display: block;
}

/* === 联系块 === */
.contact-block {
  background: white; border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.contact-block h3 { font-size: 20px; margin-bottom: 16px; color: var(--primary-dark); }
.contact-line { font-size: 16px; margin-bottom: 10px; color: var(--text); }
.contact-line strong { color: var(--primary-dark); }

/* === 页脚 === */
.footer { background: var(--footer-bg); color: white; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer h4 { font-size: 16px; margin-bottom: 16px; color: var(--footer-accent); }
.footer li { margin-bottom: 8px; font-size: 14px; color: var(--footer-text); }
.footer a:hover { color: var(--footer-accent); }
.footer-bottom {
  text-align: center; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: var(--text-light);
}


/* === 新组件：时间线 === */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content:''; position:absolute; left:8px; top:0; bottom:0; width:2px; background: var(--primary-light); }
.timeline-item { position: relative; padding-bottom: 25px; }
.timeline-item::before { content:''; position:absolute; left:-28px; top:6px; width:14px; height:14px; border-radius:50%; background: var(--accent); border:3px solid var(--primary-light); }
.timeline-item .year { font-weight:700; color: var(--primary-dark); font-size:18px; }
.timeline-item .desc { color: var(--text-light); margin-top:4px; }

/* === 新组件：流程步骤 === */
.process-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap:20px; margin-top:30px; }
.process-step { background:white; padding:24px; border-radius:12px; border:1px solid #eef2f6; }
.process-step .step-num { width:36px; height:36px; border-radius:50%; background: var(--primary); color:white; font-weight:700; display:flex; align-items:center; justify-content:center; margin-bottom:12px; }
.process-step h4 { margin-bottom:8px; }
.process-step p { color: var(--text-light); font-size:14px; line-height:1.7; }

/* === 新组件：价格表 === */
.pricing-table { width:100%; border-collapse: collapse; margin-top:20px; background:white; border-radius:12px; overflow:hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.pricing-table th { background: var(--primary-dark); color:white; padding:14px 16px; text-align:left; font-weight:600; }
.pricing-table td { padding:14px 16px; border-bottom:1px solid #eef2f6; }
.pricing-table tr:last-child td { border-bottom:none; }
.pricing-table tr:nth-child(even) { background:#f8fafc; }
.pricing-table .price { color: var(--accent-dark); font-weight:700; font-size:18px; }

/* === 新组件：师资分层 === */
.teacher-tier { background:white; border-radius:12px; padding:20px; margin-bottom:14px; border-left: 4px solid var(--primary); display:flex; gap:16px; align-items:flex-start; }
.teacher-tier .tier-badge { flex-shrink:0; width:60px; height:60px; border-radius:12px; background: var(--primary-light); color: var(--primary-dark); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; text-align:center; }
.teacher-tier h4 { margin-bottom:6px; }
.teacher-tier p { color: var(--text-light); font-size:14px; }

/* === 新组件：作息表 === */
.schedule-list { margin-top:20px; }
.schedule-row { display:flex; padding:12px 0; border-bottom:1px dashed #e2e8f0; }
.schedule-row .time { flex:0 0 130px; font-weight:600; color: var(--primary-dark); }
.schedule-row .activity { color: var(--text); }

/* === 新组件：证言卡片 === */
.testimonial-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap:20px; margin-top:20px; }
.testimonial { background:white; padding:24px; border-radius:12px; border:1px solid #eef2f6; color: var(--text-light); line-height:1.8; }
.testimonial .who { margin-top:14px; font-weight:600; color: var(--text); }

/* === 新组件：双栏 === */
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap:30px; margin-top:20px; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* === 新组件：标签 === */
.tag-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.tag { background: var(--primary-light); color: var(--primary-dark); padding:6px 14px; border-radius:20px; font-size:14px; font-weight:500; }

/* === 新组件：课程块 === */
.course-block { background:white; border-radius:12px; padding:28px; margin-bottom:20px; border:1px solid #eef2f6; }
.course-block h3 { color: var(--primary-dark); margin-bottom:12px; font-size:22px; }
.course-block .meta { display:flex; flex-wrap:wrap; gap:16px; margin:12px 0; color: var(--text-light); font-size:14px; }
.course-block .meta strong { color: var(--text); }
/* === 响应式 === */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: white; flex-direction: column; padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .stat-item h3 { font-size: 28px; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 24px; }
}

/* Native disclosure remains operable when JavaScript is unavailable. */
.faq-question { list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
