/* ==========================================================================
   北岸云 企业官网 · site.css
   样式权威：doc/全局UI风格规范-Multica风.md（§7 布局签名 / §8 组件规则）
   纯 CSS，无依赖。类名前缀 bc-
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. 令牌
   -------------------------------------------------------------------------- */
:root {
    /* 色板 */
    --bc-canvas: #fbfbfb;
    --bc-surface: #ffffff;
    --bc-fg: #09090b;
    --bc-fg-muted: #64636e;
    --bc-fg-faint: #7f7f89;
    --bc-border: #e4e4e7;
    --bc-border-hover: #d4d4d8;
    --bc-muted: #f4f4f5;
    --bc-primary: #18181b;
    --bc-primary-hover: #000000;
    --bc-primary-fg: #fafafa;
    --bc-brand: #0070e3;
    --bc-brand-hover: #2171cc;
    --bc-brand-soft: rgba(0, 112, 227, 0.08);
    --bc-danger: #e40014;
    --bc-info: #0f92f7;
    --bc-high: #f67f2f;
    --bc-ink: #0b0b0c;
    --bc-paper: #ffffff;

    /* 圆角 */
    --bc-r: 8px;
    --bc-r-card: 16px;
    --bc-r-menu: 14px;
    --bc-r-control: 10px;
    --bc-r-btn: 11px;
    --bc-r-item: 9px;
    --bc-r-chip: 6px;

    /* 阴影 */
    --bc-shadow-float: 0 16px 40px rgba(15, 23, 42, 0.14), 0 3px 10px rgba(15, 23, 42, 0.08);
    --bc-shadow-menu: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.05);
    --bc-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04);

    /* 字体 */
    --bc-font-ui: Inter, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --bc-font-serif: 'Source Serif', 'Iowan Old Style', 'Songti SC', serif;
    --bc-font-mono: ui-monospace, 'Geist Mono', Menlo, Consolas, monospace;

    /* 动效 */
    --bc-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --bc-ease-grow: cubic-bezier(0.22, 1, 0.36, 1);

    /* 布局 */
    --bc-container: 1120px;
    --bc-header-h: 64px;
    --bc-section-y: 96px;
}

/* --------------------------------------------------------------------------
   1. 基础 reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--bc-canvas);
    color: var(--bc-fg);
    font-family: var(--bc-font-ui);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-autospace: normal;
    font-synthesis-weight: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--bc-fg);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1,
h2 {
    font-weight: 700;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: var(--bc-brand);
    text-decoration: none;
    transition: color 0.15s var(--bc-ease);
}

a:hover {
    color: var(--bc-brand-hover);
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: rgba(0, 112, 227, 0.18);
}

.serif {
    font-family: var(--bc-font-serif);
    font-weight: 600;
    letter-spacing: 0;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

/* --------------------------------------------------------------------------
   2. 布局容器 / 通用 section
   -------------------------------------------------------------------------- */
.bc-container {
    width: 100%;
    max-width: var(--bc-container);
    margin: 0 auto;
    padding: 0 24px;
}

.bc-section {
    padding: var(--bc-section-y) 0;
}

.bc-section + .bc-section {
    padding-top: 0;
}

.bc-section-head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.bc-section-head h2 {
    margin-top: 14px;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.bc-section-head p {
    margin-top: 14px;
    font-size: 16px;
    color: var(--bc-fg-muted);
}

.bc-section-head.is-left {
    margin: 0 0 40px;
    text-align: left;
}

.bc-section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.bc-section-head-row .bc-section-head {
    margin: 0;
    text-align: left;
}

.bc-section-head-row .bc-more {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.bc-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bc-col-4 {
    grid-column: span 4;
}

.bc-eyebrow {
    display: inline-block;
    font-family: var(--bc-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bc-fg-muted);
}

.bc-main {
    min-height: 60vh;
}

/* --------------------------------------------------------------------------
   3. 按钮
   -------------------------------------------------------------------------- */
.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--bc-r-btn);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.15s var(--bc-ease), border-color 0.15s var(--bc-ease), color 0.15s var(--bc-ease), transform 0.15s var(--bc-ease), box-shadow 0.15s var(--bc-ease);
}

