/* ============================================
   Tech Hero
   ============================================ */
.tech-hero-section {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 50%, #4338CA 100%);
    padding: 5rem 0;
    min-height: 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .tech-hero-section {
    background: linear-gradient(135deg, #312E81 0%, #1E1B4B 50%, #312E81 100%) !important;
}

/* Tech Hero Visual - 多层架构图 */
.tech-hero-visual {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}
.thv-layer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.2s, background 0.2s;
}
.thv-layer:hover {
    transform: translateX(4px);
    background: rgba(255,255,255,0.22);
}
.thv-layer-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.thv-layer-web .thv-layer-icon { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.thv-layer-data .thv-layer-icon { background: linear-gradient(135deg, #F59E0B, #D97706); }
.thv-layer-server .thv-layer-icon { background: linear-gradient(135deg, #10B981, #059669); }
.thv-layer-deploy .thv-layer-icon { background: linear-gradient(135deg, #EF4444, #DC2626); }
.thv-layer-client .thv-layer-icon { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.thv-layer-agent .thv-layer-icon { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.thv-layer-info {
    display: flex;
    flex-direction: column;
}
.thv-layer-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}
.thv-layer-tech {
    color: rgba(255,255,255,0.65);
    font-size: 0.75rem;
}
.thv-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.3rem 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
}
.thv-connector i {
    font-size: 0.7rem;
}
.thv-layer-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.thv-layer-row-3 {
    grid-template-columns: repeat(3, 1fr);
}
.thv-layer-row-3 .thv-layer {
    padding: 0.6rem 0.65rem;
}
.thv-layer-row-3 .thv-layer-icon {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
}
.thv-layer-row-3 .thv-layer-name {
    font-size: 0.78rem;
}
.thv-layer-row-3 .thv-layer-tech {
    font-size: 0.65rem;
}
[data-theme="dark"] .tech-hero-visual {
    background: rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .thv-layer {
    background: rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .thv-layer:hover {
    background: rgba(0,0,0,0.4);
}

/* ============================================
   通用 Section
   ============================================ */
.tech-section {
    padding: 6rem 0;
    background: white;
}
.tech-section-alt {
    background: var(--gray-50);
}
[data-theme="dark"] .tech-section {
    background: var(--gray-50);
}
[data-theme="dark"] .tech-section-alt {
    background: var(--gray-100);
}

/* ============================================
   技术选型问答
   ============================================ */
.tech-choices {
    max-width: 800px;
    margin: 0 auto;
}
.tech-choice-item {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.tech-choice-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.tc-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}
.tc-question strong {
    color: var(--primary);
}
.tc-answer {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.7;
}
[data-theme="dark"] .tech-choice-item {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
[data-theme="dark"] .tc-question {
    color: var(--gray-800);
}

/* ============================================
   整体架构 - 三层
   ============================================ */
.arch-overview {
    max-width: 700px;
    margin: 0 auto;
}
.arch-grid {
    max-width: 800px;
    margin: 0 auto;
}
.arch-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.arch-layer {
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    transition: box-shadow 0.3s ease;
}
.arch-layer:hover {
    box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .arch-layer {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.arch-layer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}
.arch-layer-header.web {
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(59,130,246,0.04));
    border-bottom: 1px solid rgba(37,99,235,0.15);
}
.arch-layer-header.server {
    background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(52,211,153,0.04));
    border-bottom: 1px solid rgba(16,185,129,0.15);
}
.arch-layer-header.client {
    background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(167,139,250,0.04));
    border-bottom: 1px solid rgba(139,92,246,0.15);
}
.arch-layer-header.data {
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(251,191,36,0.04));
    border-bottom: 1px solid rgba(245,158,11,0.15);
}
.arch-layer-header.deployer {
    background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(248,113,113,0.04));
    border-bottom: 1px solid rgba(239,68,68,0.15);
}
.arch-layer-header.agent {
    background: linear-gradient(135deg, rgba(6,182,212,0.08), rgba(34,211,238,0.04));
    border-bottom: 1px solid rgba(6,182,212,0.15);
}
.arch-layer-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.arch-layer-header.web .arch-layer-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}
.arch-layer-header.server .arch-layer-icon {
    background: linear-gradient(135deg, var(--secondary), #34D399);
    color: white;
}
.arch-layer-header.client .arch-layer-icon {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: white;
}
.arch-layer-header.data .arch-layer-icon {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: white;
}
.arch-layer-header.deployer .arch-layer-icon {
    background: linear-gradient(135deg, #EF4444, #F87171);
    color: white;
}
.arch-layer-header.agent .arch-layer-icon {
    background: linear-gradient(135deg, #06B6D4, #22D3EE);
    color: white;
}
.arch-layer-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}
.arch-layer-sub {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.arch-layer-body {
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.arch-tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-600);
}
.tech-badge-lang {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    min-width: 60px;
    text-align: center;
}
[data-theme="dark"] .tech-badge-lang {
    background: var(--gray-200);
}

/* 架构连接线 */
.arch-connector-v {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
}
.arch-connector-v-line {
    width: 2px;
    height: 20px;
    background: var(--gray-300);
}
.arch-connector-v-label {
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    border-radius: 1rem;
}
[data-theme="dark"] .arch-connector-v-label {
    background: var(--gray-200);
}

/* ============================================
   数据流管线
   ============================================ */
.dataflow-section {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    overflow-x: auto;
}
[data-theme="dark"] .dataflow-section {
    background: var(--gray-100);
    border-color: var(--gray-300);
}
.dataflow-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.dataflow-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}
.dataflow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem;
    min-width: 80px;
}
.df-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(37,99,235,0.2);
}
.dataflow-node span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
}
.dataflow-node code {
    font-size: 0.65rem;
    color: var(--gray-400);
    background: var(--gray-200);
    padding: 0.1rem 0.4rem;
    border-radius: 0.2rem;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
}
[data-theme="dark"] .dataflow-node code {
    background: var(--gray-300);
}
.df-arrow {
    color: var(--gray-300);
    font-size: 0.8rem;
    padding: 0 0.15rem;
}

/* ============================================
   技术详情卡片
   ============================================ */
.tech-detail-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}
.tech-detail-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
[data-theme="dark"] .tech-detail-card {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.td-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}
[data-theme="dark"] .td-header {
    border-bottom-color: var(--gray-300);
}
.td-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(59,130,246,0.2));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.td-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}
.td-body {
    padding: 1.25rem 1.5rem;
}
.td-body p {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.td-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.td-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--gray-100);
}
[data-theme="dark"] .td-spec {
    border-bottom-color: var(--gray-300);
}
.td-spec:last-child {
    border-bottom: none;
}
.td-spec-label {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.td-spec-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-800);
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
}
[data-theme="dark"] .td-spec-value {
    color: var(--gray-700);
}

