/* ========================================
   宇图瑞视首页 - Frigate/VitePress 风格
   ======================================== */

:root {
    --home-brand: #5672cd;
    --home-brand-hover: #4862b8;
    --home-brand-soft: rgba(86, 114, 205, .12);
    --home-bg: #ffffff;
    --home-bg-soft: #f0f8ff;
    --home-bg-muted: #f6f6f7;
    --home-text: #3c3c43;
    --home-text-2: #67676c;
    --home-text-3: #929295;
    --home-border: rgba(60, 60, 67, .12);
    --home-border-hover: rgba(60, 60, 67, .24);
    --home-radius: 12px;
    --home-shadow: 0 8px 32px rgba(0, 0, 0, .08);
    --home-container: 1152px;
    --xc-header-height: 64px;
    --xc-main-offset: calc(var(--xc-header-height) + 24px);
}

@media (max-width: 768px) {
    :root {
        --xc-header-height: 60px;
    }
}

body.notice-show {
    --xc-main-offset: calc(var(--xc-header-height) + 24px + 40px);
}

/* 固定导航栏下方内容偏移 */
.xc_main_offset {
    padding-top: var(--xc-main-offset);
}

body.xc_page_marketing {
    background: var(--home-bg);
    color: var(--home-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* === 营销页导航浅色主题 === */
body.xc_page_marketing .xc_header {
    background: rgba(255, 255, 255, .85);
    border-bottom: 1px solid var(--home-border);
}

body.xc_page_marketing .xc_logo {
    color: #213547;
}

body.xc_page_marketing .xc_nav_item {
    color: var(--home-text-2);
}

body.xc_page_marketing .xc_nav_item:hover {
    color: var(--home-text);
}

body.xc_page_marketing .xc_nav_menu_active {
    color: var(--home-brand) !important;
}

body.xc_page_marketing .xc_nav_menu_active::after {
    background: var(--home-brand);
}

body.xc_page_marketing .xc_header_btn,
body.xc_page_marketing .xc_action_link {
    color: var(--home-text-2);
    background: var(--home-bg-muted);
    border-color: var(--home-border);
}

body.xc_page_marketing .xc_header_btn:hover,
body.xc_page_marketing .xc_action_link:hover {
    color: var(--home-text);
    background: #ebebef;
    border-color: var(--home-border-hover);
}

body.xc_page_marketing .xc_nav_submenu {
    background: #fff;
    border-color: var(--home-border);
    box-shadow: var(--home-shadow);
}

body.xc_page_marketing .xc_nav_submenu::before {
    background: #fff;
    border-color: var(--home-border);
}

body.xc_page_marketing .xc_nav_submenu li a {
    color: var(--home-text-2);
}

body.xc_page_marketing .xc_nav_submenu li a:hover {
    color: var(--home-text);
    background: var(--home-bg-muted);
}

body.xc_page_marketing .xc_nav_submenu li a.xc_submenu_active {
    color: var(--home-brand);
    background: var(--home-brand-soft);
}

body.xc_page_marketing .xc_menu_toggle span {
    background-color: var(--home-text-2);
}

@media (max-width: 768px) {
    body.xc_page_marketing .xc_nav_menu {
        background: rgba(255, 255, 255, .98);
        border-bottom-color: var(--home-border);
    }

    body.xc_page_marketing .xc_nav_item {
        color: var(--home-text-2);
        border-bottom-color: var(--home-border);
    }

    body.xc_page_marketing .xc_nav_menu_active {
        color: var(--home-brand);
        background: var(--home-brand-soft);
        border-left-color: var(--home-brand);
    }
}

/* === 首页页脚浅色主题 === */
body.xc_page_marketing .xc_footer {
    background: var(--home-bg-muted);
    color: var(--home-text-3);
    border-top: 1px solid var(--home-border);
}

body.xc_page_marketing .xc_footer_link {
    color: var(--home-text-2);
}

body.xc_page_marketing .xc_footer_link:hover {
    color: var(--home-brand);
}

body.xc_page_marketing .xc_social_icon {
    background: rgba(60, 60, 67, .08);
}

body.xc_page_marketing .xc_social_icon:hover {
    background: var(--home-brand);
}

/* === 布局 === */
.xc_home_container {
    max-width: var(--home-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Hero === */
.xc_home_hero {
    background: var(--home-bg-soft);
    padding: var(--xc-main-offset) 0 64px;
}

.xc_home_hero_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.xc_home_hero_logo {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
}

.xc_home_hero_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.xc_home_hero_h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    color: var(--home-text);
}

.xc_home_hero_h1 .accent {
    color: var(--home-brand);
}

.xc_home_hero_desc {
    font-size: 18px;
    line-height: 1.75;
    color: var(--home-text-2);
    margin-bottom: 32px;
    max-width: 520px;
}

.xc_home_hero_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.xc_home_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 48px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.xc_home_btn_brand {
    background: var(--home-brand);
    color: #fff;
}

.xc_home_btn_brand:hover {
    background: var(--home-brand-hover);
    color: #fff;
}

.xc_home_btn_alt {
    background: var(--home-bg-muted);
    color: var(--home-text);
    border-color: var(--home-border);
}

.xc_home_btn_alt:hover {
    border-color: var(--home-border-hover);
    background: #ebebef;
}

.xc_home_hero_visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.xc_home_hero_visual img {
    width: 100%;
    max-width: 540px;
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
    border: 1px solid var(--home-border);
}

/* === Section 标题 === */
.xc_home_section_head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.xc_home_section_head h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.xc_home_section_head p {
    font-size: 18px;
    color: var(--home-text-2);
    line-height: 1.7;
}

/* === 功能特点 - 交替图文 === */
.xc_home_features {
    padding: 80px 0;
    background: var(--home-bg);
}

.xc_home_feature_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.xc_home_feature_row:last-child {
    margin-bottom: 0;
}

.xc_home_feature_row.reverse .xc_home_feature_text {
    order: 2;
}

.xc_home_feature_row.reverse .xc_home_feature_img {
    order: 1;
}

.xc_home_feature_text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 20px;
    line-height: 1.3;
}

.xc_home_feature_text p {
    font-size: 16px;
    color: var(--home-text-2);
    line-height: 1.8;
}

.xc_home_feature_img img {
    width: 100%;
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
    border: 1px solid var(--home-border);
}

/* === 用户评价 === */
.xc_home_testimonials {
    padding: 80px 0;
    background: var(--home-bg-muted);
}

.xc_home_testimonial_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.xc_home_testimonial_card {
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 28px 24px;
    transition: border-color .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.xc_home_testimonial_card:hover {
    border-color: var(--home-border-hover);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}

.xc_home_testimonial_author {
    font-size: 15px;
    font-weight: 600;
    color: var(--home-text);
    margin-bottom: 12px;
}

.xc_home_testimonial_quote {
    font-size: 14px;
    color: var(--home-text-2);
    line-height: 1.7;
}

/* === 产品卡片 === */
.xc_home_products {
    padding: 80px 0;
    background: var(--home-bg);
}

.xc_home_product_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.xc_home_product_card {
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 28px;
    transition: border-color .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.xc_home_product_card:hover {
    border-color: var(--home-border-hover);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.xc_home_product_card_head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.xc_home_product_icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    padding: 4px;
    box-sizing: border-box;
}

.xc_home_product_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.xc_home_product_icon_cyan {
    background: rgba(0, 210, 211, .12);
}

.xc_home_product_icon_purple {
    background: rgba(139, 92, 246, .12);
}

.xc_home_product_badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--home-brand-soft);
    color: var(--home-brand);
}

.xc_home_product_title {
    font-size: 20px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 10px;
}

.xc_home_product_desc {
    font-size: 14px;
    color: var(--home-text-2);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.xc_home_product_chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.xc_home_chip {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--home-bg-muted);
    color: var(--home-text-2);
    border: 1px solid var(--home-border);
}

.xc_home_product_hint {
    text-align: center;
    font-size: 15px;
    color: var(--home-text-2);
    margin-top: 8px;
}

.xc_home_product_hint a {
    color: var(--home-brand);
    text-decoration: none;
    font-weight: 600;
}

.xc_home_product_hint a:hover {
    text-decoration: underline;
}

/* === FAQ === */
.xc_home_faq {
    padding: 80px 0;
    background: var(--home-bg-muted);
}

.xc_home_faq_list {
    max-width: 720px;
    margin: 0 auto;
}

.xc_home_faq_item {
    border-bottom: 1px solid var(--home-border);
}

.xc_home_faq_item summary {
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--home-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.xc_home_faq_item summary::-webkit-details-marker {
    display: none;
}

.xc_home_faq_item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--home-text-3);
    flex-shrink: 0;
    transition: transform .2s;
}

.xc_home_faq_item[open] summary::after {
    transform: rotate(45deg);
}

.xc_home_faq_item p {
    padding: 0 0 20px;
    font-size: 15px;
    color: var(--home-text-2);
    line-height: 1.75;
}

/* === 底部 CTA === */
.xc_home_cta {
    padding: 80px 0 96px;
    background: var(--home-bg-soft);
    text-align: center;
}

.xc_home_cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 12px;
}

