/* ===== 鱼跃AI 静态页面样式 ===== */
:root{
  --violet:#6d28d9;
  --violet-600:#7c3aed;
  --violet-500:#8b5cf6;
  --pink:#d946ef;
  --ink:#0f172a;
  --slate:#475569;
  --muted:#64748b;
  --cream:#fffdf7;
  --line:#e9e2f5;
  --bg:#f7f3ff;
  --shadow:0 8px 30px rgba(80,50,150,.06);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none}
.container{width:min(1100px,92vw);margin:0 auto}

/* 背景网格与光斑 */
.bg-decor{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.bg-decor::before{content:"";position:absolute;inset:0;
  background-image:radial-gradient(circle at 1px 1px,rgba(109,40,217,.13) 1px,transparent 0);
  background-size:26px 26px;opacity:.5}
.blob{position:absolute;border-radius:50%;filter:blur(64px);opacity:.35}
.blob.a{width:420px;height:420px;background:#d8b4fe;top:-120px;left:-80px}
.blob.b{width:380px;height:380px;background:#fbcfe8;bottom:-140px;right:0}
.blob.c{width:300px;height:300px;background:#c7d2fe;top:40%;right:-100px}

/* 导航 */
header{position:sticky;top:0;z-index:50;padding:14px 0 0}
.navbar{
  width:min(1100px,94vw);margin:0 auto;background:rgba(255,255,255,.9);
  backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.8);
  border-radius:999px;box-shadow:0 6px 24px rgba(80,50,150,.08);
  display:flex;align-items:center;gap:26px;padding:9px 12px 9px 16px;height:56px;
}
.brand{display:flex;align-items:center;gap:8px;font-weight:800;font-size:16px;color:var(--violet);white-space:nowrap}
.brand img{width:26px;height:26px;border-radius:8px;object-fit:cover}
.nav-links{display:flex;align-items:center;gap:22px;margin-left:auto}
.nav-links a{font-size:13px;color:#334155;font-weight:500;white-space:nowrap;transition:color .2s}
.nav-links a:hover{color:var(--violet)}
.nav-tools{display:flex;align-items:center;gap:8px}
.icon-btn{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#475569}
.icon-btn:hover{background:#f1eafe}
.pro-link{font-size:12px;color:var(--violet);font-weight:600;padding:6px 10px;border-radius:999px;background:#f3ecff;white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:999px;font-weight:600;transition:transform .2s,box-shadow .2s,background .2s;white-space:nowrap}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;box-shadow:0 6px 18px rgba(109,40,217,.28)}
.btn-primary:hover{box-shadow:0 10px 24px rgba(109,40,217,.36)}
.btn-sm{font-size:12px;padding:8px 16px}
.btn-lg{font-size:15px;padding:14px 26px}
.btn-ghost{background:#fff;border:1px solid #d8cbea;color:var(--ink)}
.btn-ghost:hover{border-color:var(--violet);color:var(--violet)}

/* Hero */
.hero{position:relative;overflow:hidden;padding:46px 0 70px;min-height:600px;display:flex;flex-direction:column;justify-content:center}
.hero .container{position:relative;z-index:2}
.hero-lines{position:absolute;inset:0;z-index:1;pointer-events:none}
.hero-lines svg{width:100%;height:100%}
.hero-center{text-align:center;display:flex;flex-direction:column;align-items:center}
.book{position:relative;width:64px;height:64px;border-radius:18px;overflow:hidden;
  background:linear-gradient(135deg,#8b5cf6,#6d28d9);box-shadow:0 10px 24px rgba(109,40,217,.3);margin-bottom:16px}
.book img{width:100%;height:100%;object-fit:cover;border-radius:18px}
.badge{display:inline-block;font-size:12px;color:var(--violet);background:#f1e9ff;border:1px solid #e2d3fb;
  padding:4px 13px;border-radius:999px;margin-bottom:18px}
.hero h1{font-size:clamp(34px,5vw,58px);line-height:1.22;font-weight:800;letter-spacing:-1px}
.hero h1 .grad{background:linear-gradient(100deg,#7c3aed,#c026d3);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-sub{color:var(--slate);font-size:15px;margin:18px 0 26px;max-width:600px}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.hero-nums{display:flex;gap:34px;margin-top:30px;color:var(--muted);font-size:12px}
.hero-nums b{color:var(--violet);font-size:15px;margin-right:3px}
.stat-bar{
  margin:44px auto 0;background:#fff;border:1px solid var(--line);border-radius:16px;
  box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);gap:10px;
  padding:16px 20px;max-width:560px;align-items:center
}
.stat-bar div{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--slate);justify-content:center}
.stat-bar .em{font-size:19px}
.stat-bar b{color:var(--violet);font-size:17px}
.stat-bar small{display:block;color:#94a3b8;font-size:10px}

/* 通用区块标题 */
section{position:relative}
.sec{padding:70px 0}
.section-head{text-align:center;margin-bottom:42px;position:relative;z-index:2}
.section-head h2{font-size:clamp(28px,4vw,42px);font-weight:800;letter-spacing:-.5px}
.section-head h2 .grad{background:linear-gradient(100deg,#7c3aed,#c026d3);-webkit-background-clip:text;background-clip:text;color:transparent}
.section-head p{color:var(--muted);font-size:14px;margin-top:10px}

/* 如何开始 */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;position:relative;z-index:2}
.step{text-align:center;position:relative}
.step-line{position:absolute;top:27px;left:50%;width:100%;border-top:2px dashed #d5c5f5;z-index:-1}
.step:last-child .step-line{display:none}
.step-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:17px;
  margin:0 auto 20px;position:relative;z-index:2;box-shadow:0 8px 18px rgba(0,0,0,.12)}
.step:nth-child(1) .step-icon{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}
.step:nth-child(2) .step-icon{background:linear-gradient(135deg,#2dd4bf,#0d9488)}
.step:nth-child(3) .step-icon{background:linear-gradient(135deg,#fb923c,#ea580c)}
.step-card{background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:20px 18px;box-shadow:var(--shadow);min-height:130px}
.step-card h3{font-size:15px;margin-bottom:9px}
.step-card p{font-size:12.5px;color:var(--muted);line-height:1.75}

/* 学习路径 bento */
.paths{display:grid;grid-template-columns:1.9fr 1fr;gap:16px;position:relative;z-index:2}
.path-card{background:var(--cream);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:22px}
.path-card h3{font-size:17px;display:flex;align-items:center;gap:8px}
.path-card .sub{font-size:12px;color:var(--muted);margin:4px 0 18px}
.path-card .milestones{display:flex;align-items:flex-start;justify-content:space-between;position:relative;gap:4px}
.path-card .milestones::before{content:"";position:absolute;top:21px;left:8%;right:8%;border-top:2px solid #e3daf5;z-index:0}
.ms{position:relative;z-index:1;text-align:center;flex:1}
.ms .circle{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:16px;background:#fff;
  border:2px solid #d9c9f7;margin:0 auto 8px}
.ms:nth-child(1) .circle{border-color:#86efac;background:#f0fdf4}
.ms:nth-child(2) .circle{border-color:#fde68a;background:#fffbeb}
.ms:nth-child(3) .circle{border-color:#fcd34d;background:#fffbeb}
.ms:nth-child(4) .circle{border-color:#c4b5fd;background:#f5f3ff}
.ms:nth-child(5) .circle{border-color:#fca5a5;background:#fef2f2}
.ms span{font-size:11px;display:block;color:#334155;font-weight:600}
.ms i{display:block;font-style:normal;color:#fbbf24;font-size:9px;letter-spacing:1px}
.stat-card{background:var(--cream);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);
  padding:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:170px}
.stat-card .em{font-size:26px;margin-bottom:8px}
.stat-card .big{font-size:28px;font-weight:800;color:var(--violet);line-height:1.1}
.stat-card h4{font-size:13px;margin:5px 0}
.stat-card p{font-size:11px;color:var(--muted);max-width:200px}

/* 实验室 */
.lab-grid{display:grid;grid-template-columns:1fr 1fr;gap:46px;align-items:center;position:relative;z-index:2}
.code-win{background:#0f172a;border-radius:14px;overflow:hidden;box-shadow:0 20px 40px rgba(15,23,42,.22)}
.code-top{background:#1e293b;padding:10px 14px;display:flex;align-items:center;gap:6px}
.code-top i{width:9px;height:9px;border-radius:50%;display:block;font-style:normal}
.code-top i:nth-child(1){background:#ff5f57}.code-top i:nth-child(2){background:#febc2e}.code-top i:nth-child(3){background:#28c840}
.code-top span{margin-left:12px;color:#94a3b8;font-size:11px}
.code-body{padding:20px 22px 26px;font-family:Consolas,"Courier New",monospace;font-size:12.5px;color:#cbd5e1;line-height:2}
.code-body .c{color:#64748b}.code-body .g{color:#4ade80}.code-body .y{color:#fbbf24}
.lab-list{display:flex;flex-direction:column;gap:8px}
.lab-item{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:999px;
  padding:10px 16px;box-shadow:0 3px 12px rgba(80,50,150,.04);transition:transform .2s,border-color .2s}
.lab-item:hover{transform:translateX(4px);border-color:#c4b5fd}
.lab-item.active{background:#f5f0ff;border-color:#c4b5fd}
.lab-item .li-ic{width:30px;height:30px;border-radius:50%;background:#f1e9ff;display:grid;place-items:center;font-size:14px;flex:none}
.lab-item b{font-size:13px;display:block}
.lab-item small{font-size:11px;color:var(--muted)}
.lab-item .arrow{margin-left:auto;color:var(--violet);font-size:13px}
.lab-cta{margin-top:8px}

/* 项目卡片 */
.projects{display:grid;grid-template-columns:1fr 1fr;gap:18px;position:relative;z-index:2}
.project{background:var(--cream);border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow)}
.proj-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.proj-ic{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:17px;color:#fff}
.project:nth-child(1) .proj-ic{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}
.project:nth-child(2) .proj-ic{background:linear-gradient(135deg,#38bdf8,#0284c7)}
.project:nth-child(3) .proj-ic{background:linear-gradient(135deg,#fb923c,#ea580c)}
.project:nth-child(4) .proj-ic{background:linear-gradient(135deg,#2dd4bf,#0d9488)}
.level{font-size:10px;padding:3px 10px;border-radius:999px;background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}
.project h3{font-size:15px;margin-bottom:7px}
.project p{font-size:12px;color:var(--muted);min-height:38px}
.tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}
.tags span{font-size:10.5px;color:#64748b;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 10px}

/* 加入我们 */
.community{display:grid;grid-template-columns:1fr 1fr;gap:18px;position:relative;z-index:2}
.comm-card{background:var(--cream);border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:var(--shadow)}
.comm-card h3{font-size:15px;display:flex;align-items:center;gap:8px;margin-bottom:12px}
.comm-card .em{width:28px;height:28px;border-radius:50%;background:#f1e9ff;display:grid;place-items:center;font-size:13px}
.comm-card p{font-size:12px;color:var(--muted);margin-bottom:16px}
.comm-form{display:flex;gap:8px}
.comm-form input{flex:1;border:1px solid var(--line);border-radius:999px;padding:9px 16px;font-size:12px;background:#fff;outline:none}
.comm-form input:focus{border-color:var(--violet)}
.star-btn{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fff;border-radius:999px;
  padding:9px 16px;font-size:12px;color:#334155}
.star-btn span{color:#f59e0b}

/* Pro 横幅 */
.pro-strip{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 26px;display:flex;align-items:center;
  justify-content:space-between;gap:20px;box-shadow:var(--shadow);position:relative;z-index:2;max-width:840px;margin:0 auto}
.pro-strip .tag{font-size:11px;color:var(--violet);font-weight:600}
.pro-strip h3{font-size:20px;margin:5px 0}
.pro-strip .price{font-size:12px;color:var(--muted)}
.pro-strip .pro-actions{display:flex;align-items:center;gap:14px}
.pro-strip .cmp{font-size:12px;color:var(--violet);text-decoration:underline}

/* CTA 渐变区 */
.cta-sec{position:relative;overflow:hidden;text-align:center;padding:80px 0}
.cta-sec .container{position:relative;z-index:2}
.cta-sec h2{font-size:clamp(30px,4.5vw,46px);font-weight:800;
  background:linear-gradient(100deg,#6d28d9,#d946ef);-webkit-background-clip:text;background-clip:text;color:transparent}
.cta-sec p{color:var(--slate);margin:12px 0 26px}
.cta-sec::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,#7c3aed,#a855f7,#ec4899)}

/* 页脚 */
footer{padding:38px 0 44px;position:relative}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:30px}
.footer-brand{display:flex;align-items:center;gap:8px;font-weight:800;color:var(--violet);font-size:15px;margin-bottom:12px}
.footer-brand img{width:24px;height:24px;border-radius:7px}
.footer-brand + p{font-size:11px;color:var(--muted)}
.footer-col h4{font-size:12px;margin-bottom:14px;color:#334155}
.footer-col a{display:block;font-size:11.5px;color:var(--muted);margin-bottom:9px}
.footer-col a:hover{color:var(--violet)}

/* 悬浮按钮 */
.float{position:fixed;bottom:22px;width:38px;height:38px;border-radius:50%;background:var(--violet);color:#fff;
  display:grid;place-items:center;box-shadow:0 8px 20px rgba(109,40,217,.3);z-index:60;font-size:15px}
.float.left{left:20px}.float.right{right:20px}
.float:hover{background:var(--violet-600);transform:translateY(-2px)}

/* 响应式 */
@media(max-width:900px){
  .nav-links{gap:14px}.nav-links a{font-size:12px}
  .paths{grid-template-columns:1fr}
  .lab-grid{grid-template-columns:1fr;gap:26px}
}
@media(max-width:640px){
  .navbar{gap:10px;padding:8px 10px;height:auto;flex-wrap:wrap;border-radius:18px}
  .nav-links{order:3;width:100%;justify-content:center;flex-wrap:wrap;margin:4px 0 0}
  .nav-tools{margin-left:auto}
  .pro-link{display:none}
  .hero{padding:30px 0 50px;min-height:auto}
  .stat-bar{grid-template-columns:1fr 1fr;gap:16px}
  .steps{grid-template-columns:1fr;gap:16px}
  .step-line{display:none}
  .projects,.community{grid-template-columns:1fr}
  .pro-strip{flex-direction:column;align-items:flex-start}
  .footer-grid{grid-template-columns:1fr 1fr}
  .section-head{margin-bottom:30px}
  .sec{padding:52px 0}
  .hero-nums{gap:16px;flex-wrap:wrap;justify-content:center}
}