/* 能力标签 */
.td-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.tcap {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    padding: 0.3rem 0.65rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}
.tcap i {
    color: var(--secondary);
    font-size: 0.65rem;
}
[data-theme="dark"] .tcap {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

/* 池表格 */
.td-pool-table {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.pool-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.78rem;
    align-items: center;
}
.pool-row:nth-child(even) {
    background: var(--gray-50);
}
[data-theme="dark"] .pool-row:nth-child(even) {
    background: var(--gray-100);
}
.pool-highlight {
    background: rgba(37,99,235,0.06) !important;
    border: 1px solid rgba(37,99,235,0.12);
}
.pool-name {
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-weight: 600;
    color: var(--gray-700);
}
.pool-val {
    color: var(--gray-500);
    font-size: 0.75rem;
}

/* ============================================
   CI/CD 自动化流程
   ============================================ */
.cicd-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.cicd-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.75rem;
    min-width: 100px;
}
.cicd-step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    transition: transform 0.25s;
}
.cicd-step:hover .cicd-step-icon {
    transform: scale(1.1);
}
.cicd-git { background: linear-gradient(135deg, #F59E0B, #D97706); }
.cicd-test { background: linear-gradient(135deg, #10B981, #059669); }
.cicd-build { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.cicd-release { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.cicd-deploy { background: linear-gradient(135deg, #EF4444, #DC2626); }
.cicd-step-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
}
[data-theme="dark"] .cicd-step-label {
    color: var(--gray-200);
}
.cicd-step-desc {
    font-size: 0.7rem;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.3;
}
.cicd-arrow {
    color: var(--gray-300);
    font-size: 0.85rem;
    padding: 0 0.15rem;
}
.cicd-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}
.cicd-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
[data-theme="dark"] .cicd-card {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.cicd-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}
[data-theme="dark"] .cicd-card-header {
    border-bottom-color: var(--gray-300);
}
.cicd-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(52,211,153,0.2));
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.cicd-card:nth-child(2) .cicd-card-icon {
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(96,165,250,0.2));
    color: var(--primary);
}
.cicd-card:nth-child(3) .cicd-card-icon {
    background: linear-gradient(135deg, rgba(239,68,68,0.1), rgba(248,113,113,0.2));
    color: #EF4444;
}
.cicd-card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}
.cicd-card-body {
    padding: 1.25rem 1.5rem;
}
.cicd-card-body p {
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.cicd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.cicd-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    padding: 0.25rem 0.6rem;
    border-radius: 0.375rem;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
}
.cicd-tag i {
    color: var(--secondary);
    font-size: 0.6rem;
}
[data-theme="dark"] .cicd-tag {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

/* ============================================
   部署卡片
   ============================================ */
.deploy-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}
.deploy-card:hover {
    box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .deploy-card {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.deploy-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}
[data-theme="dark"] .deploy-header {
    border-bottom-color: var(--gray-300);
}
.deploy-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(52,211,153,0.2));
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.deploy-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}
.deploy-body {
    padding: 1.25rem 1.5rem;
}
.deploy-body p {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.deploy-example {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.deploy-example-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}
[data-theme="dark"] .deploy-example-row {
    background: var(--gray-100);
}
.deploy-label {
    background: var(--primary);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 42px;
    text-align: center;
}
.deploy-value {
    font-size: 0.8rem;
    color: var(--gray-600);
}
.deploy-features {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.deploy-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}
.deploy-feature i {
    color: var(--secondary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* ============================================
   客户端架构图
   ============================================ */
.client-arch {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.ca-layer {
    width: 100%;
}
.ca-layer-box {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.ca-layer-box:hover {
    box-shadow: var(--shadow-md);
}
[data-theme="dark"] .ca-layer-box {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.ca-layer-box.cli {
    border-color: var(--primary);
    border-width: 2px;
}
.ca-layer-box.daemon {
    border-color: var(--secondary);
    border-width: 2px;
}
.ca-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.ca-layer-box.cli .ca-icon { color: var(--primary); }
.ca-layer-box.daemon .ca-icon { color: var(--secondary); }
.ca-layer-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}
.ca-layer-box p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}
.ca-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--gray-400);
    font-size: 0.8rem;
}
.ca-arrow i { font-size: 1rem; margin-bottom: 0.15rem; }
.ca-arrow span { font-size: 0.65rem; color: var(--gray-400); }
.ca-workers {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
}
.ca-workers .ca-worker {
    flex: 1;
}
.ca-worker {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}
.ca-worker:hover {
    box-shadow: var(--shadow-md);
}
[data-theme="dark"] .ca-worker {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.ca-icon-sm {
    font-size: 1rem;
    color: #8B5CF6;
    margin-bottom: 0.35rem;
}
.ca-worker span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
}
.ca-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray-400);
    letter-spacing: 0.3rem;
    padding: 0.5rem 0;
}
.ca-worker-sm {
    padding: 0.6rem;
    border-radius: 0.5rem;
}
.ca-worker-sm .ca-icon-sm {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}
.ca-worker-sm span {
    font-size: 0.7rem;
}
.ca-worker-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--gray-400);
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
}
.ca-worker-dots:hover {
    box-shadow: none;
}

