/* 瀚海易链书店ERP — 首页入场：四周拼凑成整体 */

:root {
    --ai-cyan: #22d3ee;
    --ai-violet: #818cf8;
    --ai-teal: #2dd4bf;
    --assemble-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --assemble-duration: 1.35s;
}

/* AI 背景层 */
.ai-bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ai-grid {
    position: absolute;
    inset: -50%;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    transform: perspective(600px) rotateX(58deg) translateY(-12%);
    animation: aiGridDrift 28s linear infinite;
    mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, #000 20%, transparent 72%);
}

@keyframes aiGridDrift {
    0% { transform: perspective(600px) rotateX(58deg) translateY(-12%) translateX(0); }
    100% { transform: perspective(600px) rotateX(58deg) translateY(-12%) translateX(56px); }
}

.ai-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.45;
    animation: aiOrbFloat 14s ease-in-out infinite;
}

.ai-orb-1 {
    width: 420px;
    height: 420px;
    top: -8%;
    right: 12%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 68%);
}

.ai-orb-2 {
    width: 360px;
    height: 360px;
    bottom: 5%;
    left: -4%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.5), transparent 68%);
    animation-delay: -5s;
}

.ai-orb-3 {
    width: 240px;
    height: 240px;
    top: 42%;
    left: 38%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.35), transparent 70%);
    animation-delay: -9s;
}

@keyframes aiOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(24px, -18px) scale(1.06); }
    66% { transform: translate(-16px, 12px) scale(0.96); }
}

.ai-scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.35), transparent);
    animation: aiScan 6s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes aiScan {
    0% { top: -2%; opacity: 0; }
    8% { opacity: 0.5; }
    92% { opacity: 0.5; }
    100% { top: 102%; opacity: 0; }
}

/* 拼凑舞台 */
.hero-assemble-wrap {
    position: relative;
    width: 100%;
}

.assemble-frame {
    position: relative;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.assemble-corner {
    position: absolute;
    width: clamp(48px, 8vw, 72px);
    height: clamp(48px, 8vw, 72px);
    border-color: var(--ai-cyan);
    border-style: solid;
    border-width: 0;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.assemble-corner::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ai-cyan);
    box-shadow: 0 0 14px var(--ai-cyan), 0 0 28px rgba(34, 211, 238, 0.4);
}

.corner-tl {
    top: 0;
    left: 0;
    border-top-width: 2px;
    border-left-width: 2px;
    transform: translate(-120%, -120%);
}
.corner-tl::after { top: -4px; left: -4px; }

.corner-tr {
    top: 0;
    right: 0;
    border-top-width: 2px;
    border-right-width: 2px;
    transform: translate(120%, -120%);
}
.corner-tr::after { top: -4px; right: -4px; }

.corner-bl {
    bottom: 0;
    left: 0;
    border-bottom-width: 2px;
    border-left-width: 2px;
    transform: translate(-120%, 120%);
}
.corner-bl::after { bottom: -4px; left: -4px; }

.corner-br {
    bottom: 0;
    right: 0;
    border-bottom-width: 2px;
    border-right-width: 2px;
    transform: translate(120%, 120%);
}
.corner-br::after { bottom: -4px; right: -4px; }

.assemble-border-h,
.assemble-border-v {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
    opacity: 0;
    z-index: 1;
}

.assemble-border-h {
    left: 10%;
    right: 10%;
    height: 1px;
}

.assemble-border-h.top { top: 0; transform: scaleX(0); }
.assemble-border-h.bottom { bottom: 0; transform: scaleX(0); }

.assemble-border-v {
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(129, 140, 248, 0.5), transparent);
}

.assemble-border-v.left { left: 0; transform: scaleY(0); }
.assemble-border-v.right { right: 0; transform: scaleY(0); }

/* 方向入场片段 */
.assemble-piece {
    opacity: 0;
    will-change: transform, opacity;
}

.assemble-from-top {
    transform: translateY(-80px) scale(0.92);
}

.assemble-from-bottom {
    transform: translateY(80px) scale(0.92);
}

.assemble-from-left {
    transform: translateX(-100px) scale(0.94);
}

.assemble-from-right {
    transform: translateX(100px) scale(0.94);
}

