/* ==========================================================================
   翼程教育官网 - 深蓝科技风主题
   参考原站 yichengjiaoyu.net 视觉体系复刻
   ========================================================================== */

:root {
  --bg-base: #070d24;
  --bg-deep: #040918;
  --bg-panel: #0b1432;
  --bg-card: rgba(255, 255, 255, 0.045);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --line: rgba(148, 178, 255, 0.14);
  --line-soft: rgba(148, 178, 255, 0.09);

  --text-hi: #eef3ff;
  --text-mid: #c3d0e8;
  --text-low: #8fa3c4;

  --amber: #f59e0b;
  --amber-2: #fbbf24;
  --orange: #f97316;
  --orange-deep: #ea580c;
  --blue: #2563eb;
  --blue-2: #38bdf8;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 18px 40px rgba(2, 6, 23, 0.55);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

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

::selection { background: rgba(245, 158, 11, 0.35); color: #fff; }

/* ==========================================================================
   头部导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 36, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand { display: flex; flex-direction: column; line-height: 1.15; flex-shrink: 0; }
.brand-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #ffd166, var(--amber-2), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-since {
  font-size: 12px;
  color: var(--text-low);
  letter-spacing: 2px;
  border-left: 2px solid var(--amber);
  padding-left: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 12px;
  font-size: 14.5px;
  color: var(--text-mid);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.header-phone {
  flex-shrink: 0;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #0b1023;
  background: linear-gradient(120deg, var(--amber-2), var(--orange));
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.header-phone:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   首屏 Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 72px 0 60px;
  background:
    radial-gradient(900px 480px at 15% -10%, rgba(37, 99, 235, 0.28), transparent 60%),
    radial-gradient(700px 420px at 95% 5%, rgba(56, 189, 248, 0.16), transparent 55%),
    linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-base) 100%);
  overflow: hidden;
}

/* 星空点阵背景 */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(148, 197, 255, 0.35) 1px, transparent 1.5px),
    radial-gradient(rgba(148, 197, 255, 0.2) 1px, transparent 1.5px);
  background-size: 34px 34px, 17px 17px;
  background-position: 0 0, 8px 10px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--amber-2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.08);
  margin-bottom: 22px;
}

.hero-main h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-hi);
  letter-spacing: 1px;
}
.hero-main h1 span {
  background: linear-gradient(120deg, #ffd166, var(--amber-2), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin-top: 18px;
  max-width: 620px;
  font-size: 15px;
  color: var(--text-low);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}
.hero-stats li b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--text-hi);
  background: linear-gradient(120deg, #fff, #bfd6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats li span { font-size: 13px; color: var(--text-low); }

/* 时间轴 */
.hero-timeline {
  position: relative;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(8px);
}
.timeline-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 20px;
  padding-left: 6px;
  border-left: 3px solid var(--amber);
}
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--blue-2), var(--amber));
  border-radius: 2px;
}
.timeline li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-mid);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber-2);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18), 0 0 12px rgba(245, 158, 11, 0.6);
}
.timeline li:nth-child(2)::before, .timeline li:nth-child(4)::before { background: var(--blue-2); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16), 0 0 12px rgba(56, 189, 248, 0.5); }
.timeline b { font-size: 14px; color: var(--text-hi); min-width: 64px; }
.timeline span { font-size: 14px; }

/* ==========================================================================
   报考攻略表单
   ========================================================================== */
