/*!
 * 成都三生科技 — 视觉系统 v3（2026）
 * 方向：简约 · 大气 · 科技感
 * 浅色科技首屏（细网格 + 冷光）+ 中性色内容区 + 单一蓝色强调
 * 在 app.css 之后加载；仅覆盖视觉样式，不改动结构与文案。
 */

:root {
    /* 中性色 */
    --t-ink: #080d18;
    --t-ink-2: #101828;
    --t-text: #4b5768;
    --t-muted: #6b7688;
    --t-line: #e5e9f0;
    --t-line-soft: #eef1f6;

    /* 强调色（单一） */
    --t-brand: #2563eb;
    --t-brand-deep: #1d4ed8;
    --t-cyan: #22d3ee;
    --t-accent: #3b82f6;

    /* 表面 */
    --t-surface: #ffffff;
    --t-canvas: #f6f7f9;

    /* 形状 */
    --t-radius-lg: 18px;
    --t-radius-md: 12px;

    /* 阴影 */
    --t-shadow-card: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px -30px rgba(15, 23, 42, .3);
    --t-shadow-card-hover: 0 2px 6px rgba(16, 24, 40, .05), 0 28px 54px -28px rgba(15, 23, 42, .32);

    --t-gradient: linear-gradient(100deg, #2563eb 0%, #0ea5e9 100%);
}

/* ========== 基础 ========== */
body {
    font-family: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    color: var(--t-text);
    background: var(--t-surface);
    letter-spacing: .01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(37, 99, 235, .16); color: var(--t-ink); }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--t-ink);
    letter-spacing: -.015em;
}

a { color: var(--t-brand); }
a:hover { color: var(--t-brand-deep); }

main { position: relative; }
/* 统一内容页底色，去掉旧的淡紫渐变 */
main[style*="linear-gradient"] { background: var(--t-canvas) !important; }
main[style*="linear-gradient"] { padding-bottom: 48px; }

/* ========== 导航栏 ========== */
.navbar-light {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--t-line-soft);
    box-shadow: none;
    transition: background .25s ease, box-shadow .25s ease;
}
.navbar-light.navbar-shrink {
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 30px -24px rgba(8, 13, 24, .45);
}
.navbar-brand { gap: 9px; padding-top: 0; padding-bottom: 0; }
.navbar-brand img { height: 32px; filter: none; }
/* 手写书法字标 */
.navbar-brand img.brand-wordmark {
    height: 28px;
    width: auto;
    display: block;
    filter: none;
}
.navbar-brand span {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .01em;
    color: var(--t-ink);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}
.navbar-light .navbar-nav .nav-link {
    padding: .5rem .9rem !important;
    margin: 0 .05rem;
    border-radius: 0;
    color: #4a5568;
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: .03em;
    background: transparent;
    box-shadow: inset 0 -2px 0 transparent;
    transition: color .18s ease, box-shadow .18s ease;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--t-ink);
    background: transparent;
}
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .active > .nav-link {
    color: var(--t-ink);
    font-weight: 600;
    background: transparent;
    box-shadow: inset 0 -2px 0 var(--t-brand);
}
.navbar-toggler {
    border: 1px solid var(--t-line);
    border-radius: 10px;
    padding: .35rem .55rem;
}
.navbar-toggler:focus { outline: 3px solid rgba(37, 99, 235, .16); }

/* 下拉菜单 */
.navbar .dropdown-menu {
    border: 1px solid var(--t-line);
    border-radius: 12px;
    padding: 6px;
    margin-top: 10px;
    background: #fff;
    box-shadow: 0 24px 56px -22px rgba(8, 13, 24, .28);
}
.navbar .dropdown-item {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    letter-spacing: .04em;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: #f5f7fb;
    color: var(--t-ink);
}
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
    background: #eff5ff;
    color: var(--t-brand-deep);
}

