/* ============================================================
   Yolanda汇智园 — 杂志简洁风格
   深邃幽蓝/石板灰 → 极黑 渐变背景
   暖米金 / 珍珠金 点缀色
   线条元素 · 山脉剪影 · 书法Slogan
   ============================================================ */

/* ================= 全局变量 & 重置 ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* === 背景色：深邃幽蓝 → 石板灰 → 极黑 === */
    --bg-top: #171d2e;       /* 顶部：深石板蓝 */
    --bg-mid: #0b0f1a;       /* 中段 */
    --bg-bot: #020208;       /* 底部：接近黑色 */
    --bg-mountain: #04040a;  /* 山脉纯深色 */

    /* === 点缀色：暖米金 / 珍珠金 === */
    --gold-light: #fcf2e4;   /* 浅米色 */
    --gold-mid:   #e8cfa8;   /* 中间暖金 */
    --gold-dark:  #c49464;   /* 深色铜金 */
    --gold-deep:  #8a643e;   /* 最深古铜 */
    --gold-gradient: linear-gradient(180deg, #fcf2e4 0%, #e8cfa8 45%, #c49464 100%);
    --gold-gradient-135: linear-gradient(135deg, #fcebd0 0%, #dfb894 60%, #a87951 100%);
    --gold-soft: linear-gradient(135deg, rgba(252, 242, 228, 0.1) 0%, rgba(200, 160, 110, 0.08) 100%);

    /* === 面板/卡片：深色半透明，杂志极简 === */
    --bg-card:    rgba(23, 29, 46, 0.55);
    --bg-card-2:  rgba(15, 20, 32, 0.7);
    --bg-sidebar: rgba(8, 10, 18, 0.92);
    --bg-panel:   rgba(20, 25, 40, 0.6);
    --bg-hover:   rgba(252, 242, 228, 0.06);

    /* === 文字色 === */
    --text-primary:   #e9ecf3;   /* 主文案：近白 */
    --text-secondary: #a6aebd;   /* 次文案：冷灰 */
    --text-muted:     #6e7687;   /* 弱化：深灰蓝 */
    --text-gold:      #f0d9b5;   /* 金白主色 */

    /* === 边框：极简线条 === */
    --border-line: rgba(255, 255, 255, 0.08);
    --border-line-2: rgba(252, 242, 228, 0.12);
    --border-gold: rgba(232, 207, 168, 0.25);

    /* === 阴影：克制使用，保持杂志质感 === */
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.28);

    /* === 圆角：克制偏方正 === */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    /* === 尺寸 === */
    --sidebar-width: 248px;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
                 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bot) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: env(safe-area-inset-bottom);
}

/* 页面整体叠加的极细噪点/光感（非常克制，杂志质感） */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(74, 94, 140, 0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(232, 207, 168, 0.04), transparent 60%);
    z-index: 0;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; transition: all 0.3s ease; color: inherit; }

/* ================= 主布局 ================= */
.app-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ================= 左侧导航栏（深色极简） ================= */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-line);
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* 顶部细线装饰（杂志风） */
.sidebar::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 1px; height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(232, 207, 168, 0.15) 50%, transparent 100%);
}

.sidebar-header {
    padding: 40px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid var(--border-line);
    position: relative;
}

/* 头像：暖金轮廓 */
.avatar-wrapper {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--gold-gradient-135);
    padding: 2px;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 6px 28px rgba(200, 150, 90, 0.22);
}
.avatar {
    width: 100%; height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2036 0%, #0c0f1c 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; font-weight: 600;
    background-clip: padding-box;
    -webkit-background-clip: text, padding-box;
    background-image: var(--gold-gradient), linear-gradient(135deg, #1a2036 0%, #0c0f1c 100%);
    -webkit-text-fill-color: transparent;
}
.avatar-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    -webkit-text-fill-color: initial;
    letter-spacing: -1px;
}
/* 修正：头像字母颜色用金色渐变 */
.avatar {
    background-image: linear-gradient(135deg, #1a2036 0%, #0c0f1c 100%);
}
.avatar::before {
    content: 'Y';
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; font-weight: 600;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.user-name {
    font-size: 22px;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    letter-spacing: 1.5px;
}
.user-title {
    font-size: 12px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    font-weight: 500;
}

/* 导航菜单 */
.sidebar-nav {
    flex: 1;
    padding: 20px 16px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.sidebar-nav::-webkit-scrollbar {
    display: none;
}
.nav-section-title {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 3px;
    padding: 14px 14px 10px;
    text-transform: uppercase;
}
.nav-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.28s ease;
    border: 1px solid transparent;
}
/* 杂志风：选中左侧金线 + 背景微光 */
.nav-item::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 2px; height: 0;
    background: var(--gold-gradient);
    border-radius: 2px;
    transition: height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.nav-item:hover::before { height: 16px; opacity: 0.6; }

.nav-item.active {
    background: linear-gradient(90deg, rgba(232, 207, 168, 0.10) 0%, transparent 100%);
    color: var(--text-gold);
    border-color: var(--border-gold);
}
.nav-item.active::before { height: 20px; opacity: 1; }
.nav-item.active:hover { background: linear-gradient(90deg, rgba(232, 207, 168, 0.14) 0%, transparent 100%); }

.nav-icon {
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    opacity: 0.85;
}
.nav-icon svg { width: 18px; height: 18px; }

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-line);
    text-align: center;
    position: relative;
}
.sidebar-qr {
    width: 100%;
    margin: 0 auto 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.sidebar-qr img {
    width: 110px;
    max-width: 90%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-line);
    display: block;
    margin: 0 auto;
}
.sidebar-qr-text {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-gold);
    letter-spacing: 1px;
    text-align: center;
}
.copyright {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    line-height: 1.8;
    opacity: 0.8;
}

/* ================= 主内容区 ================= */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    padding: 70px 0 0 0; /* 为 fixed topbar 留出空间 */
}

/* 顶部栏：透明玻璃态 + 金线分隔，固定定位 */
.topbar {
    position: fixed; top: 0; left: var(--sidebar-width); right: 0; z-index: 80;
    background: rgba(10, 13, 24, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-line);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 40px; right: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 207, 168, 0.2), transparent);
}

