/* ==========================================================================
   云图 (yuntu.my) - 东方青绿山水与千里江山美学视觉系统
   ========================================================================== */

:root {
    /* 核心色彩体系：石青、石绿、赤金与宣纸 */
    --color-bg-primary: #07131e;
    --color-bg-secondary: #0b1d2a;
    --color-bg-card: rgba(14, 33, 44, 0.75);
    --color-bg-card-hover: rgba(20, 46, 61, 0.9);
    --color-paper-tint: rgba(246, 243, 235, 0.04);
    
    /* 石青 (Azurite Slate Blue) */
    --color-shiqing-dark: #091724;
    --color-shiqing: #13334c;
    --color-shiqing-light: #1e4a6d;
    
    /* 石绿 (Malachite Jade Green) */
    --color-shilu-deep: #113824;
    --color-shilu: #1d5f3f;
    --color-shilu-light: #2e8b5d;
    --color-shilu-bright: #43b97f;
    --color-shilu-glow: rgba(67, 185, 127, 0.25);
    
    /* 赤金 / 泥金 (Imperial Shimmering Gold) */
    --color-gold-deep: #96701f;
    --color-gold: #c89e3a;
    --color-gold-light: #e5c369;
    --color-gold-bright: #fcedb6;
    --color-gold-glow: rgba(200, 158, 58, 0.3);
    
    /* 朱砂红 (Seal Vermilion Red) */
    --color-vermilion: #aa2c24;
    --color-vermilion-light: #c83d34;
    
    /* 文字层次 */
    --color-text-main: #f0f4f4;
    --color-text-muted: #a6bac5;
    --color-text-dim: #6d8694;
    --color-text-gold: #e5c369;
    
    /* 边框与阴影 */
    --border-gold-subtle: 1px solid rgba(200, 158, 58, 0.25);
    --border-gold-medium: 1px solid rgba(229, 195, 105, 0.45);
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --shadow-card: 0 16px 36px -8px rgba(0, 0, 0, 0.55), 0 0 20px rgba(29, 95, 63, 0.12);
    --shadow-gold: 0 8px 24px -4px rgba(200, 158, 58, 0.35);

    /* 字体族 */
    --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", "STSong", "Hiragino Mincho ProN", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", Consolas, Menlo, monospace;

    /* 布局 */
    --container-max-width: 1240px;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 全局重置与基础设置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-primary);
}

body {
    font-family: var(--font-serif);
    color: var(--color-text-main);
    background-color: var(--color-bg-primary);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 18% 12%, rgba(29, 95, 63, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 82% 38%, rgba(19, 51, 76, 0.38) 0%, transparent 55%),
        radial-gradient(circle at 50% 75%, rgba(200, 158, 58, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 90%, rgba(17, 56, 36, 0.28) 0%, transparent 45%);
    background-attachment: fixed;
}

/* 宣纸与水墨晕染纹理叠加层 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    background-image: 
        radial-gradient(rgba(229, 195, 105, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, transparent, rgba(7, 19, 30, 0.6) 80%);
    background-size: 32px 32px, 100% 100%;
}

/* 居中布局容器规范（两侧宋代美学留白） */
.container {
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
    width: 100%;
}

/* 典雅东方衬线字与排版 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

a {
    color: var(--color-gold-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-gold-bright);
}

p {
    font-family: var(--font-serif);
    color: var(--color-text-muted);
}

/* ==========================================================================
   装饰构件：印章、金线纹理、山峦背景与流云
   ========================================================================== */

/* 朱砂方印 */
.seal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--color-vermilion), #7b1d17);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid rgba(255, 200, 180, 0.45);
    box-shadow: 0 2px 10px rgba(170, 44, 36, 0.45), inset 0 0 5px rgba(0, 0, 0, 0.3);
    margin-right: 12px;
    user-select: none;
}

/* 金线微光山峦线条 SVG 包装器 */
.mountain-contour-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 320px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.65;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 50%, transparent 100%);
}

/* 宣纸质感磨砂卡片 */
.xuan-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-gold-subtle);
    border-radius: 14px;
    padding: 34px 30px;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.xuan-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 195, 105, 0.65), transparent);
    border-radius: 14px 14px 0 0;
}