.bc-btn:active {
    transform: translateY(1px);
}

.bc-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 112, 227, 0.35);
}

.bc-btn-primary {
    background: var(--bc-primary);
    color: var(--bc-primary-fg);
}

.bc-btn-primary:hover {
    background: var(--bc-primary-hover);
    color: #ffffff;
}

.bc-btn-ghost {
    background: var(--bc-surface);
    border-color: var(--bc-border);
    color: var(--bc-fg);
}

.bc-btn-ghost:hover {
    background: var(--bc-muted);
    border-color: var(--bc-border-hover);
    color: var(--bc-fg);
}

.bc-btn-sm {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
}

.bc-btn-lg {
    height: 46px;
    padding: 0 22px;
    font-size: 15px;
}

.bc-btn-on-dark {
    background: #ffffff;
    color: var(--bc-ink);
}

.bc-btn-on-dark:hover {
    background: #f4f4f5;
    color: var(--bc-ink);
}

.bc-btn-outline-dark {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.bc-btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. 顶栏
   -------------------------------------------------------------------------- */
.bc-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--bc-header-h);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--bc-border);
}

.bc-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

.bc-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--bc-fg);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.bc-logo:hover {
    color: var(--bc-fg);
}

.bc-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.bc-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--bc-ink);
    color: #ffffff;
}

.bc-logo-mark svg {
    width: 16px;
    height: 16px;
}

.bc-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.bc-nav > ul {
    display: flex;
    align-items: center;
    gap: 2px;
}

.bc-nav li {
    position: relative;
    margin: 0;
}

.bc-nav a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: var(--bc-r-item);
    color: var(--bc-fg-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: color 0.15s var(--bc-ease), background-color 0.15s var(--bc-ease);
}

.bc-nav a:hover {
    color: var(--bc-fg);
    background: var(--bc-muted);
}

.bc-nav .is-active > a {
    color: var(--bc-fg);
    background: var(--bc-muted);
}

.bc-nav .has-child > a::after {
    content: '';
    width: 6px;
    height: 6px;
    margin-left: 2px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.15s var(--bc-ease);
}

.bc-nav .has-child:hover > a::after {
    transform: translateY(-1px) rotate(225deg);
}

/* 下拉 */
.bc-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    padding: 6px;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r-menu);
    box-shadow: var(--bc-shadow-menu);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s var(--bc-ease), transform 0.15s var(--bc-ease), visibility 0.15s;
}

.bc-dropdown li {
    display: block;
}

.bc-dropdown a {
    display: block;
    padding: 8px 10px;
    border-radius: var(--bc-r-chip);
    color: var(--bc-fg-muted);
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.bc-dropdown a:hover {
    color: var(--bc-fg);
    background: var(--bc-muted);
}

.has-child:hover > .bc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-child.is-open > .bc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 右侧动作 */
.bc-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.bc-header-actions .bc-text-link {
    color: var(--bc-fg-muted);
    font-size: 14px;
    font-weight: 500;
}

.bc-header-actions .bc-text-link:hover {
    color: var(--bc-fg);
}

.bc-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bc-fg-muted);
    font-size: 14px;
    font-weight: 500;
}

.bc-user:hover {
    color: var(--bc-fg);
}

.bc-user img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--bc-border);
    object-fit: cover;
}

.bc-user svg {
    width: 18px;
    height: 18px;
}

/* 汉堡 */
.bc-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0 9px;
    background: transparent;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r-btn);
}

.bc-burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--bc-fg);
    border-radius: 2px;
    transition: transform 0.2s var(--bc-ease), opacity 0.15s var(--bc-ease);
}

.bc-burger.is-active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.bc-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.bc-burger.is-active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.bc-hero {
    padding: 120px 0 96px;
}

