/* 首页 */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(24px, calc((100% - 1152px) / 2));
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--bg) 40%, rgb(var(--bg-rgb) / 0)); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-link { text-decoration: none; font-weight: 650; font-size: 15px; color: var(--muted); }
.nav-link:hover { color: var(--text); }

main { overflow-x: clip; }

/* ---------- 首屏 ---------- */
.hero {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px 96px;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px;
}
.hero > * { min-width: 0; }
.hero-title {
  margin: 0; font-weight: 900; font-size: clamp(44px, 6.3vw, 92px); line-height: 1.08; letter-spacing: -.035em;
  background: var(--brand-gradient); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
.hero-title span { display: block; white-space: nowrap; }
.hero-sub { margin: 26px 0 34px; max-width: 30em; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.75; color: var(--muted); }

.claim { display: flex; align-items: center; gap: 8px; max-width: 520px; padding: 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transition: border-color .2s, box-shadow .2s; }
.claim:focus-within { border-color: var(--accent); box-shadow: 0 0 0 5px rgb(var(--glow-rgb) / .12), var(--shadow-lg); }
.claim-box { flex: 1; min-width: 0; display: flex; align-items: center; padding-left: 18px; cursor: text; }
.claim-host { flex: none; font: 500 15px/1 var(--display); color: var(--muted); letter-spacing: -.01em; }
.claim-input { flex: 1; min-width: 0; width: 100%; height: 48px; border: 0; outline: none; background: none; font: 700 16px/1 var(--display); letter-spacing: -.01em; color: var(--accent); padding: 0 4px; }
.claim-input::placeholder { color: var(--placeholder); font-family: var(--sans); font-weight: 600; }
.claim-btn { height: 48px; padding: 0 26px; }
.claim-note { margin: 12px 0 0 22px; font-size: 13px; color: var(--muted); }
.claim-note.bad { color: var(--danger); }

/* ---------- 3D 手机（手机里展示的是深色「极光」主题，和浅色页面形成反差） ---------- */
.stage { position: relative; display: flex; flex-direction: column; align-items: center; perspective: 1400px; }
.phone {
  --rx: 6deg; --ry: -16deg;
  position: relative; width: 300px; height: 620px; border-radius: 48px; padding: 10px;
  background: linear-gradient(145deg, var(--shell-a), var(--shell-b) 55%, var(--shell-a));
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16), 0 70px 120px -40px rgb(var(--glow-rgb) / .55), 0 40px 70px -40px rgb(var(--ink-rgb) / .7);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(1.5deg);
  transition: transform .5s cubic-bezier(.2,.9,.3,1);
  animation: phone-in 1s cubic-bezier(.2,1,.3,1) both;
}
@keyframes phone-in { from { opacity: 0; transform: translateY(60px) rotateX(20deg) rotateY(-30deg) scale(.9); } }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 88px; height: 26px; margin-left: -44px; border-radius: 20px; background: var(--shell-notch); z-index: 3; }

.phone-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--base); color: var(--text); transition: background .5s; }
.ps-sky i { position: absolute; border-radius: 50%; filter: blur(34px); transition: background .6s; }
.ps-sky i:nth-child(1) { width: 260px; height: 260px; left: -90px; top: -80px; background: var(--b1); animation: ps1 9s ease-in-out infinite alternate; }
.ps-sky i:nth-child(2) { width: 240px; height: 240px; right: -100px; bottom: -60px; background: var(--b2); animation: ps2 11s ease-in-out infinite alternate; }
.ps-sky i:nth-child(3) { width: 150px; height: 150px; left: 80px; top: 230px; background: var(--b3); opacity: .75; animation: ps1 8s ease-in-out infinite alternate-reverse; }
@keyframes ps1 { to { transform: translate(60px, 50px) scale(1.2); } }
@keyframes ps2 { to { transform: translate(-50px, -70px) scale(.9); } }