.language-trigger {
    height: 34px;
    border: 1px solid var(--t-line);
    border-radius: 9px;
    background: #fff;
    color: #475569;
    font-size: 13px;
    box-shadow: none;
}
.language-trigger:hover,
.language-switcher.open .language-trigger {
    border-color: #c3d4f0;
    background: #f8fafc;
}
.language-menu {
    border-radius: 12px;
    border-color: var(--t-line);
    box-shadow: 0 24px 60px -20px rgba(8, 13, 24, .28);
    padding: 6px;
}
.language-option { border-radius: 8px; }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, .98);
        border-top: 1px solid var(--t-line-soft);
        margin-top: 10px;
        padding: 8px 0 14px;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 24px 40px -30px rgba(8, 13, 24, .3);
    }
    .navbar-light .navbar-nav .nav-link { margin: 2px 16px; box-shadow: none; }
    .navbar-light .navbar-nav .nav-link.active {
        box-shadow: inset 2px 0 0 var(--t-brand);
        padding-left: 12px !important;
    }
}

/* ========== Hero：浅色科技首屏 ========== */
.page-hero,
.contact_header {
    position: relative;
    overflow: hidden;
    color: var(--t-text);
    border-bottom: 1px solid var(--t-line);
    background:
        radial-gradient(58% 52% at 50% -14%, rgba(37, 99, 235, .11) 0%, rgba(37, 99, 235, 0) 66%),
        radial-gradient(40% 44% at 94% 2%, rgba(14, 165, 233, .10) 0%, rgba(14, 165, 233, 0) 72%),
        linear-gradient(180deg, #fcfdff 0%, #f6f8fc 58%, #f5f7fb 100%);
}

/* 精密网格 */
.page-hero::before,
.contact_header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    transform: none;
    border-radius: 0;
    background: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(86% 96% at 50% 0%, #000 12%, transparent 78%);
    mask-image: radial-gradient(86% 96% at 50% 0%, #000 12%, transparent 78%);
    opacity: .9;
    pointer-events: none;
}
/* 底部柔光 */
.page-hero::after,
.contact_header::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -66%;
    width: min(1180px, 110vw);
    height: 660px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(37, 99, 235, .12), rgba(14, 165, 233, .04) 58%, transparent 78%);
    filter: blur(26px);
    pointer-events: none;
}

.page-hero { padding: clamp(52px, 5.5vw, 80px) 0 clamp(44px, 4.6vw, 64px); }
.page-hero .container { position: relative; z-index: 1; }

/* 首屏眉标（仅居中首屏） */
.page-hero.text-center h1::before {
    content: "AI DIGITAL HUMAN PLATFORM";
    display: block;
    margin-bottom: 12px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .34em;
    color: var(--t-brand);
    -webkit-text-fill-color: currentColor;
}

/* 左右分栏的 Hero 标题略小，避免窄栏换行 */
.page-hero .row h1 { font-size: clamp(1.85rem, 3.3vw, 2.85rem); line-height: 1.18; letter-spacing: -.03em; }
.page-hero .row .hero-lead { font-size: clamp(15px, 1.1vw, 16.5px); }