.bc-hero .bc-eyebrow {
    margin-bottom: 20px;
}

.bc-hero h1 {
    max-width: 820px;
    font-size: clamp(36px, 5.2vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.bc-hero h1 .serif {
    font-weight: 600;
}

.bc-hero p {
    max-width: 560px;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--bc-fg-muted);
}

.bc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.bc-hero-visual {
    position: relative;
    margin-top: 72px;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r-card);
    box-shadow: var(--bc-shadow-float);
    overflow: hidden;
}

/* 纯 CSS「控制台」示意 */
.bc-console-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 18px;
    border-bottom: 1px solid var(--bc-border);
}

.bc-console-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bc-muted);
    border: 1px solid var(--bc-border);
}

.bc-console-bar i:nth-child(1) {
    background: #fde8e8;
}

.bc-console-bar i:nth-child(2) {
    background: #fff4d6;
}

.bc-console-bar i:nth-child(3) {
    background: #e3f5e9;
}

.bc-console-bar b {
    margin-left: 14px;
    font-family: var(--bc-font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--bc-fg-faint);
}

.bc-console-bar .bc-console-pill {
    margin-left: auto;
    height: 22px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--bc-r-chip);
    background: var(--bc-muted);
    color: var(--bc-fg-muted);
    font-size: 11px;
    font-weight: 500;
    font-family: var(--bc-font-mono);
}

.bc-console-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.bc-console-body {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 300px;
}

.bc-console-side {
    padding: 18px 14px;
    border-right: 1px solid var(--bc-border);
}

.bc-console-side i {
    display: block;
    height: 8px;
    margin-bottom: 14px;
    border-radius: 4px;
    background: var(--bc-muted);
}

.bc-console-side i:nth-child(1) {
    width: 60%;
    background: var(--bc-border-hover);
}

.bc-console-side i:nth-child(2) {
    width: 80%;
}

.bc-console-side i:nth-child(3) {
    width: 70%;
}

.bc-console-side i:nth-child(4) {
    width: 50%;
}

.bc-console-side i:nth-child(5) {
    width: 65%;
}

.bc-console-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px;
    align-content: start;
}

.bc-console-stat {
    padding: 16px;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r);
    background: var(--bc-surface);
}

.bc-console-stat em {
    display: block;
    margin-bottom: 10px;
    font-family: var(--bc-font-mono);
    font-size: 11px;
    font-style: normal;
    color: var(--bc-fg-faint);
}

.bc-console-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.bc-console-stat u {
    display: block;
    margin-top: 6px;
    height: 6px;
    width: 60%;
    border-radius: 3px;
    background: var(--bc-muted);
    text-decoration: none;
}

.bc-console-stat:nth-child(2) u {
    width: 80%;
    background: var(--bc-brand-soft);
}

.bc-console-stat:nth-child(3) u {
    width: 45%;
}

.bc-console-rows {
    grid-column: 1 / -1;
    margin-top: 4px;
    border-top: 1px solid var(--bc-border);
    padding-top: 14px;
}

.bc-console-rows i {
    display: grid;
    grid-template-columns: 18px 1fr 60px 40px;
    align-items: center;
    gap: 14px;
    height: 26px;
    margin-bottom: 6px;
}

.bc-console-rows i::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid var(--bc-border);
    background: var(--bc-surface);
}

.bc-console-rows i::after {
    content: '';
    grid-column: 2;
    height: 6px;
    width: 70%;
    border-radius: 3px;
    background: var(--bc-muted);
}

.bc-console-rows i b {
    grid-column: 3;
    height: 6px;
    width: 100%;
    border-radius: 3px;
    background: var(--bc-muted);
}

.bc-console-rows i u {
    grid-column: 4;
    height: 16px;
    width: 100%;
    border-radius: var(--bc-r-chip);
    background: var(--bc-muted);
}

.bc-console-rows i:nth-child(2)::after {
    width: 50%;
}