.topbar-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
}
.topbar-title .breadcrumb-sep {
    color: var(--text-muted);
    opacity: 0.6;
    font-weight: 400;
    font-size: 12px;
}
.topbar-title .breadcrumb-current {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    letter-spacing: 2px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-box {
    position: relative;
    width: 260px;
}
.search-box input {
    width: 100%;
    padding: 9px 14px 9px 40px;
    border: 1px solid var(--border-line);
    border-radius: var(--radius-lg);
    background: rgba(20, 25, 40, 0.6);
    font-size: 12px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    letter-spacing: 0.5px;
}
.search-box input::placeholder { color: var(--text-muted); opacity: 0.8; }
.search-box input:focus {
    border-color: var(--border-gold);
    background: rgba(28, 34, 54, 0.8);
    box-shadow: 0 0 0 3px rgba(232, 207, 168, 0.06);
}
.search-box .search-icon {
    position: absolute;
    left: 13px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-gold);
}
.icon-btn {
    width: 38px; height: 38px;
    border-radius: var(--radius-md);
    background: rgba(20, 25, 40, 0.5);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    border: 1px solid var(--border-line);
    transition: all 0.3s ease;
}
.icon-btn:hover {
    border-color: var(--border-gold);
    color: var(--text-gold);
    background: rgba(232, 207, 168, 0.05);
}

.page-content {
    padding: 32px 44px 0;
    max-width: 1440px;
    margin: 0 auto;
}

/* ================= 页面头部 Hero（深色杂志风） ================= */
.page-hero {
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    margin-bottom: 44px;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
    background:
        radial-gradient(900px 400px at 110% -20%, rgba(74, 94, 140, 0.25), transparent 60%),
        radial-gradient(600px 400px at -20% 120%, rgba(232, 207, 168, 0.07), transparent 60%),
        linear-gradient(135deg, rgba(32, 40, 64, 0.7) 0%, rgba(14, 18, 30, 0.85) 100%);
    border: 1px solid var(--border-line);
    box-shadow: var(--shadow-soft);
}
/* 左上角线条装饰 */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        linear-gradient(90deg, rgba(232, 207, 168, 0.18) 0%, transparent 30%) top left / 120px 1px no-repeat,
        linear-gradient(180deg, rgba(232, 207, 168, 0.18) 0%, transparent 40%) top left / 1px 120px no-repeat;
    pointer-events: none;
}
/* 右下角线条装饰 */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(270deg, rgba(232, 207, 168, 0.14) 0%, transparent 25%) bottom right / 160px 1px no-repeat,
        linear-gradient(0deg, rgba(232, 207, 168, 0.14) 0%, transparent 35%) bottom right / 1px 100px no-repeat;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }

/* ================= AI 搜索框 ================= */
.ai-search-section {
    margin-bottom: 44px;
}
.ai-search-box {
    border-radius: var(--radius-xl);
    padding: 32px 36px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 300px at 80% -10%, rgba(74, 94, 140, 0.22), transparent 60%),
        radial-gradient(400px 300px at 0% 120%, rgba(232, 207, 168, 0.06), transparent 60%),
        linear-gradient(135deg, rgba(28, 35, 56, 0.8) 0%, rgba(12, 16, 28, 0.9) 100%);
    border: 1px solid var(--border-line);
    box-shadow: var(--shadow-soft);
}
.ai-search-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.ai-search-title svg { color: var(--text-gold); flex-shrink: 0; }
.ai-search-input-wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}
.ai-search-input {
    flex: 1;
    height: 48px;
    padding: 0 18px;
    border-radius: var(--radius-md);
    background: rgba(8, 10, 18, 0.6);
    border: 1px solid var(--border-line);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.ai-search-input::placeholder { color: var(--text-muted); }
.ai-search-input:focus {
    border-color: var(--border-gold);
    box-shadow: 0 0 0 3px rgba(232, 207, 168, 0.08);
}
.ai-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gold-gradient);
    border: none;
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.ai-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 207, 168, 0.25);
}
/* Topbar 搜索框手机模式 */
@media (max-width: 600px) {
    .search-box {
        width: 38px;
    }
    .search-box input {
        display: none;
    }
    .search-box .search-icon {
        left: 50%;
        transform: translate(-50%, -50%);
    }
    /* AI 搜索框：输入框和按钮保持并列 */
    .ai-search-input-wrap {
        flex-direction: row;
        gap: 8px;
    }
    .ai-search-input {
        flex: 1;
        min-width: 0;
    }
    .ai-search-btn {
        flex-shrink: 0;
    }
}
.ai-search-presets {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.preset-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.preset-chip {
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(232, 207, 168, 0.04);
    border: 1px solid var(--border-line);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.preset-chip:hover {
    background: rgba(232, 207, 168, 0.1);
    border-color: var(--border-gold);
    color: var(--text-gold);
}
@media (max-width: 768px) {
    .ai-search-box { padding: 24px 18px; }
    .ai-search-title { font-size: 16px; margin-bottom: 14px; }
    .ai-search-input-wrap { flex-direction: row; }
    .ai-search-btn { justify-content: center; height: 44px; }
    .ai-search-input { height: 44px; font-size: 14px; }
    .ai-search-presets { gap: 6px; }
    .preset-chip { padding: 8px 12px; font-size: 11px; min-height: 36px; display: inline-flex; align-items: center; }
    .preset-label { font-size: 11px; }
    /* 常见问题手机：单列 */
    .ai-faq-grid { grid-template-columns: 1fr; }
    .ai-faq-item { padding: 18px; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    background: rgba(232, 207, 168, 0.05);
    color: var(--text-gold);
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 22px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.hero-badge svg { opacity: 0.9; }

.hero-title {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}
.hero-title br { display: block; content: ''; margin-bottom: 4px; }

.hero-desc {
    font-size: 14px;
    line-height: 1.95;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 620px;
    letter-spacing: 0.3px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-actions--center {
    display: block;
    justify-content: center;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-family: inherit;
}
/* 暖金主按钮 */
.btn-primary {
    background: var(--gold-gradient-135);
    color: #1a140a;
    box-shadow: 0 6px 20px rgba(200, 150, 90, 0.25);
    border: 1px solid rgba(252, 242, 228, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(200, 150, 90, 0.38);
    filter: brightness(1.05);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-gold);
    color: var(--text-gold);
}

/* ================= 通用区块标题（杂志风：线条分隔） ================= */
.section { margin-bottom: 56px; }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-line);
    position: relative;
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 60px; height: 1px;
    background: var(--gold-gradient);
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gold-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gold);
    flex-shrink: 0;
    border: 1px solid var(--border-gold);
}
.section-icon svg { width: 20px; height: 20px; }

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
}
.section-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
    letter-spacing: 1.5px;
}

