/* 科技公司门户 - 设计规范 */
:root {
    --primary-color: #0b78f4;
    --secondary-color: #0b5ed7;
    --accent-color: #38BDF8;
    --light-color: #f8fafc;
    --dark-color: #1a1a2e;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --text-color: #334155;
    --text-muted: #64748b;
    /* 布局规范 */
    --radius: 20px;
    --radius-sm: 12px;
    --radius-pill: 16px;
    --border-radius: var(--radius);
    --box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    --box-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --section-bg-alt: #f1f5f9;
    /* 字号阶梯 */
    --text-xs: 12px;
    --text-sm: 13px;
    --text-base: 15px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 28px;
    --text-4xl: 36px;
    --font-body: 15px;
    --font-display: 38px;
    --font-h2: 36px;
    --font-h3: 18px;
    --font-h4: 16px;
    --font-caption: 14px;
    --font-small: 12px;
    /* 间距规范 */
    --space-section: 100px;
    --space-block: 40px;
    --space-card: 24px;
    --section-gap: var(--space-block);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    font-size: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* 科技公司标准排版类 */
.text-display { font-size: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--dark-color); }
.text-h2 { font-size: var(--font-h2); font-weight: 600; color: var(--dark-color); }
.text-h3 { font-size: var(--font-h3); font-weight: 600; color: var(--dark-color); }
.text-h4 { font-size: var(--font-h4); font-weight: 600; color: var(--dark-color); }
.text-body { font-size: var(--font-body); color: var(--text-color); line-height: 1.7; }
.text-caption { font-size: var(--font-caption); color: var(--text-muted); line-height: 1.6; }
.text-small { font-size: var(--font-small); color: var(--text-muted); }