.bc-console-rows i:nth-child(3)::after {
    width: 62%;
}

.bc-console-rows i:nth-child(2) u {
    background: var(--bc-brand-soft);
}

/* --------------------------------------------------------------------------
   6. 卡片（产品矩阵）
   -------------------------------------------------------------------------- */
.bc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r-card);
    box-shadow: var(--bc-shadow-card);
    transition: transform 0.2s var(--bc-ease), box-shadow 0.2s var(--bc-ease), border-color 0.2s var(--bc-ease);
}

.bc-card:hover {
    transform: translateY(-2px);
    border-color: var(--bc-border-hover);
    box-shadow: var(--bc-shadow-float);
}

.bc-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    border-radius: var(--bc-r-control);
    background: var(--bc-muted);
    color: var(--bc-fg-muted);
}

.bc-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bc-card h3 {
    font-size: 18px;
    font-weight: 600;
}

.bc-card h3 a {
    color: var(--bc-fg);
}

.bc-card h3 a:hover {
    color: var(--bc-brand);
}

.bc-card p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--bc-fg-muted);
}

.bc-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--bc-border);
    font-size: 13px;
    font-weight: 500;
    color: var(--bc-fg);
}

.bc-card:hover .bc-card-link {
    color: var(--bc-brand);
}

.bc-card-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.15s var(--bc-ease);
}

.bc-card:hover .bc-card-link svg {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   7. 能力段（左文右图）
   -------------------------------------------------------------------------- */
.bc-feature {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
}

.bc-feature h2 {
    margin-top: 14px;
    font-size: 32px;
    letter-spacing: -0.02em;
}

.bc-feature > div > p {
    margin-top: 14px;
    color: var(--bc-fg-muted);
}

.bc-feature-list {
    margin-top: 36px;
}

.bc-feature-list li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid var(--bc-border);
}

.bc-feature-list li:last-child {
    border-bottom: 1px solid var(--bc-border);
}

.bc-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--bc-r-item);
    background: var(--bc-muted);
    color: var(--bc-fg);
}

.bc-feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bc-feature-list strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.bc-feature-list span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--bc-fg-muted);
}

/* 纯 CSS「面板」示意 */
.bc-panel {
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r-card);
    box-shadow: var(--bc-shadow-float);
    overflow: hidden;
}

.bc-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 20px;
    border-bottom: 1px solid var(--bc-border);
}

.bc-panel-head i {
    width: 40%;
    height: 8px;
    border-radius: 4px;
    background: var(--bc-border-hover);
}

.bc-panel-head u {
    width: 60px;
    height: 24px;
    border-radius: var(--bc-r-chip);
    background: var(--bc-ink);
}

.bc-panel-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 22px;
}

.bc-panel-box {
    padding: 16px;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r);
}

.bc-panel-box b {
    display: block;
    width: 50%;
    height: 7px;
    margin-bottom: 12px;
    border-radius: 4px;
    background: var(--bc-muted);
}

.bc-panel-box i {
    display: block;
    width: 100%;
    height: 6px;
    margin-bottom: 8px;
    border-radius: 3px;
    background: var(--bc-muted);
}

.bc-panel-box i:nth-child(3) {
    width: 70%;
}

.bc-panel-box i:nth-child(4) {
    width: 85%;
}

.bc-panel-box i:nth-child(5) {
    width: 55%;
}

.bc-panel-box.is-accent {
    background: var(--bc-canvas);
}

.bc-panel-box.is-accent b {
    background: var(--bc-brand);
}

.bc-panel-box.is-accent i {
    background: var(--bc-border);
}

.bc-panel-foot {
    display: flex;
    gap: 10px;
    padding: 0 22px 22px;
}

.bc-panel-foot i {
    flex: 1;
    height: 10px;
    border-radius: 5px;
    background: var(--bc-muted);
}

.bc-panel-foot i:first-child {
    flex: 0 0 30%;
    background: var(--bc-ink);
}