.xc_home_cta p {
    font-size: 16px;
    color: var(--home-text-2);
    margin-bottom: 32px;
}

.xc_home_cta_actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === 响应式 === */
@media (max-width: 960px) {
    .xc_home_hero_inner,
    .xc_home_feature_row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .xc_home_feature_row.reverse .xc_home_feature_text,
    .xc_home_feature_row.reverse .xc_home_feature_img {
        order: unset;
    }

    .xc_home_testimonial_grid {
        grid-template-columns: 1fr;
    }

    .xc_home_product_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .xc_home_hero {
        padding-top: var(--xc-main-offset);
        padding-bottom: 48px;
    }

    .xc_home_hero_h1 {
        font-size: 32px;
    }

    .xc_home_hero_desc {
        font-size: 16px;
    }

    .xc_home_section_head h2 {
        font-size: 28px;
    }

    .xc_home_features,
    .xc_home_testimonials,
    .xc_home_products,
    .xc_home_faq {
        padding: 56px 0;
    }

    .xc_home_feature_row {
        margin-bottom: 56px;
    }

    .xc_home_feature_text h3 {
        font-size: 22px;
    }
}

/* === 通用容器 === */
.xc_container {
    max-width: var(--home-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* === 产品详情页（浅色） === */
.xc_product_top {
    padding-bottom: 48px;
}

.xc_product_hero {
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 440px;
    min-height: 400px;
    box-shadow: var(--home-shadow);
}

.xc_hero_content {
    padding: 48px 48px 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xc_hero_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--home-brand-soft);
    border: 1px solid rgba(86, 114, 205, .2);
    color: var(--home-brand);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.xc_hero_badge_dot {
    width: 5px;
    height: 5px;
    background: var(--home-brand);
    border-radius: 50%;
}

.xc_hero_title {
    font-size: 36px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 16px;
    letter-spacing: -.3px;
    line-height: 1.2;
}

.xc_hero_desc {
    font-size: 15px;
    color: var(--home-text-2);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 540px;
}

.xc_hero_actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.xc_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all .2s;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.xc_btn_primary {
    background: var(--home-brand);
    color: #fff;
}

.xc_btn_primary:hover {
    background: var(--home-brand-hover);
    color: #fff;
}

.xc_btn_ghost {
    background: var(--home-bg-muted);
    border: 1px solid var(--home-border);
    color: var(--home-text);
}

.xc_btn_ghost:hover {
    background: #ebebef;
    border-color: var(--home-border-hover);
}

.xc_hero_visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: var(--home-bg-soft);
}

.xc_hero_visual img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--home-shadow);
    border: 1px solid var(--home-border);
}