.xuan-card:hover {
    background: var(--color-bg-card-hover);
    border-color: rgba(229, 195, 105, 0.55);
    transform: translateY(-5px);
    box-shadow: 0 22px 45px -10px rgba(0, 0, 0, 0.65), 0 0 30px rgba(200, 158, 58, 0.22);
}

/* 金线按钮组件 */
.btn-gold-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #c89e3a 0%, #e5c369 50%, #b88b2a 100%);
    color: #121e1a !important;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 36px;
    border-radius: 32px;
    border: 1px solid #fae69e;
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.btn-gold-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: rotate(25deg);
    transition: 0.75s ease;
}

.btn-gold-primary:hover::after {
    left: 130%;
}

.btn-gold-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(200, 158, 58, 0.55);
    filter: brightness(1.06);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(14, 33, 44, 0.65);
    color: var(--color-gold-light) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 32px;
    border-radius: 32px;
    border: var(--border-gold-subtle);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: rgba(29, 95, 63, 0.45);
    border-color: var(--color-gold-light);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* 板块标题修饰 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    background: rgba(200, 158, 58, 0.12);
    border: 1px solid rgba(200, 158, 58, 0.28);
    padding: 5px 18px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-tag::before {
    content: "❖";
    font-size: 11px;
    color: var(--color-gold);
}

.section-title {
    font-size: 36px;
    line-height: 1.35;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #ffffff 40%, #e2eff5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 16.5px;
    color: var(--color-text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.75;
}

/* 板块通用内边距 */
.section-padding {
    padding: 100px 0;
    position: relative;
}

/* ==========================================================================
   顶部导航栏 (Navbar)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 19, 30, 0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(200, 158, 58, 0.18);
    transition: var(--transition-smooth);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.brand-name-group {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 21px;
    color: #ffffff;
    line-height: 1.1;
    font-weight: 700;
}

.brand-domain {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--color-gold-light);
    letter-spacing: 0.12em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    font-size: 15px;
    color: var(--color-text-muted);
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold-light);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-shilu-bright), var(--color-gold));
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 26px;
    cursor: pointer;
}

/* ==========================================================================
   首屏 (Hero Section) - 千里江山水墨画意境
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 96px 0 130px;
    overflow: hidden;
    text-align: center;
}

.hero-landscape-clouds {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 480px;
    background: radial-gradient(ellipse at center, rgba(30, 95, 63, 0.32) 0%, rgba(19, 51, 76, 0.25) 45%, transparent 75%);
    filter: blur(55px);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 22px;
    border-radius: 30px;
    background: rgba(19, 51, 76, 0.65);
    border: 1px solid rgba(229, 195, 105, 0.38);
    margin-bottom: 26px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-pill .dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-shilu-bright);
    box-shadow: 0 0 10px var(--color-shilu-bright);
    animation: pulseDot 2s infinite ease-in-out;
}

.hero-pill span {
    font-size: 13.5px;
    color: var(--color-gold-light);
    letter-spacing: 0.08em;
}

.hero-headline {
    font-size: 50px;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.hero-headline .highlight-gold {
    background: linear-gradient(135deg, #fae69e 0%, #e5c369 60%, #c89e3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-headline .highlight-shilu {
    background: linear-gradient(135deg, #a3f7cb 0%, #43b97f 60%, #1d5f3f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 18.5px;
    color: #bdd0db;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 60px;
}

.hero-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.metric-item {
    background: rgba(14, 33, 44, 0.7);
    border: 1px solid rgba(200, 158, 58, 0.22);
    border-radius: 12px;
    padding: 22px 14px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.metric-item:hover {
    border-color: rgba(229, 195, 105, 0.45);
    background: rgba(19, 44, 58, 0.85);
    transform: translateY(-3px);
}

.metric-number {
    font-family: var(--font-mono);
    font-size: 30px;
    font-weight: 700;
    color: var(--color-gold-light);
    display: block;
    line-height: 1.2;
    margin-bottom: 6px;
}

.metric-label {
    font-size: 13.5px;
    color: var(--color-text-dim);
    letter-spacing: 0.04em;
}

/* ==========================================================================
   核心优势版块 (Core Advantages)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(29, 95, 63, 0.45), rgba(19, 51, 76, 0.85));
    border: 1px solid rgba(229, 195, 105, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--color-gold-light);
    margin-bottom: 24px;
    box-shadow: inset 0 0 14px rgba(200, 158, 58, 0.18);
}

.feature-title {
    font-size: 21px;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature-text {
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
    flex-grow: 1;
}

.feature-badge {
    align-self: flex-start;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--color-shilu-bright);
    background: rgba(46, 139, 93, 0.16);
    border: 1px solid rgba(67, 185, 127, 0.35);
    padding: 3px 12px;
    border-radius: 12px;
}

/* ==========================================================================
   节点延迟和状态版块 (Node Latency & Live Status)
   ========================================================================== */
.nodes-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.topology-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.topology-map {
    width: 100%;
    height: 310px;
    background: radial-gradient(circle at center, rgba(19, 51, 76, 0.65) 0%, rgba(7, 19, 30, 0.95) 100%);
    border: 1px solid rgba(200, 158, 58, 0.28);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.topology-svg {
    width: 100%;
    height: 100%;
}

.topology-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(19, 51, 76, 0.35);
    padding: 16px 22px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.topology-stat-group {
    display: flex;
    gap: 28px;
}

.stat-inline-label {
    font-size: 12.5px;
    color: var(--color-text-dim);
    margin-bottom: 2px;
}

.stat-inline-val {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--color-gold-light);
    font-weight: 600;
}

.latency-table-wrapper {
    display: flex;
    flex-direction: column;
}

.latency-table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.latency-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 95, 63, 0.28);
    border: 1px solid rgba(67, 185, 127, 0.45);
    color: var(--color-shilu-bright);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-serif);
}