/* ============================================
   客户端特性卡片
   ============================================ */
.client-feature-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}
.client-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .client-feature-card {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.cf-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.client-feature-card:nth-child(2) .cf-icon { color: var(--secondary); }
.client-feature-card:nth-child(3) .cf-icon { color: var(--accent); }
.client-feature-card:nth-child(4) .cf-icon { color: #8B5CF6; }
.client-feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}
.client-feature-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   推荐组合 banner / 子标题 / 安装方式
   ============================================ */
.client-combo-banner {
    max-width: 800px;
    margin: 0 auto 3.5rem;
    background: linear-gradient(135deg, rgba(6,182,212,0.06), rgba(139,92,246,0.06));
    border: 1px solid rgba(6,182,212,0.2);
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.ccb-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ccb-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: white;
    flex-shrink: 0;
}
.ccb-item:first-child .ccb-icon {
    background: linear-gradient(135deg, #06B6D4, #0891B2);
}
.ccb-item:nth-child(3) .ccb-icon {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}
.ccb-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}
.ccb-item p {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin: 0;
}
.ccb-plus {
    color: var(--gray-400);
    font-size: 1rem;
}
.ccb-desc {
    flex: 1;
    min-width: 240px;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}
.ccb-desc i {
    color: #F59E0B;
    margin-right: 0.35rem;
}
[data-theme="dark"] .client-combo-banner {
    background: rgba(0,0,0,0.2);
    border-color: rgba(6,182,212,0.25);
}
[data-theme="dark"] .ccb-item h4 {
    color: var(--gray-50);
}
[data-theme="dark"] .ccb-desc {
    color: var(--gray-400);
}

.client-sub-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 2rem;
}
.client-sub-title i {
    color: #8B5CF6;
    margin-right: 0.5rem;
}
.client-sub-title.agent i {
    color: #0891B2;
}
[data-theme="dark"] .client-sub-title {
    color: var(--gray-50);
}