.ps-content { position: relative; padding: 64px 18px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ps-avatar { width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--b1), var(--b3), var(--b2), var(--b1)); }
.ps-avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--base); background: linear-gradient(140deg, var(--b2), var(--b1)); color: #fff; font: 700 28px/1 var(--display); transition: border-color .5s; }
.ps-name { margin-top: 12px; font-weight: 800; font-size: 18px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-handle { font: 500 10.5px/1.6 var(--display); color: var(--sub); }
.ps-bio { margin-top: 6px; font-size: 12px; color: var(--sub); }
.ps-socials { display: flex; gap: 7px; margin-top: 14px; }
.ps-socials span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--border); }
.ps-socials svg { width: 14px; height: 14px; }
.ps-links { width: 100%; display: grid; gap: 10px; margin-top: 20px; }
.ps-link {
  position: relative; z-index: calc(10 - var(--i)); height: 46px; display: grid; place-items: center; padding: 0 12px;
  border-radius: 15px; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--card); border: 1px solid var(--border); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -14px rgba(0,0,0,.5);
  animation: fan .95s cubic-bezier(.3,1.45,.45,1) both; animation-delay: calc(.75s + var(--i) * 60ms);
}
/* 招牌动效：一条链接展开成全部 */
@keyframes fan { from { transform: translateY(calc(var(--i) * -56px)) scale(calc(1 - var(--i) * .03)); } }

.url-chip {
  position: absolute; top: 18px; left: max(-10px, calc(50% - 250px)); z-index: 5;
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  font: 500 13px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; max-width: 92vw;
  box-shadow: var(--shadow-lg);
  animation: chip-in .7s .35s cubic-bezier(.2,1.4,.4,1) both;
}
.url-chip b { font-weight: 700; color: var(--accent); }
/* 心跳：主页在线的小红点 */
.url-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.url-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--accent); opacity: .3; animation: beat 1.6s ease-out infinite; }
@keyframes beat { 0% { transform: scale(.6); opacity: .45; } 14% { transform: scale(1.3); opacity: .25; } 28% { transform: scale(.9); opacity: .35; } 42% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(.9); } }

.theme-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; padding: 10px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.theme-dot { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; transition: transform .2s var(--ease); }
.theme-dot:hover { transform: scale(1.15); }
.theme-dot[aria-checked="true"] { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }

/* ---------- 平台 ---------- */
.platforms { max-width: 1000px; margin: 0 auto; padding: 72px 24px 96px; text-align: center; }
.sec-title { margin: 0; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.2; font-weight: 900; letter-spacing: -.025em; }
.sec-sub { margin: 18px auto 44px; max-width: 34em; color: var(--muted); font-size: 17px; }
.plat-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.plat {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 650; font-size: 15px; box-shadow: 0 10px 24px -18px rgb(var(--shadow-rgb) / .4);
  transition: transform .25s var(--ease), border-color .25s;
}
.plat:hover { transform: translateY(-4px) rotate(-2deg); border-color: var(--c); }
.plat-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; }
.plat-ico svg { width: 19px; height: 19px; }
.plat:nth-child(3n) { font-size: 17px; padding-top: 13px; padding-bottom: 13px; }

/* ---------- 功能拼图 ---------- */
.bento { max-width: 1200px; margin: 0 auto; padding: 0 24px 120px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; padding: 32px; }
.tile h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.3; font-weight: 850; letter-spacing: -.01em; }
.tile p { margin: 0; font-size: 15px; line-height: 1.75; }

