/* ==================== 1. 全局变量与基础设置 ==================== */
:root {
    --bg-white: #FFFFFF;           
    --bg-light-blue: #F8FAFC;      
    --bg-card: #FFFFFF;           
    --primary-blue: #0052FF;      
    --cyan-glow: #0080FF;         
    --gold-accent: #D97706;       
    --text-main: #0F172A;         
    --text-sub: #334155;          
    --text-muted: #64748B;        
    --border-color: #E2E8F0;      
    --border-highlight: rgba(0, 82, 255, 0.35);
    --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.07); 
    --container-width: 1600px;    /* 版心拓宽至 1600px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 19px; /* 全局基础字号提升 */
}

a {
    text-decoration: none;
    color: inherit;
}

body.modal-open {
    overflow: hidden;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cases-filter a.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px; /* 侧边留白加大 */
}

/* ==================== 2. 导航栏 ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85); /* 默认半透明 */
    backdrop-filter: blur(16px);            /* 高斯模糊虚化核心效果 */
    -webkit-backdrop-filter: blur(16px);    /* 兼容 Safari */
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); /* 平滑过渡曲线 */
}

.nav-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 90px; /* 默认大导航高度 */
    transition: height 0.35s ease;
}

/* 页面往下滑动超过 30px 时激活的收缩类 (.scrolled) */
header.scrolled {
    background: rgba(255, 255, 255, 0.75); /* 滚动后更通透 */
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.08); /* 优雅淡蓝微阴影 */
    border-bottom-color: rgba(0, 82, 255, 0.15);
}

header.scrolled .nav-wrapper {
    height: 64px; /* 往下滑动后收缩至 64px 精致高度 */
}

#products,
#about {
    scroll-margin-top: 80px;
}

header.scrolled .logo-text {
    font-size: 24px; /* 滚动时 Logo 稍微收紧 */
}

header.scrolled .logo-sub {
    font-size: 13px;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 16px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 30px; /* Logo加大 */
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-sub {
    font-size: 14px;
    color: var(--text-sub);
    padding-left: 12px;
    border-left: 2px solid var(--border-color);
    font-weight: 700;
    white-space: nowrap;
}

nav {
    display: block !important;
}

.nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 48px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links li {
    display: inline-block !important;
}

.nav-links a {
    color: var(--text-sub) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-blue) !important;
}

/* ==================== 导航栏及下拉菜单 ==================== */

.nav-links li.has-dropdown {
    position: relative;
    display: flex !important;
    align-items: center;
}

.nav-links .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links .dropdown-toggle::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease-in-out, margin-top 0.25s ease-in-out;
}

.nav-links li.has-dropdown:hover .dropdown-toggle::after,
.nav-links li.has-dropdown:focus-within .dropdown-toggle::after {
    margin-top: 3px;
    transform: rotate(-135deg);
}

.nav-links .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 1000;
    min-width: 200px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.nav-links .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;
    background: transparent;
}

.nav-links li.has-dropdown:hover .dropdown-menu,
.nav-links li.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-links .dropdown-menu li {
    display: block !important;
    margin: 0;
}

.nav-links .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333333 !important;
    font-size: 14px !important;
    text-align: left;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links .dropdown-menu li a:hover,
.nav-links .dropdown-menu li a:focus,
.nav-links .dropdown-menu li a.active {
    color: var(--primary-blue) !important;
    background-color: #f4f7fc;
    outline: none;
}

/* 按钮规范 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 38px;
    font-size: 18px;
    font-weight: 800;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(90deg, #0052FF 0%, #0076FF 100%);
    color: #FFF !important;
    box-shadow: 0 8px 25px rgba(0, 82, 255, 0.35);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 82, 255, 0.5);
}

.btn-outline {
    background: #FFFFFF;
    color: var(--primary-blue) !important;
    border: 2px solid var(--border-highlight);
}

.btn-outline:hover {
    background: #F1F5F9;
    border-color: var(--primary-blue);
}

/* ==================== 3. Hero 模块（大屏大气版） ==================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 180px;
    padding-bottom: 110px;
    background: linear-gradient(180deg, #F0F5FF 0%, #FFFFFF 100%);
    position: relative;
    overflow: visible !important;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.hero-content {
    flex: 1.1;
    max-width: 780px;
    text-align: left;
}

.hero-content h1 {
    font-size: 64px; /* 首屏大标题放大至 64px */
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 28px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 20px; /* 正文调大 */
    color: var(--text-sub);
    line-height: 1.85;
    margin-bottom: 42px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* 右侧 GEO 动态演示卡片 */
.hero-visual {
    flex: 1;
    max-width: 660px;
    position: relative;
    padding: 20px 15px;
}

.geo-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 82, 255, 0.18);
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: 0 25px 60px rgba(0, 82, 255, 0.14);
    position: relative;
    overflow: visible !important;
}

.geo-card-header {
    margin-bottom: 24px;
}

.ai-badge {
    font-size: 15px;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box-sim {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    color: #334155;
    font-weight: 700;
}

.typing-text {
    display: inline-block;
    width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-blue);
    animation: typing 4.8s steps(24, end) infinite, blink-caret 0.75s step-end infinite;
}

.thinking-stream {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-size: 14px;
    color: #64748B;
}

.pulse-node {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--primary-blue);
    animation: pulse 1.8s ease-out infinite;
}

.stream-line {
    position: relative;
    height: 2px;
    flex: 1;
    overflow: hidden;
    border-radius: 999px;
    background: #D9E6FF;
}

.stream-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: streamFlow 1.6s ease-in-out infinite;
}

.rank-top {
    background: linear-gradient(135deg, #F0F6FF 0%, #FFFFFF 100%);
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    padding: 22px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 82, 255, 0.15);
    animation: highlightGlow 3s infinite alternate;
}