.agent-intro {
    max-width: 720px;
    margin: -1rem auto 2.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}
[data-theme="dark"] .agent-intro {
    color: var(--gray-400);
}

.install-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2.5rem 0 0.5rem;
}
.install-label {
    font-weight: 700;
    color: var(--gray-700);
    font-size: 0.9rem;
    margin-right: 0.25rem;
}
.install-label i {
    color: #8B5CF6;
    margin-right: 0.35rem;
}
.install-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    transition: all 0.2s ease;
}
.install-badge:hover {
    border-color: #8B5CF6;
    color: #8B5CF6;
    transform: translateY(-2px);
}
.install-badge i {
    color: #8B5CF6;
}
[data-theme="dark"] .install-methods {
    color: var(--gray-300);
}
[data-theme="dark"] .install-label {
    color: var(--gray-300);
}
[data-theme="dark"] .install-badge {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--gray-300);
}

/* ============================================
   技术选型
   ============================================ */
.tech-choices {
    max-width: 800px;
    margin: 0 auto;
}
.tech-choice-item {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.tech-choice-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
[data-theme="dark"] .tech-choice-item {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.tc-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}
.tc-question strong {
    color: var(--primary);
}
.tc-answer {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   服务器节点
   ============================================ */
.server-infra {
    max-width: 800px;
    margin: 0 auto;
}
.server-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.server-stat {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}
.server-stat:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
[data-theme="dark"] .server-stat {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.ss-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(59,130,246,0.2));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.ss-info {
    display: flex;
    flex-direction: column;
}
.ss-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
}
.ss-label {
    font-size: 0.72rem;
    color: var(--gray-500);
}
.server-lines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.server-line-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.server-line-card:hover {
    box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .server-line-card {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.sl-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}
[data-theme="dark"] .sl-header {
    border-bottom-color: var(--gray-300);
}
.sl-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #FF6A00, #FF9A44);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.sl-icon.tx {
    background: linear-gradient(135deg, #0052D9, #4D9AFF);
}
.sl-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}
.sl-body {
    padding: 1.25rem 1.5rem;
}
.sl-body p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.sl-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.sl-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.2rem 0.6rem;
    border-radius: 0.375rem;
    font-size: 0.72rem;
    font-weight: 600;
}
[data-theme="dark"] .sl-tag {
    background: var(--gray-200);
}
.bgp-advantages {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
}
[data-theme="dark"] .bgp-advantages {
    background: var(--gray-100);
    border-color: var(--gray-300);
}
.bgp-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.bgp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.bgp-item {
    text-align: center;
}
.bgp-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.bgp-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.35rem;
}
.bgp-item p {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   发展历程时间线
   ============================================ */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 3rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), #8B5CF6, #F59E0B, #EF4444);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 1.5rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeline-dot.server { background: var(--primary); box-shadow: 0 0 0 3px var(--primary); }