/* 激活态：由 JS 添加 .assemble-ready */
body.assemble-ready .assemble-corner {
    opacity: 1;
    transform: translate(0, 0);
    transition: transform var(--assemble-duration) var(--assemble-ease),
        opacity 0.5s ease;
}

body.assemble-ready .corner-tl { transition-delay: 0.06s; }
body.assemble-ready .corner-tr { transition-delay: 0.14s; }
body.assemble-ready .corner-bl { transition-delay: 0.22s; }
body.assemble-ready .corner-br { transition-delay: 0.3s; }

body.assemble-ready .assemble-border-h,
body.assemble-ready .assemble-border-v {
    opacity: 1;
    transform: scale(1);
    transition: transform 1.05s var(--assemble-ease) 0.38s, opacity 0.5s ease 0.34s;
}

body.assemble-ready .assemble-piece {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    transition: transform var(--assemble-duration) var(--assemble-ease),
        opacity 0.75s ease;
}

body.assemble-ready .assemble-from-top { transition-delay: 0.2s; }
body.assemble-ready .assemble-from-left { transition-delay: 0.32s; }
body.assemble-ready .assemble-from-right { transition-delay: 0.44s; }
body.assemble-ready .assemble-from-bottom { transition-delay: 0.56s; }

body.assemble-ready .hero-glass.assemble-piece { transition-delay: 0.66s; }

/* 首屏加载遮罩 */
.assemble-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: #050810;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.assemble-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(34, 211, 238, 0.15);
    border-top-color: var(--ai-cyan);
    animation: loaderSpin 1.05s linear infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.85);
}

.loader-brand {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: linear-gradient(120deg, #5eead4, #67e8f9, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* AI 标签闪烁 */
.ai-pulse-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ai-cyan);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
    margin-left: 0.75rem;
    vertical-align: middle;
    animation: aiTagPulse 2.4s ease-in-out infinite;
}

.ai-pulse-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ai-cyan);
    box-shadow: 0 0 8px var(--ai-cyan);
    animation: aiDotBlink 1.2s ease-in-out infinite;
}

@keyframes aiTagPulse {
    0%, 100% { border-color: rgba(34, 211, 238, 0.25); }
    50% { border-color: rgba(34, 211, 238, 0.55); box-shadow: 0 0 20px rgba(34, 211, 238, 0.12); }
}

@keyframes aiDotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* 数据面板动态条 */
body.assemble-ready .hero-bar {
    animation: barGrow 1.2s var(--assemble-ease) 0.9s backwards;
}

@keyframes barGrow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

/* 滚动显现 */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.85s ease, transform 0.85s var(--assemble-ease);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-from-left {
    transform: translateX(-48px);
}

.reveal-from-right {
    transform: translateX(48px);
}

.reveal-on-scroll.revealed.reveal-from-left,
.reveal-on-scroll.revealed.reveal-from-right {
    transform: translateX(0);
}

/* 导航入场 */
.navbar.assemble-nav {
    opacity: 0;
    transform: translateY(-24px);
    transition: opacity 0.75s ease 0.5s, transform 0.85s var(--assemble-ease) 0.5s;
}

body.assemble-ready .navbar.assemble-nav {
    opacity: 1;
    transform: translateY(0);
}