.xc_spec_section { margin-top: 28px; }

.xc_spec_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.xc_spec_card {
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 20px;
    transition: border-color .2s, box-shadow .2s;
}

.xc_spec_card:hover {
    border-color: var(--home-border-hover);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.xc_spec_card_label {
    font-size: 12px;
    color: var(--home-text-3);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.xc_spec_chip {
    background: var(--home-bg-muted);
    color: var(--home-text-2);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--home-border);
}

.xc_spec_card_values {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.xc_features_section { margin-top: 28px; }

.xc_features_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.xc_feature_card {
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.xc_feature_card:hover {
    border-color: var(--home-border-hover);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.xc_feature_icon {
    width: 36px;
    height: 36px;
    background: var(--home-brand-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.xc_feature_text {
    font-size: 14px;
    font-weight: 600;
    color: var(--home-text);
    line-height: 1.4;
}

.xc_feature_sub {
    font-size: 12px;
    color: var(--home-text-2);
    font-weight: 400;
    margin-top: 4px;
}

.xc_highlight_row {
    display: flex;
    gap: 28px;
    margin-top: 20px;
    margin-bottom: 8px;
}

.xc_highlight_value {
    font-size: 26px;
    font-weight: 800;
    color: var(--home-brand);
    line-height: 1;
}

.xc_highlight_unit {
    font-size: 12px;
    color: var(--home-text-2);
    font-weight: 500;
}

.xc_highlight_item {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

/* 产品页区块 */
.xc_section { padding: 80px 0; }
.xc_section_header { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.xc_section_tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--home-brand-soft);
    color: var(--home-brand);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    border: 1px solid rgba(86, 114, 205, .15);
}

.xc_section_title {
    font-size: 30px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 14px;
}

.xc_section_desc {
    font-size: 15px;
    color: var(--home-text-2);
    line-height: 1.7;
}

.xc_features_bg { background: var(--home-bg-muted); }

.xc_feature_grid2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.xc_feature_card2 {
    padding: 24px 20px;
    border-radius: var(--home-radius);
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    transition: all .25s;
}

.xc_feature_card2:hover {
    border-color: var(--home-border-hover);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}

.xc_feature_icon2 {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 18px;
    background: var(--home-brand-soft);
}

.xc_feature_title2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--home-text);
}

.xc_feature_text2 {
    font-size: 13px;
    color: var(--home-text-2);
    line-height: 1.6;
}

.xc_business_bg { background: var(--home-bg); }

.xc_business_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.xc_business_row:last-child { margin-bottom: 0; }
.xc_business_row.reverse { direction: rtl; }
.xc_business_row.reverse .xc_business_content { direction: ltr; }

.xc_business_image_wrap {
    border-radius: var(--home-radius);
    overflow: hidden;
    border: 1px solid var(--home-border);
    box-shadow: var(--home-shadow);
}

.xc_business_image_wrap img {
    width: 100%;
    display: block;
    transition: transform .4s;
}

.xc_business_image_wrap:hover img { transform: scale(1.02); }

.xc_check_list { list-style: none; margin: 20px 0; }

.xc_check_list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--home-text-2);
}

.xc_check_list li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    background: var(--home-brand-soft);
    border: 1.5px solid rgba(86, 114, 205, .25);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235672cd'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.xc_btn2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 28px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all .2s;
    text-decoration: none;
    cursor: pointer;
}

.xc_btn2_ghost {
    background: var(--home-bg-muted);
    color: var(--home-text);
    border: 1px solid var(--home-border);
}

.xc_btn2_ghost:hover {
    background: #ebebef;
    border-color: var(--home-border-hover);
}

.xc_btn2_primary {
    background: var(--home-brand);
    color: #fff;
}

.xc_btn2_primary:hover {
    background: var(--home-brand-hover);
    color: #fff;
}

.xc_cases_bg { background: var(--home-bg-muted); }

.xc_tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.xc_tab {
    padding: 6px 18px;
    border-radius: 20px;
    background: var(--home-bg);
    color: var(--home-text-2);
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    border: 1px solid var(--home-border);
    transition: all .2s;
}

.xc_tab:hover {
    color: var(--home-text);
    border-color: var(--home-border-hover);
}

.xc_tab.xc_active {
    background: var(--home-brand-soft);
    color: var(--home-brand);
    border-color: rgba(86, 114, 205, .25);
}

.xc_case_content_box {
    background: var(--home-bg);
    border-radius: var(--home-radius);
    border: 1px solid var(--home-border);
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    box-shadow: var(--home-shadow);
}

.xc_case_info h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--home-text);
}