.timeline-dot.client { background: #8B5CF6; box-shadow: 0 0 0 3px #8B5CF6; }
.timeline-dot.deployer { background: #EF4444; box-shadow: 0 0 0 3px #EF4444; }
.timeline-dot.data { background: #F59E0B; box-shadow: 0 0 0 3px #F59E0B; }
.timeline-dot.qa { background: var(--secondary); box-shadow: 0 0 0 3px var(--secondary); }
[data-theme="dark"] .timeline-dot {
    border-color: var(--gray-50);
}
.timeline-card {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}
.timeline-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}
[data-theme="dark"] .timeline-card {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
.timeline-year {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 0.2rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    margin-bottom: 0.75rem;
}
[data-theme="dark"] .timeline-year {
    background: var(--gray-200);
}
.timeline-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
}
.timeline-item:nth-child(1) .timeline-icon { color: var(--primary); }
.timeline-item:nth-child(2) .timeline-icon { color: #8B5CF6; }
.timeline-item:nth-child(3) .timeline-icon { color: #EF4444; }
.timeline-item:nth-child(4) .timeline-icon { color: #F59E0B; }
.timeline-item:nth-child(5) .timeline-icon { color: var(--secondary); }
.timeline-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}
.timeline-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}
.timeline-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}
.tl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    align-items: center;
}
.tl-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(167,139,250,0.12));
    border: 1px solid rgba(139,92,246,0.2);
    color: #7C3AED;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.78rem;
    font-weight: 600;
}
.tl-tag i {
    font-size: 0.7rem;
}
[data-theme="dark"] .tl-tag {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.3);
    color: #A78BFA;
}
.tl-tag-github {
    background: linear-gradient(135deg, rgba(31,41,55,0.06), rgba(55,65,81,0.1));
    border-color: rgba(31,41,55,0.2);
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tl-tag-github:hover {
    background: linear-gradient(135deg, rgba(31,41,55,0.12), rgba(55,65,81,0.18));
    border-color: rgba(31,41,55,0.35);
    transform: translateY(-1px);
}
[data-theme="dark"] .tl-tag-github {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: #E5E7EB;
}
[data-theme="dark"] .tl-tag-github:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 991.98px) {
    .tech-hero-section {
        padding: 3.5rem 0;
    }
    .tech-hero-visual {
        padding: 1rem;
    }
    .thv-layer {
        padding: 0.6rem 0.75rem;
        gap: 0.6rem;
    }
    .thv-layer-icon {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    .thv-layer-name {
        font-size: 0.8rem;
    }
    .thv-layer-tech {
        font-size: 0.7rem;
    }
    .thv-layer-row {
        grid-template-columns: 1fr;
    }
    .thv-layer-row-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .cicd-step {
        min-width: 80px;
        padding: 0.75rem 0.5rem;
    }
    .cicd-step-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    .cicd-step-label {
        font-size: 0.75rem;
    }
    .arch-row {
        grid-template-columns: 1fr;
    }
    .arch-layer-body {
        grid-template-columns: 1fr;
    }
    .dataflow-pipeline {
        justify-content: flex-start;
    }
    .server-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .server-lines {
        grid-template-columns: 1fr;
    }
    .bgp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767.98px) {
    .tech-section {
        padding: 4rem 0;
    }
    .dataflow-section {
        padding: 1.25rem;
    }
    .dataflow-node {
        min-width: 60px;
        padding: 0.5rem;
    }
    .df-icon {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .dataflow-node span {
        font-size: 0.65rem;
    }
    .dataflow-node code {
        font-size: 0.55rem;
    }
    .ca-workers {
        gap: 0.4rem;
    }
    .thv-layer-row-3 {
        grid-template-columns: 1fr;
    }
    .cicd-step {
        min-width: 60px;
        padding: 0.5rem 0.35rem;
    }
    .cicd-step-icon {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .cicd-step-label {
        font-size: 0.65rem;
    }
    .cicd-step-desc {
        display: none;
    }
    .cicd-arrow {
        font-size: 0.7rem;
    }
    .timeline {
        padding-left: 2.5rem;
    }
    .timeline-dot {
        left: -2.5rem;
        width: 26px;
        height: 26px;
    }
    .timeline-card {
        padding: 1.25rem;
    }
    .server-stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .server-stat {
        padding: 1rem;
    }
    .bgp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ============================================
   技术架构拆分：Hero 变体 / 页内子导航 / 入口卡
   ============================================ */

/* ---- Hero 变体：每个子页一套主色，整体基调保持一致 ---- */
.tech-hero-section.hero-theme-cluster { background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 50%, #0369A1 100%); }
.tech-hero-section.hero-theme-tunnel { background: linear-gradient(135deg, #6366F1 0%, #4F46E5 50%, #4338CA 100%); }
.tech-hero-section.hero-theme-agent { background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6D28D9 100%); }

/* ---- 页内子导航（总览 / 集群 / 隧道 / 智能客户端 互跳） ---- */
.tech-subnav-wrap {
    padding: 2.5rem 0 0;
}
.tech-subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.tech-subnav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.25s ease;
}
.tech-subnav-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    text-decoration: none;
}
.tech-subnav-item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
[data-theme="dark"] .tech-subnav-item {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--gray-600);
}
[data-theme="dark"] .tech-subnav-item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #0F172A;
}

/* ---- 技术架构入口卡（总览页三张） ---- */
.tech-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
a.tech-hub-card,
a.tech-hub-card:hover {
    color: inherit;
    text-decoration: none;
}
.tech-hub-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    transition: all 0.3s ease;
}
.tech-hub-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.tech-hub-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 1.1rem;
}
.tech-hub-card.cluster .tech-hub-icon { background: linear-gradient(135deg, #0EA5E9, #0369A1); }
.tech-hub-card.tunnel .tech-hub-icon { background: linear-gradient(135deg, #6366F1, #4338CA); }
.tech-hub-card.agent .tech-hub-icon { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.tech-hub-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--gray-400);
    margin-bottom: 0.35rem;
}
.tech-hub-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.tech-hub-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.tech-hub-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}
.tech-hub-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.4rem;
}
.tech-hub-points li i {
    color: var(--secondary);
    margin-top: 0.3rem;
    font-size: 0.75rem;
}
.tech-hub-more {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}
[data-theme="dark"] .tech-hub-card {
    background: var(--gray-50);
    border-color: var(--gray-300);
}
[data-theme="dark"] .tech-hub-card p {
    color: var(--gray-600);
}

@media (max-width: 991.98px) {
    .tech-hub-grid {
        grid-template-columns: 1fr;
    }
    .tech-subnav-wrap {
        padding-top: 2rem;
    }
}
@media (max-width: 767.98px) {
    .tech-hub-card {
        padding: 1.5rem 1.25rem;
    }
    .tech-subnav-item {
        padding: 0.4rem 0.85rem;
        font-size: 0.8rem;
    }
}