.rank-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(90deg, #0052FF, #0080FF);
    color: #FFF;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
}

.item-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 10px;
}

.verify-tag {
    font-size: 12px;
    background: rgba(0, 82, 255, 0.1);
    color: var(--primary-blue);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
}

.item-desc {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 14px;
}

.item-tags {
    display: flex;
    gap: 10px;
}

.item-tags span {
    font-size: 12px;
    background: #E0EDFF;
    color: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

.floating-badge {
    position: absolute;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 12px 24px;
    box-shadow: 0 12px 30px rgba(0, 82, 255, 0.18);
    text-align: center;
    z-index: 100;
    white-space: nowrap;
    animation: float 4s ease-in-out infinite;
}

.badge-1 {
    top: -24px;
    right: 20px;
}

.badge-2 {
    bottom: -24px;
    left: 20px;
    animation-delay: 2s;
}

.badge-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.1;
}

.badge-txt {
    font-size: 13px;
    color: var(--text-muted);
}

/* 底部数据卡片 */
.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.stat-card {
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.stat-card:last-child {
    border-right: none;
}

.stat-num {
    font-size: 52px; /* 数据字号加大 */
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.1;
}

.stat-num.accent {
    color: var(--gold-accent);
}

.stat-txt {
    font-size: 17px;
    color: var(--text-sub);
    font-weight: 700;
    margin-top: 8px;
}

/* ==================== 4. 板块通用与卡片 ==================== */
.section-padding {
    padding: 140px 0; /* 上下留白拉大到 140px */
    position: relative;
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-light-blue {
    background-color: #eef2ff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0, 82, 255, 0.08);
    border: 1px solid rgba(0, 82, 255, 0.25);
    border-radius: 30px;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}

.section-title {
    font-size: 48px; /* 板块标题放大至 48px */
    font-weight: 900;
    margin-bottom: 22px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-sub);
    font-size: 21px; /* 描述文案加大 */
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.75;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px 40px; /* 卡片内边距加大 */
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue) !important;
    box-shadow: 0 25px 55px rgba(0, 82, 255, 0.16) !important;
}

.card h3 {
    font-size: 26px; /* 卡片标题加大 */
    font-weight: 800;
    margin-bottom: 18px;
}

.card p {
    font-size: 18px;
    color: var(--text-sub);
    line-height: 1.85;
}

footer {
    background: #F8FAFC;
    border-top: 1px solid var(--border-color);
    padding: 100px 0 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
}

.footer-col p, .footer-col li {
    font-size: 16px;
    color: var(--text-sub);
    margin-bottom: 14px;
    list-style: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 15px;
}

/* 动画定义 */
@keyframes typing {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-blue); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 82, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 82, 255, 0); }
}

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

@keyframes highlightGlow {
    0% { box-shadow: 0 8px 20px rgba(0, 82, 255, 0.15); }
    100% { box-shadow: 0 12px 30px rgba(0, 82, 255, 0.35); }
}

@keyframes streamFlow {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .typing-text,
    .pulse-node,
    .stream-line::after,
    .floating-badge,
    .rank-top {
        animation: none;
    }

    .typing-text {
        width: auto;
        border-right: 0;
    }
}

/* ==================== 成功合作案例模块样式 ==================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-bottom: 60px;
}

.case-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 38px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 45px rgba(0, 82, 255, 0.14);
}

.case-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--border-color);
}

.case-cate {
    background: rgba(0, 82, 255, 0.08);
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
}

.case-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.case-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.case-info-item {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-sub);
}

.info-label {
    font-weight: 700;
    color: var(--text-main);
    display: inline-block;
    min-width: 100px;
}

.info-val.highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

/* 客户评价气泡框 */
.case-quote {
    background: #F8FAFC;
    border-left: 4px solid var(--primary-blue);
    padding: 20px 24px;
    border-radius: 0 14px 14px 0;
    font-size: 16px;
    color: #475569;
    line-height: 1.75;
    font-style: italic;
    position: relative;
}

.case-quote p {
    margin: 0;
}

/* 底部数据横幅 */
.cases-footer-banner {
    background: linear-gradient(90deg, #EFF6FF 0%, #FFFFFF 100%);
    border: 1px solid rgba(0, 82, 255, 0.2);
    border-radius: 16px;
    padding: 24px 36px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.banner-icon {
    font-size: 38px;
}

.banner-text {
    font-size: 18px;
    color: var(--text-sub);
    line-height: 1.7;
}

.banner-text strong {
    color: var(--primary-blue);
}

/* ==================== 交付流程模块样式（五步交付法） ==================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.process-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 24px;
    position: relative;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 45px rgba(0, 82, 255, 0.16);
}

/* 编号气泡 */
.process-step-num {
    position: absolute;
    top: -16px;
    left: 24px;
    background: var(--bg-light-blue);
    color: var(--primary-blue);
    border: 1px solid rgba(0, 82, 255, 0.25);
    font-size: 15px;
    font-weight: 900;
    padding: 3px 12px;
    border-radius: 14px;
}

.process-icon {
    font-size: 38px;
    margin-top: 12px;
    margin-bottom: 18px;
}

.process-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 14px;
    line-height: 1.4;
}

.process-desc {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.75;
    margin-bottom: 24px;
    flex: 1;
}

.process-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    background: rgba(0, 82, 255, 0.08);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
}

/* 最后一个强调卡片（48h适配） */
.process-card.highlight-step {
    border-color: rgba(0, 82, 255, 0.4);
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F6FF 100%);
}

.process-tag.accent {
    background: var(--primary-blue);
    color: #FFFFFF;
}

/* 响应式适配 */
@media (max-width: 1400px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-visual {
        width: 100%;
        max-width: 100%;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-card {
        border-right: none;
    }
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 42px;
    }
    .section-title {
        font-size: 34px;
    }
}

