@charset "utf-8";
/* ============================================================
   烟台云 AIGC 专题页 专属样式
   独立文件，删除模板 <link> 即不影响站内其他页面
   ============================================================ */

/* ---------- 基础 ---------- */
.ag { background: #08152b; color: #cbd8ec; }
.ag-wrap { width: 1200px; margin: 0 auto; }
@media screen and (max-width: 1279px) { .ag-wrap { width: 98%; } }

/* ---------- HERO ---------- */
.ag-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 18% 18%, rgba(46,140,255,.28), transparent 62%),
    radial-gradient(760px 380px at 82% 30%, rgba(0,214,190,.18), transparent 60%),
    linear-gradient(140deg, #061026 0%, #0b1f42 46%, #123466 100%);
  padding: 78px 0 0;
}
/* 网格 + 扫描光 */
.ag-grid {
  position: absolute; inset: -2px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,170,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.10) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 40%, transparent 100%);
  animation: agGridMove 22s linear infinite;
}
@keyframes agGridMove { from { background-position: 0 0, 0 0; } to { background-position: 56px 56px, 56px 56px; } }
.ag-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(96,190,255,.85), transparent);
  animation: agScan 7s ease-in-out infinite;
}
@keyframes agScan { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(430px); opacity: 0; } }

.ag-hero-in { position: relative; z-index: 2; text-align: center; }
.ag-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 4px; color: #8fc4ff;
  border: 1px solid rgba(120,180,255,.34); padding: 6px 18px;
  background: rgba(20,60,120,.25);
}
.ag-kicker i { width: 6px; height: 6px; background: #39e0c8; box-shadow: 0 0 10px #39e0c8; }
.ag-title {
  margin: 26px 0 0; font-size: 62px; font-weight: 800; letter-spacing: 6px; line-height: 1.2;
  background: linear-gradient(180deg, #ffffff 40%, #9cc9ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(20,90,190,.45));
}
.ag-title span { -webkit-text-fill-color: #39e0c8; }
.ag-sub { margin: 18px auto 0; max-width: 760px; font-size: 16px; line-height: 2; color: #a8bdd9; }
.ag-btns { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ag-btn {
  display: inline-block; padding: 13px 34px; font-size: 15px; letter-spacing: 2px;
  border: 1px solid rgba(140,190,255,.5); color: #dceaff; transition: .25s;
}
.ag-btn:hover { background: rgba(120,180,255,.16); color: #fff; }
.ag-btn.solid { background: linear-gradient(100deg, #1b79d8, #2ea8f0); border-color: transparent; color: #fff; }
.ag-btn.solid:hover { filter: brightness(1.12); }

/* 数据条 */
.ag-stats {
  position: relative; z-index: 2; margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(120,170,255,.18);
  background: rgba(6,18,40,.55);
  backdrop-filter: blur(2px);
}
.ag-stat { padding: 26px 10px; text-align: center; border-right: 1px solid rgba(120,170,255,.14); }
.ag-stat:last-child { border-right: 0; }
.ag-stat b {
  display: block; font-size: 40px; font-weight: 800; color: #fff; line-height: 1.1;
  text-shadow: 0 0 22px rgba(60,150,255,.55);
}
.ag-stat b em { font-size: 18px; font-style: normal; color: #7fd8ff; margin-left: 2px; }
.ag-stat span { display: block; margin-top: 8px; font-size: 13px; color: #9db3d1; letter-spacing: 1px; }

/* ---------- 区块通用 ---------- */
.ag-sec { padding: 78px 0; }
.ag-sec.alt { background: #0a1a34; }
.ag-sec-tit { text-align: center; margin-bottom: 46px; }
.ag-sec-tit h2 {
  font-size: 34px; font-weight: 700; letter-spacing: 3px; color: #fff;
  text-shadow: 0 4px 18px rgba(20,90,190,.35);
}
.ag-sec-tit h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, #39b6ff, transparent);
}
.ag-sec-tit p { margin-top: 14px; font-size: 14.5px; color: #8fa6c6; letter-spacing: 1px; }

/* ---------- 能力矩阵 ---------- */
.ag-abi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ag-card {
  position: relative; padding: 30px 26px 28px; overflow: hidden;
  background: linear-gradient(160deg, rgba(24,52,100,.72), rgba(10,26,52,.72));
  border: 1px solid rgba(120,170,255,.16);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.ag-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, #39b6ff, #39e0c8);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.ag-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(60,160,255,.28), transparent 70%);
  opacity: 0; transition: opacity .45s;
}
.ag-card:hover { transform: translateY(-6px); border-color: rgba(120,190,255,.45); box-shadow: 0 18px 40px rgba(4,20,50,.55); }
.ag-card:hover::before { transform: scaleX(1); }
.ag-card:hover::after { opacity: 1; }
.ag-ico {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(120,190,255,.35); background: rgba(20,60,120,.35);
  margin-bottom: 18px;
}
.ag-ico svg { width: 26px; height: 26px; }
.ag-card h3 { font-size: 19px; font-weight: 600; color: #fff; letter-spacing: 1px; }
.ag-card p { margin-top: 12px; font-size: 13.5px; line-height: 1.9; color: #9db3d1; }

/* ---------- 应用场景 ---------- */
.ag-scenes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid rgba(120,170,255,.16); }
.ag-scene {
  position: relative; padding: 34px 22px 38px; border-right: 1px solid rgba(120,170,255,.14);
  background: rgba(12,30,60,.5); transition: background .3s;
}
.ag-scene:last-child { border-right: 0; }
.ag-scene:hover { background: rgba(24,58,110,.7); }
.ag-scene .sn { font-size: 13px; color: #39e0c8; letter-spacing: 2px; }
.ag-scene h4 { margin-top: 12px; font-size: 17px; color: #fff; font-weight: 600; }
.ag-scene p { margin-top: 12px; font-size: 13px; line-height: 1.9; color: #93a9c8; }

/* ---------- 服务流程 ---------- */
.ag-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ag-step { position: relative; padding: 8px 24px; text-align: center; }
.ag-step + .ag-step::before {
  content: ""; position: absolute; left: 0; top: 34px; width: 1px; height: 70px;
  background: linear-gradient(180deg, transparent, rgba(120,190,255,.4), transparent);
}
.ag-step .n {
  font-size: 40px; font-weight: 800; letter-spacing: 2px;
  background: linear-gradient(180deg, #4fb4ff, rgba(60,140,240,.15));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ag-step h4 { margin-top: 10px; font-size: 17px; color: #fff; font-weight: 600; letter-spacing: 1px; }
.ag-step p { margin-top: 10px; font-size: 13px; line-height: 1.85; color: #8fa6c6; }

/* ---------- CTA ---------- */
.ag-cta {
  position: relative; overflow: hidden; text-align: center; padding: 72px 0;
  background: linear-gradient(100deg, #0d2a55 0%, #14508f 48%, #1b79d8 100%);
}
.ag-cta::before,
.ag-cta::after {
  content: ""; position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
}
.ag-cta::before { right: -80px; top: -90px; width: 300px; height: 300px; }
.ag-cta::after  { left: -60px; bottom: -120px; width: 260px; height: 260px; }
.ag-cta h2 { position: relative; font-size: 32px; color: #fff; font-weight: 700; letter-spacing: 3px; }
.ag-cta p { position: relative; margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.85); line-height: 2; }
.ag-cta .ag-btns { position: relative; margin-top: 30px; }

/* ---------- 滚动入场 ---------- */
.ag .rv { opacity: 0; transform: translateY(28px); }
.ag .rv.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.ag-abi.rv.in .ag-card:nth-child(2) { transition-delay: .1s; }
.ag-abi.rv.in .ag-card:nth-child(3) { transition-delay: .2s; }
.ag-abi.rv.in .ag-card:nth-child(4) { transition-delay: .1s; }
.ag-abi.rv.in .ag-card:nth-child(5) { transition-delay: .2s; }
.ag-abi.rv.in .ag-card:nth-child(6) { transition-delay: .3s; }
.ag-scenes.rv.in .ag-scene:nth-child(2) { transition-delay: .08s; }
.ag-scenes.rv.in .ag-scene:nth-child(3) { transition-delay: .16s; }
.ag-scenes.rv.in .ag-scene:nth-child(4) { transition-delay: .24s; }
.ag-scenes.rv.in .ag-scene:nth-child(5) { transition-delay: .32s; }
.ag-steps.rv.in .ag-step:nth-child(2) { transition-delay: .1s; }
.ag-steps.rv.in .ag-step:nth-child(3) { transition-delay: .2s; }
.ag-steps.rv.in .ag-step:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .ag .rv { opacity: 1; transform: none; }
  .ag-grid, .ag-scan { animation: none; }
}

/* ---------- 移动端 ---------- */
@media screen and (max-width: 1279px) {
  .ag-title { font-size: 46px; }
  .ag-scenes { grid-template-columns: repeat(3, 1fr); }
  .ag-scene { border-bottom: 1px solid rgba(120,170,255,.14); }
}
@media screen and (max-width: 768px) {
  .ag-hero { padding: 46px 0 0; }
  .ag-title { font-size: 30px; letter-spacing: 2px; }
  .ag-sub { font-size: 14px; }
  .ag-stats { grid-template-columns: repeat(2, 1fr); }
  .ag-stat { border-bottom: 1px solid rgba(120,170,255,.14); }
  .ag-stat b { font-size: 30px; }
  .ag-sec { padding: 48px 0; }
  .ag-sec-tit h2 { font-size: 24px; }
  .ag-abi { grid-template-columns: 1fr; gap: 14px; }
  .ag-scenes { grid-template-columns: 1fr; }
  .ag-steps { grid-template-columns: 1fr; }
  .ag-step + .ag-step::before { display: none; }
  .ag-cta h2 { font-size: 22px; }
}

/* ---------- 修正：数字与单位同行 ---------- */
.ag-stat b .num { display: inline-block; }
.ag-stat b em { display: inline-block; vertical-align: baseline; }
