:root {
  --accent-border: rgba(108,77,255,0.22);
  --accent-cyan: #6c4dff;
  --accent-dim: rgba(108,77,255,0.12);
  --accent-green: #6c4dff;
  --accent-medium: rgba(139,92,246,0.14);
  --amber: #F59E0B;
  --amber-bg: rgba(245,158,11,.12);
  --bg: #ffffff;
  --bg-deep: #e8e1ff;
  --bg-mid: #f1ecff;
  --bg-soft: #f7f5fd;
  --brand: #6c4dff;
  --brand-e: #a855f7;
  --brand-soft: #f1ecff;
  --cyan-bg: rgba(108,77,255,.12);
  --fg-dim: #8A8F8A;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
      "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #e8e8ed;
  --line-2: #dcdce0;
  --maxw: 1060px;
  --radius: 20px;
  --radius-lg: 28px;
  --state-error: #EF4444;
  --state-error-bg: rgba(239,68,68,.12);
  --state-success: #10B981;
  --state-success-bg: rgba(16,185,129,.12);
  --violet: #8B5CF6;
  --violet-bg: rgba(139,92,246,.14);
}

.logo {
font-weight: 600; letter-spacing: -0.01em; font-size: 17px;
}

.logo span {
color: var(--brand);
}

/* 订阅更新按钮 + 正文主按钮：流光玻璃版本（从设计稿逐字复制）
   设计稿源：appin-homepage-hifi.html line 168-201 / model-plaza.html line 65-82
   - 紫渐变 padding-box + conic-gradient 流光边框（@property --border-angle 旋转）
   - backdrop-filter 玻璃模糊 + glassHue/borderFlow 持续动画
   - inset 高光 + 紫投影 + 紫色描边；hover 加强光晕
*/
@property --border-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.nav-cta, .btn-primary, .sub-form button, .shot-strip .pill.f, .try-btn, .read-link {
  color: #fff;
  border: 1.5px solid transparent;
  background:
    linear-gradient(135deg, rgba(168,85,247,0.90), rgba(108,77,255,0.66)) padding-box,
    conic-gradient(from var(--border-angle),
      rgba(124,58,237,0.22) 0%, #c4b5fd 16%, rgba(124,58,237,0.22) 34%,
      #a855f7 52%, rgba(124,58,237,0.22) 70%, #c4b5fd 88%, rgba(124,58,237,0.22) 100%) border-box;
  background-size: 220% 220%, auto;
  animation: glassHue 9s ease-in-out infinite, borderFlow 6s linear infinite;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 8px 24px rgba(124,58,237,0.40),
    0 0 0 1px rgba(124,58,237,0.18);
  transition: box-shadow .35s ease, transform .2s, opacity .2s;
  position: relative;
}
@keyframes glassHue {
  0%   { background-position: 0% 50%, 0 0; }
  50%  { background-position: 100% 50%, 0 0; }
  100% { background-position: 0% 50%, 0 0; }
}
@keyframes borderFlow { to { --border-angle: 360deg; } }

.nav-cta:hover, .btn-primary:hover, .sub-form button:hover, .shot-strip .pill.f:hover, .try-btn:hover, .read-link:hover {
  opacity: 1;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75),
    0 12px 34px rgba(124,58,237,0.58),
    0 0 0 1px rgba(168,85,247,0.5),
    0 0 28px rgba(168,85,247,0.5);
}

.btn-primary:active, .nav-cta:active, .sub-form button:active, .shot-strip .pill.f:active, .try-btn:active, .read-link:active {
  transform: scale(0.97);
}

/* 各自基础尺寸（设计稿：sub-form 15px/26px, try-btn 13px/18px, read-link 13px/16px, nav-cta 13px/16px 胶囊） */
.sub-form button { font-size: 15px; padding: 13px 26px; border: none; font-family: inherit; border-radius: 980px; }
.try-btn  { font-size: 13px; padding: 8px 18px; border-radius: 980px; }
.read-link{ font-size: 13px; padding: 7px 16px; border-radius: 980px; }
.nav-cta  { font-size: 13px; padding: 7px 16px; border-radius: 980px; font-weight: 500; }

.nav-inner {
display: flex; align-items: center; justify-content: space-between; height: 54px;
}