.latency-refresh-btn:hover {
    background: rgba(67, 185, 127, 0.35);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(67, 185, 127, 0.3);
}

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

.node-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(9, 23, 33, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 13px 20px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.node-row:hover {
    border-color: rgba(200, 158, 58, 0.45);
    background: rgba(14, 33, 44, 0.9);
    transform: translateX(4px);
}

.node-main-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.node-flag {
    font-size: 19px;
}

.node-name {
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
}

.node-line-type {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--color-gold-light);
    background: rgba(200, 158, 58, 0.15);
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 6px;
}

.node-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.node-latency {
    font-family: var(--font-mono);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--color-shilu-bright);
    min-width: 64px;
    text-align: right;
}

.node-loss {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-text-dim);
}

.node-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-shilu-bright);
    background: rgba(67, 185, 127, 0.14);
    padding: 3px 12px;
    border-radius: 12px;
}

.node-status-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-shilu-bright);
}

/* ==========================================================================
   套餐价格板块 (Pricing Plans)
   ========================================================================== */
.pricing-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
}

.pricing-billing-switch {
    display: flex;
    background: rgba(14, 33, 44, 0.85);
    border: 1px solid rgba(200, 158, 58, 0.32);
    padding: 5px;
    border-radius: 30px;
}

.billing-opt-btn {
    padding: 9px 26px;
    border-radius: 24px;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-serif);
}

.billing-opt-btn.active {
    background: linear-gradient(135deg, var(--color-shilu), var(--color-shilu-light));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(29, 95, 63, 0.45);
}

.billing-discount-badge {
    font-size: 11.5px;
    color: #ffffff;
    background: var(--color-vermilion);
    padding: 2px 9px;
    border-radius: 10px;
    margin-left: 6px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 38px 24px;
}

.price-card.popular {
    border-color: rgba(229, 195, 105, 0.75);
    background: rgba(20, 48, 64, 0.9);
    box-shadow: 0 22px 50px -10px rgba(0, 0, 0, 0.75), 0 0 35px rgba(200, 158, 58, 0.3);
    transform: scale(1.03);
    z-index: 2;
}

.popular-banner {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #c89e3a, #f7d77b);
    color: #0b1d2a;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(200, 158, 58, 0.45);
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.price-plan-name {
    font-size: 21px;
    margin-bottom: 8px;
    color: #ffffff;
}

.price-plan-desc {
    font-size: 13px;
    color: var(--color-text-dim);
    margin-bottom: 22px;
    min-height: 40px;
}

.price-amount-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 22px;
}