.page-hero h1 {
    font-size: clamp(2.25rem, 4.6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.03em;
    margin-bottom: 14px;
    color: var(--t-ink);
    text-wrap: balance;
}
.page-hero h1 .gradient {
    background: linear-gradient(100deg, #0b1220 0%, #1d4ed8 58%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--t-ink);
    padding-bottom: .04em;
}
.page-hero .hero-lead {
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.95;
    color: #5b6779;
    margin-bottom: 0;
}
.page-hero.text-center .hero-lead,
.contact_header .lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.page-hero .hero-actions { margin-top: 26px; gap: 14px; }
/* 首屏内的说明小字（版本号等）收紧 */
.page-hero .container > p:last-child { margin-bottom: 0; }

.contact_header {
    padding: clamp(38px, 3.8vw, 52px) 24px clamp(34px, 3.4vw, 46px);
}
.contact_form_wrapper { margin-top: clamp(32px, 4vw, 56px) !important; }
.contact_header h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--t-ink);
    background: linear-gradient(100deg, #0b1220 0%, #1d4ed8 58%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: .05em;
}
.contact_header .lead { position: relative; z-index: 1; font-size: 17px; color: #5b6779; }

/* Hero 内的视频/图片 */
.page-hero video,
.page-hero .video-container {
    border-radius: 14px;
}
.page-hero video {
    box-shadow: 0 30px 70px -42px rgba(15, 23, 42, .45), 0 0 0 1px var(--t-line);
    background: #0a0f1a;
}
/* Hero 内的图片：统一放入白色面板 */
.page-hero .row img.img-fluid {
    box-sizing: border-box;
    max-width: 100%;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--t-line);
    border-radius: 16px;
    box-shadow: 0 26px 60px -42px rgba(15, 23, 42, .4);
}

/* 桌面端首屏高度统一：概览 / 应用 / 物联网各页首屏等高 */
@media (min-width: 768px) {
    .page-hero {
        display: flex;
        align-items: center;
        min-height: clamp(400px, 44vw, 430px);
    }
    .page-hero > .container { width: 100%; }
    .page-hero .video-container {
        display: flex;
        justify-content: center;
    }
    .page-hero video {
        width: auto;
        max-width: 100%;
        max-height: 290px;
        margin: 0 auto;
    }
}

/* ========== 按钮 ========== */
.page-hero .btn-hero {
    padding: 13px 26px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .03em;
}
.page-hero .btn-hero-primary,
.btn-primary {
    background: var(--t-brand);
    color: #ffffff;
    border: 1px solid var(--t-brand);
    box-shadow: 0 12px 28px -14px rgba(37, 99, 235, .55);
}
.page-hero .btn-hero-primary:hover,
.page-hero .btn-hero-primary:focus {
    background: var(--t-brand-deep);
    border-color: var(--t-brand-deep);
    color: #ffffff;
    box-shadow: 0 16px 34px -14px rgba(37, 99, 235, .6);
    transform: translateY(-1px);
    outline: 0;
}
.page-hero .btn-hero-outline {
    background: #ffffff;
    border: 1px solid #d9e2ef;
    color: #1f2a3a;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.page-hero .btn-hero-outline:hover {
    background: #ffffff;
    border-color: #b9cdf0;
    color: var(--t-brand-deep);
    box-shadow: 0 14px 30px -18px rgba(37, 99, 235, .35);
    transform: translateY(-1px);
}
.page-hero .windows-download-disabled,
.page-hero .windows-download-disabled:hover {
    background: #f3f5f9 !important;
    color: #94a3b8 !important;
    border: 1px dashed #d9e0ea !important;
    box-shadow: none !important;
}

/* 内容区按钮 */
.btn-primary {
    background: var(--t-brand);
    border: 1px solid var(--t-brand);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 10px 24px -14px rgba(37, 99, 235, .6);
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--t-brand-deep);
    border-color: var(--t-brand-deep);
    color: #fff;
    box-shadow: 0 14px 30px -14px rgba(37, 99, 235, .65);
    transform: translateY(-1px);
}
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary { padding: .64rem 1.4rem; }

/* ========== 区块与标题 ========== */
/* 区块上下留白统一 */
.space-md,
.apps { padding: clamp(64px, 7vw, 88px) 0; }
.space-md.bg-light {
    background: #f6f7f9 !important;
    border-top: 1px solid var(--t-line-soft);
    border-bottom: 1px solid var(--t-line-soft);
}

/* 标题与内容间距统一（覆盖 Bootstrap 的 mb-4） */
.section-head { margin-bottom: clamp(32px, 3.2vw, 44px) !important; }
.section-head h2 {
    margin-bottom: 12px;
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.28;
    color: var(--t-ink);
}
.section-head p {
    font-size: 16px;
    color: var(--t-muted);
    letter-spacing: .01em;
}