/* 子页面 Hero 拼凑：与首页共用 corner / border 动画 */
body.site-subpage.assemble-ready .assemble-frame-sub .assemble-corner,
body.site-subpage.assemble-ready .assemble-frame-sub .assemble-border-h,
body.site-subpage.assemble-ready .assemble-frame-sub .assemble-border-v {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

body.site-subpage.assemble-ready .assemble-frame-sub .assemble-border-h,
body.site-subpage.assemble-ready .assemble-frame-sub .assemble-border-v {
    transform: scale(1);
}

/* 增强科技感配色 */
.page-home {
    --home-accent: #14b8a6;
    --home-accent-2: #6366f1;
}

.page-home .hero-bg {
    background:
        radial-gradient(ellipse 100% 70% at 75% -15%, rgba(34, 211, 238, 0.28) 0%, transparent 52%),
        radial-gradient(ellipse 80% 55% at 5% 105%, rgba(99, 102, 241, 0.25) 0%, transparent 48%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(45, 212, 191, 0.06) 0%, transparent 60%),
        linear-gradient(165deg, #030712 0%, #0a0f1e 35%, #0f172a 100%);
}

.page-home .hero-title-accent {
    background: linear-gradient(120deg, #22d3ee 0%, #67e8f9 38%, #a5b4fc 72%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.25));
}

.hero-ai-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.hero-ai-chip {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    color: rgba(226, 232, 240, 0.92);
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(34, 211, 238, 0.18);
    backdrop-filter: blur(10px);
    font-family: 'Plus Jakarta Sans', monospace;
}

.hero-ai-chip em {
    font-style: normal;
    color: var(--ai-cyan);
    font-weight: 600;
}

.hero-shell-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    width: 100%;
}

.page-home .hero-shell {
    display: block;
}

.page-home .hero-content {
    animation: none;
}

.page-home .hero-glass {
    animation: none;
}

@media (max-width: 1024px) {
    .hero-shell-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ─── 免费政策 ─── */
.home-pricing-section {
    padding: 4rem 0 4.5rem;
    background: linear-gradient(165deg, #030712 0%, #0f172a 45%, #111c2f 100%);
    position: relative;
    overflow: hidden;
}

.home-pricing-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(34, 211, 238, 0.12), transparent 55%);
    pointer-events: none;
}

.home-pricing-inner {
    position: relative;
    z-index: 1;
}

.pricing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5eead4;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.35);
    margin-bottom: 1.25rem;
}

.pricing-headline {
    font-size: clamp(1.75rem, 3.8vw, 2.5rem);
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.pricing-lead {
    font-size: 1.0625rem;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.8;
    max-width: 40rem;
    margin-bottom: 2.25rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.pricing-card {
    border-radius: 18px;
    padding: 1.75rem 1.65rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.pricing-card.featured {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.12);
    background: linear-gradient(155deg, rgba(34, 211, 238, 0.1), rgba(99, 102, 241, 0.08));
}

.pricing-card-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 0.65rem;
}

.pricing-card.featured .pricing-card-label {
    color: #5eead4;
}

.pricing-card h3 {
    font-size: 1.25rem;
    color: #f8fafc;
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.pricing-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pricing-card li {
    font-size: 0.9375rem;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.75;
    padding: 0.35rem 0 0.35rem 1.35rem;
    position: relative;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2dd4bf;
    font-weight: 700;
    font-size: 0.8rem;
}

.pricing-note {
    margin-top: 1.75rem;
    font-size: 0.875rem;
    color: rgba(148, 163, 184, 0.85);
    line-height: 1.7;
}

.pricing-note strong {
    color: #e2e8f0;
}

/* ─── 首页精简功能区 ─── */
.home-features-compact {
    padding: 4rem 0 4.5rem !important;
}

.home-features-six .feature-card {
    padding: 1.5rem 1.35rem;
}

.home-features-six .feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0d9488;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(13, 148, 136, 0.15);
    margin-bottom: 1rem;
}

.home-features-six .feature-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}

.home-features-six .feature-card p {
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

.home-features-more {
    text-align: center;
    margin-top: 2rem;
}

.home-features-more a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f766e;
    text-decoration: none;
    transition: color 0.2s;
}

.home-features-more a:hover {
    color: #14b8a6;
}

.page-home .home-roadmap-section {
    padding: 4rem 0 4.5rem;
}

/* ─── 首页产品介绍 ─── */
.home-intro-section {
    padding: 4.5rem 0 1rem;
    position: relative;
    z-index: 1;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    margin-top: 2rem;
}

.home-intro-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}

.home-intro-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.home-intro-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #475569;
}

.home-intro-card a {
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
}

.home-intro-card a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .home-intro-grid {
        grid-template-columns: 1fr;
        max-width: 28rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ─── 业务全景图 ─── */
.section-subtitle-no-mb {
    margin-bottom: 0 !important;
}

.home-biz-flow {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 55%, #f8fafc 100%);
    position: relative;
    z-index: 1;
}

.biz-flow-diagram {
    max-width: 720px;
    margin: 2.75rem auto 0;
    padding: 0 0.5rem;
}

.biz-flow-hint {
    margin: 0 0 0.85rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
}

.biz-flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.biz-flow-row--channels {
    gap: 1rem;
}

.biz-flow-row--channels .biz-node {
    flex: 1 1 calc(50% - 1rem);
    max-width: 10.5rem;
}

.biz-flow-row--outputs .biz-node {
    flex: 1 1 9rem;
    max-width: 11rem;
}

.biz-flow-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0.35rem 0 0.25rem;
}

