*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  background:#030613;
  color:#fff;
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-4;
  background:
    radial-gradient(circle at 20% 10%,rgba(0,255,255,.22),transparent 28%),
    radial-gradient(circle at 80% 20%,rgba(168,85,247,.25),transparent 30%),
    radial-gradient(circle at 50% 90%,rgba(236,72,153,.18),transparent 35%),
    linear-gradient(135deg,#030613,#07051f 45%,#020617);
}
body:after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-3;
  background-image:
    linear-gradient(rgba(0,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,255,255,.035) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 85%);
}
canvas{position:fixed;inset:0;z-index:-2}
button,a{font:inherit}
.container{
  width:min(1280px,100%);
  margin:auto;
  padding:34px 22px 80px;
}
.hero{
  min-height:430px;
  padding:48px;
  border-radius:34px;
  border:1px solid rgba(125,211,252,.35);
  background:linear-gradient(135deg,rgba(15,23,42,.86),rgba(17,24,39,.62));
  box-shadow:0 0 80px rgba(0,255,255,.16),inset 0 0 60px rgba(168,85,247,.1);
  position:relative;
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent 0%,rgba(0,255,255,.12) 45%,transparent 70%);
  transform:translateX(-100%);
  animation:scan 5s infinite;
}
@keyframes scan{to{transform:translateX(100%)}}
.hero>*{position:relative}
.badge{
  display:inline-flex;
  padding:9px 15px;
  border-radius:999px;
  color:#67e8f9;
  background:rgba(8,145,178,.15);
  border:1px solid rgba(103,232,249,.38);
  margin-bottom:24px;
}
h1{
  font-size:clamp(44px,8vw,92px);
  line-height:1;
  margin-bottom:22px;
  background:linear-gradient(90deg,#fff,#67e8f9,#a78bfa,#f0abfc);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.subtitle{
  max-width:780px;
  font-size:22px;
  line-height:1.8;
  color:#dbeafe;
  margin-bottom:34px;
}
.actions{display:flex;flex-wrap:wrap;gap:16px}
.btn{
  padding:15px 22px;
  border-radius:15px;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(135deg,#06b6d4,#7c3aed);
  box-shadow:0 0 28px rgba(6,182,212,.28);
  transition:.25s;
  cursor:pointer;
  border:1px solid rgba(255,255,255,.12);
}
.btn:hover{transform:translateY(-4px);box-shadow:0 0 45px rgba(124,58,237,.45)}
.btn.secondary{background:rgba(255,255,255,.08)}
.section{margin-top:46px}
.section-title{font-size:30px;margin-bottom:12px}
.section-desc{color:#94a3b8;margin-bottom:22px;line-height:1.7}
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.card,.tool,.timeline-item{
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  border:1px solid rgba(148,163,184,.18);
  border-radius:24px;
  transition:.25s;
  position:relative;
  overflow:hidden;
}
.card{
  min-height:220px;
  padding:26px;
  cursor:pointer;
}
.card:before,.tool:before,.timeline-item:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 80% 80%,rgba(139,92,246,.25),transparent 35%);
  opacity:.8;
}
.card>*,
.tool>*,
.timeline-item>*{position:relative}
.card:hover,.tool:hover,.timeline-item:hover{
  transform:translateY(-6px);
  border-color:rgba(103,232,249,.65);
  box-shadow:0 0 45px rgba(34,211,238,.16);
}
.icon{font-size:36px;margin-bottom:18px}
.card h3{font-size:21px;margin-bottom:12px}
.card p,.timeline-item p{color:#cbd5e1;line-height:1.7}
.tag{
  display:inline-block;
  margin-top:18px;
  padding:6px 11px;
  border-radius:999px;
  color:#67e8f9;
  background:rgba(34,211,238,.12);
  font-size:12px;
}
.tools{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.tool{
  padding:20px;
  cursor:pointer;
}
.tool b{display:block;margin-bottom:6px}
.tool small{color:#94a3b8}
.timeline{display:grid;gap:16px}
.timeline-item{
  display:flex;
  align-items:center;
  gap:18px;
  padding:24px;
  cursor:pointer;
}
.num{
  width:46px;height:46px;
  flex:none;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#22d3ee,#8b5cf6);
  font-weight:bold;
  box-shadow:0 0 25px rgba(34,211,238,.35);
}
.footer{text-align:center;color:#64748b;margin-top:70px;font-size:14px}
.modal{
  position:fixed;
  inset:0;
  z-index:20;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(2,6,23,.78);
  backdrop-filter:blur(14px);
}
.modal.active{display:flex}
.modal-box{
  width:min(980px,100%);
  max-height:88vh;
  overflow:auto;
  padding:34px;
  border-radius:30px;
  background:linear-gradient(135deg,rgba(15,23,42,.96),rgba(30,27,75,.94));
  border:1px solid rgba(103,232,249,.35);
  box-shadow:0 0 90px rgba(34,211,238,.25);
  position:relative;
}
.close{
  position:absolute;
  top:18px;
  right:22px;
  font-size:28px;
  cursor:pointer;
  color:#94a3b8;
  border:0;
  background:transparent;
}
.modal h2{
  font-size:34px;
  margin-bottom:14px;
  background:linear-gradient(90deg,#fff,#67e8f9,#c084fc);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.modal p{color:#cbd5e1;line-height:1.8;margin-bottom:22px}
.modal-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin-top:20px;
}
.link-card{
  display:block;
  padding:22px;
  border-radius:20px;
  text-decoration:none;
  color:#fff;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.13);
  transition:.25s;
}
.link-card:hover{
  transform:translateY(-4px);
  border-color:#67e8f9;
  box-shadow:0 0 30px rgba(34,211,238,.22);
}
.link-card span{display:block;color:#94a3b8;margin-top:8px;font-size:14px}
.edit-entry{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:12;
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(103,232,249,.45);
  color:#fff;
  background:rgba(15,23,42,.82);
  box-shadow:0 0 30px rgba(34,211,238,.18);
  cursor:pointer;
}
.editor{
  position:fixed;
  top:0;
  right:0;
  z-index:30;
  width:min(520px,100%);
  height:100vh;
  padding:20px;
  display:flex;
  flex-direction:column;
  transform:translateX(102%);
  transition:.25s;
  background:#07111f;
  border-left:1px solid rgba(103,232,249,.28);
  box-shadow:-24px 0 70px rgba(0,0,0,.35);
}
.editor.active{transform:translateX(0)}
.editor-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  margin-bottom:18px;
}
.editor-head strong{display:block;font-size:20px}
.editor-head span{display:block;margin-top:5px;color:#94a3b8;font-size:13px}
.icon-button{
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.07);
  color:#fff;
  cursor:pointer;
}
.editor label{
  display:flex;
  flex:1;
  min-height:0;
  flex-direction:column;
  color:#cbd5e1;
  font-size:14px;
}
.editor textarea{
  display:block;
  width:100%;
  flex:1;
  min-height:240px;
  margin-top:8px;
  padding:14px;
  resize:none;
  color:#e2e8f0;
  background:#020617;
  border:1px solid rgba(148,163,184,.28);
  border-radius:12px;
  font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
.editor-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.editor-actions button{
  padding:10px 12px;
  border:1px solid rgba(103,232,249,.32);
  border-radius:10px;
  color:#fff;
  background:rgba(34,211,238,.12);
  cursor:pointer;
}
.editor-status{
  min-height:22px;
  margin-top:10px;
  color:#67e8f9;
  font-size:13px;
}
@media(max-width:900px){
  .container{padding:18px 14px 60px}
  .hero{
    min-height:auto;
    padding:30px 22px;
    border-radius:26px;
  }
  .subtitle{font-size:17px}
  .actions{display:grid}
  .btn{text-align:center}
  .grid,.tools,.modal-grid{grid-template-columns:1fr}
  .section-title{font-size:25px}
  .timeline-item{align-items:flex-start}
  .modal-box{padding:28px 20px}
  .modal h2{font-size:28px}
}
