/* ===== 第一部分 基础全局变量 (依据您的文档定义) ===== */
/* ===== 核心变量 (保持与全站一致) ===== */
:root {
    --cbi-primary: #002b5c;
    --cbi-secondary: #00152e;
    --cbi-accent: #d4af37;
    --cbi-white: #ffffff;
    --cbi-text-gray: #f5f5f5;
    --transition-hub: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Hero Section 布局优化 ===== */
.hero-contact {
    background: linear-gradient(135deg, var(--cbi-secondary) 0%, var(--cbi-primary) 100%);
    padding: 3rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-contact__container {
    width: 100%;
    max-width: 75rem; /* 1200px */
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-contact__left {
    flex: 1.2;
}

/* 左侧文字样式 (继承之前优化的版本) */
.hero-contact__badge {
    color: var(--cbi-accent);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--cbi-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 3.125rem;
    background: rgba(212, 175, 55, 0.1);
    display: inline-block;
    margin-bottom: 1.25rem;
}

.hero-contact__title {
    color: var(--cbi-white);
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-contact__text-plain { color: var(--cbi-text-gray); }
.hero-contact__highlight { color: var(--cbi-accent); }

.hero-contact__description {
    color: var(--cbi-text-gray);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 36.25rem;
    opacity: 0.9;
}

/* ===== 右侧：通讯枢纽图例 (The Visual Hub) ===== */
.hero-contact__right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cbi-hub {
    position: relative;
    width: 25rem; /* 400px - 显著放大 */
    height: 25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 中心核心 */
.cbi-hub__core {
    position: relative;
    width: 5rem;
    height: 5rem;
    z-index: 10;
}

.cbi-hub__core-inner {
    width: 100%;
    height: 100%;
    background: var(--cbi-accent);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.cbi-hub__pulse {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--cbi-accent);
    border-radius: 50%;
    animation: hub-pulse 2s infinite ease-out;
    z-index: -1;
}

/* 节点通用样式 */
.cbi-hub__node {
    position: absolute;
    width: 4.375rem; /* 70px */
    height: 4.375rem;
    background: var(--cbi-white);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 11;
    transition: var(--transition-hub);
    animation: float 4s infinite ease-in-out;
}

/* 节点位置 */
.cbi-hub__node--phone { top: 10%; left: 10%; animation-delay: 0s; }
.cbi-hub__node--mail { top: 20%; right: 5%; animation-delay: 1s; }
.cbi-hub__node--social { bottom: 10%; right: 25%; animation-delay: 2s; }

/* CSS 图标绘制：电话 */
.cbi-hub__icon-phone {
    width: 1.5rem;
    height: 2.25rem;
    border: 3px solid var(--cbi-primary);
    border-radius: 4px;
    position: relative;
}
.cbi-hub__icon-phone::after {
    content: '';
    position: absolute;
    bottom: 3px; left: 50%;
    width: 4px; height: 4px;
    background: var(--cbi-primary);
    transform: translateX(-50%);
    border-radius: 50%;
}

/* CSS 图标绘制：邮件 */
.cbi-hub__icon-mail {
    width: 1.875rem;
    height: 1.25rem;
    border: 3px solid var(--cbi-primary);
    position: relative;
}
.cbi-hub__icon-mail::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50%;
    border-bottom: 3px solid var(--cbi-primary);
    transform: skewY(20deg);
    transform-origin: top left;
}

/* CSS 图标绘制：社媒/网络 */
.cbi-hub__icon-social {
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid var(--cbi-primary);
    border-radius: 50%;
    position: relative;
}
.cbi-hub__icon-social::after {
    content: '';
    position: absolute;
    top: 50%; left: -5px; width: calc(100% + 10px); height: 3px;
    background: var(--cbi-primary);
    transform: translateY(-50%);
}

/* 背景连接线 */
.cbi-hub__lines {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.cbi-hub__line {
    stroke: var(--cbi-accent);
    stroke-width: 2;
    stroke-dasharray: 5;
    opacity: 0.3;
}

/* ===== 动画效果 ===== */
@keyframes hub-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 响应式适配 */
@media (max-width: 992px) {
    .hero-contact__container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .cbi-hub {
        width: 18.75rem; /* 300px on mobile */
        height: 18.75rem;
        transform: scale(0.8);
    }
    .hero-contact__actions { justify-content: center; }
}

/* ===== 补充：强化行动按钮的方框样式 (Append to your CSS) ===== */

/* 按钮容器微调，确保间距与对齐 */
.hero-contact__actions {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

/* 基础方框样式 */
.cbi-button {
    display: inline-block;
    padding: 1.125rem 2.5rem; /* 增加内边距，使方框更厚实 */
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0.25rem; /* 微圆角，保持商务高级感 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid transparent; /* 预留边框位 */
    cursor: pointer;
    line-height: 1;
}

/* 主行动按钮：金色实心方框 */
.cbi-button--primary {
    background-color: var(--cbi-accent);
    color: var(--cbi-primary);
    border-color: var(--cbi-accent);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); /* 增加环境光投影 */
}

.cbi-button--primary:hover {
    background-color: var(--cbi-white);
    border-color: var(--cbi-white);
    color: var(--cbi-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 次要按钮：白框透明方框 */
.cbi-button--outline {
    background-color: transparent;
    color: var(--cbi-white);
    border: 2px solid var(--cbi-white); /* 明显的白色方框线 */
}

.cbi-button--outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--cbi-accent);
    color: var(--cbi-accent);
    transform: translateY(-3px);
}

/* 移动端适配：按钮全宽方框 */
@media (max-width: 480px) {
    .hero-contact__actions {
        flex-direction: column;
        gap: 1rem;
    }
    .cbi-button {
        width: 100%; /* 手机端变为横跨全屏的方框 */
        padding: 1.25rem 0;
    }
}



/* ===== 第二部分 基础变量 (若已在全局定义可省略) ===== */
:root {
    --cbi-primary: #002b5c;
    --cbi-accent: #d4af37;
    --cbi-white: #ffffff;
    --cbi-bg-light: #f8f9fa;
    --cbi-text-main: #333333;
    --cbi-text-light: #666666;
    --cbi-shadow: 0 10px 30px rgba(0,0,0,0.08);
    --cbi-font: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ===== Contact Grid 容器 ===== */
.contact-grid {
    padding: 4rem 0; /* 紧凑间距 */
    background-color: var(--cbi-bg-light);
    font-family: var(--cbi-font);
}

.contact-grid__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 标准三栏布局 */
    gap: 2rem;
}

/* ===== 核心卡片样式 (方框感设计) ===== */
.contact-grid__card {
    background: var(--cbi-white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 0.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: var(--cbi-shadow);
}

.contact-grid__card:hover {
    transform: translateY(-10px);
    border-color: var(--cbi-accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* 图标容器 */
.contact-grid__icon-wrapper {
    width: 4rem;
    height: 4rem;
    background: rgba(0, 43, 92, 0.05);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cbi-primary);
}

/* CSS 绘制简易图标 - 保持轻量化 */
.contact-grid__icon {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--cbi-primary);
    border-radius: 3px;
}

.contact-grid__icon--whatsapp { border-radius: 50%; border-bottom-left-radius: 0; }
.contact-grid__icon--email { height: 1.1rem; }
.contact-grid__icon--wechat { border-color: #28c445; background: #28c445; box-shadow: 0 0 10px rgba(40,196,69,0.3); }

/* 文字排版 */
.contact-grid__title {
    font-size: 1.5rem;
    color: var(--cbi-primary);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.contact-grid__text {
    font-size: 0.9375rem;
    color: var(--cbi-text-light);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    height: 3rem; /* 保持卡片对齐 */
}

.contact-grid__info {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cbi-text-main);
    margin-bottom: 1.5rem;
}

/* 按钮样式 - 延续英雄区的“方框感” */
.contact-grid__btn {
    width: 100%;
    padding: 0.875rem 0;
    background-color: var(--cbi-primary);
    color: var(--cbi-white);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    border: 2px solid var(--cbi-primary);
}

.contact-grid__card:hover .contact-grid__btn {
    background-color: var(--cbi-accent);
    border-color: var(--cbi-accent);
    color: var(--cbi-primary);
}

/* 响应时间标签 - SEO 与 痛点打击 */
.contact-grid__tag {
    margin-top: 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cbi-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== 响应式适配 ===== */
@media (max-width: 992px) {
    .contact-grid__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .contact-grid__container {
        grid-template-columns: 1fr;
    }
    .contact-grid__card {
        padding: 2rem 1.5rem;
    }
}



/* ===== 第三部分 基础变量继承 ===== */
/* ===== 板块 3: WPForms 深度美化容器 ===== */

.cbi-inquiry-box {
    padding: 4rem 0;
    background-color: var(--cbi-white);
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.cbi-inquiry-box__container {
    max-width: 53.125rem; /* 850px，黄金阅读宽度 */
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* 头部居中样式 */
.cbi-inquiry-box__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.cbi-inquiry-box__sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cbi-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.75rem;
}

.cbi-inquiry-box__title {
    font-size: 2.5rem;
    color: var(--cbi-primary);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.cbi-highlight {
    color: var(--cbi-accent);
}

.cbi-inquiry-box__description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    max-width: 40.625rem;
    margin: 0 auto;
}

/* 核心方框：带边框样式的卡片 */
.cbi-inquiry-box__card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 0.5rem;
    position: relative;
    padding: 3.5rem;
    box-shadow: 0 25px 60px rgba(0, 43, 92, 0.08); /* 柔和的深蓝色调投影 */
    overflow: hidden;
}

/* 卡片顶部的金色修饰线条 */
.cbi-inquiry-box__border-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--cbi-primary) 0%, var(--cbi-accent) 100%);
}

/* WPForms 内部布局修正 */
.cbi-inquiry-box__form-area {
    margin-bottom: 2rem;
}

/* 强制覆盖 WPForms 提交按钮，使其符合“方框感” */
.cbi-inquiry-box__form-area .wpforms-submit-container {
    text-align: center !important; /* 确保按钮居中 */
    padding-top: 1.5rem;
}

.cbi-inquiry-box__form-area button[type=submit] {
    background-color: var(--cbi-primary) !important;
    border: 2px solid var(--cbi-primary) !important;
    padding: 1rem 3.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 43, 92, 0.2) !important;
}

.cbi-inquiry-box__form-area button[type=submit]:hover {
    background-color: var(--cbi-accent) !important;
    border-color: var(--cbi-accent) !important;
    color: var(--cbi-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3) !important;
}

/* 底部信任栏 */
.cbi-inquiry-box__footer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.cbi-inquiry-box__trust-item {
    font-size: 0.875rem;
    font-weight: 600;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    color: var(--cbi-accent);
    font-weight: bold;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .cbi-inquiry-box__card {
        padding: 2.5rem 1.25rem;
    }
    
    .cbi-inquiry-box__title {
        font-size: 1.875rem;
    }
    
    .cbi-inquiry-box__footer {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* ===== 补充：WPForms 提交按钮居中与样式强化 ===== */

/* ===== 最终修正：WPForms 按钮文字绝对居中 ===== */

.cbi-inquiry-box__form-area button[type=submit].wpforms-submit {
    /* 1. 强制使用 Flex 布局处理文字对齐 */
    display: flex !important;
    justify-content: center !important; /* 水平居中文字 */
    align-items: center !important;     /* 垂直居中文字 */
    
    /* 2. 重置可能引起偏移的属性 */
    line-height: 1 !important;          /* 消除行高导致的垂直偏移 */
    text-align: center !important;
    margin-left: auto !important;       /* 配合父容器 flex 居中 */
    margin-right: auto !important;
    
    /* 3. 修正内边距对齐 */
    padding: 0 3.5rem !important;       /* 左右内边距 */
    height: 3.5rem !important;          /* 固定高度确保垂直居中可控 */
    min-width: 280px !important;        /* 保持方框的宽度感 */
}

/* 针对部分浏览器可能存在的默认内边距清理 */
.cbi-inquiry-box__form-area .wpforms-submit-container {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
}

/* 移动端微调 */
@media (max-width: 480px) {
    .cbi-inquiry-box__form-area button[type=submit].wpforms-submit {
        width: 100% !important;
        min-width: 100% !important;
    }
}



/* ===== 板块 4: 核心优势区 (Why Us) ===== */

.cbi-why {
    padding: 5rem 0;
    background-color: #ffffff;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.cbi-why__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* 居中标题样式 */
.cbi-why__header {
    text-align: center;
    margin-bottom: 4rem;
}

.cbi-why__title {
    font-size: 2.25rem;
    color: var(--cbi-primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cbi-why__divider {
    width: 50px;
    height: 3px;
    background-color: var(--cbi-accent);
    margin: 0 auto 1.5rem;
}

.cbi-why__subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 网格布局 */
.cbi-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* 优势卡片 */
.cbi-why__card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cbi-why__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 43, 92, 0.08);
    border-color: var(--cbi-accent);
}

/* 图标容器 */
.cbi-why__icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--cbi-accent);
}

.cbi-why__card:hover .cbi-why__icon-wrapper {
    background-color: var(--cbi-accent);
    color: #fff;
}

/* ===== 强关联图标绘制 (CSS Only) ===== */

/* 1. 印章图标 (Official) */
.cbi-icon-seal {
    width: 30px;
    height: 30px;
    border: 3px double currentColor;
    border-radius: 50%;
    position: relative;
}
.cbi-icon-seal::after {
    content: '★';
    font-size: 12px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* 2. 双语文档图标 (Bilingual) */
.cbi-icon-bilingual {
    width: 24px;
    height: 30px;
    border: 2px solid currentColor;
    position: relative;
    border-radius: 2px;
}
.cbi-icon-bilingual::before {
    content: 'A/中';
    font-size: 8px;
    font-weight: 900;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* 3. 法律/合规图标 (Compliance) */
.cbi-icon-legal {
    width: 32px;
    height: 20px;
    border-bottom: 3px solid currentColor;
    position: relative;
}
.cbi-icon-legal::before, .cbi-icon-legal::after {
    content: '';
    position: absolute;
    top: -5px; width: 12px; height: 12px;
    border: 2px solid currentColor;
    border-radius: 0 0 10px 10px;
}
.cbi-icon-legal::before { left: -5px; }
.cbi-icon-legal::after { right: -5px; }

/* 4. 速度图标 (Speed) */
.cbi-icon-speed {
    width: 30px;
    height: 30px;
    border: 3px solid currentColor;
    border-radius: 50%;
    position: relative;
}
.cbi-icon-speed::after {
    content: '';
    position: absolute;
    top: 4px; left: 13px;
    width: 3px; height: 12px;
    background: currentColor;
    transform-origin: bottom;
    transform: rotate(45deg);
}

/* 文案细节 */
.cbi-why__card-title {
    font-size: 1.25rem;
    color: var(--cbi-primary);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cbi-why__card-text {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .cbi-why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .cbi-why__grid { grid-template-columns: 1fr; }
    .cbi-why__title { font-size: 1.8rem; }
}




/* ===== 板处 5: 优化后的提亮版社媒矩阵 ===== */

.cbi-social-hub {
    padding: 6rem 0;
    /* 优化点 1：使用更有活力的渐变蓝取代纯暗色 */
    background: radial-gradient(circle at center, #003875 0%, #001a35 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cbi-social-hub__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.cbi-social-hub__header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.cbi-social-hub__badge {
    background: var(--cbi-accent);
    color: var(--cbi-primary);
    padding: 0.3rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* 优化点 2：解决标题“Stay Ahead of”看不清的问题 */
.cbi-social-hub__title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin: 0;
    font-weight: 900;
}

.cbi-social-hub__title--light {
    color: #ffffff;
    /* 核心修正：添加文字阴影和极淡的描边感 */
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: block; /* 换行增加气势 */
    opacity: 0.95;
}

.cbi-social-hub__title--accent {
    color: var(--cbi-accent);
    text-transform: uppercase;
    display: block;
    margin-top: 0.5rem;
}

.cbi-social-hub__line {
    width: 80px;
    height: 4px;
    background: #ffffff;
    margin: 2rem auto;
}

.cbi-social-hub__subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 社交卡片网格 */
.cbi-social-hub__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cbi-social-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cbi-social-card:hover {
    background: #ffffff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* 图标容器区 */
.cbi-social-card__icon-box {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 各社媒原始Logo图标绘制 (CSS) ===== */

/* TikTok Logo */
.cbi-logo-tiktok {
    width: 32px; height: 32px;
    background: #fff;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448 209.91a210.06 210.06 0 0 1-122.77-39.25V349.38A162.55 162.55 0 1 1 185 188.31V278.2a74.62 74.62 0 1 0 52.23 71.18V0l88 0a121.18 121.18 0 0 0 1.86 22.17h0A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14Z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M448 209.91a210.06 210.06 0 0 1-122.77-39.25V349.38A162.55 162.55 0 1 1 185 188.31V278.2a74.62 74.62 0 1 0 52.23 71.18V0l88 0a121.18 121.18 0 0 0 1.86 22.17h0A122.18 122.18 0 0 0 381 102.39a121.43 121.43 0 0 0 67 20.14Z'/%3E%3C/svg%3E") no-repeat center;
    background-color: #000;
}

/* X Logo */
.cbi-logo-x {
    width: 28px; height: 28px;
    background-color: #000;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E") no-repeat center;
}

/* YouTube Logo */
.cbi-logo-youtube {
    width: 35px; height: 35px;
    background-color: #ff0000;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.503 48.284 47.824C117.219 448 288 448 288 448s170.781 0 213.371-11.486c23.497-6.321 42.003-24.175 48.284-47.824 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.503 48.284 47.824C117.219 448 288 448 288 448s170.781 0 213.371-11.486c23.497-6.321 42.003-24.175 48.284-47.824 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z'/%3E%3C/svg%3E") no-repeat center;
}

/* Facebook Logo */
.cbi-logo-facebook {
    width: 32px; height: 32px;
    background-color: #1877f2;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.75l-11 71.69h-57.75V501C413.31 482.38 504 379.78 504 256z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.75l-11 71.69h-57.75V501C413.31 482.38 504 379.78 504 256z'/%3E%3C/svg%3E") no-repeat center;
}

/* 文本美化 */
.cbi-social-card__meta { text-align: center; }
.cbi-social-card__name {
    display: block; font-weight: 800; color: #fff; font-size: 1.1rem;
    transition: color 0.3s;
}
.cbi-social-card__desc {
    font-size: 0.75rem; color: var(--cbi-accent); text-transform: uppercase;
    letter-spacing: 1px; margin-top: 5px; display: block;
}

/* 悬停时图标背景颜色调整 */
.cbi-social-card:hover .cbi-social-card__name { color: var(--cbi-primary); }
.cbi-social-card:hover .cbi-logo-tiktok,
.cbi-social-card:hover .cbi-logo-x { background-color: var(--cbi-primary); }

/* 响应式 */
@media (max-width: 992px) { .cbi-social-hub__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cbi-social-hub__grid { grid-template-columns: 1fr; } }



/* ===== 板块 6: FAQ 折叠式问答 (精简版) ===== */

.cbi-faq {
    padding: 5rem 0;
    background-color: #fcfcfc; /* 浅灰色背景，与社媒板块形成间隔 */
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.cbi-faq__container {
    max-width: 800px; /* 窄版布局，更利于阅读问答 */
    margin: 0 auto;
    padding: 0 1.25rem;
}

.cbi-faq__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.cbi-faq__title {
    font-size: 2.25rem;
    color: var(--cbi-primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cbi-faq__subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* 折叠组件样式 */
.cbi-faq__wrapper {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}

.cbi-faq__item {
    border-bottom: 1px solid #eee;
}

.cbi-faq__item:last-child {
    border-bottom: none;
}

/* 提问区域样式 */
.cbi-faq__question {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cbi-primary);
    cursor: pointer;
    list-style: none; /* 隐藏默认箭头 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.cbi-faq__question::-webkit-details-marker {
    display: none; /* 针对 Safari 隐藏箭头 */
}

.cbi-faq__question:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

/* 自定义右侧金色加号/减号图标 */
.cbi-faq__icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.cbi-faq__icon::before,
.cbi-faq__icon::after {
    content: '';
    position: absolute;
    background-color: var(--cbi-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

.cbi-faq__icon::before { width: 12px; height: 2px; } /* 横线 */
.cbi-faq__icon::after { width: 2px; height: 12px; } /* 竖线 */

/* 展开状态的图标动画 */
.cbi-faq__item[open] .cbi-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* 回答区域样式 */
.cbi-faq__answer {
    padding: 0 2rem 1.5rem;
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式调整 */
@media (max-width: 600px) {
    .cbi-faq__question { padding: 1.25rem 1.5rem; font-size: 1rem; }
    .cbi-faq__answer { padding: 0 1.5rem 1.25rem; }
}