.xc_case_img {
    border-radius: var(--home-radius);
    overflow: hidden;
    border: 1px solid var(--home-border);
}

.xc_case_img img { width: 100%; display: block; }

.xc_cta {
    text-align: center;
    padding: 80px 0;
    background: var(--home-bg-soft);
    border-top: 1px solid var(--home-border);
}

.xc_cta_title {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--home-text);
    font-weight: 700;
}

.xc_cta_desc {
    color: var(--home-text-2);
    margin-bottom: 32px;
    font-size: 16px;
}

/* 营销页通用页面头 */
.xc_page_banner {
    background: var(--home-bg-soft);
    border-bottom: 1px solid var(--home-border);
    padding-bottom: 32px;
    margin-bottom: 32px;
}

.xc_page_header {
    background: var(--home-bg-soft);
    border-bottom: 1px solid var(--home-border);
    padding-bottom: 32px;
    margin-bottom: 24px;
    text-align: center;
}

/* 优先级高于页面内联样式，避免 padding 简写覆盖顶部偏移 */
.xc_page_header.xc_main_offset {
    padding-top: var(--xc-main-offset) !important;
}

.xc_page_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 8px;
}

.xc_page_subtitle {
    font-size: 16px;
    color: var(--home-text-2);
    max-width: 560px;
    margin: 0 auto;
}