/* --------------------------------------------------------------------------
   8. 动态列表 / 列表页 / 分页
   -------------------------------------------------------------------------- */
.bc-post-list {
    border-top: 1px solid var(--bc-border);
}

.bc-post-list li {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 56px;
    padding: 0 8px;
    border-bottom: 1px solid var(--bc-border);
    color: var(--bc-fg);
    transition: background-color 0.15s var(--bc-ease);
}

.bc-post-list li:hover {
    background: rgba(244, 244, 245, 0.6);
}

.bc-post-list li a {
    font-size: 16px;
    font-weight: 500;
    color: var(--bc-fg);
}

.bc-post-list li a:hover {
    color: var(--bc-brand);
}

.bc-post-date {
    font-family: var(--bc-font-mono);
    font-size: 12px;
    color: var(--bc-fg-muted);
    white-space: nowrap;
}

.bc-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border-radius: var(--bc-r-chip);
    background: var(--bc-muted);
    color: var(--bc-fg-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

a.bc-chip:hover {
    color: var(--bc-fg);
    background: #e9e9ec;
}

.bc-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bc-chip.is-active {
    background: var(--bc-ink);
    color: #ffffff;
}

.bc-empty {
    padding: 48px 0;
    text-align: center;
    color: var(--bc-fg-muted);
    font-size: 14px;
    border-bottom: 1px solid var(--bc-border);
}

/* 列表页头 */
.bc-page-header {
    padding: 80px 0 40px;
    border-bottom: 1px solid var(--bc-border);
    margin-bottom: 32px;
}

.bc-page-header h1 {
    font-size: 40px;
    letter-spacing: -0.02em;
}

.bc-page-header p {
    max-width: 640px;
    margin-top: 14px;
    font-size: 16px;
    color: var(--bc-fg-muted);
}

.bc-page-header .bc-eyebrow {
    margin-bottom: 16px;
}

.bc-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.bc-list {
    margin-bottom: 48px;
}

/* 分页器（对接 addons/cms/paginator/Page.php 输出的 ul.pagination） */
.bc-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.bc-pagination .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bc-pagination .pagination li {
    display: block;
}

.bc-pagination .pagination a,
.bc-pagination .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r);
    background: var(--bc-surface);
    color: var(--bc-fg-muted);
    font-family: var(--bc-font-mono);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    transition: all 0.15s var(--bc-ease);
}

.bc-pagination .pagination a:hover {
    border-color: var(--bc-border-hover);
    color: var(--bc-fg);
    background: var(--bc-muted);
}

.bc-pagination .pagination .active span {
    background: var(--bc-ink);
    border-color: var(--bc-ink);
    color: #ffffff;
}

.bc-pagination .pagination .disabled span {
    color: var(--bc-fg-faint);
    background: transparent;
    border-color: transparent;
}

/* --------------------------------------------------------------------------
   9. 面包屑 / 详情 / 单页
   -------------------------------------------------------------------------- */
.bc-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
    font-size: 13px;
    color: var(--bc-fg-muted);
}

.bc-breadcrumb a {
    color: var(--bc-fg-muted);
}

.bc-breadcrumb a:hover {
    color: var(--bc-fg);
}

.bc-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bc-breadcrumb li + li::before {
    content: '/';
    color: var(--bc-border-hover);
}

.bc-breadcrumb li:last-child {
    color: var(--bc-fg-faint);
}

.bc-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 0 96px;
}

.bc-article > h1 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.bc-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 14px 0;
    border-top: 1px solid var(--bc-border);
    border-bottom: 1px solid var(--bc-border);
    font-size: 13px;
    color: var(--bc-fg-muted);
}

.bc-article-meta a {
    color: var(--bc-fg-muted);
}

.bc-article-meta a:hover {
    color: var(--bc-fg);
}

.bc-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 13px;
    color: var(--bc-fg-muted);
}

.bc-article-content {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--bc-fg);
    word-wrap: break-word;
}

.bc-article-content > *:first-child {
    margin-top: 0;
}