.tile-stats { grid-column: span 4; border-radius: 36px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.tile-stats p { color: var(--muted); }
.mini-dash { padding: 20px; border-radius: 24px; background: var(--night); color: #fff; }
.md-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.md-kpis b { display: block; font: 700 20px/1.2 var(--display); letter-spacing: -.03em; }
.md-kpis span { font-size: 11px; color: rgba(255,255,255,.6); }
.md-chart { display: block; width: 100%; height: 90px; margin: 14px 0; }
.md-sources { display: grid; gap: 7px; }
.md-sources div { display: grid; grid-template-columns: 44px 1fr 36px; align-items: center; gap: 8px; font-size: 12px; }
.md-sources i { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: var(--w); }
.md-sources em { font-style: normal; color: rgba(255,255,255,.6); text-align: right; font-family: var(--display); font-size: 11px; }

.tile-qr { grid-column: span 2; border-radius: 36px 36px 36px 120px; background: var(--grape); color: #fff; }
.tile-qr p { color: rgba(255,255,255,.82); }
.qr-art { width: 128px; height: 128px; padding: 10px; border-radius: 20px; background: #fff; display: grid; grid-template-columns: repeat(13, 1fr); gap: 1px; margin-bottom: 24px; transform: rotate(-6deg); box-shadow: 0 20px 30px -16px rgba(30,10,80,.6); }
.qr-art i { border-radius: 1.5px; }

.tile-style { grid-column: span 3; border-radius: 36px; background: var(--primary); color: var(--on-primary); }
.tile-style p { color: rgba(255,255,255,.88); }
.styles-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.sd { height: 48px; display: grid; place-items: center; font-weight: 750; border-radius: 16px; }
.sd-glass { background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.sd-solid { background: #fff; color: var(--accent); }
.sd-outline { border: 2px solid #fff; }
.sd-soft { background: rgba(255,255,255,.28); border-radius: 999px; }

.tile-me { grid-column: span 3; border-radius: 36px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.tile-me p { color: var(--muted); }
.me-art { position: relative; height: 170px; }
.me-card { position: absolute; width: 104px; height: 140px; border-radius: 18px; box-shadow: 0 20px 30px -18px rgb(var(--shadow-rgb) / .6); }
.me-card.c1 { left: 0; top: 18px; transform: rotate(-12deg); background: linear-gradient(160deg, #ffb36b, #ff2e7e); }
.me-card.c2 { left: 22px; top: 8px; transform: rotate(-2deg); background: linear-gradient(160deg, #3fe0b5, #3d6bff); }
.me-card.c3 { left: 44px; top: 14px; transform: rotate(9deg); background: linear-gradient(160deg, var(--brand-mid), #6b4dff); }
.me-face { position: absolute; left: 74px; top: 48px; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fbffe0, var(--lime) 45%, #a8d400); border: 3px solid #fff; transform: rotate(9deg); }

/* ---------- 结尾 ---------- */
.outro { padding: 40px 24px 72px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.outro-title { margin: 0 0 40px; font-weight: 900; font-size: clamp(56px, 11vw, 150px); line-height: 1; letter-spacing: -.045em; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.claim-lg { width: 100%; max-width: 560px; }

.site-foot { max-width: 1200px; margin: 0 auto; padding: 32px 24px 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; font-size: 13px; color: var(--muted); }
.site-foot .beian { justify-content: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 64px; text-align: left; }
  .stage { padding-top: 20px; }
  .phone { --ry: -8deg; }
  .tile-stats, .tile-qr, .tile-style, .tile-me { grid-column: span 6; }
  .tile-stats, .tile-me { grid-template-columns: 1fr; }
  .tile-qr { border-radius: 36px; }
}
@media (max-width: 520px) {
  .nav { padding: 14px 16px; }
  .hero, .platforms, .bento, .outro, .site-foot { padding-left: 16px; padding-right: 16px; }
  .claim-host { font-size: 12px; }
  .claim-box { padding-left: 14px; }
  .claim-input { font-size: 15px; }
  .claim-btn { padding: 0 18px; }
  .phone { width: 270px; height: 560px; }
  .url-chip { left: 0; top: 0; font-size: 11px; }
  .hero-title { font-size: 44px; }
  .tile { padding: 24px; }
  .tile h3 { font-size: 21px; }
  .md-kpis b { font-size: 16px; }
}

/* 香芋柠檬：把「你的链接」做成一枚荧光柠檬贴纸，是整页最亮的一点 */
[data-site-theme="taro"] .url-chip { background: var(--lime); border-color: transparent; color: var(--text); box-shadow: 0 24px 50px -18px rgb(140 170 0 / .55); transform: rotate(-3deg); }
[data-site-theme="taro"] .url-chip b { color: var(--primary); }
[data-site-theme="taro"] .url-dot, [data-site-theme="taro"] .url-dot::after { background: var(--primary); }

/* ---------- 底部联系入口 ---------- */
.contact-pill {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 8px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); color: var(--muted); font-size: 15px; font-weight: 650; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.contact-pill i { width: 1px; height: 14px; background: var(--line-strong); }
.contact-pill b { padding: 8px 18px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 750; }
.contact-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--text); }
@media (max-width: 400px) { .contact-pill { gap: 8px; padding-left: 16px; font-size: 14px; } }