.xc_page_banner_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 8px;
    text-align: center;
}

.xc_page_banner_desc {
    font-size: 16px;
    color: var(--home-text-2);
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .xc_product_hero { grid-template-columns: 1fr; }
    .xc_hero_content { padding: 28px 24px; }
    .xc_hero_visual { padding: 0 24px 24px; background: transparent; }
    .xc_spec_grid { grid-template-columns: repeat(2, 1fr); }
    .xc_features_grid { grid-template-columns: 1fr; }
    .xc_highlight_row { flex-wrap: wrap; gap: 14px; }
    .xc_business_row,
    .xc_case_content_box { grid-template-columns: 1fr; gap: 32px; }
    .xc_feature_grid2 { grid-template-columns: repeat(2, 1fr); }
    .xc_business_row.reverse { direction: ltr; }
}

@media (max-width: 768px) {
    .xc_feature_grid2 { grid-template-columns: 1fr; }
    .xc_case_content_box { padding: 24px; }
    .xc_section { padding: 48px 0; }
    .xc_section_title { font-size: 24px; }
}

/* === 联系我们页 === */
.xc_contact_main {
    padding-bottom: 80px;
}

.xc_contact_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

.xc_contact_card {
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    padding: 40px 30px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.xc_contact_card:hover {
    transform: translateY(-4px);
    border-color: var(--home-border-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.xc_contact_icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--home-brand-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--home-brand);
}

.xc_contact_label {
    font-size: 20px;
    font-weight: 600;
    color: var(--home-text);
    margin-bottom: 12px;
}

.xc_contact_value {
    font-size: 15px;
    color: var(--home-text-2);
    line-height: 1.6;
}

.xc_social_section {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid var(--home-border);
}

.xc_social_title {
    font-size: 28px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 32px;
}

.xc_social_grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.xc_social_card {
    width: 72px;
    height: 72px;
    background: var(--home-bg);
    border-radius: var(--home-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    border: 1px solid var(--home-border);
}

.xc_social_card:hover {
    transform: translateY(-4px);
    border-color: var(--home-border-hover);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

@media (max-width: 1024px) {
    .xc_contact_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .xc_contact_grid { grid-template-columns: 1fr; }
}

/* === 认证页（登录/注册/忘记密码） === */
body.xc_page_auth {
    background: linear-gradient(160deg, var(--home-bg-soft) 0%, var(--home-bg) 45%, var(--home-bg-muted) 100%);
    color: var(--home-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
}

.xc_back_home {
    position: fixed;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--home-text-2);
    text-decoration: none;
    font-size: 13px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--home-border);
    transition: all .2s;
    z-index: 10;
}

.xc_back_home:hover {
    color: var(--home-brand);
    border-color: var(--home-border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.xc_auth_card {
    max-width: 400px;
    width: 100%;
    background: var(--home-bg);
    border-radius: 12px;
    border: 1px solid var(--home-border);
    box-shadow: 0 8px 32px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.xc_auth_body {
    padding: 28px 28px 24px;
}

.xc_auth_header {
    margin-bottom: 20px;
    text-align: center;
}

.xc_auth_logo {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 10px;
    overflow: hidden;
}

.xc_auth_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.xc_auth_title {
    font-size: 22px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 4px;
    line-height: 1.3;
}

.xc_auth_desc {
    font-size: 13px;
    color: var(--home-text-2);
    line-height: 1.5;
}

.xc_auth_msg {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--home-brand);
}

.xc_auth_form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.xc_auth_form > div {
    margin: 0;
}

.xc_auth_label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--home-text);
    margin-bottom: 4px;
}

.xc_auth_input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    background: var(--home-bg-muted);
    border: 1px solid var(--home-border);
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--home-text);
    transition: border-color .15s, box-shadow .15s, background .15s;
    outline: none;
    box-sizing: border-box;
}