/* ==================== 售后保障模块样式 ==================== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.support-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.support-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 45px rgba(0, 82, 255, 0.14);
}

/* 48h 极速响应高亮卡片 */
.support-card.highlight {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F6FF 100%);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 15px 35px rgba(0, 82, 255, 0.15);
}

.support-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: linear-gradient(90deg, #0052FF, #0080FF);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.3);
}

.support-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.support-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}

.support-info p {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.75;
}

.support-info p strong {
    color: var(--primary-blue);
    font-weight: 800;
}

/* 售后底部横幅 */
.support-summary-banner {
    background: linear-gradient(90deg, #0052FF 0%, #0076FF 100%);
    border-radius: 20px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #FFFFFF;
    box-shadow: 0 15px 40px rgba(0, 82, 255, 0.25);
}

.summary-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 10px;
}

.summary-text {
    font-size: 18px;
    opacity: 0.92;
    line-height: 1.6;
}

.support-summary-banner .btn-primary {
    background: #FFFFFF;
    color: var(--primary-blue) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.support-summary-banner .btn-primary:hover {
    background: #F8FAFC;
    transform: translateY(-3px);
}

/* 响应式适配 */
@media (max-width: 1400px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
    .support-summary-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
    }
}

/* ==================== 关于大迈模块 ==================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 40px;
    align-items: stretch; /* 左右等高对齐 */
}

/* 左侧形象区域 */
.about-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-img-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
    min-height: 380px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-img-box:hover .about-img {
    transform: scale(1.03);
}

.about-img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 12px;
    color: #FFFFFF;
}

.about-img-badge .badge-num {
    font-size: 24px;
    font-weight: 900;
    color: #38BDF8;
    display: block;
    line-height: 1;
}

.about-img-badge .badge-txt {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
}

/* 左侧底部两块并行数据卡片 */
.about-visual-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.v-stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.v-stat-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.1;
}

.v-stat-txt {
    font-size: 14px;
    color: var(--text-sub);
    font-weight: 700;
    margin-top: 6px;
}

/* 右侧结构化卡片 */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: var(--shadow-card);
}

.about-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.about-card-icon {
    font-size: 22px;
}

.about-card-head h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.about-card-p {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.75;
    margin: 0;
}

.about-card-p strong {
    color: var(--primary-blue);
}

/* 核心数据三等分横排看板 */
.about-grid-3 {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-card);
}

.mini-stat-card {
    flex: 1;
    text-align: center;
}

.mini-stat-card .m-num {
    font-size: 30px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.1;
}

.mini-stat-card .m-lbl {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 4px;
}

.m-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

/* 团队标签对齐网格 */
.team-tags-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.team-tag {
    background: rgba(0, 82, 255, 0.06);
    border: 1px solid rgba(0, 82, 255, 0.15);
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
}

/* 业务卡片 */
.business-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.biz-item {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.6;
}

.biz-item strong {
    color: var(--text-main);
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }
    .about-img-box {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .team-tags-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid-3 {
        flex-direction: column;
        gap: 16px;
    }
    .m-divider {
        width: 80%;
        height: 1px;
    }
}

/* ==================== 资质荣誉模块样式 ==================== */
.certs-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr; /* 第一张横版占比更大 */
    gap: 28px;
    margin-bottom: 50px;
    align-items: stretch;
}

.cert-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.cert-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 45px rgba(0, 82, 255, 0.14);
}

/* 比例控制类 */
.cert-img-box {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #F1F5F9;
    border: 1px solid var(--border-color);
}

/* 第一张：9比6 (等同于 3:2) */
.aspect-9-6 {
    aspect-ratio: 9 / 6;
}

/* 其余：4比6 (等同于 2:3) */
.aspect-4-6 {
    aspect-ratio: 4 / 6;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cert-card:hover .cert-img {
    transform: scale(1.05);
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-overlay span {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    background: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
}

.cert-card:hover .cert-overlay {
    opacity: 1;
}

.cert-info {
    margin-top: 18px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cert-badge {
    display: inline-block;
    background: rgba(0, 82, 255, 0.08);
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    align-self: center;
}

.cert-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

/* 底部三大核心实力卡片 */
.qualifications-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.q-matrix-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
}

.q-matrix-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
}

.highlight-q-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F6FF 100%);
    border: 2px solid rgba(0, 82, 255, 0.3);
}

.q-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border-color);
}

.q-icon {
    font-size: 26px;
}

.q-card-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.q-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.q-list li {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
}

.q-list li::before {
    content: "•";
    color: var(--primary-blue);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
    font-weight: bold;
}

.q-list li strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .certs-grid {
        grid-template-columns: 1fr;
    }
    .qualifications-matrix {
        grid-template-columns: 1fr;
    }
    .aspect-4-6 {
        aspect-ratio: 16 / 9; /* 移动端调整为更易展示的宽屏比例 */
    }
}

/* ==================== FAQ 常见问题模块样式 ==================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.faq-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 30px;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.faq-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
    box-shadow: 0 18px 40px rgba(0, 82, 255, 0.12);
}

.faq-card-full {
    grid-column: 1 / -1; /* 跨两列通栏展示 */
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid rgba(0, 82, 255, 0.2);
}

.faq-q {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 900;
    border-radius: 10px;
    flex-shrink: 0;
}

.faq-q h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0;
}

.faq-a {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.8;
}

.faq-a p {
    margin-bottom: 10px;
}

.faq-a p:last-child {
    margin-bottom: 0;
}

.faq-a strong {
    color: var(--text-main);
}

.faq-intro {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px !important;
}