.nav-links {
display: flex; gap: 28px; font-size: 14px; color: var(--ink-2);
}

.nav-links a {
position: relative; transition: color .2s;
    background-image: linear-gradient(var(--ink), var(--ink));
    background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
    padding-bottom: 4px;
}

.nav-links a.active {
color: var(--brand); background-image: linear-gradient(var(--brand), var(--brand)); background-size: 100% 1px;
}

.nav-links a:hover {
color: var(--ink); background-size: 100% 1px;
}

/* NAV */
nav {
position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.8);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
}

ul.nav-links {
list-style: none; margin: 0; padding: 0;
}

.nav-logo {
font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
.nav-logo span {
color: var(--brand);
}

.btn {
font-size: 15px; font-weight: 500; padding: 13px 28px; border-radius: 980px;
    transition: transform .2s, background .2s, opacity .2s;
}

.btn-ghost {
color: var(--ink); border: 1px solid var(--line-2); background: #fff;
}

.btn-ghost:hover {
border-color: var(--ink-3);
}

.aurora {
position: fixed; inset: -10%; z-index: 0; pointer-events: none; overflow: hidden;
}

.orb {
position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform, filter;
}

.orb-1 {
width: 560px; height: 560px; top: 2%; left: -9%;
    background: radial-gradient(circle, rgba(108,77,255,0.42), transparent 70%);
    animation: orbFloat1 16s ease-in-out infinite, orbHue 12s linear infinite;
}

.orb-2 {
width: 600px; height: 600px; bottom: -6%; right: -12%;
    background: radial-gradient(circle, rgba(168,85,247,0.38), transparent 70%);
    animation: orbFloat2 19s ease-in-out infinite reverse, orbHue 14s linear infinite reverse;
}

.orb-3 {
width: 460px; height: 460px; top: 46%; left: 30%;
    background: radial-gradient(circle, rgba(34,211,238,0.30), transparent 70%);
    animation: orbFloat3 14s ease-in-out infinite, orbHue 16s linear infinite;
}

.post-grid > .reveal:nth-child(even) {
transition-delay: 60ms;
}

.post-grid > .reveal:nth-child(odd) {
transition-delay: 0ms;
}

.reveal {
opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.6,.2,1);
}

.reveal.in {
opacity: 1; transform: none;
}

.scroll-progress {
position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60; pointer-events: none; background: linear-gradient(90deg, var(--brand), var(--brand-e)); transition: width .08s linear;
}

@keyframes borderFlow {
to { --border-angle: 360deg; }
}

@keyframes glassHue {
0% { background-position: 0% 50%, 0 0; }
    50% { background-position: 100% 50%, 0 0; }
    100% { background-position: 0% 50%, 0 0; }
}

@keyframes orbFloat1 {
0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
    33%      { transform: translate(28%, -22%) rotate(18deg) scale(1.18); }
    66%      { transform: translate(-22%, 18%) rotate(-14deg) scale(1.10); }
}

@keyframes orbFloat2 {
0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
    40%      { transform: translate(-30%, 24%) rotate(-20deg) scale(1.22); }
    70%      { transform: translate(20%, -18%) rotate(15deg) scale(1.08); }
}

@keyframes orbFloat3 {
0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
    50%      { transform: translate(26%, -20%) rotate(22deg) scale(1.18); }
}

@keyframes orbHue {
0%   { filter: blur(72px) hue-rotate(0deg);   }
    50%  { filter: blur(80px) hue-rotate(40deg);  }
    100% { filter: blur(72px) hue-rotate(0deg);   }
}

@property --border-angle {
syntax: "<angle>"; initial-value: 0deg; inherits: false;
}

.foot-copy {
font-size: 12px; color: var(--ink-3);
}

.foot-inner {
display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

.foot-mon {
font-size: 13px; color: var(--ink-3);
}

.foot-mon a {
color: var(--brand);
    background-image: linear-gradient(var(--brand), var(--brand));
    background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
    padding-bottom: 2px; transition: background-size .3s ease;
}

.foot-mon a:hover {
background-size: 100% 1px;
}

.post-card .foot {
display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 10px;
}

.statbar {
display: flex; gap: 16px; justify-content: center; margin-top: 52px; flex-wrap: wrap;
}

.statcard {
background: rgba(255,255,255,0.78); backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 30px; text-align: center; min-width: 150px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 10px 26px rgba(99,70,200,0.07);
}

.statcard .lbl {
font-size: 13px; color: var(--ink-3); margin-top: 4px;
}

.statcard .num {
font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--brand); font-variant-numeric: tabular-nums;
}