.section-more {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid var(--border-line);
    letter-spacing: 1px;
}
.section-more:hover {
    color: var(--text-gold);
    border-color: var(--border-gold);
    gap: 10px;
}

/* ================= 瀑布流布局 ================= */
.waterfall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 24px;
}
.waterfall.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.waterfall.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.waterfall-item {
    margin-bottom: 0;
    display: flex;
}
.waterfall-item > .card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.waterfall-item > .card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ================= 卡片组件（深色半透明+细边） ================= */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-line);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--border-gold);
}

.card-media {
    position: relative;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
    background:
        radial-gradient(500px 260px at 50% 0%, rgba(74, 94, 140, 0.25), transparent 60%),
        linear-gradient(180deg, rgba(35, 44, 70, 0.7) 0%, rgba(14, 18, 30, 0.9) 100%);
}
.card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0L40 20L20 40L0 20z" fill="none" stroke="white" stroke-width="0.3" opacity="0.05"/></svg>');
    opacity: 0.8;
    pointer-events: none;
}

.card-media.tall,
.card-media.short,
.card-media.square {
    height: 220px;
    aspect-ratio: auto;
}

/* 背景产品图已移除——仅保留 .card-visual-icon 内的单张前景图，避免重影 */
.visual-photo {
    display: none !important;
}

.card-visual {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    z-index: 2;
}

/* 图标容器：极简线条风格 */
.card-visual-icon {
    width: 78%;
    height: 78%;
    max-width: 320px;
    max-height: 180px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(252, 242, 228, 0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gold);
    position: relative;
}
.card-visual-icon::before {
    display: none;
}
.card-visual-icon svg { width: 34px; height: 34px; opacity: 0.92; }
.card-visual-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 6px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

.card-tag {
    position: absolute;
    top: 14px; left: 14px;
    padding: 4px 12px;
    background: rgba(8, 10, 18, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-gold);
    letter-spacing: 1.5px;
    z-index: 3;
}
.card-tag.hot {
    background: linear-gradient(135deg, rgba(252, 242, 228, 0.14), rgba(196, 148, 100, 0.18));
    border-color: rgba(252, 200, 150, 0.35);
    color: #f9d8a8;
}
.card-tag.new {
    background: rgba(74, 144, 217, 0.14);
    border-color: rgba(120, 170, 220, 0.35);
    color: #b6d4ef;
}

.card-body { padding: 20px; }

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.55;
    letter-spacing: 0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-line);
}

.card-meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.card-meta-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--gold-gradient);
    opacity: 0.6;
}

.meta-tag {
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(232, 207, 168, 0.06);
    border: 1px solid var(--border-gold);
    color: var(--text-gold);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ================= 统计卡片（金数+暗色面板） ================= */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 44px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    border: 1px solid var(--border-line);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 207, 168, 0.28), transparent);
    opacity: 0.5;
}
.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-card);
}
.stat-card:hover::before { opacity: 1; }

.stat-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    background: var(--gold-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gold);
    margin-bottom: 18px;
    border: 1px solid var(--border-gold);
}
.stat-icon svg { width: 20px; height: 20px; }

/* 金色渐变数字 */
.stat-number {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 6px 20px rgba(200, 150, 90, 0.22);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

/* ================= 产品分类标签（极简线条） ================= */
.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 5px;
    background: rgba(15, 20, 32, 0.5);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-line);
    width: fit-content;
}
.category-tab {
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.category-tab:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}
.category-tab.active {
    background: rgba(232, 207, 168, 0.08);
    color: var(--text-gold);
    border-color: var(--border-gold);
}

/* ================= 产品详情区 ================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-line);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: var(--border-gold);
}

.product-visual {
    height: 220px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(600px 300px at 50% -10%, rgba(74, 94, 140, 0.28), transparent 65%),
        linear-gradient(180deg, rgba(30, 38, 60, 0.6) 0%, rgba(12, 15, 26, 0.9) 100%);
}
/* 背景产品图已移除——仅保留 .product-icon-wrap 内的单张前景图，避免重影 */
.product-visual .visual-photo {
    display: none !important;
}
.product-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M25 0L50 25L25 50L0 25z" fill="none" stroke="white" stroke-width="0.4" opacity="0.05"/></svg>');
    pointer-events: none;
}
.product-visual::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 207, 168, 0.2), transparent);
}

.product-icon-wrap {
    width: 82%;
    height: 78%;
    max-width: 360px;
    max-height: 180px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(252, 242, 228, 0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gold);
    position: relative;
    z-index: 2;
}
.product-icon-wrap::before {
    display: none;
}
.product-icon-wrap svg { width: 42px; height: 42px; opacity: 0.92; }
.product-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 6px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

.product-content { padding: 22px; }
.product-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.4px;
}
.product-model {
    font-size: 11px;
    color: var(--text-gold);
    font-weight: 500;
    margin-bottom: 16px;
    padding: 3px 12px;
    background: rgba(232, 207, 168, 0.06);
    border: 1px solid var(--border-gold);
    display: inline-block;
    border-radius: 50px;
    letter-spacing: 1px;
}
.product-specs { margin-bottom: 18px; }
.product-spec {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.6;
}
.product-spec::before {
    content: '—';
    color: var(--gold-dark);
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: -1px;
}
.product-industry {
    padding-top: 16px;
    border-top: 1px solid var(--border-line);
}
.industry-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.industry-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.industry-tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-line);
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}
.industry-tag:hover {
    border-color: var(--border-gold);
    color: var(--text-gold);
    background: rgba(232, 207, 168, 0.05);
}