/* 非 .section-head 的一级区块标题 */
.space-md > .container > h2,
.space-md > .container > .row + h2 {
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 700;
}
/* 内容页用 h3.h1 充当区块标题 */
h3.h1 {
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.32;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--t-ink);
}
/* 内容页正文容器与导航的间距：保持紧凑，避免顶部大片留白 */
main > .container:not(.contact_form_wrapper):not([aria-label]) {
    padding-top: clamp(10px, 1.2vw, 16px);
}
main[style*="padding-top"] { padding-top: 12px !important; }
/* 资料页侧栏布局自身还带内边距，一并收紧 */
.ziliao-wrap { gap: 24px; padding-top: .4rem !important; }

/* ========== 卡片体系 ========== */
.custom-card,
.app-card,
.integration-card,
.positioning-card,
.video-card {
    position: relative;
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius-lg);
    background: var(--t-surface);
    box-shadow: var(--t-shadow-card);
    transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease, border-color .3s ease;
}
.custom-card:hover,
.app-card:hover,
.integration-card:hover,
.positioning-card:hover,
.video-card:hover {
    border-color: #cfd9e8;
    box-shadow: var(--t-shadow-card-hover);
    transform: translateY(-4px);
}

.custom-card .card-body { padding: 24px 22px; }
.custom-card .card-title { color: var(--t-ink); font-weight: 600; }
.custom-card .card-text { color: var(--t-muted); }