/* 列表样式 */
.faq-bullets {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-bullets li {
    position: relative;
    padding-left: 20px;
}

.faq-bullets li::before {
    content: "•";
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* 产品三大板块横向排列 */
.product-matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-box.highlight-box {
    border-color: var(--primary-blue);
    background: #F0F6FF;
}

.prod-tag {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    background: #E2E8F0;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.prod-tag.active {
    background: var(--primary-blue);
    color: #FFFFFF;
}

.product-box h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.product-box p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .product-matrix-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== GEO 知识库模块样式 ==================== */
.knowledge-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #F1F5F9;
    color: var(--text-sub);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: #FFFFFF;
    border-color: var(--primary-blue);
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.25);
}

.knowledge-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 36px;
    align-items: stretch;
}

/* 左侧精选卡片 */
.kb-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
}

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

.featured-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 45px rgba(0, 82, 255, 0.14);
}

.kb-img-box {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #E2E8F0;
}

.kb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.featured-card:hover .kb-img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #FF3B30;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.category-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #38BDF8;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.category-tag.mini {
    position: static;
    background: rgba(0, 82, 255, 0.08);
    color: var(--primary-blue);
    border: none;
    font-size: 12px;
    padding: 3px 8px;
}

.kb-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.kb-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.kb-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 12px;
}

.kb-summary {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 24px;
}

.kb-more-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.kb-more-btn:hover {
    gap: 14px;
}

/* 右侧近期更新列表 */
.kb-recent-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.recent-card {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 18px;
    cursor: pointer;
}