/* ================= 方案/科普 文章卡片 ================= */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-line);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--border-gold);
}

.article-cover {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(500px 240px at 50% -10%, rgba(74, 94, 140, 0.3), transparent 60%),
        linear-gradient(180deg, rgba(30, 40, 62, 0.65) 0%, rgba(12, 16, 28, 0.9) 100%);
}
.article-cover::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 207, 168, 0.2), transparent);
}

.article-cover-icon {
    width: 62px; height: 62px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(252, 242, 228, 0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gold);
    position: relative;
}
.article-cover-icon::before {
    display: none;
}
.article-cover-icon svg { width: 30px; height: 30px; }

.article-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.55;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.article-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.9;
    flex: 1;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-line);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.article-read {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 1px;
}
.article-read:hover {
    color: var(--text-gold);
    gap: 10px;
}

/* ================= 个人信息页面 ================= */
.profile-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.profile-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-line);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-card);
}

.profile-cover {
    height: 130px;
    position: relative;
    background:
        radial-gradient(500px 240px at 50% 120%, rgba(74, 94, 140, 0.35), transparent 60%),
        linear-gradient(180deg, #1a223b 0%, #0c0f1c 100%);
}
.profile-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="90" height="90" viewBox="0 0 90 90" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="white" opacity="0.15"/><circle cx="70" cy="60" r="1.2" fill="white" opacity="0.15"/><circle cx="45" cy="40" r="0.8" fill="white" opacity="0.2"/></svg>');
}

.profile-avatar-section {
    padding: 0 28px 28px;
    margin-top: -52px;
    position: relative;
}
.profile-avatar-wrap {
    width: 108px; height: 108px;
    border-radius: 50%;
    background: var(--gold-gradient-135);
    padding: 2px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.4), 0 0 0 1px rgba(232, 207, 168, 0.1);
    margin-bottom: 18px;
}
.profile-avatar {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2036 0%, #0a0d17 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
}
.profile-avatar-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.profile-avatar::before {
    content: 'Y';
    font-size: 44px;
    font-weight: 600;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.profile-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    letter-spacing: 1px;
}
.profile-role {
    font-size: 13px;
    color: var(--text-gold);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.profile-company {
    font-size: 12px;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: rgba(20, 25, 40, 0.6);
    border: 1px solid var(--border-line);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.profile-company svg { color: var(--text-gold); opacity: 0.8; flex-shrink: 0; }

.info-block { padding: 0 28px 28px; }
.info-block-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-bottom: 18px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}
.info-block-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 1px;
    background: var(--gold-gradient);
}

.contact-list { display: flex; flex-direction: column; gap: 12px; }

.contact-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(15, 20, 32, 0.6);
    border: 1px solid var(--border-line);
    transition: all 0.3s ease;
}
.contact-item:hover {
    border-color: var(--border-gold);
    background: rgba(232, 207, 168, 0.04);
    transform: translateX(4px);
}

.contact-icon {
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    background: var(--gold-soft);
    border: 1px solid var(--border-gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gold);
    flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }

.contact-info { flex: 1; }
.contact-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 4px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.contact-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
    padding: 22px;
    background: rgba(15, 20, 32, 0.55);
    border: 1px solid var(--border-line);
    border-radius: var(--radius-lg);
    justify-items: center;
    align-items: start;
    justify-content: center;
    align-content: center;
}
.qr-item {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
}
.qr-placeholder {
    aspect-ratio: 1;
    width: 100%;
    max-width: 160px;
    border-radius: var(--radius-md);
    background: var(--gold-mid);
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.qr-placeholder:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}
.qr-placeholder svg { width: 34px; height: 34px; color: var(--gold-mid); opacity: 0.6; }
.qr-img {
    width: 100%; height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--radius-md);
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.qr-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-align: center;
    margin: 0 auto;
}

/* 个人详情右侧 */
.profile-detail {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.detail-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-line);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}
.detail-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, rgba(232, 207, 168, 0.28), transparent 60%);
}

.detail-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.detail-title-icon {
    width: 34px; height: 34px;
    border-radius: var(--radius-sm);
    background: var(--gold-soft);
    border: 1px solid var(--border-gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gold);
    flex-shrink: 0;
}
.detail-title-icon svg { width: 17px; height: 17px; }

.business-desc {
    font-size: 14px;
    line-height: 2;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.industry-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(15, 20, 32, 0.55);
    border: 1px solid var(--border-line);
    transition: all 0.3s ease;
}
.industry-item:hover {
    border-color: var(--border-gold);
    background: rgba(232, 207, 168, 0.04);
    transform: translateX(4px);
}

.industry-item-icon {
    width: 60px; height: 60px;
    border-radius: var(--radius-md);
    background: rgba(232, 207, 168, 0.06);
    border: 1px solid var(--border-gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gold);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.industry-item:hover .industry-item-icon { 
    border-color: var(--border-gold); 
    background: rgba(232, 207, 168, 0.12);
    transform: scale(1.05);
}
.industry-item-icon svg { width: 28px; height: 28px; }

.industry-item-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

/* 服务内容列表 */
.service-list { display: flex; flex-direction: column; gap: 12px; }

.service-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(15, 20, 32, 0.5);
    border: 1px solid var(--border-line);
    transition: all 0.3s ease;
}
.service-item:hover {
    border-color: var(--border-gold);
    background: linear-gradient(90deg, rgba(232, 207, 168, 0.04) 0%, rgba(15, 20, 32, 0.5) 40%);
}

.service-num {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--gold-soft);
    border: 1px solid var(--border-gold);
    color: var(--text-gold);
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
}

.service-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}
.service-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.85;
}