.hero-form {
  position: relative;
  margin-top: 60px;
  padding: 34px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(520px 220px at 8% 0%, rgba(245, 158, 11, 0.12), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}
.hero-form h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1.5;
  text-align: center;
}
.hero-form-sub { text-align: center; color: var(--amber-2); font-size: 14px; margin-top: 6px; }

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr auto;
  gap: 14px;
  margin-top: 24px;
}
.lead-form select,
.lead-form input[type="tel"] {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(7, 13, 36, 0.6);
  color: var(--text-hi);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c3d0e8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.lead-form select option { color: #0b1023; background: #fff; }
.lead-form input::placeholder { color: var(--text-low); }
.lead-form select:focus,
.lead-form input[type="tel"]:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 30px;
  font-size: 15.5px;
  font-weight: 700;
  color: #120d02;
  background: linear-gradient(120deg, #ffd166, var(--amber-2) 45%, var(--orange));
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 28px rgba(245, 158, 11, 0.5); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; border-radius: 8px; margin-top: 16px; }

.form-privacy { text-align: center; font-size: 12.5px; color: var(--text-low); margin-top: 14px; }
.form-result { text-align: center; font-size: 14px; margin-top: 10px; min-height: 22px; color: #6ee7b7; }
.form-result.error { color: #fca5a5; }

/* ==========================================================================
   通用版块
   ========================================================================== */
.section-head {
  text-align: center;
  margin-bottom: 46px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--text-hi);
  letter-spacing: 1px;
}
.section-head p { margin-top: 10px; color: var(--text-low); font-size: 14.5px; }
.section-head .section-sub { max-width: 680px; margin: 10px auto 0; }
.more-link { display: inline-block; margin-top: 18px; color: var(--amber-2); font-size: 14px; }
.more-link:hover { text-decoration: underline; }

section { padding: 84px 0; }
section:nth-of-type(even) { background: linear-gradient(180deg, var(--bg-base), var(--bg-panel), var(--bg-base)); }

/* ==========================================================================
   人群画像 #persona
   ========================================================================== */
.persona-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}
.persona-tab {
  padding: 10px 22px;
  font-size: 14.5px;
  color: var(--text-mid);
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  transition: all 0.25s;
}
.persona-tab:hover { color: #fff; border-color: var(--line); }
.persona-tab.active {
  color: #120d02;
  font-weight: 700;
  background: linear-gradient(120deg, var(--amber-2), var(--orange));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.persona-panels { position: relative; min-height: 300px; }
.persona-panel {
  display: none;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.persona-panel.active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.persona-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 13px;
  color: var(--blue-2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  margin-bottom: 16px;
}
.persona-panel h3 { font-size: 23px; font-weight: 800; color: var(--text-hi); margin-bottom: 8px; }
.persona-lead { color: var(--text-mid); margin-bottom: 16px; max-width: 760px; }
.persona-panel ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--text-mid);
  max-width: 780px;
}
.persona-panel ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(120deg, var(--amber-2), var(--orange));
  transform: rotate(45deg);
}
.persona-schools { margin-top: 14px; font-size: 14px; color: var(--amber-2); }

/* ==========================================================================
   业务矩阵 #services
   ========================================================================== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.service-card {
  text-align: left;
  padding: 24px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all 0.25s;
}
.service-card:hover { background: var(--bg-card-hover); transform: translateY(-4px); }
.service-card.active {
  border-color: rgba(245, 158, 11, 0.55);
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.14), rgba(245, 158, 11, 0.04));
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.12);
}
.sc-icon { font-size: 30px; display: block; margin-bottom: 12px; }
.service-card h3 { font-size: 18px; font-weight: 800; color: var(--text-hi); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--text-low); min-height: 44px; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.service-card ul li {
  font-size: 12px;
  color: var(--blue-2);
  padding: 3px 10px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
}
.service-card.active ul li { color: var(--amber-2); border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.1); }

.service-panel {
  display: none;
  padding: 40px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.service-panel.active { display: block; animation: fadeUp 0.35s ease; }

.sp-head h3 { font-size: 26px; font-weight: 800; color: var(--text-hi); }
.sp-head p { margin-top: 6px; color: var(--amber-2); font-size: 14px; letter-spacing: 1px; }
.sp-desc { margin-top: 14px; color: var(--text-mid); max-width: 820px; }

.sp-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
  margin-top: 30px;
}
.sp-schools, .sp-info {
  padding: 24px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(7, 13, 36, 0.5);
}
.sp-schools h4, .sp-info h4 { font-size: 16px; font-weight: 700; color: var(--text-hi); margin-bottom: 14px; }
.sp-schools ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
.sp-schools ul li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-mid);
}
.sp-schools ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-2);
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14px;
}
.info-list li:last-child { border-bottom: none; }
.info-list span { color: var(--text-low); flex-shrink: 0; }
.info-list b { color: var(--text-hi); font-weight: 600; text-align: right; }

.sp-audience { margin-top: 26px; }
.sp-audience h4 { font-size: 15px; color: var(--text-hi); margin-bottom: 12px; }
.sp-audience ul { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-audience ul li {
  padding: 8px 20px;
  font-size: 14px;
  color: var(--text-mid);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
}

/* ==========================================================================
   行业洞察 #insights
   ========================================================================== */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all 0.25s;
}
.insight-card:hover { background: var(--bg-card-hover); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.insight-card .ic-tag {
  align-self: flex-start;
  padding: 4px 14px;
  font-size: 12.5px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tag-policy { color: var(--amber-2); border: 1px solid rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.1); }
.tag-career { color: var(--blue-2); border: 1px solid rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.1); }
.tag-gov { color: #a78bfa; border: 1px solid rgba(167, 139, 250, 0.4); background: rgba(167, 139, 250, 0.1); }
.insight-card time { font-size: 12.5px; color: var(--text-low); }
.insight-card h3 { font-size: 18px; font-weight: 700; color: var(--text-hi); line-height: 1.55; margin: 10px 0 12px; flex: 1; }
.insight-card p { font-size: 13.5px; color: var(--text-low); margin-bottom: 16px; }
.insight-card a { font-size: 14px; color: var(--amber-2); }
.insight-card a:hover { text-decoration: underline; }

/* ==========================================================================
   学员案例 #testimonials
   ========================================================================== */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card {
  padding: 30px 28px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all 0.25s;
}
.t-card:hover { background: var(--bg-card-hover); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.t-avatar {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #120d02;
  background: linear-gradient(135deg, var(--amber-2), var(--orange));
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.t-card h3 { font-size: 17px; font-weight: 700; color: var(--text-hi); }
.t-major { font-size: 12.5px; color: var(--blue-2); margin-top: 4px; }
.t-card blockquote {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  quotes: "“" "”";
}
.t-card blockquote::before { content: "“"; color: var(--amber); font-size: 26px; vertical-align: -6px; margin-right: 2px; }
.t-card blockquote::after { content: "”"; color: var(--amber); font-size: 26px; vertical-align: -6px; margin-left: 2px; }

/* ==========================================================================
   媒体报道 #media
   ========================================================================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.media-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all 0.25s;
}
.media-card:hover { background: var(--bg-card-hover); transform: translateY(-5px); box-shadow: var(--shadow-card); }
.mc-badge {
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #120d02;
  background: linear-gradient(120deg, var(--amber-2), var(--orange));
  border-radius: 6px;
  margin-bottom: 12px;
}
.media-card time { font-size: 12.5px; color: var(--text-low); }
.media-card h3 { font-size: 16.5px; font-weight: 700; color: var(--text-hi); line-height: 1.55; margin: 10px 0 10px; flex: 1; }
.media-card p { font-size: 13.5px; color: var(--text-low); margin-bottom: 16px; }
.media-card footer { display: flex; justify-content: space-between; align-items: center; }
.mc-source { font-size: 13px; color: var(--blue-2); }
.media-card footer a { font-size: 13.5px; color: var(--amber-2); }
.media-card footer a:hover { text-decoration: underline; }

/* ==========================================================================
   问答知识库 #qa
   ========================================================================== */
.qa-search { max-width: 560px; margin: 0 auto 30px; }
.qa-search input {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 13, 36, 0.6);
  color: var(--text-hi);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.qa-search input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16); }
.qa-search input::placeholder { color: var(--text-low); }

.qa-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.qa-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s;
}
.qa-item[open] { border-color: var(--line); background: var(--bg-card-hover); }
.qa-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-hi);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-arrow { color: var(--text-low); transition: transform 0.25s; }
.qa-item[open] .qa-arrow { transform: rotate(180deg); color: var(--amber); }
.qa-body { padding: 0 22px 20px; }
.qa-body p { font-size: 14px; color: var(--text-mid); margin-bottom: 10px; line-height: 1.85; }
.qa-body em { color: var(--amber-2); font-style: normal; font-weight: 600; }

