@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root{
  --red:#ff0000;
  --violet:#8b00ff;
  --ink:#261717;
  --bg:#160c0c;
  --txt:#f8f2f2;
  --dim:rgba(248,242,242,.66);
  --glass:rgba(255,255,255,.09);
  --glass-2:rgba(255,255,255,.14);
  --line:rgba(255,255,255,.2);
  --r:28px;
  --edge:inset 0 1px 0 rgba(255,255,255,.3);
}

*{box-sizing:border-box;}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  min-height:100vh;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.7;
  color:var(--txt);
  overflow-x:clip;
  background:
    radial-gradient(58vw 52vw at 88% -8%,rgba(139,0,255,.55),transparent 62%),
    radial-gradient(70vw 46vw at 2% 2%,rgba(255,0,0,.42),transparent 64%),
    radial-gradient(52vw 44vw at 46% 108%,rgba(139,0,255,.32),transparent 72%),
    linear-gradient(180deg,var(--ink),var(--bg) 60%);
  background-attachment:fixed;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1px);
  background-size:24px 24px;
  opacity:.42;
}

img{max-width:100%;height:auto;display:block;}
a{color:inherit;}

.sr{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

:focus-visible{
  outline:2px solid #ff8f8f;
  outline-offset:3px;
  border-radius:14px;
}

/* 顶部 */
.top{
  position:relative;
  z-index:6;
  padding:14px clamp(12px,3vw,24px) 0;
}

.top-in{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:var(--glass);
  border:1px solid var(--line);
  box-shadow:0 18px 48px rgba(0,0,0,.36),var(--edge);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.menu{display:flex;flex-wrap:wrap;gap:4px;}
.menu-r{justify-content:flex-end;}

.menu a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 13px;
  border-radius:999px;
  font-size:.93rem;
  font-weight:600;
  text-decoration:none;
  color:var(--txt);
  transition:background .22s ease,color .22s ease,transform .22s ease;
}

.menu a:hover{
  background:var(--glass-2);
  color:#fff;
  transform:translateY(-1px);
}

.brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.04em;
  color:#fff;
  background:linear-gradient(112deg,rgba(255,0,0,.85),rgba(139,0,255,.85));
  box-shadow:0 8px 26px rgba(255,0,0,.28),inset 0 1px 0 rgba(255,255,255,.45);
  white-space:nowrap;
}

.brand-logo{width:26px;height:26px;border-radius:8px;object-fit:cover;}

/* 锚点条 */
.dock{
  position:sticky;
  top:0;
  z-index:7;
  margin-top:12px;
  background:linear-gradient(180deg,rgba(30,17,17,.9),rgba(30,17,17,.42));
  border-block:1px solid var(--line);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.dock-in{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  gap:8px;
  padding:8px clamp(12px,3vw,24px);
  overflow-x:auto;
  scrollbar-width:none;
}
.dock-in::-webkit-scrollbar{display:none;}

.chip{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 15px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.07);
  font-size:.88rem;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}

.chip:hover{
  background:linear-gradient(112deg,var(--red),var(--violet));
  border-color:transparent;
  transform:translateY(-1px);
}

main{position:relative;z-index:1;}

/* 主视觉 */
.hero{
  max-width:1180px;
  margin:0 auto;
  padding:clamp(20px,4vw,40px) clamp(12px,3vw,24px) clamp(28px,5vw,52px);
  min-height:70vh;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:clamp(18px,3vw,36px);
  align-items:center;
}