/* ================= 首页特色推荐 ================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 30px 22px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-line);
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 1px;
    background: var(--gold-gradient);
    transition: width 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: var(--border-gold);
}
.feature-card:hover::before { width: 60px; }

.feature-icon {
    width: 60px; height: 60px;
    border-radius: var(--radius-md);
    background: var(--gold-soft);
    border: 1px solid var(--border-gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gold);
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(200, 150, 90, 0.22);
}
.feature-icon svg { width: 28px; height: 28px; }

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.feature-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.75;
    letter-spacing: 0.3px;
}

/* ============================================================
   关键模块：统计数据 + 山脉剪影 + 书法Slogan 组合区
   ============================================================ */
.stats-mountains-section {
    width: 100%;
    margin: 36px 0 0;
    padding: 56px 44px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, transparent 0%, rgba(11, 15, 26, 0.5) 50%, var(--bg-mountain) 100%);
}

.stats-mountains-section .stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
    gap: 20px;
}

.stats-mountains-section .stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 10px 10px;
}
.stats-mountains-section .stat-icon-wrap {
    width: 44px; height: 44px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-primary);
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-line);
}
.stats-mountains-section .stat-icon-wrap svg { width: 22px; height: 22px; }

.stats-mountains-section .stat-number {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 6px 30px rgba(200, 150, 90, 0.3);
}
.stats-mountains-section .stat-desc {
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 12px;
    letter-spacing: 1.5px;
    line-height: 1.7;
    opacity: 0.85;
}

/* 书法 Slogan */
.slogan-wrapper {
    margin-top: 30px;
    text-align: center;
    position: relative;
    z-index: 3;
    padding-bottom: 28px;
}
.slogan-text {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 12px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow: 0 2px 22px rgba(232, 207, 168, 0.18), 0 0 40px rgba(232, 207, 168, 0.12);
    padding-left: 12px;
}
/* 弧线装饰：非常细的白色线，带微光 */
.slogan-underline {
    width: 420px;
    height: 30px;
    margin: 6px auto 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    box-shadow: 0 2px 14px rgba(255, 255, 255, 0.08), 0 -1px 6px rgba(252, 242, 228, 0.05);
    position: relative;
}
.slogan-underline::before,
.slogan-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(252, 242, 228, 0.5);
    box-shadow: 0 0 10px rgba(232, 207, 168, 0.4);
    transform: translateY(50%);
}
.slogan-underline::before { left: 8%; }
.slogan-underline::after  { right: 8%; }

.sub-slogan {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 6px;
    opacity: 0.85;
    padding-left: 6px;
}