/* ==========================================================================
   FAQ #faq
   ========================================================================== */
.faq-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.faq-cat {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.faq-cat h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-hi);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.faq-item {
  border-bottom: 1px dashed var(--line-soft);
  padding: 12px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--text-hi); }
.faq-item summary span { color: var(--text-low); font-size: 13px; transition: transform 0.25s; flex-shrink: 0; }
.faq-item[open] summary { color: var(--text-hi); }
.faq-item[open] summary span { transform: rotate(180deg); color: var(--amber); }
.faq-item p { font-size: 13.5px; color: var(--text-low); padding-top: 10px; line-height: 1.85; }

/* ==========================================================================
   服务对比
   ========================================================================== */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td {
  padding: 16px 22px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.compare-table thead th {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-hi);
  background: rgba(255, 255, 255, 0.05);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(255, 255, 255, 0.03); }
.compare-table td:first-child { font-weight: 600; color: var(--text-hi); white-space: nowrap; }
.compare-table .col-us { color: #ffe2a8; }
.compare-table th.col-us { color: var(--amber-2); }

.compare-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  text-align: center;
}
.compare-stats li {
  padding: 30px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.compare-stats b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(120deg, #ffd166, var(--amber-2), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.compare-stats span { font-size: 14px; color: var(--text-low); margin-top: 6px; display: block; }

/* ==========================================================================
   关于我们 #about
   ========================================================================== */
.about-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 48px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(480px 220px at 50% 0%, rgba(37, 99, 235, 0.16), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.about-card h2 { font-size: 28px; font-weight: 800; color: var(--text-hi); }
.about-desc { margin-top: 12px; color: var(--text-mid); }
.about-card h3 { margin-top: 34px; font-size: 16px; font-weight: 700; color: var(--text-hi); }
.about-license {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.about-license li {
  padding: 18px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(7, 13, 36, 0.5);
}
.about-license span { display: block; font-size: 12.5px; color: var(--text-low); }
.about-license b { display: block; margin-top: 6px; font-size: 15px; color: var(--text-hi); }
.about-pledge { margin-top: 26px; font-size: 13.5px; color: var(--text-low); line-height: 1.9; }

/* ==========================================================================
   底部
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 36px;
  background: var(--bg-deep);
}
.footer-license { text-align: center; max-width: 760px; margin: 0 auto; }
.footer-license h3 { font-size: 15px; font-weight: 700; color: var(--text-hi); margin-bottom: 18px; }
.license-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.license-list li span { display: block; font-size: 12px; color: var(--text-low); }
.license-list li b { display: block; margin-top: 4px; font-size: 14px; color: var(--text-hi); }
.license-pledge { margin-top: 20px; font-size: 12.5px; color: var(--text-low); line-height: 1.9; }
.footer-copy {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 12.5px;
  color: var(--text-low);
}
.footer-copy a:hover { color: var(--amber-2); }

/* 悬浮咨询 */
.float-consult {
  position: fixed;
  right: 26px;
  bottom: 40px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-2), var(--orange));
  color: #120d02;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
  transition: transform 0.25s;
}
.float-consult:hover { transform: translateY(-4px) scale(1.04); }
.fc-icon { font-size: 22px; margin-top: 12px; line-height: 1; }
.fc-tip { font-size: 11px; font-weight: 700; }

/* ==========================================================================
   指南列表页 / 文章详情页
   ========================================================================== */
.page-hero {
  padding: 64px 0 10px;
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(37, 99, 235, 0.2), transparent 65%),
    linear-gradient(180deg, var(--bg-panel), var(--bg-base));
}
.page-hero h1 { font-size: 34px; font-weight: 800; color: var(--text-hi); }
.page-hero p { margin-top: 8px; color: var(--text-low); }

.guide-list { padding-top: 44px; min-height: 60vh; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.guide-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all 0.25s;
}
.guide-card:hover { background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.guide-link { display: flex; flex-direction: column; padding: 26px 28px; height: 100%; }
.gc-tag {
  align-self: flex-start;
  padding: 3px 12px;
  font-size: 12px;
  color: var(--blue-2);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  margin-bottom: 12px;
}
.guide-card time { font-size: 12.5px; color: var(--text-low); }
.guide-card h3 { font-size: 18px; font-weight: 700; color: var(--text-hi); margin: 10px 0 10px; line-height: 1.5; }
.guide-card p { font-size: 13.5px; color: var(--text-low); flex: 1; }
.guide-card footer {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 13px;
}
.gc-views { color: var(--text-low); }
.gc-more { color: var(--amber-2); }
.guide-card:hover .gc-more { text-decoration: underline; }

.empty-tip { text-align: center; color: var(--text-low); padding: 80px 0; }

/* 文章详情 */
.article-page { padding: 40px 0 80px; }
.article-container { max-width: 860px; }
.back-link { display: inline-block; color: var(--text-low); font-size: 14px; margin-bottom: 22px; transition: color 0.2s; }
.back-link:hover { color: var(--amber-2); }

.article-detail {
  padding: 40px 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.article-detail header .gc-tag { margin-bottom: 16px; }
.article-detail h1 { font-size: 30px; font-weight: 800; color: var(--text-hi); line-height: 1.4; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--text-low);
}
.article-body { padding: 26px 0 10px; }
.article-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-hi);
  margin: 26px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--amber);
}
.article-body h3:first-child { margin-top: 0; }
.article-body p { font-size: 15px; color: var(--text-mid); line-height: 2; margin-bottom: 14px; }
.article-body strong { color: var(--text-hi); }