.xc_auth_input:focus {
    border-color: var(--home-brand);
    background: var(--home-bg);
    box-shadow: 0 0 0 2px var(--home-brand-soft);
}

.xc_auth_input::placeholder {
    color: var(--home-text-3);
    font-size: 13px;
}

.xc_auth_password_wrap {
    position: relative;
}

.xc_auth_password_wrap .xc_auth_input {
    padding-right: 36px;
}

.xc_auth_password_toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--home-text-3);
    font-size: 12px;
    line-height: 1;
    user-select: none;
    padding: 2px 4px;
}

.xc_auth_password_toggle:hover {
    color: var(--home-brand);
}

.xc_auth_link {
    display: inline-block;
    text-align: right;
    font-size: 12px;
    color: var(--home-brand);
    text-decoration: none;
    margin-top: 4px;
    float: right;
}

.xc_auth_link:hover {
    text-decoration: underline;
}

.xc_auth_verify_group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.xc_auth_verify_group .xc_auth_input {
    min-width: 0;
    width: 100%;
}

.xc_auth_btn_secondary {
    flex-shrink: 0;
    height: 36px;
    padding: 0 12px;
    background: var(--home-brand-soft);
    color: var(--home-brand);
    border: 1px solid rgba(86, 114, 205, .2);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}

.xc_auth_btn_secondary:hover:not(:disabled) {
    background: rgba(86, 114, 205, .18);
}

.xc_auth_btn_secondary:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.xc_auth_hint {
    font-size: 11px;
    color: var(--home-text-3);
    margin-top: 4px;
    line-height: 1.4;
}

.xc_auth_submit {
    width: 100%;
    height: 38px;
    padding: 0 16px;
    background: var(--home-brand);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, opacity .15s;
    margin-top: 4px;
}

.xc_auth_submit:hover:not(:disabled) {
    background: var(--home-brand-hover);
}

.xc_auth_submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.xc_auth_footer {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--home-border);
    font-size: 13px;
    color: var(--home-text-2);
}

.xc_auth_footer a {
    color: var(--home-brand);
    text-decoration: none;
    font-weight: 600;
}

.xc_auth_footer a:hover {
    text-decoration: underline;
}