/* 山脉 SVG 背景（纯深色） */
.mountain-silhouette {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 160px;
    z-index: 2;
    pointer-events: none;
}
.mountain-silhouette svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* 页脚（山脚下） */
.site-footer {
    background: var(--bg-mountain);
    padding: 40px 44px 44px;
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}
.site-footer .footer-brand {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.site-footer .footer-copy { opacity: 0.7; font-size: 11px; }

/* ================= 响应式（PC / PAD / 手机 三段） ================= */
/* ---- PAD 横屏 / 小型桌面 ---- */
@media (max-width: 1200px) {
    .waterfall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .waterfall.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-container { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
}

/* ---- PAD 竖屏（768~900 专用补充） ---- */
@media (max-width: 1024px) {
    :root { --sidebar-width: 200px; }
    .user-name { font-size: 18px; letter-spacing: 1px; }
    .user-title { font-size: 11px; letter-spacing: 1.5px; }
    .nav-item { padding: 11px 12px; font-size: 12.5px; gap: 11px; }
    .page-hero { padding: 36px 28px; }
    .hero-title { font-size: 26px; }
    .slogan-text { font-size: 30px; letter-spacing: 8px; }
    .slogan-underline { width: 340px; height: 24px; }
    .qr-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ---- 手机 PAD 通用小屏（< 900px） ---- */
@media (max-width: 900px) {
    :root { --sidebar-width: 72px; }

    .sidebar-header { padding: 24px 10px; }
    .avatar-wrapper { width: 50px; height: 50px; }
    .avatar::before { font-size: 22px; }
    .user-name, .user-title, .nav-section-title, .sidebar-footer { display: none; }

    .nav-item { justify-content: center; padding: 13px; min-height: 48px; }
    .nav-item > span:last-child { display: none; }

    .main-content { margin-left: var(--sidebar-width); }
    .page-content { padding: 20px 16px 0; }
    .topbar { padding: 12px 16px; }
    /* 小屏搜索框：只显示图标 */
    .search-box { width: 40px; }
    .search-box input { display: none; }
    .search-box .search-icon { left: 50%; transform: translate(-50%, -50%); }

    .ai-chat-quick-btn { padding: 8px 10px; font-size: 11px; letter-spacing: 0.5px; }
    .ai-chat-quick-btn span { display: none; }
    .ai-chat-quick-btn::after { content: 'AI'; font-weight: 700; }

    .page-hero { padding: 28px 20px; }
    .hero-badge { font-size: 10px; padding: 5px 13px; letter-spacing: 2px; }
    .hero-title { font-size: 22px; line-height: 1.5; }
    .hero-desc { font-size: 13px; line-height: 1.85; margin-bottom: 22px; }
    .hero-actions { flex-wrap: wrap; gap: 10px; }
    .btn { min-height: 42px; }

    .section { margin-bottom: 40px; }
    .section-header { margin-bottom: 20px; }
    .section-title { font-size: 18px; letter-spacing: 2px; }

    .waterfall { grid-template-columns: 1fr; column-gap: 16px; row-gap: 16px; }
    .waterfall.cols-2 { grid-template-columns: 1fr; }
    .waterfall.cols-4 { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; gap: 16px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat-card { padding: 18px 16px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .industry-list { grid-template-columns: 1fr; gap: 14px; }

    .stats-mountains-section { padding: 36px 14px 0; margin-top: 16px; }
    .mountain-silhouette { height: 120px; }
    .slogan-wrapper { margin-top: 18px; padding-bottom: 22px; }
    .slogan-text { font-size: 20px; letter-spacing: 5px; }
    .slogan-underline { width: 80%; height: 22px; }
    .sub-slogan { font-size: 11px; letter-spacing: 3px; }
    .site-footer { padding: 26px 16px 30px; }
    .site-footer .footer-copy { font-size: 10px; line-height: 1.8; }

    /* 卡片、产品卡减小内边距 */
    .detail-card { padding: 18px; }
    .profile-card { padding: 20px; }
    .product-visual { height: 180px; }
    .qr-grid { padding: 16px; gap: 12px; }
    .qr-placeholder { max-width: 140px; }
    .industry-tags { gap: 5px; }
    .industry-tag { font-size: 10.5px; padding: 4px 8px; }
    .ai-history-item { padding: 10px 12px; min-height: 40px; }

    /* AI 页小屏 */
    .ai-layout { flex-direction: column; height: calc(100vh - 56px); min-height: auto; }
    .ai-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-line); }
    .ai-main { min-height: 60vh; }
    .ai-input-wrap { padding: 14px; }
    .ai-page-hero { padding: 20px 20px !important; }
}

/* ---- 纯手机（< 600px） ---- */
@media (max-width: 600px) {
    :root { --sidebar-width: 56px; }
    .sidebar { width: 56px !important; }
    .sidebar-header { padding: 16px 6px; }
    .avatar-wrapper { width: 40px; height: 40px; }
    .avatar::before { font-size: 18px; }
    .user-name, .user-title, .nav-section-title, .sidebar-footer { display: none; }
    .nav-item { justify-content: center; padding: 10px 6px; min-height: 44px; }
    .nav-item > span:last-child { display: none; }
    .nav-icon svg { width: 16px; height: 16px; }
    .main-content { margin-left: 56px; }
    .topbar { left: 56px !important; padding: 10px 12px; }

    .page-content { padding: 16px 14px 0; }

    .stats-row { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .topbar-title { font-size: 13px; }

    /* Topbar 手机模式：隐藏搜索框 */
    .search-box-wrap { display: none; }

    /* Topbar 手机模式：只显示图标 */
    .ai-chat-quick-btn span { display: none; }
    .ai-chat-quick-btn { padding: 8px; width: 38px; height: 38px; justify-content: center; }

    /* AI 搜索框手机模式 */
    .ai-search-btn span { display: none; }
    .ai-search-btn { padding: 0; width: 44px; height: 44px; justify-content: center; }

    /* 常见问题手机：单列显示 */
    .ai-faq-section { display: block; }

    /* 常见问题手机：单列 */
    .ai-faq-grid { grid-template-columns: 1fr !important; gap: 12px; }
    .ai-faq-item { padding: 16px !important; }
    .ai-faq-icon { width: 36px; height: 36px; }
    .ai-faq-icon svg { width: 18px; height: 18px; }
    .ai-faq-item h3 { font-size: 14px; }
    .ai-faq-item p { font-size: 12px; }

    /* AI 页面手机自适应 */
    .ai-page-hero { padding: 18px 14px !important; border-radius: var(--radius-lg) !important; }
    .ai-page-hero .hero-title { font-size: 20px !important; }
    .ai-page-hero .hero-desc { font-size: 12px !important; }
    .ai-layout { height: auto !important; min-height: 500px; overflow: visible !important; }
    .ai-main { min-height: 50vh; overflow: visible !important; }
    .ai-welcome { padding: 20px 14px; }
    .ai-welcome h2 { font-size: 18px; }
    .ai-welcome p { font-size: 12px; }
    .ai-input-wrap { padding: 10px; }
    .ai-input-box textarea { font-size: 13px; min-height: 44px; }
    .section-title { font-size: 16px; letter-spacing: 1.5px; }
    .section { margin-bottom: 32px; }
    .detail-card { padding: 16px 14px; }
    .profile-card { padding: 18px 14px 20px; }
    .qr-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-tabs { overflow-x: auto; flex-wrap: nowrap; width: 100%; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    .category-tabs::-webkit-scrollbar { display: none; }
    .category-tab { flex-shrink: 0; font-size: 12px; padding: 8px 14px; min-height: 36px; display: inline-flex; align-items: center; }
    .btn { padding: 10px 18px; font-size: 13px; min-height: 42px; }

    .hero-badge { padding: 5px 12px; font-size: 9.5px; letter-spacing: 1.5px; margin-bottom: 16px; }
    .page-hero { padding: 22px 16px; }
    .hero-title { font-size: 20px; line-height: 1.55; margin-bottom: 14px; }
    .hero-desc { font-size: 12.5px; line-height: 1.9; margin-bottom: 18px; }
    .hero-actions { flex-direction: column; gap: 8px; }
    .hero-actions .btn { justify-content: center; }

    .ai-search-box { padding: 20px 14px; border-radius: 16px; }
    .ai-search-title { font-size: 15px; margin-bottom: 12px; gap: 8px; }
    .ai-search-input-wrap { gap: 8px; margin-bottom: 14px; }
    .ai-search-presets { gap: 5px; }
    .preset-chip { padding: 7px 10px; font-size: 10.5px; min-height: 34px; }
    .preset-label { width: 100%; margin-bottom: 2px; font-size: 10.5px; }

    .stats-mountains-section { padding: 32px 12px 0; }
    .mountain-silhouette { height: 90px; }
    .slogan-text { font-size: 18px; letter-spacing: 4px; }
    .slogan-underline { width: 88%; height: 18px; }
    .sub-slogan { font-size: 10px; letter-spacing: 2px; }
    .slogan-wrapper { padding-bottom: 18px; }

    .product-grid { gap: 12px; }
    .waterfall { gap: 12px; }
    .product-visual { height: 150px; }

    /* 个人页 */
    .qr-grid { padding: 14px; margin-top: 18px; }
    .qr-item { gap: 6px; }
    .qr-placeholder { max-width: 100%; }
    .qr-label { font-size: 11px; margin-top: 6px; }

    /* 个人页 */
    .profile-head { flex-direction: column; text-align: center; gap: 16px; }
    .profile-head .avatar { width: 88px; height: 88px; flex-shrink: 0; }
    .profile-bio { line-height: 1.85; font-size: 13px; }

    /* AI 对话历史侧边栏在手机模式下隐藏 */
    .ai-sidebar { display: none; }
    .ai-layout { height: auto; border-radius: 0; border-left: none; border-right: none; margin: 0; }
    .ai-page-hero { padding: 18px 14px !important; }
    .ai-chat-body { padding: 14px 12px 8px; }
    .ai-message { gap: 10px; margin-bottom: 16px; }
    .ai-avatar { width: 30px; height: 30px; font-size: 12px; }
    .ai-bubble { padding: 10px 12px; font-size: 13.5px; line-height: 1.75; max-width: 92%; }
    .ai-input-wrap { padding: 12px 12px 14px; }
    .ai-input-box { padding: 10px 12px; gap: 8px; }
    .ai-input-box textarea { font-size: 14px; line-height: 1.6; max-height: 140px; }
    .ai-send-btn { width: 40px; height: 40px; flex-shrink: 0; }

    /* 触摸区域按钮统一更大 */
    .nav-item, .category-tab, .preset-chip, .btn, .ai-send-btn,
    .stat-card, .product-card, .waterfall-item > .card {
        -webkit-tap-highlight-color: transparent;
    }
}

/* ================= 入场动画 ================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-in {
    animation: fadeInUp 0.55s ease forwards;
    opacity: 0;
}

/* ================= AI 助手页面样式 ================= */
.ai-page-hero {
    padding: 24px 36px !important;
    margin-bottom: 0 !important;
    background: linear-gradient(135deg, rgba(232,207,168,0.08) 0%, rgba(11,15,26,0.6) 100%) !important;
    border: 1px solid var(--border-gold) !important;
}
.ai-layout {
    background: var(--bg-card);
    border: 1px solid var(--border-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0;
}

/* AI 常见问题模块 */
.ai-faq-section {
    margin-top: 40px;
    padding: 32px 0;
}
.ai-faq-section .section-header {
    margin-bottom: 28px;
}
.ai-faq-section .section-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 0.5px;
}
.ai-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ai-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-line);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s ease;
}
.ai-faq-item:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.ai-faq-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(232, 207, 168, 0.12), rgba(200, 160, 110, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--text-gold);
}
.ai-faq-icon svg {
    width: 22px;
    height: 22px;
}
.ai-faq-item h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.ai-faq-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}
.ai-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: rgba(8, 10, 18, 0.65);
    border-right: 1px solid var(--border-line);
    display: flex;
    flex-direction: column;
}
.ai-new-chat-btn {
    margin: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--gold-gradient);
    color: #1a1208;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}