.bc-article-content > *:last-child {
    margin-bottom: 0;
}

.bc-article-content p {
    margin: 1.25em 0;
}

.bc-article-content h2 {
    margin: 2em 0 0.8em;
    font-size: 24px;
    line-height: 1.3;
}

.bc-article-content h3 {
    margin: 1.6em 0 0.6em;
    font-size: 20px;
    line-height: 1.35;
}

.bc-article-content h4 {
    margin: 1.4em 0 0.5em;
    font-size: 17px;
}

.bc-article-content ul,
.bc-article-content ol {
    margin: 1.25em 0;
    padding-left: 1.6em;
}

.bc-article-content ul li,
.bc-article-content ol li {
    margin: 0.4em 0;
}

.bc-article-content ul {
    list-style: disc;
}

.bc-article-content ol {
    list-style: decimal;
}

.bc-article-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bc-article-content img {
    margin: 1.5em auto;
    border-radius: 12px;
    border: 1px solid var(--bc-border);
}

.bc-article-content figure {
    margin: 1.5em 0;
}

.bc-article-content figcaption {
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    color: var(--bc-fg-muted);
}

.bc-article-content blockquote {
    margin: 1.5em 0;
    padding: 12px 20px;
    border-left: 2px solid var(--bc-brand);
    background: var(--bc-muted);
    border-radius: 0 var(--bc-r) var(--bc-r) 0;
    color: var(--bc-fg-muted);
}

.bc-article-content blockquote p {
    margin: 0;
}

.bc-article-content pre {
    margin: 1.5em 0;
    padding: 18px 20px;
    background: var(--bc-canvas);
    border: 1px solid var(--bc-border);
    border-radius: 12px;
    font-family: var(--bc-font-mono);
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
}

.bc-article-content code {
    padding: 2px 6px;
    background: var(--bc-muted);
    border-radius: 4px;
    font-family: var(--bc-font-mono);
    font-size: 0.9em;
}

.bc-article-content pre code {
    padding: 0;
    background: transparent;
}

.bc-article-content table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
    font-size: 14px;
}

.bc-article-content th,
.bc-article-content td {
    padding: 10px 12px;
    border: 1px solid var(--bc-border);
    text-align: left;
    vertical-align: top;
}

.bc-article-content th {
    background: var(--bc-muted);
    font-weight: 600;
}

.bc-article-content hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid var(--bc-border);
}

.bc-article-content .allow_visitor {
    margin: 1.5em 0;
    padding: 20px;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r);
    background: var(--bc-muted);
}

.bc-article-content .allow_visitor p {
    margin: 0 0 14px;
}

.bc-pay-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.bc-article-pages {
    margin-top: 32px;
}

/* 上下篇 */
.bc-article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 56px;
}

.bc-article-nav a {
    display: block;
    height: 100%;
    padding: 18px 20px;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r);
    background: var(--bc-surface);
    transition: border-color 0.15s var(--bc-ease), box-shadow 0.15s var(--bc-ease);
}

.bc-article-nav a:hover {
    border-color: var(--bc-border-hover);
    box-shadow: var(--bc-shadow-menu);
}

.bc-article-nav .bc-nav-next {
    text-align: right;
}

.bc-article-nav small {
    display: block;
    font-size: 12px;
    color: var(--bc-fg-faint);
}

.bc-article-nav strong {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bc-fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bc-article-nav a:hover strong {
    color: var(--bc-brand);
}

/* 单页 */
.bc-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 0 96px;
}

.bc-page > h1 {
    font-size: 40px;
    letter-spacing: -0.02em;
}

.bc-page-meta {
    margin-top: 18px;
    font-size: 13px;
    color: var(--bc-fg-muted);
}

.bc-page-content {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.8;
}

.bc-page-content > *:first-child {
    margin-top: 0;
}

.bc-page-content p {
    margin: 1.25em 0;
}

.bc-page-content h2 {
    margin: 2em 0 0.8em;
    font-size: 24px;
}