.hero-copy{
  grid-column:2;
  grid-row:1;
  text-align:right;
  min-width:0;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  margin:0 0 14px;
  padding:0 16px;
  border-radius:999px;
  font-size:.86rem;
  font-weight:700;
  letter-spacing:.06em;
  color:#ffd9d9;
  background:rgba(255,255,255,.1);
  border:1px solid var(--line);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.hero h1{
  margin:0;
  font-size:clamp(2rem,5.6vw,3.7rem);
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.025em;
  color:#fff;
  text-wrap:balance;
  text-shadow:0 12px 40px rgba(0,0,0,.45);
}

@supports (-webkit-background-clip:text){
  .hero h1{
    background:linear-gradient(104deg,#fff 28%,#ffc0c0 58%,#cf9bff 96%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
  }
}

.hero-fig{
  grid-column:1;
  grid-row:1;
  margin:0;
  position:relative;
  min-height:clamp(230px,42vh,430px);
  border-radius:var(--r) 180px var(--r) var(--r);
  overflow:hidden;
  border:1px solid var(--line);
  background:
    radial-gradient(70% 70% at 30% 20%,rgba(255,0,0,.6),transparent 65%),
    radial-gradient(70% 70% at 80% 90%,rgba(139,0,255,.62),transparent 68%),
    rgba(255,255,255,.06);
  box-shadow:0 30px 70px rgba(0,0,0,.42),var(--edge);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}

.hero-fig::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(rgba(255,255,255,.25) 1px,transparent 1px);
  background-size:18px 18px;
  opacity:.35;
  mix-blend-mode:overlay;
  pointer-events:none;
}

.hero-img{
  width:100%;
  height:100%;
  min-height:inherit;
  object-fit:cover;
  position:relative;
}

/* 内容区 */
.stage{
  max-width:1180px;
  margin:0 auto;
  padding:0 clamp(12px,3vw,24px) clamp(48px,7vw,80px);
  display:grid;
  grid-template-columns:minmax(0,1fr) 302px;
  gap:clamp(18px,3vw,32px);
  align-items:start;
}

.paper{
  min-width:0;
  padding:clamp(20px,3.4vw,38px);
  border-radius:var(--r);
  background:rgba(255,255,255,.085);
  border:1px solid var(--line);
  box-shadow:0 26px 60px rgba(0,0,0,.35),var(--edge);
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
}

.paper > article{
  scroll-margin-top:104px;
  padding-block:clamp(16px,3vw,30px);
}

.paper > article:first-child{padding-top:0;}
.paper > article:last-child{padding-bottom:0;}

.paper > article + article{
  border-top:1px solid rgba(255,255,255,.14);
}

.paper h2{
  margin:0 0 12px;
  font-size:clamp(1.24rem,2.6vw,1.6rem);
  line-height:1.32;
  font-weight:800;
  letter-spacing:-.012em;
  color:#fff;
}

.paper h2::before{
  content:"";
  display:block;
  width:46px;
  height:4px;
  border-radius:4px;
  margin-bottom:14px;
  background:linear-gradient(90deg,var(--red),var(--violet));
}

.paper h3{
  margin:22px 0 8px;
  font-size:1.08rem;
  font-weight:700;
  color:#fff;
}

.paper p{margin:0 0 14px;}
.paper p:last-child{margin-bottom:0;}

.paper h2 + p,
.paper h2 + .subtitle,
.paper h2 + .subhead,
.paper h2 + .desc,
.paper h2 + .lead{
  color:rgba(255,255,255,.74);
  font-size:.97rem;
}

.paper ul,
.paper ol{
  margin:0 0 16px;
  padding-left:1.25em;
}

.paper li{margin:6px 0;}
.paper li::marker{color:#ff9b9b;}

.paper strong{color:#fff;font-weight:700;}

.paper a{
  color:#ffb6b6;
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:1px;
  transition:color .2s ease;
}
.paper a:hover{color:#fff;}

.paper blockquote{
  margin:16px 0;
  padding:14px 18px;
  border-left:3px solid var(--violet);
  border-radius:0 16px 16px 0;
  background:rgba(255,255,255,.07);
  color:rgba(255,255,255,.88);
}

.paper code{
  font-size:.9em;
  padding:2px 6px;
  border-radius:8px;
  background:rgba(255,255,255,.14);
}

/* 侧栏 */
.rail{
  position:sticky;
  top:76px;
  padding:22px;
  border-radius:var(--r);
  background:rgba(255,255,255,.1);
  border:1px solid var(--line);
  box-shadow:0 20px 46px rgba(0,0,0,.3),var(--edge);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.rail h2{
  margin:0 0 6px;
  font-size:1.06rem;
  font-weight:800;
  letter-spacing:.01em;
  color:#fff;
}

.rail .subtitle{
  margin:0 0 14px;
  font-size:.83rem;
  line-height:1.55;
  color:var(--dim);
}

.rail-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:3px;
}

.rail-list a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:0 12px;
  border-radius:14px;
  font-size:.91rem;
  font-weight:600;
  text-decoration:none;
  color:rgba(255,255,255,.9);
  transition:background .2s ease,transform .2s ease;
}

.rail-list a:hover{
  background:var(--glass-2);
  transform:translateX(2px);
}

/* 页脚 */
.foot{
  position:relative;
  z-index:1;
  margin-top:8px;
  padding:clamp(34px,5vw,56px) clamp(12px,3vw,24px) 22px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(38,23,23,.52),rgba(16,9,9,.92));
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.foot-in{max-width:1180px;margin:0 auto;}

.foot-top{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  padding-bottom:26px;
  border-bottom:1px solid rgba(255,255,255,.14);
}

.foot-brand{display:flex;align-items:center;gap:10px;}

.foot-mark{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  font-weight:800;
  font-size:.92rem;
  color:#fff;
  background:linear-gradient(112deg,rgba(255,0,0,.9),rgba(139,0,255,.9));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4);
}

.foot-name{font-weight:700;font-size:.98rem;letter-spacing:.04em;}

.foot-form{display:flex;gap:8px;flex-wrap:wrap;}

.foot-input{
  min-height:44px;
  width:190px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:var(--txt);
  font:inherit;
  font-size:.92rem;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.foot-input::placeholder{color:rgba(255,255,255,.55);}

.foot-btn{
  min-height:44px;
  padding:0 22px;
  border:0;
  border-radius:999px;
  font:inherit;
  font-size:.92rem;
  font-weight:700;
  color:#fff;
  cursor:pointer;
  background:linear-gradient(112deg,var(--red),var(--violet));
  box-shadow:0 10px 26px rgba(255,0,0,.3),inset 0 1px 0 rgba(255,255,255,.4);
  transition:transform .2s ease,filter .2s ease;
}
.foot-btn:hover{transform:translateY(-2px);filter:brightness(1.08);}

.foot-cols{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  padding:26px 0;
}

.foot-cols dl{margin:0;min-width:0;}

.foot-cols dt{
  margin:0 0 10px;
  font-size:.82rem;
  font-weight:700;
  letter-spacing:.1em;
  color:rgba(255,255,255,.52);
}

.foot-cols dd{
  margin:0;
  font-size:.9rem;
  color:rgba(255,255,255,.84);
  word-break:break-word;
}

.foot-nav dd a,
.foot-cols dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  text-decoration:none;
  color:rgba(255,255,255,.84);
  transition:color .2s ease;
}
.foot-nav dd a:hover,
.foot-cols dd a:hover{color:#ff9b9b;}

.copy{
  margin:0;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.14);
  font-size:.82rem;
  letter-spacing:.05em;
  color:rgba(255,255,255,.5);
}

/* 动效 */
.rv{opacity:0;transform:translateY(16px);}
.rv-in{opacity:1;transform:none;transition:opacity .6s ease,transform .6s ease;}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .rv{opacity:1;transform:none;}
  *{transition-duration:.01ms !important;animation-duration:.01ms !important;}
}

@media (max-width:900px){
  .stage{grid-template-columns:minmax(0,1fr);}
  .rail{position:static;top:auto;order:2;}
  .hero{grid-template-columns:minmax(0,1fr);min-height:0;}
  .hero-copy{grid-column:1;grid-row:1;text-align:left;}
  .hero-fig{grid-column:1;grid-row:2;border-radius:var(--r) 110px var(--r) var(--r);min-height:240px;}
}

@media (max-width:720px){
  .top-in{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    border-radius:24px;
    padding:10px;
  }
  .brand{order:-1;flex:0 0 100%;}
  .menu{flex:1 1 100%;justify-content:center;}
  .menu a{padding:0 11px;font-size:.85rem;}
  .foot-cols{grid-template-columns:minmax(0,1fr);gap:14px;}
  .foot-top{flex-direction:column;align-items:flex-start;}
  .foot-input{width:100%;}
  .foot-form{width:100%;}
  .foot-btn{flex:1 1 auto;}
  .hero h1{font-size:clamp(1.85rem,8vw,2.6rem);}
}

@media (max-width:420px){
  body{font-size:16px;}
  .chip{padding:0 12px;font-size:.82rem;}
  .menu a{padding:0 9px;font-size:.82rem;}
}

button[aria-expanded]{min-width:44px;min-height:44px}
