@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300;400;500;700&display=swap');

:root{
  --cocoa:#26171a;
  --cocoa-deep:#180e11;
  --rose:#eb879c;
  --pink:#ffb6c1;
  --paper:#fdf2f4;
  --ink:#2b1a1e;
  --ink-soft:#5c4247;
  --muted:#c8aeb4;
  --line:rgba(255,182,193,.18);
  --radius:18px;
  --shadow-soft:0 2px 4px rgba(0,0,0,.28), 0 10px 26px -12px rgba(235,135,156,.35);
  --shadow-card:0 1px 2px rgba(0,0,0,.2), 0 18px 40px -22px rgba(0,0,0,.7);
}

*,*::before,*::after{box-sizing:border-box}

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

body{
  margin:0;
  font-family:'Noto Sans Hebrew','PingFang SC','Hiragino Sans GB','Microsoft YaHei',system-ui,sans-serif;
  font-size:17px;
  line-height:1.75;
  color:#f4e4e8;
  background:
    radial-gradient(900px 460px at 82% -8%, rgba(235,135,156,.22), transparent 68%),
    radial-gradient(620px 420px at 4% 12%, rgba(255,182,193,.12), transparent 70%),
    linear-gradient(180deg, var(--cocoa-deep), var(--cocoa) 42%, #1d1114);
  background-attachment:fixed;
  padding-bottom:96px;
  overflow-x:hidden;
}

a{color:var(--pink);text-decoration:none}
a:hover{color:#fff}
:focus-visible{outline:3px solid var(--rose);outline-offset:3px;border-radius:6px}

h1,h2,h3{line-height:1.28;margin:0;letter-spacing:.01em}
hr{border:0;height:2px;margin:14px 0 0;background:linear-gradient(90deg,var(--rose),rgba(255,182,193,.06))}

/* ---------- 顶部大标题 ---------- */
.hero{
  min-height:46vh;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:20px;
  max-width:1180px;
  margin:0 auto;
  padding:64px 20px 40px;
  position:relative;
  scroll-margin-top:20px;
}
.hero::after{
  content:"";
  position:absolute;
  left:20px;right:20px;bottom:0;
  height:1px;
  background:linear-gradient(90deg,rgba(255,182,193,.45),transparent);
}
.badge{
  margin:0;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:8px 16px 8px 12px;
  border-radius:999px;
  font-size:15px;
  font-weight:500;
  letter-spacing:.06em;
  color:#ffe0e6;
  background:rgba(235,135,156,.16);
  border:1px solid rgba(255,182,193,.34);
  box-shadow:var(--shadow-soft);
}
.badge-dot{
  width:9px;height:9px;border-radius:50%;
  background:var(--rose);
  box-shadow:0 0 0 4px rgba(235,135,156,.22);
  animation:pulse 2.6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 4px rgba(235,135,156,.22)}
  50%{box-shadow:0 0 0 9px rgba(235,135,156,.06)}
}
.hero h1{
  font-size:clamp(2.3rem,8.4vw,4.4rem);
  font-weight:700;
  max-width:18em;
  background:linear-gradient(96deg,#fff 8%,var(--pink) 52%,var(--rose) 96%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 12px 34px rgba(235,135,156,.18);
}
.hero-btn{
  display:inline-flex;
  align-items:center;
  min-height:48px;
  padding:12px 26px;
  border-radius:999px;
  font-size:17px;
  font-weight:500;
  color:#3a1520;
  background:linear-gradient(180deg,var(--pink),var(--rose));
  box-shadow:var(--shadow-soft);
  transition:transform .24s ease, box-shadow .24s ease;
}
.hero-btn:hover{transform:translateY(-2px);color:#2b0f18;box-shadow:0 4px 8px rgba(0,0,0,.3),0 16px 34px -14px rgba(235,135,156,.65)}

/* ---------- 主栅格 ---------- */
.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:36px 20px 72px;
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:32px;
  align-items:start;
}

/* ---------- 侧栏 ---------- */
.side{
  position:sticky;
  top:24px;
  padding:20px 18px 22px;
  border-radius:var(--radius);
  background:linear-gradient(170deg,rgba(255,182,193,.13),rgba(38,23,26,.72));
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.side h2{font-size:16px;font-weight:600;letter-spacing:.16em;color:#ffd9e1}
.side hr{height:2px;margin:10px 0 6px;background:linear-gradient(90deg,var(--rose),transparent)}
.side-list{list-style:none;margin:8px 0 0;padding:0}
.side-list li{margin:0}
.side-list a{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:8px 8px;
  border-radius:12px;
  font-size:16px;
  color:#e9d3d9;
  transition:background .22s ease,color .22s ease,transform .22s ease;
}
.side-list a:hover,.side-list a.on{
  background:rgba(235,135,156,.2);
  color:#fff;
  transform:translateX(2px);
}
.dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--rose);
  opacity:.6;
  flex:0 0 auto;
}
.side-list a.on .dot{opacity:1;box-shadow:0 0 0 3px rgba(235,135,156,.25)}

/* ---------- 正文容器 ---------- */
.shell{min-width:0}
.doc{
  background:var(--paper);
  color:var(--ink);
  border-radius:var(--radius);
  padding:34px clamp(18px,4vw,44px) 40px;
  box-shadow:var(--shadow-card);
  border:1px solid rgba(255,255,255,.7);
}
.doc article{
  padding:30px 0 6px;
  border-top:1px solid rgba(38,23,26,.12);
  scroll-margin-top:24px;
}
.doc article:first-child{border-top:0;padding-top:2px}
.doc h2{
  font-size:clamp(1.35rem,3.6vw,1.75rem);
  font-weight:700;
  color:#8f3a52;
  letter-spacing:.01em;
}
.doc h3{
  margin-top:26px;
  font-size:1.12rem;
  font-weight:600;
  color:#40262b;
}
.doc p{margin:14px 0;color:#3a2529}
.doc a{color:#a83f5b;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.doc a:hover{color:#7d2740}
.doc strong{color:#7d2740}
.doc ul,.doc ol{padding-left:22px;margin:14px 0}
.doc li{margin:7px 0;color:#3a2529}
.doc blockquote{
  margin:20px 0;
  padding:14px 18px;
  border-left:4px solid var(--rose);
  border-radius:0 14px 14px 0;
  background:rgba(235,135,156,.13);
  color:#5c3138;
}
.doc blockquote p{margin:6px 0}
.doc code{
  font-family:ui-monospace,Menlo,Consolas,monospace;
  font-size:.92em;
  background:rgba(38,23,26,.08);
  padding:2px 6px;
  border-radius:6px;
}
.doc img{max-width:100%;height:auto;border-radius:14px;box-shadow:var(--shadow-soft)}

/* ---------- 页脚 ---------- */
.foot{
  border-top:1px solid rgba(255,182,193,.16);
  background:linear-gradient(180deg,rgba(24,14,17,.6),rgba(15,9,11,.95));
  margin-top:12px;
}
.foot-cta{
  max-width:1180px;
  margin:0 auto;
  padding:52px 20px 34px;
  text-align:center;
}
.foot-cta h2{
  font-size:clamp(1.7rem,5.4vw,2.6rem);
  font-weight:700;
  color:var(--pink);
}
.foot-cta hr{
  max-width:190px;
  margin:16px auto 22px;
  background:linear-gradient(90deg,transparent,var(--rose),transparent);
}
.cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 30px;
  border-radius:999px;
  font-size:17px;
  font-weight:500;
  color:#ffdde4;
  border:1px solid rgba(255,182,193,.5);
  background:rgba(235,135,156,.14);
  box-shadow:var(--shadow-soft);
  transition:background .24s ease,transform .24s ease;
}
.cta-btn:hover{background:rgba(235,135,156,.3);color:#fff;transform:translateY(-2px)}

.foot-cols{
  max-width:1180px;
  margin:0 auto;
  padding:12px 20px 36px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.fc ul{list-style:none;margin:0;padding:0}
.fc a{
  display:block;
  min-height:40px;
  padding:9px 10px;
  border-radius:12px;
  font-size:16px;
  color:#dcc3c9;
  transition:background .22s ease,color .22s ease;
}
.fc a:hover{background:rgba(255,182,193,.14);color:#fff}

.foot-legal{
  border-top:1px solid rgba(255,182,193,.12);
  padding:20px 20px 26px;
  text-align:center;
}
.foot-legal p{margin:0;font-size:15px;color:#b79ca2;letter-spacing:.05em}

/* ---------- 底部固定条 ---------- */
.dock{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:60;
  background:rgba(22,13,16,.94);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-top:1px solid rgba(255,182,193,.24);
  box-shadow:0 -8px 30px rgba(0,0,0,.55);
  padding-bottom:env(safe-area-inset-bottom);
}
.dock-in{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 12px;
}
.brand{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:6px 6px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.05em;
  color:var(--pink);
  white-space:nowrap;
}
.dock-nav{
  flex:1 1 auto;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.dock-nav::-webkit-scrollbar{display:none}
.dock-list{display:flex;gap:3px;margin:0;padding:0}
.dock-list dt,.dock-list dd{margin:0;flex:0 0 auto}
.dock-list a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-height:44px;
  min-width:56px;
  padding:7px 8px;
  border-radius:13px;
  font-size:16px;
  line-height:1.3;
  color:#e3ccd2;
  white-space:nowrap;
  transition:background .22s ease,color .22s ease;
}
.dock-list a:hover,.dock-list a.on{background:rgba(235,135,156,.22);color:#fff}
.ni-box{display:flex;align-items:center;justify-content:center;height:16px}
.ni{
  width:16px;height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.85;
}
.dock-list a.on .ni{opacity:1;stroke:var(--pink)}

/* ---------- 进场 ---------- */
.rv{opacity:0;transform:translateY(16px);transition:opacity .28s ease,transform .28s ease;transition-delay:calc(var(--i,0) * 42ms)}
.rv.in{opacity:1;transform:none}

/* ---------- 断点 ---------- */
@media (max-width:900px){
  .wrap{grid-template-columns:minmax(0,1fr);gap:22px}
  .side{position:static;padding:16px 16px 18px}
  .side-list{display:flex;flex-wrap:wrap;gap:6px}
  .side-list a{min-height:40px;padding:8px 12px;background:rgba(255,182,193,.1);border-radius:999px}
  .side-list a:hover,.side-list a.on{transform:none}
  .dot{display:none}
  .foot-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:560px){
  body{font-size:16.5px;padding-bottom:104px}
  .hero{min-height:auto;padding:44px 16px 30px;gap:16px}
  .hero h1{font-size:clamp(2rem,10.5vw,2.9rem)}
  .wrap{padding:22px 16px 56px}
  .doc{padding:24px 16px 30px;border-radius:16px}
  .foot-cta{padding:40px 16px 26px}
  .foot-cols{padding:10px 12px 26px;gap:8px}
  .brand{font-size:15px}
  .dock-in{padding:6px 8px;gap:6px}
  .dock-list a{font-size:15px;min-width:52px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rv{opacity:1;transform:none;transition:none}
  .badge-dot{animation:none}
  .hero-btn,.cta-btn,.side-list a{transition:none}
}

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