.biz-flow-side .biz-node {
    width: 100%;
    max-width: 11rem;
}

.biz-flow-side-note {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
}

.biz-flow-arrow {
    color: #64748b;
    font-size: 1.25rem;
    font-weight: 400;
    flex-shrink: 0;
    user-select: none;
    line-height: 1;
}

.biz-flow-arrow.down {
    display: block;
    text-align: center;
    margin: 1rem 0 0.85rem;
    width: 100%;
    font-size: 1.35rem;
}

.biz-node {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    text-align: center;
    min-width: 8.5rem;
    flex: 1 1 8.5rem;
    max-width: 10.5rem;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.biz-node:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.1);
}

.biz-node-icon {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 auto 0.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f766e;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(129, 140, 248, 0.12));
    border: 1px solid rgba(34, 211, 238, 0.22);
}

.biz-node strong {
    display: block;
    font-size: 0.9375rem;
    color: #0b1224;
    font-weight: 600;
    line-height: 1.35;
}

.biz-node span {
    display: block;
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.25rem;
    line-height: 1.45;
}

.biz-flow-hub {
    margin: 0 auto;
    max-width: 24rem;
    padding: 1.5rem 1.75rem;
    text-align: center;
    border-radius: 18px;
    background: linear-gradient(145deg, #070b14 0%, #0f172a 50%, #111c2f 100%);
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow:
        0 20px 50px rgba(7, 11, 20, 0.22),
        0 0 40px rgba(34, 211, 238, 0.1);
    position: relative;
}

.biz-flow-hub::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 19px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.4), rgba(129, 140, 248, 0.3));
    z-index: -1;
    opacity: 0.5;
}

.biz-flow-hub-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #22d3ee;
    margin-bottom: 0.4rem;
}

.biz-flow-hub strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.biz-flow-hub span {
    display: block;
    font-size: 0.8125rem;
    color: rgba(226, 232, 240, 0.82);
    margin-top: 0.4rem;
    line-height: 1.5;
}

.biz-node.channel {
    border-left: 3px solid #14b8a6;
}

.biz-node.output {
    border-left: 3px solid #6366f1;
}

.biz-flow-diagram .biz-node.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
}