.bc-page-content h3 {
    margin: 1.6em 0 0.6em;
    font-size: 20px;
}

.bc-page-content img {
    margin: 1.5em auto;
    border-radius: 12px;
    border: 1px solid var(--bc-border);
}

.bc-page-content ul,
.bc-page-content ol {
    margin: 1.25em 0;
    padding-left: 1.6em;
}

.bc-page-content ul {
    list-style: disc;
}

.bc-page-content ol {
    list-style: decimal;
}

/* 搜索 */
.bc-search-box {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r-card);
}

.bc-search-form {
    display: flex;
    gap: 10px;
}

.bc-search-form input[type='text'] {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r-control);
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s var(--bc-ease), box-shadow 0.15s var(--bc-ease);
}

.bc-search-form input[type='text']:focus {
    border-color: var(--bc-brand);
    box-shadow: 0 0 0 3px rgba(0, 112, 227, 0.15);
}

.bc-search-form select {
    height: 44px;
    padding: 0 12px;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r-control);
    font-size: 14px;
    outline: none;
}

.bc-search-hots {
    margin-top: 20px;
    font-size: 13px;
    color: var(--bc-fg-muted);
}

.bc-search-hots .bc-chip-row {
    margin-top: 10px;
}

/* 标签云 */
.bc-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bc-tag-cloud a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-r-chip);
    color: var(--bc-fg);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s var(--bc-ease);
}

.bc-tag-cloud a:hover {
    border-color: var(--bc-border-hover);
    background: var(--bc-muted);
}

.bc-tag-cloud small {
    font-family: var(--bc-font-mono);
    font-size: 11px;
    color: var(--bc-fg-faint);
}

/* 文章内高亮 */
.bc-article-content mark {
    background: rgba(246, 127, 47, 0.25);
    color: inherit;
    padding: 0 2px;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   10. CTA
   -------------------------------------------------------------------------- */
.bc-cta {
    padding: 96px 0;
    background: var(--bc-ink);
    color: #ffffff;
}

.bc-cta-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.bc-cta h2 {
    color: #ffffff;
    font-size: 36px;
    letter-spacing: -0.02em;
}

.bc-cta p {
    margin-top: 16px;
    color: #a1a1aa;
    font-size: 16px;
}

.bc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.bc-footer {
    padding: 64px 0 32px;
    background: var(--bc-surface);
    border-top: 1px solid var(--bc-border);
}

.bc-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}

.bc-footer-brand .bc-logo {
    font-size: 18px;
}

.bc-footer-brand p {
    margin-top: 14px;
    max-width: 280px;
    font-size: 14px;
    color: var(--bc-fg-muted);
}

.bc-footer-contact {
    margin-top: 20px;
    font-size: 13px;
    color: var(--bc-fg-muted);
}

.bc-footer-contact li {
    margin-bottom: 6px;
}

.bc-footer-col h4 {
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bc-fg);
}

.bc-footer-col ul li {
    margin-bottom: 10px;
}

.bc-footer-col a {
    font-size: 14px;
    color: var(--bc-fg-muted);
}

.bc-footer-col a:hover {
    color: var(--bc-fg);
}

.bc-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--bc-border);
    font-size: 12px;
    color: var(--bc-fg-faint);
}

.bc-footer-bottom a {
    color: var(--bc-fg-faint);
}

.bc-footer-bottom a:hover {
    color: var(--bc-fg);
}

/* --------------------------------------------------------------------------
   12. 进入动画
   -------------------------------------------------------------------------- */
.bc-reveal {
    opacity: 1;
    transform: none;
}

.js .bc-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s var(--bc-ease-grow), transform 0.6s var(--bc-ease-grow);
}