.article-sign {
  margin-top: 22px;
  padding: 16px 18px;
  font-size: 13px;
  color: var(--text-low);
  background: rgba(7, 13, 36, 0.5);
  border-radius: var(--radius-sm);
  line-height: 1.8;
}

.article-cta {
  margin-top: 26px;
  padding: 30px 36px;
  text-align: center;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.03));
}
.article-cta h3 { font-size: 20px; font-weight: 800; color: var(--text-hi); }
.article-cta p { font-size: 14px; color: var(--text-mid); margin: 6px 0 18px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .faq-cats { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-timeline { max-width: 460px; }
  .lead-form { grid-template-columns: 1fr 1fr; }
  .lead-form .btn-primary { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .header-inner { height: 62px; }
  .main-nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(7, 13, 36, 0.97);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    margin-left: 0;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 12px 10px; }
  .header-phone { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .insight-grid, .t-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .sp-grid { grid-template-columns: 1fr; }
  .sp-schools ul { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .lead-form { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stats li b { font-size: 24px; }
  .compare-stats { grid-template-columns: 1fr; }
  .about-license { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .article-detail { padding: 26px 22px; }
  .article-detail h1 { font-size: 24px; }
  .persona-panel { padding: 24px 20px; }
  .hero-form { padding: 26px 20px; }
  .service-panel { padding: 26px 20px; }
}

/* ==========================================================================
   移动端底部导航
   ========================================================================== */
.m-nav { display: none; }

@media (max-width: 768px) {
  body { padding-bottom: 62px; }

  .m-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    height: 58px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background: rgba(7, 13, 36, 0.96);
    border-top: 1px solid var(--line-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .m-nav-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: none;
    background: none;
    padding: 4px 2px;
    color: var(--text-low);
    font-size: 11px;
    line-height: 1.2;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .m-nav-item .mn-ico { font-size: 20px; line-height: 1; }
  .m-nav-item.active { color: var(--amber); }
  .m-nav-item.active .mn-ico { filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.55)); }

  /* 中间凸起咨询按钮 */
  .m-nav-cta { color: #ffffff; }
  .m-nav-cta .mn-ico {
    width: 46px;
    height: 46px;
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 50%;
    color: #120d02;
    background: linear-gradient(135deg, #ffd166, var(--amber-2) 45%, var(--orange));
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.45);
  }
  .m-nav-cta:active .mn-ico { transform: scale(0.94); }
}