/* 应用卡片 */
.apps-grid { gap: 24px; }
.app-card { padding: 0 0 18px 0; overflow: hidden; text-align: center; }
.app-video-wrap {
    height: 280px;
    background: #0a0f1a;
}
.app-video-wrap::after {
    background: linear-gradient(180deg, rgba(5, 8, 15, 0) 52%, rgba(5, 8, 15, .55) 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    transition: opacity .35s ease;
}
.app-video { transition: transform .7s cubic-bezier(.2, .7, .3, 1); }
.app-card:hover .app-video { transform: scale(1.04); }
.play-btn { width: 48px; height: 48px; }
.play-btn circle { fill: rgba(5, 8, 15, .38); stroke: rgba(255, 255, 255, .9); stroke-width: 1.5; }
.app-card:hover .play-btn circle { fill: rgba(37, 99, 235, .85); stroke: #fff; }
.app-card h3 {
    margin: 15px 0 5px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--t-ink);
}
.app-card p { color: var(--t-muted); font-size: 12.5px; line-height: 1.7; }

/* 集成方式：栅格间距与其它卡片模块统一为 24px */
.space-md.bg-light > .container > .row {
    margin-left: -12px;
    margin-right: -12px;
}
.space-md.bg-light > .container > .row > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
}
.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 24px 26px;
    margin-bottom: 0;
    text-align: center;
}
/* 底部操作区对齐 */
.integration-card .code-block,
.integration-card .btn-download,
.integration-card .coming-soon { margin-top: auto; }
.integration-icon {
    width: 46px !important;
    height: 46px !important;
    margin: 0 auto 16px !important;
    border-radius: 12px !important;
    background: #f4f7fc !important;
    border: 1px solid #e8eefb;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, background .3s ease;
}
.integration-card:hover .integration-icon { transform: translateY(-2px); background: #eef4ff !important; }
.integration-card h3 { color: var(--t-ink); font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.integration-card p { color: var(--t-muted); font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
.integration-card .code-block {
    background: #0b1220;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 8px;
    color: #9fb3d1;
    font-size: 10.5px;
    line-height: 1.7;
    padding: 9px 12px;
    text-align: left;
    letter-spacing: 0;
}
.integration-card .btn-download {
    border-radius: 8px;
    background: var(--t-ink);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 14px;
    box-shadow: none;
}
.integration-card .btn-download:hover { background: var(--t-brand); box-shadow: 0 10px 24px -14px rgba(37, 99, 235, .6); }
.integration-card .btn-download.windows-download-disabled,
.integration-card .btn-download.windows-download-disabled:hover {
    background: #f3f5f9;
    color: #94a3b8;
    border: 1px dashed #d8dfea;
    box-shadow: none;
}
.integration-card .coming-soon {
    background: #f5f7fb;
    color: #7b8698;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    font-size: 12px;
    padding: 6px 14px;
}

/* 为什么选择 — 四列等宽 */
.positioning-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    overflow: visible;
    padding-bottom: 0;
}
.positioning-row::-webkit-scrollbar { height: 0; }
.positioning-card {
    padding: 28px 24px 26px;
    flex: initial;
}
.positioning-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .01em;
    margin-bottom: 12px;
    color: var(--t-ink);
}
.positioning-card h3::before {
    content: "";
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    background-color: var(--t-brand);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.positioning-card:nth-child(1) h3::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.3c0 4.6-3.1 7.9-7.5 9.7-4.4-1.8-7.5-5.1-7.5-9.7V6z'/%3E%3Cpath d='M9 12l2.2 2.2L15.5 10'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.3c0 4.6-3.1 7.9-7.5 9.7-4.4-1.8-7.5-5.1-7.5-9.7V6z'/%3E%3Cpath d='M9 12l2.2 2.2L15.5 10'/%3E%3C/svg%3E");
}
.positioning-card:nth-child(2) h3::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='14' height='11' rx='2'/%3E%3Cpath d='M6 19h6'/%3E%3Crect x='17' y='9' width='5' height='11' rx='1.6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='14' height='11' rx='2'/%3E%3Cpath d='M6 19h6'/%3E%3Crect x='17' y='9' width='5' height='11' rx='1.6'/%3E%3C/svg%3E");
}
.positioning-card:nth-child(3) h3::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.4'/%3E%3Ccircle cx='18' cy='6' r='2.4'/%3E%3Ccircle cx='12' cy='18' r='2.4'/%3E%3Cpath d='M8.4 6h7.2M7.2 8.1l3.6 7.8M16.8 8.1l-3.6 7.8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='2.4'/%3E%3Ccircle cx='18' cy='6' r='2.4'/%3E%3Ccircle cx='12' cy='18' r='2.4'/%3E%3Cpath d='M8.4 6h7.2M7.2 8.1l3.6 7.8M16.8 8.1l-3.6 7.8'/%3E%3C/svg%3E");
}
.positioning-card:nth-child(4) h3::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='7' width='10' height='10' rx='2'/%3E%3Cpath d='M10 3v4M14 3v4M10 17v4M14 17v4M3 10h4M3 14h4M17 10h4M17 14h4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='7' width='10' height='10' rx='2'/%3E%3Cpath d='M10 3v4M14 3v4M10 17v4M14 17v4M3 10h4M3 14h4M17 10h4M17 14h4'/%3E%3C/svg%3E");
}
.positioning-card p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--t-muted);
}

/* 视频卡片 */
.video-card { overflow: hidden; }
.video-card video { border-radius: 0 0 var(--t-radius-lg) var(--t-radius-lg); }
.video-card .video-info { padding: 18px 22px; }
.video-card .video-title { color: var(--t-ink); }
.video-card .video-desc { color: var(--t-muted); }
.category-title {
    color: var(--t-ink);
    border-bottom: 1px solid var(--t-line);
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}
.category-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 48px;
    height: 2px;
    margin-left: -24px;
    border-radius: 999px;
    background: var(--t-brand);
}