.js .bc-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   13. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .bc-col-4 {
        grid-column: span 6;
    }

    .bc-feature {
        gap: 40px;
    }

    .bc-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .bc-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    :root {
        --bc-section-y: 72px;
    }

    .bc-header-inner {
        gap: 16px;
    }

    .bc-burger {
        display: inline-flex;
    }

    .bc-nav {
        position: absolute;
        top: var(--bc-header-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 24px 20px;
        background: var(--bc-surface);
        border-bottom: 1px solid var(--bc-border);
        box-shadow: var(--bc-shadow-menu);
    }

    .bc-nav.is-open {
        display: flex;
    }

    .bc-nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .bc-nav a {
        width: 100%;
        padding: 12px 14px;
        font-size: 15px;
    }

    .bc-dropdown {
        position: static;
        min-width: 0;
        margin: 2px 0 4px 12px;
        padding: 4px 0 4px 12px;
        background: transparent;
        border: 0;
        border-left: 1px solid var(--bc-border);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: hidden;
        transform: none;
        display: none;
    }

    .has-child.is-open > .bc-dropdown {
        display: block;
        visibility: visible;
    }

    .has-child:hover > .bc-dropdown {
        opacity: 1;
        visibility: hidden;
    }

    .bc-dropdown a {
        padding: 8px 10px;
        font-size: 14px;
    }

    .bc-header-actions .bc-text-link {
        display: none;
    }

    .bc-hero {
        padding: 80px 0 64px;
    }

    .bc-hero h1 {
        font-size: clamp(32px, 7.4vw, 48px);
    }

    .bc-feature {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bc-cta-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bc-cta-actions {
        justify-content: flex-start;
    }

    .bc-console-body {
        grid-template-columns: 1fr;
    }

    .bc-console-side {
        display: none;
    }

    .bc-console-main {
        grid-template-columns: 1fr 1fr;
    }

    .bc-article-nav {
        grid-template-columns: 1fr;
    }

    .bc-article-nav .bc-nav-next {
        text-align: left;
    }
}

@media (max-width: 600px) {
    :root {
        --bc-section-y: 64px;
    }

    .bc-container {
        padding: 0 20px;
    }

    .bc-section-head h2,
    .bc-feature h2 {
        font-size: 26px;
    }

    .bc-section-head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 28px;
    }

    .bc-col-4 {
        grid-column: span 12;
    }

    .bc-grid {
        gap: 16px;
    }

    .bc-card {
        padding: 22px;
    }

    .bc-hero {
        padding: 64px 0 48px;
    }

    .bc-hero p {
        font-size: 16px;
    }

    .bc-hero-visual {
        margin-top: 48px;
    }

    .bc-post-list li {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 6px 12px;
        padding: 14px 4px;
    }

    .bc-post-date {
        grid-column: 1;
        grid-row: 2;
    }

    .bc-post-list li a {
        grid-column: 1;
        grid-row: 1;
        font-size: 15px;
    }

    .bc-post-list .bc-chip {
        grid-column: 2;
        grid-row: 1;
    }

    .bc-page-header {
        padding: 56px 0 32px;
    }

    .bc-page-header h1,
    .bc-article > h1,
    .bc-page > h1 {
        font-size: 30px;
    }

    .bc-article {
        padding: 24px 0 64px;
    }

    .bc-cta {
        padding: 64px 0;
    }

    .bc-cta h2 {
        font-size: 28px;
    }

    .bc-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .bc-footer-brand {
        grid-column: 1 / -1;
    }

    .bc-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .bc-search-box {
        padding: 20px;
    }

    .bc-search-form {
        flex-wrap: wrap;
    }

    .bc-search-form input[type='text'] {
        flex: 1 1 100%;
    }

    .bc-console-main {
        grid-template-columns: 1fr;
    }

    .bc-header-actions .bc-btn {
        display: none;
    }

    .bc-header-actions .bc-user cite {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   14. 无障碍 / 动效降级
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .js .bc-reveal {
        opacity: 1;
        transform: none;
    }
}

/* print */
@media print {
    .bc-header,
    .bc-footer,
    .bc-cta,
    .bc-burger {
        display: none !important;
    }

    body {
        background: #ffffff;
    }
}