.tool-foot {
margin-top: 22px;
}

.wrap {
max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1;
}

/* FOOTER */
footer {
padding: 36px 0; border-top: 1px solid var(--line); position: relative; z-index: 1;
}

.site-foot {
position: relative; z-index: 1; padding: 44px 0 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.07) 55%);
}
.site-foot .foot-grid {
max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px;
}
.site-foot .foot-brand .fb-logo { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.site-foot .foot-brand .fb-logo span { color: var(--brand); }
.site-foot .foot-brand p { margin-top: 10px; font-size: 13px; color: var(--ink-3); line-height: 1.7; max-width: 260px; }
.site-foot .foot-col { display: flex; flex-direction: column; gap: 9px; }
.site-foot .foot-col h4 { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .06em; margin-bottom: 14px; }
.site-foot .foot-col a { font-size: 13.5px; color: var(--ink-3); text-decoration: none; transition: color .2s; width: fit-content; }
.site-foot .foot-col a:hover { color: var(--brand); }
.site-foot .foot-bottom {
max-width: var(--maxw); margin: 30px auto 0; padding: 18px 28px 0; border-top: 1px solid var(--line);
    font-size: 12.5px; color: var(--ink-3); text-align: center;
}
@media (max-width: 760px) { .site-foot .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

section {
padding: 80px 0; position: relative;
}

* {
margin: 0; padding: 0; box-sizing: border-box;
}

.b-chat {
background:var(--accent-dim);color:var(--accent-green)
}

.badge {
font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 980px;
    border: 1px solid transparent; white-space: nowrap;
}

.badge.live {
color: #1a7f37; background: #eef7f0;
}

.entry-grid {
display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 880px; margin: 0 auto;
}

.eyebrow {
font-size: 13px; color: var(--ink-3); font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px;
}

.eyebrow::before {
content: ""; display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--brand); margin-right: 10px; vertical-align: middle;
}

.eyebrow::before, .sec-head .k::before {
content: ""; display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--brand); margin-right: 10px; vertical-align: middle;
}

.hero-cta {
margin-top: 36px; display: flex; gap: 14px; justify-content: center;
}

.page-hero {
padding: 132px 0 56px; text-align: center; position: relative;
}

.page-hero h1 {
font-size: 64px; line-height: 1.05; font-weight: 600; letter-spacing: -0.04em;
}

.page-hero h1 .hl {
color: var(--brand);
}

.page-hero p.sub {
font-size: 19px; color: var(--ink-2); max-width: 60ch; line-height: 1.6; margin: 24px auto 0;
}

.plink {
font-size: 13px; font-weight: 500; color: var(--brand);
    background-image: linear-gradient(var(--brand), var(--brand)); background-size: 0% 1px; background-repeat: no-repeat; background-position: left bottom;
    padding-bottom: 2px; transition: background-size .3s; white-space: nowrap;
}

.plink:hover {
background-size: 100% 1px;
}

.plugin-note {
text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 44px;
}