.ai-new-chat-btn:hover { opacity: 0.92; transform: translateY(-1px); }
.ai-history-list { flex: 1; overflow-y: auto; padding: 4px 12px 12px; scrollbar-width: none; -ms-overflow-style: none; }
.ai-history-list::-webkit-scrollbar { display: none; }
.ai-history-title {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
    padding: 8px 10px 6px;
    text-transform: uppercase;
    opacity: 0.8;
}
.ai-history-item {
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ai-history-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.ai-history-item.active {
    background: rgba(232, 207, 168, 0.08);
    color: var(--text-gold);
    border: 1px solid var(--border-gold);
}

.ai-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px 28px 12px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.ai-chat-body::-webkit-scrollbar {
    display: none;
}
.ai-message {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    max-width: 100%;
    animation: fadeInUp 0.4s ease both;
}
.ai-message.user { justify-content: flex-end; }
.ai-avatar {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex; align-items: center; justify-content: center;
    color: #1a1208;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 14px rgba(200, 150, 90, 0.28);
}
.ai-message.user .ai-avatar {
    background: linear-gradient(135deg, #1a2036, #0c0f1c);
    color: var(--text-gold);
    order: 2;
}
.ai-bubble {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    max-width: 80%;
    line-height: 1.8;
    font-size: 14px;
    background: rgba(12, 15, 25, 0.85);
    border: 1px solid var(--border-line);
    color: var(--text-primary);
}
.ai-message.user .ai-bubble {
    background: linear-gradient(135deg, rgba(232, 207, 168, 0.16), rgba(200, 160, 110, 0.08));
    border: 1px solid var(--border-gold);
    order: 1;
    text-align: left;
}
.ai-bubble p { margin-bottom: 8px; }
.ai-bubble p:last-child { margin-bottom: 0; }
.ai-bubble ul, .ai-bubble ol { padding-left: 20px; margin: 6px 0 10px; }
.ai-bubble ul li { list-style: disc; margin-bottom: 4px; color: var(--text-secondary); }
.ai-bubble code {
    background: rgba(232, 207, 168, 0.1);
    color: var(--text-gold);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 12.5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.ai-typing {
    display: inline-flex;
    gap: 5px;
    padding: 4px 0;
}
.ai-typing span {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold-mid);
    animation: typingDot 1.2s infinite ease-in-out;
}
.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; opacity: 0.7; }

/* 流式打字机渲染时：末尾闪烁光标 */
.ai-bubble--streaming::after {
    content: '▎';
    color: var(--gold-mid);
    animation: fa-cursorBlink 0.8s step-end infinite;
    margin-left: 2px;
    font-size: 0.9em;
    opacity: 0.7;
}
@keyframes fa-cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

.ai-input-area {
    border-top: 1px solid var(--border-line);
    background: transparent;
    padding: 0;
}
.ai-input-wrap { padding: 18px 24px 22px; position: relative; }
.ai-input-box {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 14px 16px;
    background: transparent;
    border: 1px solid var(--border-line-2);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}
.ai-input-box:focus-within {
    border-color: var(--border-gold);
    box-shadow: 0 0 0 3px rgba(232, 207, 168, 0.06);
}
.ai-input-box textarea {
    flex: 1;
    background: transparent;
    outline: none;
    border: none;
    resize: none;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    line-height: 1.7;
    min-height: 26px;
    max-height: 200px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ai-input-box textarea::-webkit-scrollbar {
    display: none;
}
.ai-input-box textarea::placeholder { color: var(--text-muted); }
.ai-send-btn {
    width: 42px; height: 42px; flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--gold-gradient);
    color: #1a1208;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(200, 150, 90, 0.32);
}
.ai-send-btn:hover { transform: translateY(-1px); }
.ai-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.ai-powered-by {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    opacity: 0.7;
    letter-spacing: 0.5px;
}
.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.ai-suggestion {
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    background: rgba(23, 29, 46, 0.6);
    border: 1px solid var(--border-line);
    color: var(--text-secondary);
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.ai-suggestion:hover {
    border-color: var(--border-gold);
    color: var(--text-gold);
    background: rgba(232, 207, 168, 0.06);
}

/* 欢迎页空态 */
.ai-welcome {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 28px 20px;
}
.ai-welcome-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--gold-gradient);
    display: flex; align-items: center; justify-content: center;
    color: #1a1208; margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(200, 150, 90, 0.35);
}
.ai-welcome h2 {
    font-size: 24px; margin-bottom: 10px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ai-welcome p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 28px;
}
.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.10s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.20s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }
.animate-in:nth-child(6) { animation-delay: 0.30s; }
.animate-in:nth-child(7) { animation-delay: 0.35s; }
.animate-in:nth-child(8) { animation-delay: 0.40s; }

