/* ============================================================
   ACADEMY PAGE — AI学院专属样式
============================================================ */

/* 业务色板 */
:root {
  --c1: #3B82F6;  /* GEO    - 蓝 */
  --c2: #8B5CF6;  /* AIGC   - 紫 */
  --c3: #10B981;  /* Agent  - 绿 */
  --c4: #F59E0B;  /* Token  - 金 */
  --c5: #EF4444;  /* ADS    - 红 */
}

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, var(--navy3) 0%, var(--navy2) 40%, #0D2D55 100%);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41,169,225,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,169,225,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow1 { position:absolute; top:-80px; left:-100px; width:500px; height:500px; border-radius:50%; background:radial-gradient(circle, rgba(41,169,225,0.20), transparent 70%); }
.hero-glow2 { position:absolute; bottom:-120px; right:-80px; width:600px; height:600px; border-radius:50%; background:radial-gradient(circle, rgba(26,58,107,0.40), transparent 70%); }
.hero-glow3 { position:absolute; top:40%; left:55%; width:350px; height:350px; border-radius:50%; background:radial-gradient(circle, rgba(244,121,32,0.10), transparent 70%); }

/* 粒子 */
.hero-particles { position: absolute; inset: 0; }
.hparticle {
  position: absolute; border-radius: 50%;
  background: rgba(41,169,225,0.4);
  animation: hfloat 8s ease-in-out infinite;
}
@keyframes hfloat {
  0%,100% { transform: translateY(0) scale(1); opacity:0.4; }
  50% { transform: translateY(-24px) scale(1.15); opacity:0.7; }
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 5%;
  padding-top: 120px; padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(41,169,225,0.15); border: 1px solid rgba(41,169,225,0.3);
  border-radius: 100px; padding: 6px 18px; color: var(--blue);
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900; color: #fff; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.hero-title em { font-style: normal; color: var(--blue); }
.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600; color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 16px; color: rgba(255,255,255,0.55);
  max-width: 640px; line-height: 1.85; margin-bottom: 48px;
}

/* 5业务快速跳转 */
.hero-modules {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin-bottom: 20px;
}
.hero-mod {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px; padding: 20px 16px; text-align: center;
  cursor: pointer; transition: all 0.35s; position: relative; overflow: hidden;
}
.hero-mod::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 3px 3px 0 0;
}
.hero-mod:nth-child(1)::before { background: var(--c1); }
.hero-mod:nth-child(2)::before { background: var(--c2); }
.hero-mod:nth-child(3)::before { background: var(--c3); }
.hero-mod:nth-child(4)::before { background: var(--c4); }
.hero-mod:nth-child(5)::before { background: var(--c5); }
.hero-mod:hover {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25);
  transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}
.hero-mod-icon { font-size: 28px; margin-bottom: 8px; }
.hero-mod-label { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.4; font-weight: 500; }
.hero-mod-abbr { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }

/* 数据带 */
.hero-stats {
  display: flex; gap: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num { font-size: 32px; font-weight: 800; color: var(--blue); }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ============================================================
   SECTION SHARED (Academy)
============================================================ */
.section { padding: 96px 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section-head { margin-bottom: 60px; }
.section-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800; color: var(--navy); line-height: 1.2;
  margin-bottom: 14px;
}
.section-title em { font-style: normal; color: var(--blue); }
.section-desc { font-size: 16px; color: var(--muted); line-height: 1.8; white-space: nowrap; }

/* ============================================================
   DEFINITION BOX
============================================================ */
.def-box {
  border-radius: 12px; padding: 24px 28px; margin-bottom: 32px;
  position: relative; overflow: hidden;
}
.def-box-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.def-box p { font-size: 15px; line-height: 1.85; color: var(--text); }
.def-box p strong { font-weight: 700; }

/* ============================================================
   SERVICE CARDS
============================================================ */
.svc-grid { display: grid; gap: 16px; margin-bottom: 28px; }
.svc-grid.col2 { grid-template-columns: repeat(2, 1fr); }
.svc-grid.col3 { grid-template-columns: repeat(3, 1fr); }
.svc-grid.col4 { grid-template-columns: repeat(4, 1fr); }
.svc-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 12px; padding: 22px 20px;
  transition: all 0.3s; cursor: default; position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(0,0,0,0.08); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon { font-size: 26px; margin-bottom: 12px; }
.svc-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.svc-desc { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* 适配客户带 */
.client-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(41,169,225,0.06), rgba(41,169,225,0.02));
  border-radius: 10px; padding: 16px 20px; border-left: 4px solid var(--blue);
}
.client-bar-label { font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.client-tag {
  display: inline-block; background: rgba(41,169,225,0.10);
  color: var(--navy); border-radius: 100px; padding: 4px 14px;
  font-size: 13px; font-weight: 500;
}

/* ============================================================
   SUB-BLOCK & LISTS
============================================================ */
.sub-block-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

/* ============================================================
   MODULE A - GEO
============================================================ */
#a-geo { background: #fff; }

/* GEO 工作流 */
.geo-workflow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px;
}
.geo-wf-step {
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(59,130,246,0.02));
  border: 1.5px solid rgba(59,130,246,0.15);
  border-radius: 12px; padding: 24px 18px; text-align: center;
  position: relative; transition: all 0.3s;
}
.geo-wf-step:hover { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.35); transform: translateY(-5px); box-shadow: 0 12px 36px rgba(59,130,246,0.10); }
.geo-wf-num { font-size: 11px; font-weight: 800; color: var(--c1); letter-spacing: 0.1em; margin-bottom: 10px; }
.geo-wf-icon { font-size: 32px; margin-bottom: 10px; }
.geo-wf-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.geo-wf-desc { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   MODULE B - AIGC
============================================================ */
#b-aigc { background: #FAFBFF; }

.aigc-types {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px;
}
.aigc-type-card {
  border-radius: 12px; padding: 24px 18px; text-align: center;
  transition: all 0.3s; cursor: default; position: relative; overflow: hidden;
}
.aigc-type-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}
.aigc-type-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.aigc-type-card .at-icon { font-size: 36px; margin-bottom: 12px; }
.aigc-type-card .at-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.aigc-type-card .at-items { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.75; }
.aigc-type-1 { background: linear-gradient(135deg, #6366F1, #8B5CF6); }
.aigc-type-2 { background: linear-gradient(135deg, #EC4899, #8B5CF6); }
.aigc-type-3 { background: linear-gradient(135deg, #0EA5E9, #6366F1); }
.aigc-type-4 { background: linear-gradient(135deg, #8B5CF6, #EC4899); }

/* ============================================================
   MODULE C - Agent
============================================================ */
#c-agent { background: #fff; }

.agent-matrix {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px;
}
.agent-industry {
  border: 1.5px solid var(--border); border-radius: 12px; padding: 22px 20px;
  transition: all 0.3s; cursor: default; position: relative;
}
.agent-industry::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--c3);
  border-radius: 3px 3px 0 0;
}
.agent-industry:hover { border-color: rgba(16,185,129,0.35); box-shadow: 0 8px 28px rgba(16,185,129,0.08); transform: translateY(-4px); }
.agent-ind-icon { font-size: 28px; margin-bottom: 10px; }
.agent-ind-name { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.agent-ind-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.agent-ind-tag { background: rgba(16,185,129,0.08); color: #047857; border-radius: 100px; padding: 3px 12px; font-size: 12px; font-weight: 500; }

/* ============================================================
   MODULE D - Token
============================================================ */
#d-token { background: #FAFBFF; }

.token-visual {
  background: linear-gradient(135deg, var(--navy3) 0%, var(--navy2) 100%);
  border-radius: 16px; padding: 40px; margin-bottom: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
}
.token-vis-title { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.token-vis-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.85; margin-bottom: 24px; }
.token-vis-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.token-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: 10px; padding: 16px; text-align: center; }
.token-stat-num { font-size: 24px; font-weight: 800; color: var(--c4); }
.token-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.token-vis-right { display: flex; flex-direction: column; gap: 12px; }
.token-pipe {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px; padding: 14px 18px; transition: all 0.3s;
}
.token-pipe:hover { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); transform: translateX(6px); }
.token-pipe-icon { font-size: 22px; flex-shrink: 0; }
.token-pipe-name { font-size: 14px; font-weight: 600; color: #fff; }
.token-pipe-sub { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.token-pipe-badge {
  margin-left: auto; background: rgba(245,158,11,0.2); color: var(--c4);
  border-radius: 100px; padding: 3px 12px; font-size: 11px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
}

/* ============================================================
   MODULE E - ADS
============================================================ */
#e-ads { background: #fff; }

.ads-flow {
  display: flex; align-items: stretch; gap: 0; margin-bottom: 32px;
  overflow-x: auto; padding-bottom: 8px;
}
.ads-flow-step {
  flex: 1; min-width: 170px; background: #fff;
  border: 1.5px solid var(--border); border-radius: 12px; padding: 22px 18px; text-align: center;
  position: relative; transition: all 0.3s;
}
.ads-flow-step:not(:last-child)::after {
  content: '→'; position: absolute; right: -18px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--blue); z-index: 1; font-weight: 700;
}
.ads-flow-step:not(:last-child) { margin-right: 28px; }
.ads-flow-step:hover { background: linear-gradient(135deg, rgba(239,68,68,0.05), rgba(239,68,68,0.02)); border-color: rgba(239,68,68,0.3); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.ads-step-num { font-size: 12px; font-weight: 700; color: var(--c5); letter-spacing: 0.1em; margin-bottom: 8px; }
.ads-step-icon { font-size: 28px; margin-bottom: 8px; }
.ads-step-name { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.ads-step-desc { font-size: 12px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   CTA BANNER (Academy)
============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  padding: 72px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(41,169,225,0.15), transparent 70%);
}
.cta-banner h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 14px; position: relative; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 36px; position: relative; }
.cta-btns { display: flex; gap: 16px; justify-content: center; position: relative; }
.cta-btn-primary {
  background: var(--blue); color: #fff; padding: 15px 40px; border-radius: 8px;
  font-size: 16px; font-weight: 700; transition: all 0.3s;
}
.cta-btn-primary:hover { background: #1E90C8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(41,169,225,0.4); }
.cta-btn-outline {
  background: transparent; color: rgba(255,255,255,0.85);
  padding: 15px 40px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.3); font-size: 16px; font-weight: 600; transition: all 0.3s;
}
.cta-btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

/* ============================================================
   悬浮目录
============================================================ */
#toc {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: 10px;
}
.toc-dot {
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3);
  background: transparent; cursor: pointer; transition: all 0.3s; position: relative;
}
.toc-dot::after {
  content: attr(data-label); position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff; padding: 4px 12px; border-radius: 6px; font-size: 12px;
  font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.25s;
}
.toc-dot:hover::after, .toc-dot.active::after { opacity: 1; }
.toc-dot.active { background: var(--blue); border-color: var(--blue); transform: scale(1.3); }
.toc-dot:hover { background: rgba(255,255,255,0.4); }

/* 模块分隔线 */
.mod-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 0; }

/* ============================================================
   ACADEMY RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .hero-modules { grid-template-columns: repeat(3, 1fr); }
  .svc-grid.col4 { grid-template-columns: repeat(2, 1fr); }
  .aigc-types { grid-template-columns: repeat(2, 1fr); }
  .geo-workflow { grid-template-columns: repeat(2, 1fr); }
  .agent-matrix { grid-template-columns: repeat(2, 1fr); }
  .token-visual { grid-template-columns: 1fr; }
  .ads-flow { flex-wrap: wrap; }
  .ads-flow-step:not(:last-child)::after { display: none; }
  .ads-flow-step:not(:last-child) { margin-right: 0; }
  #toc { display: none; }
}
@media (max-width: 768px) {
  .hero-modules { grid-template-columns: repeat(2, 1fr); }
  .svc-grid.col3 { grid-template-columns: 1fr !important; }
  .svc-grid.col2 { grid-template-columns: 1fr !important; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .token-vis-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .hero-modules { grid-template-columns: 1fr 1fr; }
  .aigc-types { grid-template-columns: 1fr !important; }
  .geo-workflow { grid-template-columns: 1fr !important; }
}