/* 分类色（各栏目 data-cat 映射，未命中用品牌紫） */
.post-card[data-cat="ai"]{--cat-c:#a855f7}
.post-card[data-cat="tool"]{--cat-c:#22d3ee}
.post-card[data-cat="fe"]{--cat-c:#f59e0b}
.post-card[data-cat="tut"]{--cat-c:#34d399}
.post-card[data-cat="etc"]{--cat-c:#94a3b8}
.post-card[data-cat="ops"]{--cat-c:#a855f7}
.post-card[data-cat="think"]{--cat-c:#22d3ee}
.post-card[data-cat="aerial"]{--cat-c:#22d3ee}
.post-card[data-cat="tone"]{--cat-c:#f59e0b}
.post-card[data-cat="compare"]{--cat-c:#34d399}
.post-card{--cat-c:var(--brand)}

.post-card {
display: flex; flex-direction: column; padding: 24px 24px 22px; border-radius: var(--radius);
    background: rgba(255,255,255,0.80); backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(232,232,237,0.9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 12px 28px rgba(99,70,200,0.07);
    transition: transform .5s cubic-bezier(.34,1.4,.5,1), box-shadow .3s, border-color .3s;
    position: relative; overflow: hidden;
}
/* 顶边分类色条 */
.post-card::before {
content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--cat-c); opacity: .55; transition: opacity .3s, height .3s;
}
.post-card:hover::before { opacity: 1; height: 4px; }
/* 序号角标 */
.post-grid { counter-reset: post; }
.post-card::after {
counter-increment: post; content: counter(post, decimal-leading-zero);
    position: absolute; top: 13px; right: 16px;
    font-size: 12px; font-weight: 700; color: var(--cat-c);
    font-variant-numeric: tabular-nums; opacity: .85; letter-spacing: .04em;
}

.post-card .cat {
align-self: flex-start; font-size: 11px; font-weight: 600; color: var(--brand);
    background: var(--brand-soft); border: 1px solid rgba(124,58,237,0.18); border-radius: 980px; padding: 3px 11px;
}

.post-card .meta {
font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums;
}

.post-card .pdesc {
color: var(--ink-2); font-size: 14px; margin-top: 9px; line-height: 1.58; flex: 1;
}

.post-card .ptitle {
font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.32; margin-top: 14px;
}

.post-card:hover {
transform: translateY(-6px);
    border-color: transparent;
    background:
        linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)) padding-box,
        conic-gradient(from var(--border-angle),
            rgba(124,58,237,0.25) 0%, #c4b5fd 18%, rgba(124,58,237,0.25) 36%,
            #a855f7 54%, rgba(124,58,237,0.25) 72%, #c4b5fd 90%, rgba(124,58,237,0.25) 100%) border-box;
    animation: borderFlow 6s linear infinite;
    box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 18px 44px rgba(99,70,200,0.16);
}

.post-grid {
display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}

.sec-head {
text-align: center; margin-bottom: 44px;
}

.sec-head h2 {
font-size: 38px; font-weight: 600; letter-spacing: -0.03em;
}

.sec-head p {
font-size: 16px; color: var(--ink-2); margin-top: 12px;
}

.tab {
font-size: 14px; color: var(--ink-2); border: 1px solid var(--line-2); background: #fff;
    border-radius: 980px; padding: 8px 18px; cursor: pointer; transition: all .2s;
}

.tab.active {
color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--brand), var(--brand-e)); box-shadow: 0 6px 18px rgba(124,58,237,0.30);
}

.tab:hover {
border-color: var(--ink-3);
}

.tabs {
display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 8px 0 44px;
}

.tool-card {
position: relative; display: flex; flex-direction: column; padding: 30px 32px 28px; border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.80); backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(232,232,237,0.9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 14px 34px rgba(99,70,200,0.09);
    transition: transform .5s cubic-bezier(.34,1.4,.5,1), box-shadow .3s, border-color .3s;
}

.tool-card .desc {
color: var(--ink-2); font-size: 15px; margin-top: 16px; line-height: 1.65;
}

.tool-card .ico {
width: 46px; height: 46px; border-radius: 13px; flex: none; display: flex; align-items: center; justify-content: center;
    font-size: 22px; background: linear-gradient(135deg, var(--brand), var(--brand-e));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 10px rgba(124,58,237,0.30);
}

.tool-card .name {
font-size: 21px; font-weight: 600; letter-spacing: -0.02em;
}

.tool-card .tag {
font-size: 12px; color: var(--ink-3); margin-top: 2px;
}

.tool-card .top {
display: flex; align-items: center; gap: 14px;
}

.tool-card:hover {
transform: translateY(-5px); border-color: rgba(168,85,247,0.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,1), 0 20px 48px rgba(99,70,200,0.16), 0 0 0 1px rgba(168,85,247,0.14);
}

@media (max-width: 768px) {
.page-hero h1 { font-size: 40px; } .nav-links { display: none; } .post-grid { grid-template-columns: 1fr; } section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
.reveal { opacity: 1; transform: none; transition: none; } .aurora, .orb, .btn-primary, .nav-cta { animation: none; }
}

a {
color: inherit; text-decoration: none;
}

body {
font-family: var(--font);
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 24%, #f3eefd 50%, #faf8ff 76%, #ffffff 100%);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html {
scroll-behavior: smooth;
}