.biz-flow-diagram .biz-node.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.biz-flow-hub.reveal-on-scroll {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.biz-flow-hub.reveal-on-scroll.revealed {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 720px) {
    .biz-flow-diagram {
        max-width: 18rem;
    }

    .biz-flow-row {
        flex-direction: column;
        gap: 0.35rem;
    }

    .biz-flow-arrow:not(.down) {
        transform: rotate(90deg);
        margin: 0.15rem 0;
    }

    .biz-flow-row--channels .biz-node,
    .biz-flow-row--outputs .biz-node,
    .biz-node {
        width: 100%;
        max-width: 16rem;
        flex: none;
    }

    .biz-flow-side-note {
        max-width: 14rem;
    }
}

/* ─── 如何开始（用户向）─── */
.home-start-section {
    padding: 5rem 0;
    background: #fff;
}

.start-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.start-card {
    padding: 1.5rem 1.35rem;
    border-radius: 14px;
    border: 1px solid var(--home-line, rgba(15, 23, 42, 0.08));
    background: linear-gradient(165deg, #f8fafc 0%, #fff 100%);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.start-card:hover {
    border-color: rgba(13, 148, 136, 0.25);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.start-card h4 {
    font-size: 1.0625rem;
    color: var(--home-ink, #0b1224);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.start-card p {
    font-size: 0.9375rem;
    color: var(--home-muted, #5c6578);
    line-height: 1.7;
    margin: 0;
}

/* ─── 未来计划 ─── */
.home-roadmap-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

.home-roadmap-section .section-head .section-title {
    color: #0b1224;
    background: linear-gradient(120deg, #0b1224 0%, #0f766e 45%, #4f46e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-roadmap-section .section-eyebrow {
    color: #64748b;
}

.home-roadmap-section .section-subtitle {
    color: #5c6578;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.35rem;
    margin-top: 2.5rem;
}

.roadmap-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.65rem 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.05);
    border-left: 4px solid var(--home-accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.roadmap-card h4 {
    font-size: 1.0625rem;
    color: var(--home-ink);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.roadmap-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #0f766e;
    background: rgba(13, 148, 136, 0.1);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.roadmap-card p {
    font-size: 0.9375rem;
    color: var(--home-muted);
    line-height: 1.75;
    margin: 0;
}

/* ─── 书店 / 文具装饰（仅首屏两侧下方，顶部导航区不显示） ─── */
.bookstore-deco-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.85s ease 0.35s;
    /* 裁掉导航栏与首屏顶部条带，避免红框区域出现图标 */
    clip-path: inset(112px 0 0 0);
    -webkit-clip-path: inset(112px 0 0 0);
}

body.assemble-ready .bookstore-deco-layer {
    opacity: 1;
}

.bookstore-deco-layer .bs-float {
    position: absolute;
    display: block;
    opacity: 0;
    filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.08));
    will-change: transform, opacity;
}

body.assemble-ready .bookstore-deco-layer .bs-float {
    opacity: 0.72;
    animation: bsFloatIdle 8.5s ease-in-out infinite;
}

/* 左下：书堆 */
.bs-float-1 {
    bottom: 18%;
    left: 2%;
    --bs-rot: -12deg;
    transform: rotate(var(--bs-rot)) scale(0.55) translate(-30px, 40px);
}
body.assemble-ready .bs-float-1 {
    transform: rotate(var(--bs-rot)) scale(1) translate(0, 0);
    transition: transform 1.2s var(--assemble-ease) 0.65s, opacity 0.85s ease 0.65s;
    animation-delay: 0.8s;
}

/* 右下：翻开的书 */
.bs-float-2 {
    bottom: 14%;
    right: 2%;
    --bs-rot: 10deg;
    transform: rotate(var(--bs-rot)) scale(0.55) translate(30px, 40px);
}
body.assemble-ready .bs-float-2 {
    transform: rotate(var(--bs-rot)) scale(1) translate(0, 0);
    transition: transform 1.2s var(--assemble-ease) 0.75s, opacity 0.85s ease 0.75s;
    animation-delay: 0.95s;
}

/* 左侧中部：笔记本 */
.bs-float-3 {
    bottom: 38%;
    left: 1%;
    --bs-rot: -8deg;
    transform: rotate(var(--bs-rot)) scale(0.5) translate(-40px, 20px);
}
body.assemble-ready .bs-float-3 {
    transform: rotate(var(--bs-rot)) scale(1) translate(0, 0);
    transition: transform 1.25s var(--assemble-ease) 0.85s, opacity 0.85s ease 0.85s;
    animation-delay: 1.1s;
}

/* 右侧中部：文具 */
.bs-float-4 {
    bottom: 36%;
    right: 1%;
    --bs-rot: 8deg;
    transform: rotate(var(--bs-rot)) scale(0.5) translate(40px, 20px);
}
body.assemble-ready .bs-float-4 {
    transform: rotate(var(--bs-rot)) scale(1) translate(0, 0);
    transition: transform 1.25s var(--assemble-ease) 0.95s, opacity 0.85s ease 0.95s;
    animation-delay: 1.2s;
}

@keyframes bsFloatIdle {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

body.assemble-ready.scrolled-past-hero .bookstore-deco-layer {
    opacity: 0.25;
    transition: opacity 0.8s ease;
}

@media (max-width: 1024px) {
    .bs-float-3,
    .bs-float-4 {
        display: none;
    }
}

@media (max-width: 640px) {
    .bookstore-deco-layer {
        clip-path: inset(96px 0 0 0);
        -webkit-clip-path: inset(96px 0 0 0);
    }

    body.assemble-ready .bookstore-deco-layer .bs-float {
        opacity: 0.45;
    }

    .bs-float-1 { width: 72px; bottom: 12%; }
    .bs-float-2 { width: 68px; bottom: 10%; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .assemble-loader { display: none; }
    .bookstore-deco-layer {
        display: none;
    }
    .assemble-piece,
    .assemble-corner,
    .assemble-border-h,
    .assemble-border-v,
    .navbar.assemble-nav {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .ai-grid,
    .ai-orb,
    .ai-scanline,
    .loader-ring,
    .ai-pulse-tag,
    .hero-bar {
        animation: none !important;
    }
    .reveal-on-scroll,
    .assemble-content-piece {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