.price-currency {
    font-size: 20px;
    color: var(--color-gold-light);
    font-weight: 600;
}

.price-val {
    font-family: var(--font-mono);
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
}

.price-cycle {
    font-size: 13px;
    color: var(--color-text-dim);
}

.price-features-list {
    list-style: none;
    margin-bottom: 34px;
    flex-grow: 1;
}

.price-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--color-text-muted);
    margin-bottom: 13px;
}

.price-feature-item.highlight {
    color: #ffffff;
    font-weight: 600;
}

.price-feature-icon {
    color: var(--color-shilu-bright);
    font-size: 14px;
}

/* ==========================================================================
   知识库与教程板块 (Knowledge Base & Tutorials Showcase)
   ========================================================================== */
.kb-category-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.kb-filter-chip {
    padding: 7px 20px;
    border-radius: 20px;
    font-size: 13.5px;
    background: rgba(14, 33, 44, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-serif);
}

.kb-filter-chip:hover,
.kb-filter-chip.active {
    background: rgba(29, 95, 63, 0.35);
    border-color: var(--color-gold-light);
    color: var(--color-gold-light);
}

.kb-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.kb-article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px 22px;
}

.kb-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--color-text-dim);
    margin-bottom: 14px;
}

.kb-card-tag {
    color: var(--color-gold-light);
    background: rgba(200, 158, 58, 0.12);
    border: 1px solid rgba(200, 158, 58, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.kb-card-title {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.kb-article-card:hover .kb-card-title {
    color: var(--color-gold-light);
}

.kb-card-summary {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 22px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kb-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13px;
    color: var(--color-gold-light);
    font-weight: 600;
}

/* ==========================================================================
   用户评价板块 (User Reviews & Testimonials)
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.testimonial-quote-symbol {
    font-family: var(--font-serif);
    font-size: 50px;
    line-height: 1;
    color: rgba(200, 158, 58, 0.35);
    margin-bottom: -10px;
}

.testimonial-text {
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: normal;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.user-avatar-seal {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-shilu), var(--color-shiqing));
    border: 1px solid var(--color-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 16px;
}

.user-details h4 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 2px;
}

.user-details p {
    font-size: 12px;
    color: var(--color-text-dim);
}

.user-rating-stars {
    color: var(--color-gold-light);
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* ==========================================================================
   常见问题板块 (FAQ Accordion)
   ========================================================================== */
.faq-container {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-bg-card);
    border: var(--border-gold-subtle);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: rgba(229, 195, 105, 0.55);
    background: rgba(18, 44, 58, 0.88);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    user-select: none;
}

.faq-toggle-icon {
    font-size: 20px;
    color: var(--color-gold-light);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--color-shilu-bright);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 28px;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.85;
}

.faq-item.active .faq-answer {
    max-height: 320px;
    padding: 0 28px 24px 28px;
}

/* ==========================================================================
   底部 CTA 横幅 (Pre-footer Banner)
   ========================================================================== */
.pre-footer-banner {
    position: relative;
    padding: 72px 44px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(19, 51, 76, 0.9), rgba(29, 95, 63, 0.9));
    border: 1px solid rgba(229, 195, 105, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
    text-align: center;
    overflow: hidden;
}

.pre-footer-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(229, 195, 105, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.pre-footer-title {
    font-size: 36px;
    margin-bottom: 16px;
    color: #ffffff;
}

.pre-footer-subtitle {
    font-size: 16.5px;
    color: #e2f0ea;
    max-width: 660px;
    margin: 0 auto 34px;
}

/* ==========================================================================
   页脚 (Footer)
   ========================================================================== */
.site-footer {
    background: #050d14;
    border-top: 1px solid rgba(200, 158, 58, 0.16);
    padding: 72px 0 36px;
    font-size: 14px;
    position: relative;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand-desc {
    margin-top: 16px;
    color: var(--color-text-dim);
    font-size: 13.5px;
    line-height: 1.8;
    max-width: 330px;
}

.footer-col-title {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-gold);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    color: var(--color-text-dim);
    font-size: 13.5px;
}

.footer-links-list a:hover {
    color: var(--color-gold-light);
    padding-left: 4px;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    color: var(--color-text-dim);
    font-size: 12.5px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   文章详情页独立样式 (Article Template Styles)
   ========================================================================== */
.article-page-body {
    padding: 60px 0 100px;
}

.article-header {
    margin-bottom: 40px;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--color-text-dim);
    margin-bottom: 22px;
}

.article-breadcrumb a {
    color: var(--color-gold-light);
}

.article-main-title {
    font-size: 36px;
    line-height: 1.35;
    margin-bottom: 20px;
    color: #ffffff;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    font-size: 13px;
    color: var(--color-text-dim);
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(200, 158, 58, 0.22);
}

.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.article-toc-sticky {
    position: sticky;
    top: 100px;
    padding: 24px 20px;
    background: var(--color-bg-card);
    border: var(--border-gold-subtle);
    border-radius: 10px;
    box-shadow: var(--shadow-card);
}

.toc-title {
    font-size: 15px;
    color: var(--color-gold-light);
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
}

.toc-list a {
    color: var(--color-text-muted);
}

.toc-list a:hover {
    color: var(--color-gold-light);
}

.article-content {
    background: var(--color-bg-card);
    border: var(--border-gold-subtle);
    border-radius: 14px;
    padding: 48px 42px;
    font-size: 16.5px;
    line-height: 1.95;
    color: #d1e0e8;
    box-shadow: var(--shadow-card);
}

.article-content h2 {
    font-size: 25px;
    color: #ffffff;
    margin: 42px 0 18px;
    padding-left: 14px;
    border-left: 4px solid var(--color-gold);
}

.article-content h3 {
    font-size: 20px;
    color: var(--color-gold-light);
    margin: 30px 0 14px;
}

.article-content p {
    margin-bottom: 20px;
    color: #c0d3de;
    text-align: justify;
}

.article-content ul, 
.article-content ol {
    margin: 18px 0 26px 28px;
    color: #c0d3de;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    background: rgba(19, 51, 76, 0.45);
    border-left: 3px solid var(--color-shilu-bright);
    padding: 18px 24px;
    margin: 26px 0;
    border-radius: 0 8px 8px 0;
    color: var(--color-gold-bright);
    font-style: normal;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 14.5px;
}

.article-content th, 
.article-content td {
    padding: 13px 18px;
    border: 1px solid rgba(200, 158, 58, 0.22);
    text-align: left;
}

.article-content th {
    background: rgba(19, 51, 76, 0.65);
    color: var(--color-gold-light);
    font-weight: 600;
}

.article-content td {
    background: rgba(9, 23, 33, 0.45);
}

.article-content code {
    background: rgba(200, 158, 58, 0.16);
    color: var(--color-gold-light);
    padding: 2px 7px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 14px;
}

.article-content pre {
    background: #06111a;
    border: 1px solid rgba(200, 158, 58, 0.28);
    border-radius: 8px;
    padding: 20px 24px;
    overflow-x: auto;
    margin: 26px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: #e5f0f8;
}

.article-cta-box {
    margin-top: 50px;
    padding: 40px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(29, 95, 63, 0.45), rgba(19, 51, 76, 0.65));
    border: 1px solid rgba(229, 195, 105, 0.45);
    text-align: center;
}

.article-related-posts {
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* ==========================================================================
   动画特效与响应式适配
   ========================================================================== */
@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-anim {
    animation: floatSoft 6s ease-in-out infinite;
}

/* 响应式断点适配 */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .nodes-board { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .kb-articles-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-toc-sticky { display: none; }
}

@media (max-width: 768px) {
    .hero-headline { font-size: 34px; }
    .hero-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .kb-articles-grid { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: 1fr; }
    .footer-bottom-bar { flex-direction: column; gap: 14px; text-align: center; }
    .related-posts-grid { grid-template-columns: 1fr; }
    .article-content { padding: 28px 20px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(7, 19, 30, 0.96);
        border-bottom: 1px solid rgba(200, 158, 58, 0.2);
        flex-direction: column;
        padding: 24px;
        gap: 18px;
    }
    .nav-links.show {
        display: flex;
    }
    .nav-mobile-toggle {
        display: block;
    }
}