.xc_auth_error {
    display: none;
    color: #ef4444;
    font-size: 12px;
    text-align: center;
    line-height: 1.4;
}

@media (max-width: 768px) {
    body.xc_page_auth { padding: 16px; }
    .xc_auth_body { padding: 24px 20px 20px; }
    .xc_back_home { top: 10px; left: 10px; font-size: 12px; padding: 6px 12px; }
    .xc_auth_verify_group { grid-template-columns: 1fr; }
    .xc_auth_btn_secondary { width: 100%; }
}

/* === 用户中心（登录后） === */
body.xc_page_marketing .xc_main_content {
    margin-top: 0;
    padding-top: var(--xc-main-offset);
    background: var(--home-bg-muted);
    min-height: calc(100vh - 160px);
}

body.xc_page_marketing .xc_sidebar .xc_menu_item.xc_active {
    background: var(--home-brand);
    box-shadow: 0 4px 12px rgba(86, 114, 205, 0.25);
}

body.xc_page_marketing .xc_sidebar .xc_menu_item:hover {
    background: var(--home-brand-soft);
    color: var(--home-brand);
}

/* === 产品页（简洁版，对齐首页） === */
.xc_prod_badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    background: var(--home-brand-soft);
    color: var(--home-brand);
    margin-bottom: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.xc_prod_section {
    padding: 64px 0;
}

.xc_prod_section_muted {
    background: var(--home-bg-muted);
}

.xc_prod_spec_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.xc_prod_spec_item {
    padding: 20px;
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
}

.xc_prod_spec_item h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--home-text-3);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.xc_prod_highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 28px;
}

.xc_prod_highlight strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--home-brand);
    line-height: 1;
    margin-bottom: 4px;
}

.xc_prod_highlight span {
    font-size: 13px;
    color: var(--home-text-2);
}

.xc_prod_mini_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.xc_prod_mini_item {
    padding: 20px 22px;
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
}

.xc_prod_mini_item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--home-text);
    margin-bottom: 6px;
}

.xc_prod_mini_item p {
    font-size: 13px;
    color: var(--home-text-2);
    line-height: 1.65;
    margin: 0;
}

.xc_prod_cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.xc_prod_card {
    padding: 24px;
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    transition: border-color .2s, box-shadow .2s;
}

.xc_prod_card:hover {
    border-color: var(--home-border-hover);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.xc_prod_card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--home-text);
    margin-bottom: 8px;
}

.xc_prod_card p {
    font-size: 14px;
    color: var(--home-text-2);
    line-height: 1.65;
    margin: 0;
}

.xc_prod_check_list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.xc_prod_check_list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--home-text-2);
    line-height: 1.6;
}

.xc_prod_check_list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--home-brand);
}

.xc_prod_tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.xc_prod_tab {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--home-text-2);
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    cursor: pointer;
    transition: all .2s;
}

.xc_prod_tab:hover {
    border-color: var(--home-border-hover);
    color: var(--home-text);
}

.xc_prod_tab.active {
    background: var(--home-brand-soft);
    border-color: rgba(86, 114, 205, .25);
    color: var(--home-brand);
    font-weight: 600;
}

.xc_prod_case_panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    padding: 32px;
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
}

.xc_prod_case_panel h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--home-text);
    margin-bottom: 14px;
}

.xc_prod_case_panel p {
    font-size: 15px;
    color: var(--home-text-2);
    line-height: 1.75;
    margin-bottom: 20px;
}

.xc_prod_case_panel img {
    width: 100%;
    border-radius: var(--home-radius);
    border: 1px solid var(--home-border);
}

.xc_prod_cta_actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 960px) {
    .xc_prod_spec_grid,
    .xc_prod_cards { grid-template-columns: repeat(2, 1fr); }
    .xc_prod_mini_grid { grid-template-columns: 1fr; }
    .xc_prod_case_panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}

@media (max-width: 768px) {
    .xc_prod_section { padding: 48px 0; }
    .xc_prod_spec_grid,
    .xc_prod_cards { grid-template-columns: 1fr; }
}