/* ========== 联系页 ========== */
.contact_form {
    border: 1px solid var(--t-line);
    border-radius: var(--t-radius-lg);
    background: #fff;
    box-shadow: 0 2px 4px rgba(16, 24, 40, .03), 0 40px 90px -50px rgba(8, 13, 24, .5);
    padding: 40px 44px;
}
.contact_form h5 {
    color: var(--t-ink);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.contact_form p {
    color: var(--t-text);
    padding: 8px 0;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--t-line-soft);
}
.contact_form p:last-child { border-bottom: 0; }
.contact_form img { border-radius: 8px; object-fit: contain; }
/* 联系页两张卡片等高 */
.contact_form_wrapper .row { align-items: stretch; }
.contact_form_wrapper .col-sm-8 > .contact_form,
.contact_form_wrapper .col-sm-4 > .contact_form { height: 100%; }
.contact_form_wrapper .col-sm-4 { align-items: flex-start !important; }
.contact_form_wrapper .col-sm-4 > .contact_form {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 页脚 ========== */
footer.bg-light,
footer.py-2 {
    margin-top: 0;
    padding: 30px 0 26px !important;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, .55) 0%, rgba(34, 211, 238, .35) 100%) left top / 100% 1px no-repeat,
        #f7f8fb !important;
    color: #7b8698;
    border: 0;
}
footer.bg-light a,
footer.py-2 a {
    color: #5b6779 !important;
    font-size: 13px;
    letter-spacing: .02em;
    text-decoration: none;
}
footer.bg-light a:hover,
footer.py-2 a:hover { color: var(--t-brand) !important; text-decoration: none; }
footer .col-12 { line-height: 2.1; }

/* ========== 浮窗微调 ========== */
.consult-btn {
    background: var(--t-brand);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    box-shadow: 0 12px 30px -12px rgba(37, 99, 235, .65);
}
.consult-btn:hover { background: var(--t-brand-deep); }
.consult-popup { border-radius: 14px; border-color: var(--t-line); }

/* ========== 滚动进场 ========== */
.t-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
    will-change: opacity, transform;
}
.t-reveal.t-in { opacity: 1; transform: none; }

/* ========== 响应式 ========== */
@media (max-width: 1199.98px) {    .positioning-row { gap: 16px; }
    .apps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .app-video-wrap { height: 300px; }
}

@media (max-width: 991.98px) {    .page-hero { padding: 44px 0 40px; }
    .page-hero h1 { font-size: clamp(1.95rem, 5.2vw, 2.6rem); }
    .positioning-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .apps-grid { gap: 16px; }
    .app-video-wrap { height: 260px; }
    .contact_form { padding: 30px; }
    .integration-card { margin-bottom: 16px; }
}

@media (max-width: 767.98px) {    body { padding-top: 76px; }
    .navbar-brand span { font-size: 17px; }
    .navbar-brand img { height: 28px; }
    .navbar-brand img.brand-wordmark { height: 24px; }
    .page-hero h1 { font-size: clamp(1.6rem, 6.4vw, 2.1rem); }
    .page-hero.text-center h1::before { font-size: 10px; letter-spacing: .26em; margin-bottom: 14px; }
    .page-hero .hero-lead { font-size: 15.5px; line-height: 1.8; }
    .page-hero .hero-actions { gap: 10px; margin-top: 20px; }
    .page-hero .btn-hero { padding: 12px 20px; font-size: 14px; }
    .section-head { margin-bottom: 30px; }
    .section-head h2 { font-size: 23px; }
    .section-head p { font-size: 14.5px; }
    .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
    .app-video-wrap { height: 210px; }
    .positioning-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .positioning-card { padding: 22px 22px; }    .contact_form { padding: 24px 22px; }
    .contact_header { padding: 32px 20px 30px; }
    footer.bg-light, footer.py-2 { padding: 24px 0 22px !important; }
    footer .col-12 { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .t-reveal { opacity: 1; transform: none; transition: none; }
    .app-video, .custom-card, .app-card, .integration-card, .positioning-card, .video-card, .btn-primary, .btn-hero {
        transition: none !important;
    }
    .custom-card:hover,
    .app-card:hover,
    .integration-card:hover,
    .positioning-card:hover,
    .video-card:hover { transform: none; }
}