/* ================= 右侧悬浮 AI 按钮 ================= */
.floating-ai-btn {
    position: fixed;
    right: 28px;
    top: 38vh;
    z-index: 9999;
    cursor: pointer;
    width: 68px;
    height: 68px;
    display: block;
    transition: transform 0.3s ease;
}
.floating-ai-btn:hover { transform: translateY(-4px) scale(1.03); }

/* 动态圈圈：灵性光环 */
.floating-ai-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.floating-ai-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid transparent;
}
/* 圈1：向外扩散淡出 */
.floating-ai-ring--1 {
    border-color: rgba(232, 207, 168, 0.55);
    animation: fa-ringExpand 2.8s ease-out infinite;
}
/* 圈2：向外扩散淡出，错开节奏 */
.floating-ai-ring--2 {
    border-color: rgba(218, 178, 123, 0.4);
    animation: fa-ringExpand 2.8s ease-out infinite;
    animation-delay: 1.4s;
}
/* 圈3：顺时针旋转的虚线/点线光环 */
.floating-ai-ring--3 {
    inset: -6px;
    border: 1.5px dashed rgba(232, 207, 168, 0.55);
    animation: fa-ringRotate 8s linear infinite;
    opacity: 0.75;
}
/* 圈4：逆时针旋转的细小光环 */
.floating-ai-ring--4 {
    inset: -14px;
    border-top: 1.5px solid rgba(218, 178, 123, 0.55);
    border-right: 1.5px solid rgba(218, 178, 123, 0);
    border-bottom: 1.5px solid rgba(218, 178, 123, 0.55);
    border-left: 1.5px solid rgba(218, 178, 123, 0);
    border-radius: 50%;
    animation: fa-ringRotate 5s linear infinite reverse;
}
@keyframes fa-ringExpand {
    0% {
        transform: scale(1);
        opacity: 0.78;
    }
    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}
@keyframes fa-ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 头像本体 */
.floating-ai-avatar {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--gold-gradient-135);
    padding: 2.5px;
    box-shadow:
        0 12px 38px rgba(200, 150, 90, 0.45),
        0 0 0 1px rgba(232, 207, 168, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 2;
    animation: fa-avatarFloat 3.2s ease-in-out infinite;
}
.floating-ai-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        rgba(232, 207, 168, 0.0) 0deg,
        rgba(232, 207, 168, 0.8) 90deg,
        rgba(218, 178, 123, 0.0) 180deg,
        rgba(232, 207, 168, 0.8) 270deg,
        rgba(232, 207, 168, 0.0) 360deg);
    animation: fa-ringRotate 4s linear infinite;
    z-index: -1;
    filter: blur(0.3px);
}
.floating-ai-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    background: #0a0d17;
}
@keyframes fa-avatarFloat {
    0%, 100% {
        transform: translateY(0);
        box-shadow:
            0 12px 38px rgba(200, 150, 90, 0.45),
            0 0 0 1px rgba(232, 207, 168, 0.15),
            inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    }
    50% {
        transform: translateY(-4px);
        box-shadow:
            0 18px 46px rgba(200, 150, 90, 0.58),
            0 0 0 2px rgba(232, 207, 168, 0.28),
            inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }
}

/* 左下角气泡：小圆点里面有文字 */
.floating-ai-bubble {
    position: absolute;
    left: -6px;
    bottom: -2px;
    z-index: 5;
    min-width: 34px;
    height: 22px;
    padding: 0 8px;
    background: var(--gold-gradient);
    color: #1a1208;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 999px;
    box-shadow:
        0 4px 14px rgba(200, 150, 90, 0.45),
        0 0 0 1.5px rgba(10, 13, 23, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    animation: fa-bubbleBob 2.4s ease-in-out infinite;
}
.floating-ai-bubble::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 12px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 5px solid rgba(232, 207, 168, 1);
}
@keyframes fa-bubbleBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* ================= 搜索框左侧 AI 聊问 按钮 ================= */
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-box-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* 响应式：小屏适配悬浮按钮 */
@media (max-width: 900px) {
    .floating-ai-btn { right: 16px; top: 32vh; width: 58px; height: 58px; }
    .floating-ai-avatar { width: 58px; height: 58px; }
    .floating-ai-bubble { min-width: 30px; height: 20px; font-size: 9px; padding: 0 6px; left: -4px; }
    .search-box-wrap { flex-direction: column; align-items: stretch; gap: 8px; }
}
@media (max-width: 600px) {
    .floating-ai-btn { right: 12px; top: 26vh; width: 52px; height: 52px; }
    .floating-ai-avatar { width: 52px; height: 52px; }
    .floating-ai-bubble { min-width: 28px; height: 18px; font-size: 8px; padding: 0 5px; }
    .floating-ai-ring--4 { inset: -10px; }
}