.recent-card:hover {
    transform: translateX(6px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(0, 82, 255, 0.08);
}

.recent-img-box {
    width: 130px;
    height: 95px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #E2E8F0;
}

.recent-info {
    flex: 1;
}

.recent-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.meta-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.recent-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 隐藏动画类 */
.kb-card.hide {
    display: none !important;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .knowledge-wrapper {
        grid-template-columns: 1fr;
    }
    .kb-img-box {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .recent-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .recent-img-box {
        width: 100%;
        height: 160px;
    }
}

/* ==================== 查看更多按钮样式 ==================== */
.kb-more-container {
    margin-top: 24px;
    text-align: center;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 28px;
    background: #FFFFFF;
    color: var(--primary-blue);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-load-more:hover {
    background: var(--primary-blue);
    color: #FFFFFF;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(0, 82, 255, 0.25);
    transform: translateY(-2px);
}

.more-icon {
    transition: transform 0.3s ease;
}

.btn-load-more:hover .more-icon {
    transform: translateX(5px);
}

.btn-load-more:active {
    transform: translateY(0);
}

/* ==================== 合作品牌跑马灯模块样式 ==================== */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    /* 左右两端虚化渐变蒙版，防止截断感 */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 24px;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 24px;
    /* 关键跑马灯动画：30秒向左平移 100% 循环 */
    animation: marquee-scroll 30s linear infinite;
}

/* 鼠标悬停时自动暂停动画 */
.marquee-wrapper:hover .marquee-group {
    animation-play-state: paused;
}

.partner-card {
    flex-shrink: 0;
    width: 200px;
    height: 90px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(0, 82, 255, 0.12);
    transform: translateY(-4px);
}

.partner-logo {
    max-width: 110px;
    max-height: 42px;
    object-fit: contain;
    /* 默认黑白灰色微调，鼠标悬停恢复彩色 */
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: none;
    opacity: 1;
}

.partner-card span {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-sub);
}

/* 无缝无限滚动动画关键帧 */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 响应式调优 */
@media (max-width: 768px) {
    .partner-card {
        width: 160px;
        height: 80px;
    }
    .partner-logo {
        max-width: 90px;
        max-height: 34px;
    }
    .marquee-group {
        animation-duration: 20s; /* 移动端提升滚动流畅感 */
    }
}

/* ==================== 诊断报告表单模块样式 ==================== */
.diagnosis-section {
    background: linear-gradient(135deg, #0B132B 0%, #060B19 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

.diagnosis-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 44px;
    align-items: center;
}

/* 左侧样式 */
.alt-tag {
    background: rgba(56, 189, 248, 0.1);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.diag-title {
    font-size: 36px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.25;
    margin-top: 12px;
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(90deg, #38BDF8 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.diag-desc {
    font-size: 16px;
    color: #94A3B8;
    line-height: 1.8;
    margin-bottom: 28px;
}

.diag-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.value-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.val-icon {
    font-size: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-item h4 {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* 右侧卡片与表单样式 */
.diag-card-pro {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.card-header-box {
    margin-bottom: 20px;
}

.card-title-pro {
    font-size: 24px;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 6px;
}

.card-desc-pro {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

.diag-form-pro {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row-pro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-item-pro {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-item-pro label {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.star {
    color: #EF4444;
}

.input-pro,
.select-pro,
.textarea-pro {
    width: 100%;
    height: 44px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    color: #0F172A;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.input-pro:focus,
.select-pro:focus,
.textarea-pro:focus {
    background: #FFFFFF;
    border-color: #0052FF;
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.12);
}

.select-pro {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2064748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.textarea-pro {
    min-height: 70px;
    height: auto;
    padding-top: 13px;
    padding-bottom: 13px;
    line-height: 1.6;
    resize: vertical;
    font-family: inherit;
}

.submit-btn-pro {
    width: 100%;
    height: 48px;
    background: #0052FF;
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 82, 255, 0.3);
    transition: all 0.3s ease;
    margin-top: 6px;
}

.submit-btn-pro:hover {
    background: #0043D6;
    box-shadow: 0 14px 30px rgba(0, 82, 255, 0.45);
    transform: translateY(-2px);
}

.submit-btn-pro:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.submit-btn-pro:hover .arrow-icon {
    transform: translateX(4px);
}

.contact-info-footer {
    text-align: center;
    font-size: 13px;
    color: #64748B;
    margin-top: 8px;
}

.contact-info-footer a {
    color: #0052FF;
    font-weight: 700;
    text-decoration: none;
}

.contact-info-footer a:hover {
    text-decoration: underline;
}

.sep {
    margin: 0 6px;
    color: #CBD5E1;
}

/* 响应式 */
@media (max-width: 992px) {
    .diagnosis-wrapper {
        grid-template-columns: 1fr;
    }
    .diag-values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .diagnosis-section {
        padding: 56px 0;
    }
    .form-row-pro {
        grid-template-columns: 1fr;
    }
    .diag-card-pro {
        padding: 24px 20px;
    }
}

/* ==================== 免费品牌诊断 弹窗样式 ==================== */

/* 1. 遮罩层 (默认隐藏) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 弹窗激活状态 */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 2. 弹窗主体白盒 */
.modal-container {
    background: #ffffff;
    width: 90%;
    max-width: 480px;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

/* 3. 关闭按钮 */
.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

/* 4. 标题及说明 */
.modal-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #1a1a1a;
    text-align: center;
    font-weight: 600;
}

.modal-header p {
    margin: 0 0 24px 0;
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

/* 5. 表单控件 */
.modal-form .form-group {
    margin-bottom: 16px;
    text-align: left;
}

.modal-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.modal-form label .required {
    color: #ff4d4f;
}

.modal-form input[type="text"],
.modal-form input[type="tel"],
.modal-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-form input:focus,
.modal-form textarea:focus {
    border-color: #0052ff;
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.12);
}

/* 6. 提交按钮 */
.modal-form .submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #0052ff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s, transform 0.1s;
}

.modal-form .submit-btn:hover {
    background-color: #0040cc;
}

.modal-form .submit-btn:active {
    transform: scale(0.99);
}

.modal-form .submit-btn:disabled {
    background-color: #64748b;
    cursor: wait;
    transform: none;
}

/* ==================== 全站微信咨询悬浮组件 ==================== */
.wx-consult-button {
    position: fixed;
    right: 30px;
    top: 62%;
    z-index: 1900;
    width: 96px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    background: #fff;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transform: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.wx-consult-button:hover,
.wx-consult-button:focus-visible {
    transform: scale(1.05);
    box-shadow: 0 14px 36px rgba(0, 82, 255, 0.18);
    outline: 3px solid rgba(0, 82, 255, 0.18);
    outline-offset: 3px;
}

.wx-consult-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #47b960;
    border-radius: 50%;
}

.wx-consult-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    white-space: nowrap;
}

.wx-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.wx-modal.active {
    opacity: 1;
    visibility: visible;
}

.wx-modal-card {
    position: relative;
    width: 380px;
    max-width: 100%;
    padding: 40px 36px 32px;
    text-align: center;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(.92);
    transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}

.wx-modal.active .wx-modal-card {
    transform: scale(1);
}

.wx-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px;
    color: #94a3b8;
    background: transparent;
    border: 0;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.wx-modal-close:hover,
.wx-modal-close:focus-visible {
    color: #0f172a;
}

.wx-modal-card h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 800;
}

.wx-modal-description {
    margin: 0 0 28px;
    color: #64748b;
    font-size: 14px;
}

.wx-code-box {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.wx-code-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.wx-modal-tip {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 768px) {
    .wx-consult-button {
        right: 14px;
        top: auto;
        bottom: 20px;
        width: 64px;
        padding: 10px 8px;
        border-radius: 14px;
        transform: none;
    }

    .wx-consult-button:hover,
    .wx-consult-button:focus-visible {
        transform: scale(1.04);
    }

    .wx-consult-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 4px;
    }

    .wx-consult-icon svg {
        width: 25px;
        height: 25px;
    }

    .wx-consult-label {
        font-size: 12px;
    }

    .wx-modal-card {
        padding: 36px 22px 26px;
    }
}

/* AI 平台卡片：名称与数据始终保持单行，窄卡片时按宽度缩小字号 */
.ai-platform-grid > div {
    min-width: 0;
    container-type: inline-size;
}

.ai-platform-grid > div > div {
    white-space: nowrap;
}

.ai-platform-grid > div > div:first-of-type {
    font-size: clamp(13px, 14cqw, 19px) !important;
    letter-spacing: -0.02em;
}

.ai-platform-grid > div > div:last-child {
    font-size: clamp(10px, 10cqw, 15px) !important;
    letter-spacing: -0.02em;
}

.ai-platform-grid > div > div:last-child > span {
    font-size: clamp(13px, 13cqw, 18px) !important;
}

/* Global staggered entrances shared by the homepage and all subpages. */
.motion-prep .motion-item {
    opacity: 0;
    visibility: hidden;
    filter: blur(5px);
    transform: translate3d(0, 30px, 0) scale(0.985);
    transition: none !important;
}

.motion-ready .motion-item {
    opacity: 0;
    visibility: hidden;
    filter: blur(5px);
    transform: translate3d(0, 30px, 0) scale(0.985);
    transform-origin: 50% 100%;
    will-change: transform, opacity, filter;
    transition:
        opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.82s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.62s ease,
        visibility 0s linear 0.82s;
    transition-delay: calc(var(--motion-order, 0) * 90ms);
}

.motion-ready .motion-group.motion-in > .motion-item,
.motion-ready .motion-item.motion-in {
    opacity: 1;
    visibility: visible;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
    will-change: auto;
    transition-delay: calc(var(--motion-order, 0) * 90ms);
}

@media (max-width: 768px) {
    .motion-ready .motion-item {
        transform: translate3d(0, 20px, 0) scale(0.99);
        transition-duration: 0.58s, 0.68s, 0.5s, 0s;
        transition-delay: calc(var(--motion-order, 0) * 65ms);
    }

    .motion-ready .motion-group.motion-in > .motion-item,
    .motion-ready .motion-item.motion-in {
        transform: translate3d(0, 0, 0) scale(1);
        transition-delay: calc(var(--motion-order, 0) * 65ms);
    }
}

@media (prefers-reduced-motion: reduce) {
    .motion-item,
    .motion-group {
        opacity: 1 !important;
        visibility: visible !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}
/* Keyboard users can bypass the repeated navigation without affecting layout. */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 16px;
    color: #fff;
    background: #0052ff;
    border-radius: 8px;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* ==================== Unified responsive layout ==================== */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex: 0 0 46px;
    color: var(--text-main);
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 99px;
    transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

@media (max-width: 1100px) {
    .container {
        padding-right: 28px;
        padding-left: 28px;
    }

    .nav-wrapper,
    header.scrolled .nav-wrapper {
        height: 72px;
        position: relative;
    }

    .logo-text,
    header.scrolled .logo-text {
        font-size: 24px;
    }

    .menu-toggle {
        display: flex !important;
        position: absolute;
        top: 50%;
        right: 28px;
        margin-left: 0;
        z-index: 2;
        color: #fff;
        background: var(--primary-blue);
        border-color: var(--primary-blue);
        box-shadow: 0 8px 20px rgba(0, 82, 255, .2);
        transform: translateY(-50%);
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 28px;
        left: 28px;
        z-index: 1100;
    }

    .nav-links {
        max-height: 0;
        padding: 0 20px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        overflow: auto;
        overscroll-behavior: contain;
        background: rgba(255, 255, 255, .98);
        border: 1px solid transparent;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: max-height .3s ease, padding .3s ease, opacity .2s ease, transform .25s ease, visibility .2s;
    }

    .nav-links.active {
        max-height: calc(100dvh - 88px);
        padding-top: 10px !important;
        padding-bottom: 18px !important;
        border-color: var(--border-color);
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links > li,
    .nav-links li.has-dropdown {
        display: block !important;
        width: 100%;
        border-bottom: 1px solid #edf2f7;
    }

    .nav-links > li:last-child {
        border-bottom: 0;
    }

    .nav-links > li > a {
        display: flex;
        width: 100%;
        min-height: 48px;
        padding: 12px 4px;
        align-items: center;
        justify-content: space-between;
        font-size: 16px !important;
    }

    .nav-links .dropdown-menu {
        position: static;
        min-width: 0;
        margin: -4px 0 8px;
        padding: 2px 0 4px 14px;
        background: transparent;
        border: 0;
        border-left: 2px solid #dbeafe;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-links .dropdown-menu::before {
        display: none;
    }

    .nav-links .dropdown-menu li a {
        min-height: 40px;
        padding: 9px 12px;
        white-space: normal;
    }

    .nav-actions {
        display: none !important;
    }

    main div[style*="display: grid"][style*="grid-template-columns"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    footer .container > div:first-child {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 40px !important;
    }

    footer .container > div:first-child > * {
        grid-column: auto !important;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --mobile-gutter: 18px;
    }

    html {
        -webkit-text-size-adjust: 100%;
        scroll-padding-top: 72px;
    }

    body {
        width: 100%;
        font-size: 16px;
    }

    .container,
    footer .container {
        width: 100% !important;
        max-width: none !important;
        padding-right: var(--mobile-gutter) !important;
        padding-left: var(--mobile-gutter) !important;
    }

    .site-nav {
        right: 0;
        left: 0;
    }

    .menu-toggle {
        right: var(--mobile-gutter);
    }

    .logo-text,
    header.scrolled .logo-text {
        max-width: calc(100vw - 92px);
        overflow: hidden;
        font-size: 21px;
        text-overflow: ellipsis;
    }

    .logo {
        min-width: 0;
        flex-shrink: 1;
    }

    .logo-sub {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 118px;
        padding-bottom: 68px;
    }

    .hero-container {
        gap: 44px;
    }

    .hero-container > *,
    .hero-content,
    .hero-visual,
    main section,
    main section > .container > * {
        min-width: 0;
    }

    .hero-content,
    .hero-visual {
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        text-align: left;
    }

    .hero-content h1 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.18;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }

    .hero-content h1 span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .hero-desc,
    .section-desc {
        font-size: 17px;
        line-height: 1.7;
    }

    .hero-btns {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-btns .btn,
    .btn {
        min-height: 46px;
        padding: 13px 20px;
        font-size: 16px;
        white-space: normal;
    }

    .hero-visual {
        padding-right: 0;
        padding-left: 0;
    }

    .geo-card {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .floating-badge {
        padding: 9px 14px;
        white-space: normal;
    }

    .section-padding {
        padding: 76px 0;
    }

    .section-header {
        margin-bottom: 42px;
    }

    .section-title {
        font-size: clamp(29px, 8.5vw, 36px);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .section-tag {
        padding: 8px 16px;
        font-size: 13px;
    }

    .card,
    .case-card,
    .support-card,
    .faq-card,
    .sidebar-widget,
    .article-container {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 24px 14px;
    }

    .stat-num {
        font-size: 38px;
    }

    .stat-txt {
        font-size: 14px;
    }

    main div[style*="display: grid"][style*="grid-template-columns"],
    footer .container > div:first-child,
    .footer-grid,
    .cases-grid,
    .support-grid,
    .about-grid-3,
    .team-tags-grid,
    .product-matrix-grid,
    .knowledge-wrapper,
    .diagnosis-wrapper,
    .diag-values-grid,
    .process-grid,
    .certs-grid,
    .qualifications-matrix {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    main .ai-platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    main [style*="min-width: 240px"] {
        min-width: 0 !important;
    }

    .form-row-pro,
    .grid-two-col {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .article-hero,
    .products-hero,
    .join-hero {
        padding-top: 108px !important;
        padding-bottom: 48px !important;
    }

    .article-title {
        font-size: clamp(28px, 8vw, 36px) !important;
        overflow-wrap: anywhere;
    }

    .article-meta,
    .breadcrumb {
        gap: 10px 14px;
    }

    .article-featured-img {
        height: auto !important;
        max-height: 360px;
    }

    .article-body {
        font-size: 16px !important;
        overflow-wrap: anywhere;
    }

    .article-body h2 {
        font-size: 23px !important;
    }

    .article-body h3 {
        font-size: 19px !important;
    }

    .article-body table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .article-body pre,
    .article-body code {
        max-width: 100%;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

    .knowledge-filter,
    .cases-filter {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0 12px !important;
        margin-right: 0;
        margin-left: 0;
        padding: 0;
        overflow: visible;
    }

    .knowledge-filter::-webkit-scrollbar,
    .cases-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 9px 18px;
        margin: 0 0 16px !important;
    }

    input,
    select,
    textarea {
        max-width: 100%;
        font-size: 16px !important;
    }

    .modal-overlay,
    .wx-modal {
        padding: 14px;
    }

    .modal-container,
    .wx-modal-card {
        width: 100%;
        max-height: calc(100dvh - 28px);
        overflow-y: auto;
    }

    .wx-code-box {
        width: min(220px, 68vw);
        height: min(220px, 68vw);
    }

    footer {
        padding-top: 64px !important;
        padding-bottom: 28px !important;
    }

    footer .container > div:first-child {
        gap: 34px !important;
        padding-bottom: 40px !important;
    }

    footer .container > div:last-child {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .wx-consult-button {
        right: 10px;
        bottom: 14px;
    }
}

@media (max-width: 420px) {
    :root {
        --mobile-gutter: 15px;
    }

    .hero-stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    main .ai-platform-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .geo-card .item-title,
    .article-footer-tags {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ==================== Card rhythm and typography ==================== */
:where(
    .cases-grid,
    .support-grid,
    .process-grid,
    .product-matrix-grid,
    .kb-main-grid,
    .team-feature-grid,
    .mv-grid,
    .values-grid,
    .empower-grid,
    .trend-bento,
    .company-intro-grid,
    .advantage-grid,
    .target-grid
) {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

:where(
    .card,
    .case-card,
    .support-card,
    .process-card,
    .faq-card,
    .product-box,
    .kb-card,
    .kb-article-card,
    .about-card,
    .team-feature-card,
    .mv-card,
    .value-card,
    .empower-card,
    .bento-card,
    .business-card,
    .intro-card,
    .nav-card,
    .sidebar-widget
) {
    min-width: 0;
    height: 100%;
}

:where(
    .card,
    .case-card,
    .support-card,
    .process-card,
    .faq-card,
    .product-box,
    .kb-card,
    .kb-article-card,
    .about-card,
    .team-feature-card,
    .mv-card,
    .value-card,
    .empower-card,
    .bento-card,
    .business-card,
    .intro-card,
    .nav-card,
    .sidebar-widget
) :is(h2, h3, h4) {
    max-width: 100%;
    line-break: strict;
    overflow-wrap: break-word;
    text-wrap: balance;
}

:where(
    .card,
    .case-card,
    .support-card,
    .process-card,
    .faq-card,
    .product-box,
    .kb-card,
    .kb-article-card,
    .about-card,
    .team-feature-card,
    .mv-card,
    .value-card,
    .empower-card,
    .bento-card,
    .business-card,
    .intro-card
) p {
    max-width: 100%;
    text-wrap: pretty;
}

.card,
.support-card,
.process-card,
.faq-card,
.product-box,
.kb-article-card,
.team-feature-card,
.empower-card {
    display: flex;
    flex-direction: column;
}

.card > :last-child,
.support-card > :last-child,
.process-card > :last-child,
.product-box > :last-child,
.kb-card-body > :last-child,
.team-feature-card > :last-child,
.empower-card > :last-child {
    margin-top: auto;
}

.process-title,
.support-card h3,
.team-feature-card h3,
.empower-card h4,
.product-box h4,
.about-card-head h3 {
    min-height: 2.8em;
}

.kb-card-title {
    min-height: 2.9em;
}

.kb-card-desc {
    min-height: 4.95em;
}

.case-header {
    gap: 18px;
}

.case-cate {
    flex: 0 0 auto;
}

.case-title {
    min-width: 0;
    text-align: right;
    line-height: 1.4;
    text-wrap: balance;
}

.case-body {
    flex: 1;
}

.case-info-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.info-label {
    min-width: 0;
}

.info-val {
    min-width: 0;
    overflow-wrap: break-word;
    text-wrap: pretty;
}

.ai-platform-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}

.ai-platform-grid > div {
    height: 100%;
}

main div[style*="display: grid"][style*="grid-template-columns"] {
    align-items: stretch;
}

main div[style*="display: grid"][style*="grid-template-columns"] > * {
    min-width: 0;
    height: 100%;
}

main div[style*="border-radius"] :is(h3, h4) {
    line-break: strict;
    overflow-wrap: break-word;
    text-wrap: balance;
}

@media (max-width: 768px) {
    :where(
        .card,
        .case-card,
        .support-card,
        .process-card,
        .faq-card,
        .product-box,
        .kb-card,
        .kb-article-card,
        .about-card,
        .team-feature-card,
        .mv-card,
        .value-card,
        .empower-card,
        .bento-card,
        .business-card,
        .intro-card,
        .nav-card,
        .sidebar-widget
    ) {
        height: auto;
    }

    .process-title,
    .support-card h3,
    .team-feature-card h3,
    .empower-card h4,
    .product-box h4,
    .about-card-head h3,
    .kb-card-title,
    .kb-card-desc {
        min-height: 0;
    }

    .case-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .case-title {
        width: 100%;
        font-size: 20px;
        text-align: left;
    }

    .case-info-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 8px;
        font-size: 15px;
        line-height: 1.75;
    }

    .case-body {
        gap: 16px;
    }

    .kb-card-body {
        padding: 20px;
    }

    .kb-card-meta {
        justify-content: flex-start;
        gap: 7px 14px;
        flex-wrap: wrap;
    }

    .kb-card-title {
        font-size: 18px;
        -webkit-line-clamp: 3;
    }

    .kb-card-desc {
        -webkit-line-clamp: 4;
    }

    .faq-q {
        align-items: flex-start;
    }

    .bento-card,
    .empower-card,
    .mv-card {
        padding: 26px 20px !important;
    }

    .bento-card h3 {
        font-size: clamp(24px, 7vw, 30px);
    }

    main div[style*="display: grid"][style*="grid-template-columns"] > * {
        height: auto;
    }

    main div[style*="border-radius"] :is(h3, h4) {
        max-width: 100%;
        line-height: 1.4 !important;
    }
}

/* AI platform logo matrix: isolated from the generic card rhythm rules. */
.ai-platform-section .platform-panel {
    width: 100%;
    min-width: 0;
    align-items: stretch;
}

.ai-platform-section .platform-panel-header {
    width: 100%;
    gap: 16px 24px;
}

.ai-platform-section .platform-panel-header > div {
    min-width: 0;
}

.ai-platform-section .ai-platform-grid {
    width: 100%;
    min-width: 0;
}

.ai-platform-section .ai-platform-grid > div {
    width: 100%;
    min-width: 0;
}

.ai-platform-section .ai-platform-grid img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px;
    max-width: 56px;
    aspect-ratio: 1;
    margin: 0 auto 16px !important;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .ai-platform-section {
        padding: 76px 0 !important;
    }

    .ai-platform-section > .container > div:first-child {
        margin-bottom: 38px !important;
    }

    .ai-platform-section > .container > div:first-child h2 {
        font-size: clamp(28px, 8vw, 36px) !important;
        line-height: 1.3 !important;
    }

    .ai-platform-section > .container > div:first-child p {
        font-size: 16px !important;
    }

    .ai-platform-section .platform-panel {
        padding: 30px 18px 22px !important;
        border-radius: 22px !important;
    }

    .ai-platform-section .platform-panel-header {
        align-items: center !important;
        justify-content: space-between !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        margin-bottom: 24px !important;
    }

    .ai-platform-section .platform-panel-header > div {
        display: flex;
        align-items: center;
        gap: 9px !important;
    }

    .ai-platform-section .platform-panel-header svg {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
    }

    .ai-platform-section .platform-panel-header h3 {
        font-size: clamp(22px, 6.5vw, 28px) !important;
        line-height: 1.25 !important;
    }

    .ai-platform-section .platform-panel-header > span {
        padding: 6px 14px !important;
        font-size: 13px !important;
    }

    main .ai-platform-section .ai-platform-grid {
        display: flex !important;
        flex-wrap: wrap;
        grid-auto-rows: auto;
        gap: 12px !important;
    }

    .ai-platform-section .ai-platform-grid > div {
        flex: 0 0 calc(50% - 6px);
        width: calc(50% - 6px);
        height: auto !important;
        min-height: 154px;
        padding: 20px 8px !important;
        border-radius: 16px !important;
        text-align: center;
    }

    .ai-platform-section .ai-platform-grid img {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px;
        max-width: 52px;
        margin-bottom: 13px !important;
    }

    .ai-platform-section .ai-platform-grid > div > div:first-of-type {
        font-size: clamp(14px, 4.2vw, 17px) !important;
        line-height: 1.35;
    }

    .ai-platform-section .ai-platform-grid > div > div:last-child {
        font-size: clamp(10px, 2.8vw, 12px) !important;
        line-height: 1.45;
    }

    .ai-platform-section .ai-platform-grid > div > div:last-child > span {
        font-size: clamp(13px, 3.6vw, 16px) !important;
    }
}

/* Product application logic: horizontal on desktop, vertical on mobile. */
.product-logic-card,
.product-logic-flow,
.product-logic-step {
    min-width: 0;
}

.product-logic-step strong,
.product-logic-step p,
.product-logic-summary {
    text-wrap: pretty;
}

@media (max-width: 768px) {
    .product-logic-card {
        padding: 24px 18px !important;
        border-radius: 18px !important;
    }

    .product-logic-title {
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
        font-size: 20px !important;
        line-height: 1.45 !important;
        text-wrap: balance;
    }

    .product-logic-title > span {
        width: 4px !important;
        height: auto !important;
        min-height: 54px;
        flex: 0 0 4px;
    }

    .product-logic-flow {
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        padding: 16px !important;
        margin-bottom: 20px !important;
        border-radius: 16px !important;
    }

    .product-logic-step {
        width: 100%;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        padding: 18px 18px 17px;
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-left: 4px solid var(--primary-blue);
        border-radius: 13px;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    }

    .product-logic-step:nth-of-type(3) {
        border-left-color: var(--gold-accent);
    }

    .product-logic-step:nth-of-type(5) {
        border-left-color: #9333EA;
    }

    .product-logic-step strong {
        margin-bottom: 8px !important;
        font-size: 16px !important;
        line-height: 1.5;
    }

    .product-logic-step p {
        font-size: 14px !important;
        line-height: 1.7;
    }

    .product-logic-arrow {
        align-self: center;
        width: 32px;
        height: 32px;
        margin: 5px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transform: rotate(90deg);
    }

    .product-logic-summary {
        font-size: 15px !important;
        line-height: 1.85 !important;
    }
}

/* Keep the desktop FAQ equal-height layout; only mobile cards follow content height. */
@media (min-width: 993px) {
    .faq-grid {
        grid-auto-rows: 1fr;
        align-items: stretch;
    }

    .faq-card {
        height: 100%;
    }

    .faq-card > .faq-a {
        margin-top: auto;
    }
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        align-items: start;
    }

    .faq-card {
        height: auto;
        justify-content: flex-start;
    }

    .faq-card > .faq-a {
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