.bodya { color: #333; font-size: 16px; line-height: 1.85; }
.bodyb { color: var(--text-color); font-size: var(--font-caption); font-weight: 600; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-block { width: 100%; padding: 14px 20px; }

.section-header {
    text-align: center;
    margin-bottom: var(--section-gap);
}

.section-header h2 {
    font-size: var(--font-h2);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-color);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 12px auto 0;
    line-height: 1.7;
}

.underline {
    height: 3px;
    width: 48px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* 统一 section 布局 - 科技公司规范 */
section {
    padding: var(--space-section) 0;
}

.section-white { background-color: #fff !important; }
.section-alt { background-color: var(--section-bg-alt) !important; padding: var(--space-section) 0 !important; }
.ai-scenario-section { }

/* 内容区块统一：圆角、间距、字号 */
.section-block {
    border-radius: var(--radius);
    padding: var(--space-block);
}

.subsection-title {
    font-size: var(--text-lg) !important;
    font-weight: 600 !important;
    color: var(--dark-color) !important;
    margin-bottom: var(--space-card) !important;
}

.card-text {
    font-size: var(--text-sm) !important;
    line-height: 1.7 !important;
    color: var(--text-muted) !important;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 0;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.97);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 36px;
    margin-right: 12px;
}

.logo h1 {
    font-size: 16px;
    color: var(--dark-color);
    font-weight: 600;
    white-space: nowrap;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav > ul > li {
    margin-left: 0;
}

nav > ul > li > a {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

nav > ul > li > a:hover {
    color: var(--primary-color);
    background: #f0f7ff;
}

nav > ul > li > a.active {
    color: var(--primary-color);
    background: #f0f7ff;
    font-weight: 600;
}

/* 去掉旧的下划线指示器 */
nav > ul > li > a::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* 首页横幅样式 */
.hero, .hero1, .hero2, .hero3, .hero4 {
    position: relative;
}
.hero::before, .hero1::before, .hero2::before, .hero3::before, .hero4::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,94,215,0.85) 0%, rgba(59,159,245,0.7) 100%);
    z-index: 1;
}
.hero .container, .hero1 .container, .hero2 .container, .hero3 .container, .hero4 .container {
    position: relative;
    z-index: 2;
}

.hero {
    height: 100vh;
    background: #0b3d91 url('images/hero-bga.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}
.hero1 {
    height: 100vh;
    background: #0b3d91 url('images/hero-bga1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}
.hero2 {
    height: 100vh;
    background: #0b3d91 url('images/hero-bga2.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}
.hero3 {
    height: 100vh;
    background: #0b3d91 url('images/hero-bga3.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(32px, 4.5vw, 48px);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.hero-content p {
    font-size: 17px;
    margin-bottom: 36px;
    line-height: 1.8;
    opacity: 0.92;
    max-width: 560px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
}

.hero-center { text-align: center; }
.hero-center .cta-buttons { justify-content: center; }
.hero-center .hero-content p { margin-left: auto; margin-right: auto; }
.hero-left { text-align: left; max-width: 640px; margin-left: 0; margin-right: auto; }
.hero-left .cta-buttons { justify-content: flex-start; }
.hero-sub { font-size: 0.75em; opacity: 0.85; display: block; margin-top: 8px; font-weight: 400; letter-spacing: 0.04em; }

.hero .hero-content, .hero1 .hero-content, .hero2 .hero-content, .hero3 .hero-content, .hero4 .hero-content {
    margin-top: 0;
    padding-top: 80px;
}

/* 关于我们样式 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text { max-width: 620px; }

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.85;
    color: #444;
}

/* 双引擎三卡片 */
.about-engines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.engine-card {
    background: linear-gradient(135deg, #0b3d91, #0b78f4);
    border-radius: 20px;
    padding: 36px 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.engine-card:nth-child(2) {
    background: linear-gradient(135deg, #0b5ed7, #3b9ff5);
}

.engine-card:nth-child(3) {
    background: linear-gradient(135deg, #0e7490, #06b6d4);
}

.engine-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.engine-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(30,64,175,0.25);
}

.engine-card:nth-child(2):hover {
    box-shadow: 0 16px 40px rgba(91,33,182,0.25);
}

.engine-card:nth-child(3):hover {
    box-shadow: 0 16px 40px rgba(14,116,144,0.25);
}

.engine-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.engine-icon i {
    font-size: 24px;
    color: var(--accent-color);
}

.engine-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.engine-stat {
    font-size: 14px;
    color: #7dd3fc;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.engine-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #d4ecff;
    margin: 0;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-item {
    padding: 28px 24px;
    box-sizing: border-box;
    text-align: center;
    border-radius: var(--border-radius);
    background: #fff;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 3px solid #0b78f4;
}

.value-item:nth-child(2) { border-top-color: #0b78f4; }
.value-item:nth-child(3) { border-top-color: #0b78f4; }
.value-item:nth-child(4) { border-top-color: #f59e0b; }

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
}

.value-item i {
    margin-top: 12px;
    margin-bottom: 14px;
    font-size: 1.6rem;
    color: #0b78f4;
}

.value-item:nth-child(2) i { color: #0b78f4; }
.value-item:nth-child(3) i { color: #0b78f4; }
.value-item:nth-child(4) i { color: #f59e0b; }

.value-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.value-item p {
    font-size: 14px;
    line-height: 1.75;
    color: #555;
    margin: 0;
}

/* ========== 合规知识库与规则库 ========== */

/* 两库核心数据卡片 */
.rules-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}

.rules-duo-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rules-duo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.rules-duo-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.rules-duo-icon i {
    font-size: 24px;
    color: #fff;
}

.rules-duo-num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.rules-duo-num span {
    font-size: 20px;
}

.rules-duo-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 18px;
    font-weight: 500;
}

.rules-duo-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* 知识图谱区域 */
.rules-graph {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
    background: linear-gradient(135deg, #0b5ed7, #3b9ff5);
    border-radius: 20px;
    padding: 48px 44px;
    color: #fff;
    align-items: center;
}

.rules-graph-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #93c5fd;
    margin-bottom: 20px;
}

.rules-graph-left h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 16px;
    color: #fff;
}

.rules-graph-left p {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.rules-graph-tag {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.rules-graph-tag:last-child {
    margin-bottom: 0;
}

.rules-graph-tag:hover {
    background: rgba(255,255,255,0.1);
}

.rules-graph-tag i {
    color: #60a5fa;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.rules-graph-tag span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

/* 七大特性 */
.rules-features {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.rules-feature-item {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 28px 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rules-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.rules-feature-item i {
    font-size: 24px;
    color: #0b78f4;
    margin-bottom: 12px;
}

.rules-feature-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.rules-feature-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ========== AI合规应用场景 ========== */
/* ========== AI合规应用 - 左右布局 ========== */
.ai-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
    align-items: start;
}

.ai-hero-card {
    background: linear-gradient(135deg, #0b5ed7, #3b9ff5);
    border-radius: 20px;
    padding: 48px 40px;
    color: #fff;
    position: sticky;
    top: 100px;
}

.ai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.ai-hero-card h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #fff;
}

.ai-hero-card > p {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
}

.ai-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-hero-tags span {
    background: rgba(255,255,255,0.12);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}

.ai-scene-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ai-scene-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid #e8ecf0;
    transition: background 0.2s ease;
}

.ai-scene-row:first-child {
    padding-top: 0;
}

.ai-scene-row:last-child {
    border-bottom: none;
}

.ai-scene-row:hover {
    background: rgba(11,120,244,0.02);
}

.ai-scene-num {
    font-size: 32px;
    font-weight: 800;
    color: #0b5ed7;
    line-height: 1;
    flex-shrink: 0;
    width: 44px;
    padding-top: 2px;
}

.ai-scene-body h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0b3d91;
    margin-bottom: 8px;
}

.ai-scene-body p {
    font-size: 14.5px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ========== 角色赋能 ========== */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    align-items: stretch;
}

.role-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.role-header {
    padding: 32px 28px 24px;
    text-align: center;
    color: #fff;
}

.role-header-blue { background: linear-gradient(135deg, #0b3d91, #0b78f4); }
.role-header-purple { background: linear-gradient(135deg, #0b5ed7, #3b9ff5); }
.role-header-cyan { background: linear-gradient(135deg, #0e7490, #06b6d4); }

.role-avatar {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.role-avatar i {
    font-size: 24px;
    color: #fff;
}

.role-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}

.role-subtitle {
    font-size: 14px;
    opacity: 0.85;
}

.role-body {
    padding: 28px;
    flex: 1;
}

.role-feature {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.role-feature:last-child {
    margin-bottom: 0;
}

.role-feature > i {
    font-size: 16px;
    color: #0b78f4;
    margin-top: 3px;
    flex-shrink: 0;
}

.role-card:nth-child(2) .role-feature > i { color: #0b78f4; }
.role-card:nth-child(3) .role-feature > i { color: #06b6d4; }

.role-feature h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.role-feature p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ========== 开放平台 ========== */

/* 核心理念：左文右三零 */
.open-idea {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 48px;
    background: linear-gradient(135deg, #0b5ed7, #3b9ff5);
    border-radius: 20px;
    padding: 48px 44px;
    color: #fff;
    align-items: center;
}

.open-idea-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #93c5fd;
    margin-bottom: 20px;
}

.open-idea-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 16px;
    color: #fff;
}

.open-idea-content p {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.open-idea-zeros {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.open-zero {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 20px 22px;
    transition: background 0.3s ease;
}

.open-zero:hover {
    background: rgba(255,255,255,0.1);
}

.open-zero-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.open-zero-icon i {
    font-size: 18px;
    color: #60a5fa;
}

.open-zero h4 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.open-zero p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.5;
}

/* 两大平台卡片 */
.open-platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.open-platform-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.open-platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.open-platform-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 30px;
    color: #fff;
}

.open-platform-header-blue { background: linear-gradient(135deg, #0b5ed7, #3b9ff5); }
.open-platform-header-purple { background: linear-gradient(135deg, #0b5ed7, #3b9ff5); }

.open-platform-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.open-platform-icon i {
    font-size: 22px;
    color: #fff;
}

.open-platform-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #fff;
}

.open-platform-header span {
    font-size: 13px;
    opacity: 0.8;
}

.open-platform-body {
    padding: 28px 30px;
}

.open-platform-body > p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* 标签 */
.open-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.open-tag {
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
}

.open-tag-blue { background: #eff6ff; color: #0b3d91; }
.open-tag-purple { background: #f0f7ff; color: #0b3d91; }

/* 流程条 */
.open-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px 22px;
}

.open-flow-step {
    text-align: center;
}

.open-flow-step i {
    font-size: 20px;
    color: #0b78f4;
    display: block;
    margin-bottom: 6px;
}

.open-platform-card:nth-child(2) .open-flow-step i {
    color: #0b78f4;
}

.open-flow-step-end i {
    color: #0b78f4 !important;
}

.open-flow-step span {
    font-size: 12px;
    color: #666;
}

.open-flow-arrow {
    font-size: 12px;
    color: #cbd5e1;
}

/* 战略价值 */
.open-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.open-value-item {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.open-value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.open-value-item > i {
    font-size: 20px;
    color: #0b78f4;
    margin-bottom: 14px;
    display: block;
}

.open-value-item:nth-child(2) > i { color: #0b78f4; }
.open-value-item:nth-child(3) > i { color: #0b78f4; }

.open-value-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.open-value-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ========== 合规收益 ========== */
.shouyi-section {
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
    padding: var(--space-section) 0;
}

.shouyi-section .section-header h2 {
    color: var(--dark-color);
}

.shouyi-intro {
    color: #555 !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    max-width: 800px;
    margin: 0 auto;
}

.shouyi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.shouyi-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shouyi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.shouyi-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.shouyi-icon i {
    font-size: 22px;
    color: #fff;
}

.shouyi-icon-blue { background: linear-gradient(135deg, #0b3d91, #0b78f4); }
.shouyi-icon-purple { background: linear-gradient(135deg, #0b5ed7, #3b9ff5); }
.shouyi-icon-cyan { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.shouyi-icon-amber { background: linear-gradient(135deg, #b45309, #f59e0b); }

.shouyi-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0b3d91;
    margin-bottom: 10px;
}

.shouyi-highlight {
    font-size: 14px;
    font-weight: 600;
    color: #0b3d91;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.shouyi-card:nth-child(2) .shouyi-highlight { color: #0b5ed7; }
.shouyi-card:nth-child(3) .shouyi-highlight { color: #0e7490; }
.shouyi-card:nth-child(4) .shouyi-highlight { color: #b45309; }

.shouyi-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ========== 产品参数 ========== */
/* ========== 技术规格（新） ========== */
.tech-section {
    padding: var(--space-section) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.tech-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(135deg, rgba(11,94,215,0.85) 0%, rgba(59,159,245,0.7) 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 36px;
}

.tech-highlight-item {
    text-align: center;
    padding: 36px 16px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.tech-highlight-item:last-child {
    border-right: none;
}

.tech-highlight-num {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.tech-highlight-num span {
    font-size: 20px;
    color: #38BDF8;
    margin-left: 2px;
}

.tech-highlight-label {
    font-size: 13px;
    color: #c3e5fc;
    margin-top: 8px;
}

.tech-detail-card {
    background: linear-gradient(135deg, rgba(11,94,215,0.85) 0%, rgba(59,159,245,0.7) 100%);
    border-radius: 20px;
    padding: 40px;
    margin-top: 24px;
}

.tech-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.tech-detail-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.tech-detail-col h4 i {
    margin-right: 6px;
    color: #38BDF8;
}

.tech-detail-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-detail-col ul li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
}

.tech-detail-col ul li:last-child {
    border-bottom: none;
}

.tech-key {
    color: rgba(255,255,255,0.6);
}

.tech-val {
    color: #fff;
    font-weight: 500;
    text-align: right;
}

.tech-his {
    margin-top: 24px;
    text-align: center;
}

.tech-his-title {
    font-size: 16px;
    color: #0b3d91;
    font-weight: 600;
    margin-bottom: 16px;
}

.tech-his-title i {
    color: #0b78f4;
    margin-right: 6px;
}

.tech-his-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-his-tag {
    background: #fff;
    color: #0b3d91;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #d0e7ff;
    transition: all 0.3s ease;
}

.tech-his-tag:hover {
    background: #0b78f4;
    color: #fff;
    border-color: #0b78f4;
}

.tech-his-tag-more {
    background: linear-gradient(135deg, #f0f7ff, #e0edff);
    color: #0b78f4;
    font-weight: 600;
    border-color: #b3d4ff;
}

/* 技术规格 - 详情列 hover 发光浮起 */
.tech-detail-col {
    padding: 16px;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.tech-detail-col:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(56,189,248,0.15);
}

/* HIS标签逐个弹入 */
.stagger-in > * {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-in > .stagger-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 数字计数动画 span 样式保持 */
.count-up span {
    font-size: inherit;
    color: inherit;
}

.tech-highlight-num .count-up span,
.tech-highlight-num span {
    font-size: 20px;
    color: #38BDF8;
}

.coop-stats-num span {
    font-size: 24px;
    color: var(--accent-color);
}

/* ========== 六维产品矩阵 ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.product-card-primary {
    background: linear-gradient(135deg, #0b3d91, #0b78f4);
    color: #fff;
}

.product-card-primary:hover {
    box-shadow: 0 12px 32px rgba(30,64,175,0.3);
}

.product-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #eff6ff;
}

.product-card-icon i {
    font-size: 22px;
    color: #0b78f4;
}

.product-card-primary .product-card-icon {
    background: rgba(255,255,255,0.15);
}

.product-card-primary .product-card-icon i {
    color: #fff;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b3d91;
    margin-bottom: 10px;
}

.product-card-primary h3 {
    color: #fff;
}

.product-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.product-card-primary p {
    color: #bfdbfe;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

/* 配套增值服务 */
.product-services {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.product-services-title {
    font-size: 20px;
    font-weight: 700;
    color: #0b3d91;
    text-align: center;
    margin-bottom: 28px;
}

.product-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.product-service-item {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-service-item > i {
    font-size: 18px;
    color: #0b78f4;
    margin-top: 2px;
    flex-shrink: 0;
}

.product-service-item:nth-child(2) > i { color: #0b78f4; }
.product-service-item:nth-child(3) > i { color: #06b6d4; }
.product-service-item:nth-child(4) > i { color: #f59e0b; }

.product-service-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.product-service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* 产品服务样式 */
.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    color: var(--text-muted);
    padding: var(--space-block) 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;

   
}
.service-iconfw{
    margin-top: 16px;
}


.service-icon i {
    font-size: 1.4rem;
    color: #0b78f4;
}

.service-card h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.service-card p {
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* 四全四化样式 */
.servicesa1 {
    background-color: var(--light-color);
}

.servicesa1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servicea1-card {
    background-color: white;
    padding: 24px 20px 24px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    color: #969aa1;
    font-size: 13px;
}

.servicea1-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
}

.servicea1-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto ;
    margin-top: 26px;
}
.servicea1-right{
    text-align: left; 
    height: auto; 
    overflow: hidden;
}



.servicea1-icon i {
    font-size: 1.5rem;
    color:#0b78f4;
}

.servicea1-card h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* 解决方案样式 */
.solutions-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}


/* 合作与联系 - 合并板块 */
.coop-section {
    background-color: var(--light-color);
    padding: var(--space-section) 0;
}

.coop-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(135deg, rgba(11,94,215,0.85) 0%, rgba(59,159,245,0.7) 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 36px;
}

.coop-stats-item {
    text-align: center;
    padding: 36px 16px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.coop-stats-item:last-child {
    border-right: none;
}

.coop-stats-num {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.coop-stats-num span {
    font-size: 24px;
    color: var(--accent-color);
}

.coop-stats-label {
    font-size: 13px;
    color: #c3e5fc;
    margin-top: 8px;
}

.coop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.coop-tags span {
    background: #fff;
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #d0e7ff;
}

.coop-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.coop-channel,
.coop-contact {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.coop-channel h3,
.coop-contact h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.coop-channel h3 i,
.coop-contact h3 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.coop-channel-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.coop-mode {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 14px;
    border-left: 4px solid var(--primary-color);
}

.coop-mode:last-child {
    border-left-color: #3b9ff5;
    margin-bottom: 0;
}

.coop-mode h4 {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.coop-mode h4 i {
    color: var(--primary-color);
    margin-right: 6px;
    font-size: 14px;
}

.coop-mode:last-child h4 i {
    color: #3b9ff5;
}

.coop-mode-fit {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-weight: 600;
}

.coop-mode:last-child .coop-mode-fit {
    color: #3b9ff5;
}

.coop-mode p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.coop-company {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.coop-contact-info {
    margin-top: 8px;
}

.coop-info-item {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

.coop-info-item i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.coop-qrcode {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.coop-qrcode img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}

.coop-qrcode span {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.coop-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.coop-cta .btn {
    padding: 14px 40px;
    font-size: 16px;
    border-radius: 8px;
}

.coop-cta .btn-secondary {
    background-color: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.coop-cta .btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.coop-cta .btn i {
    margin-right: 8px;
}

/* 页脚样式 */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-block);
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: var(--text-base);
    margin-bottom: 8px;
}

.footer-slogan {
    font-size: var(--text-sm);
    opacity: 0.75;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 3px;
    background-color: #fff;
}

.footer-column ul li {
    margin-bottom: 10px;
    font-size: var(--text-sm);
}

.footer-column ul li a {
    color: white;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-column ul li i {
    margin-right: 10px;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: var(--text-sm);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .coop-body {
        grid-template-columns: 1fr;
    }

    .coop-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .coop-cta .btn {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .company-values {
        grid-template-columns: 1fr 1fr;
    }

    .about-engines {
        grid-template-columns: 1fr;
    }

    .rules-duo {
        grid-template-columns: 1fr;
    }

    .rules-graph {
        grid-template-columns: 1fr;
    }

    .rules-features {
        grid-template-columns: repeat(4, 1fr);
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .ai-layout {
        grid-template-columns: 1fr;
    }
    .ai-hero-card {
        position: static;
    }

    .open-idea {
        grid-template-columns: 1fr;
    }

    .open-platforms {
        grid-template-columns: 1fr;
    }

    .open-values {
        grid-template-columns: 1fr;
    }

    .shouyi-grid {
        grid-template-columns: 1fr;
    }

    .tech-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-services-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    nav {
        position: fixed;
        top: 64px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 64px);
        background-color: white;
        transition: transform 0.3s ease;
        box-shadow: 2px 0 16px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 16px;
        gap: 2px;
    }

    nav > ul > li > a {
        width: 100%;
        padding: 12px 16px;
        border-radius: 10px;
        font-size: 15px;
    }

    nav ul li {
        margin: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .company-values {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* 图片占位符样式 */
#logo-placeholder,
#footer-logo-placeholder {
   
    width: 106px;
    height: 40px;
}

#about-placeholder,
#manufacturing-placeholder,
#logistics-placeholder,
#healthcare-placeholder,
#product1-placeholder,
#finance-placeholder {
    background-color: var(--light-gray);
    width: 100%;
    height: 400px;
}

.swiper {
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero, .hero1, .hero2, .hero3, .hero4 {
    height: 100%;
    width: 100%;
    margin-top: 0;
}

.swiper {
    height: 780px; /* 调整为你需要的高度 */
}

.hero {
    height: 100%;
}

.swiper-slide {
    height: 100%;
}

/* 关于我们部分的样式 */
.about {
    padding: 100px 0;
}
.about-image{
    background: url(./images/p4_bga1.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 20px;
}

/* 移动端适配 */
@media screen and (max-width: 900px) {
    .about {
        background-image: none;
        background-color: #ffffff;
        padding: 40px 0;
    }
}

/* 新增板块响应式：知识库七大特性、角色赋能、6维产品、产品参数、HIS厂商 */
@media (max-width: 1024px) {
    /* AI应用场景 - 绝对定位改为相对，避免错位 */
    .ai-scenario-section .ability-sides {
        position: static !important;
        margin: 20px 0 !important;
        text-align: center !important;
    }
    .ai-scenario-section .ability-container {
        flex-direction: column;
    }
    /* 知识库七大特性 - 7列改为3列 */
    section [style*="grid-template-columns: repeat(7, 1fr)"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    /* 知识库经验沉淀4列改2列 */
    section [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* 6维产品、配套服务 - 2/3列改1列 */
    section #products [style*="grid-template-columns: repeat(3, 1fr)"],
    section #products [style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    /* 知识库七大特性 - 改2列 */
    section [style*="grid-template-columns: repeat(7, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    section [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    /* 合作与联系板块响应式 */
    .coop-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .coop-body {
        grid-template-columns: 1fr;
    }
    /* 技术规格响应式 */
    .tech-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-detail-card {
        padding: 24px 16px;
    }
    .tech-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tech-his-tags {
        gap: 8px;
    }
    .tech-his-tag {
        padding: 6px 14px;
        font-size: 13px;
    }
    /*  nav 项目多时换行 */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin-left: 12px;
        margin-right: 12px;
    }
}

.ability-item h3 {
    color: var(--dark-color);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(11, 120, 244, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--secondary-color);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* hero4 - 开放平台轮播页 */
.hero4 {
    height: 100vh;
    background: #0b3d91 url('images/hero-bga1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

/* 开放平台响应式 */
@media (max-width: 1024px) {
    #open-platform [style*="display: flex"][style*="gap: 24px"] {
        flex-direction: column !important;
    }
}

@media (max-width: 768px) {
    #open-platform [style*="display: grid"][style*="repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* ========== 视觉升级 - 通用卡片 ========== */
.card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* ========== 滚动入场动画 ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.fade-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* JS 兜底：如果 Observer 未触发，1.5s 后自动显示 */
@keyframes fadeUpFallback {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeftFallback {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRightFallback {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeScaleFallback {
    to { opacity: 1; transform: scale(1); }
}
.fade-up:not(.visible) {
    animation: fadeUpFallback 0.6s ease 1.5s forwards;
}
.fade-left:not(.visible) {
    animation: fadeLeftFallback 0.6s ease 1.5s forwards;
}
.fade-right:not(.visible) {
    animation: fadeRightFallback 0.6s ease 1.5s forwards;
}
.fade-scale:not(.visible) {
    animation: fadeScaleFallback 0.6s ease 1.5s forwards;
}

/* ========== 板块独立背景渐变 ========== */
.section-bg-knowledge {
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%) !important;
}
.section-bg-roles {
    background: #f8fafc !important;
}
.section-bg-open-platform {
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%) !important;
}
.section-bg-products {
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%) !important;
}
.section-bg-ai {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%) !important;
}

/* ========== 导航下拉菜单 ========== */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a::after {
    content: '';
    display: none;
}
.nav-dropdown > a .fa-chevron-down {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}
.nav-dropdown:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    transform: translateX(-50%) translateY(8px);
    z-index: 1001;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu li {
    margin: 0 !important;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-color);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-menu li a:hover {
    background: #f0f7ff;
    color: var(--primary-color);
}
.dropdown-menu li a::after {
    display: none !important;
}

/* 移动端下拉菜单 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        padding: 0;
        background: #f8fafc;
        transition: max-height 0.3s ease;
    }
    .nav-dropdown.open .dropdown-menu {
        max-height: 300px;
        padding: 4px 0;
    }
    .dropdown-menu li a {
        padding: 8px 30px;
        font-size: 13px;
    }
}

/* ========== 开放平台微光动效 ========== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer-bg {
    position: relative;
    overflow: hidden;
}
.shimmer-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    pointer-events: none;
}

/* 三零卡片 hover 放大 */
.zero-card {
    transition: all 0.3s ease;
}
.zero-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .fade-up, .fade-left, .fade-right, .fade-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .shimmer-bg::after {
        animation: none;
    }
}
