/* 方案5: 边框下划线 */
.nav-link-5 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-5::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #993333;
    transition: all 0.3s ease;
    opacity: 1;
}

.nav-link-1 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-1:hover {
    color: #4ADE80;
}

.nav-link-1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #4ADE80;
    transition: all 0.3s ease;
    opacity: 0;
}
.nav-link-1:hover i.bi {
    color: #4ADE80;
}
.nav-link-1:hover::after,
.nav-link-1.active::after {
    height: 2px;
    opacity: 1;
}

.nav-link-2 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-2:hover {
    color: #818CF8;
}

.nav-link-2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #818CF8;
    transition: all 0.3s ease;
    opacity: 0;
}
.nav-link-2:hover i.bi {
    color: #818CF8;
}
.nav-link-2:hover::after,
.nav-link-2.active::after {
    height: 2px;
    opacity: 1;
}
.nav-link-3 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link-3:hover {
    color: #FBBF24;
}

.nav-link-3::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #FBBF24;
    transition: all 0.3s ease;
    opacity: 0;
}
.nav-link-3:hover i.bi {
    color: #FBBF24;
}
.nav-link-3:hover::after,
.nav-link-3.active::after {
    height: 2px;
    opacity: 1;
}

.nav-link-6 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-link-6:hover {
    color: #22D3EE;
}

.nav-link-6::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #22D3EE;
    transition: all 0.3s ease;
    opacity: 0;
}
.nav-link-6:hover i.bi {
    color: #22D3EE;
}
.nav-link-6:hover::after,
.nav-link-6.active::after {
    height: 2px;
    opacity: 1;
}

.nav-link-7 {
    position: relative;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-link-7:hover {
    color: #0066cc;
}

.nav-link-7::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: -2px;
    left: 0;
    border-bottom: 2px solid #0066cc;
    transition: all 0.3s ease;
    opacity: 0;
}
.nav-link-7:hover i.bi {
    color: #0066cc;
}
.nav-link-7:hover::after,
.nav-link-7.active::after {
    height: 2px;
    opacity: 1;
}



.br2:hover{
    --bs-border-opacity: 1;
    border-color: #818CF8 !important
}
.br1:hover{
    --bs-border-opacity: 1;
    border-color: #0b5ed7 !important
}
.br3:hover{
    --bs-border-opacity: 1;
    border-color: #4ADE80 !important
}
.br4:hover{
    --bs-border-opacity: 1;
    border-color: #FBBF24 !important
}

.btning:hover{
    background-color: #FBBF24!important;
    color: white!important;
}
.btninga:hover{
    background-color: #4ADE80!important;
    color: white!important;
}
/* --- 企业级鸿蒙生态专题页样式 --- */
:root {
    --pro-blue: #0052d9;       /* 腾讯/华为常用的企业蓝 */
    --pro-dark: #1e252b;       /* 沉稳黑灰 */
    --pro-light: #f5f7fa;      /* 科技灰背景 */
    --pro-accent: #3d5afe;     /* 亮眼强调色 */
    --text-primary: #1d1d1d;
    --text-secondary: #5e6d82;
    --border-color: #e4e7ed;
}

.hm-enterprise-section {
    font-family: 'PingFang SC', 'Helvetica Neue', 'Arial', sans-serif;
    color: var(--text-primary);
    background-color: #fff;
    line-height: 1.6;
}

.hm-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 1. 头部 Hero 区域 */
.hm-hero {
    background: linear-gradient(135deg, #0f1c2e 0%, #003a8c 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
/* 背景装饰纹理 */
.hm-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image:
            radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 30%),
            linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.02) 75%, transparent 75%, transparent);
    background-size: 100% 100%, 40px 40px;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hero-badge {
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.hero-desc {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.btn-primary {
    background: var(--pro-accent);
    color: white;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-primary:hover { background: #2f44c9; transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* 2. 技术架构图 (CSS绘制) */
.arch-section {
    padding: 4rem 0;
    background: var(--pro-light);
}
.arch-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.arch-layer {
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}
.arch-layer:hover { transform: scale(1.01); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.layer-top { background: #e3f2fd; border: 1px solid #bbdefb; color: #1565c0; }
.layer-mid { background: #e8f5e9; border: 1px solid #c8e6c9; color: #2e7d32; }
.layer-btm { background: #fff3e0; border: 1px solid #ffe0b2; color: #ef6c00; }
.layer-hardware { background: #f3e5f5; border: 1px solid #e1bee7; color: #7b1fa2; font-weight: bold; }
.layer-title { font-weight: bold; font-size: 1.1rem; margin-bottom: 0.5rem; display: block; }
.layer-tags span {
    display: inline-block;
    background: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin: 4px;
    color: #555;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 3. 核心服务 (网格布局) */
.service-section { padding: 5rem 0; }
.sec-header { text-align: center; margin-bottom: 4rem; }
.sec-title { font-size: 2.25rem; color: white; margin-bottom: 1rem; font-weight: 800; }

.sec-titleaa { font-size: 2.25rem; color: #0A192F; margin-bottom: 1rem; font-weight: 800; }


.sec-sub { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.pro-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 1024px) {
    .pro-grid { grid-template-columns: repeat(3, 1fr); }
}
.pro-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.pro-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--pro-blue);
    opacity: 0;
    transition: opacity 0.3s;
}
.pro-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.pro-card:hover::before { opacity: 1; }

.card-icon {
    width: 64px; height: 64px;
    background: #f0f5ff;
    color: var(--pro-blue);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}
.card-h3 { font-size: 1.4rem; font-weight: bold; margin-bottom: 1rem; color: var(--pro-dark); }
.card-p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.6; min-height: 60px; }
.tech-list { border-top: 1px solid #eee; padding-top: 1.5rem; }
.tech-item {
    display: flex; align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #444;
}
.tech-item i { color: #10b981; margin-right: 8px; }

/* 4. 行业解决方案 (Tab切换) */
.solution-section { background: #1e252b; color: white; padding: 5rem 0; }
.sol-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.sol-tab {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
    color: rgba(255,255,255,0.7);
}
.sol-tab.active, .sol-tab:hover {
    background: var(--pro-accent);
    color: white;
    border-color: var(--pro-accent);
}
.sol-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .sol-content { grid-template-columns: 1fr 1fr; }
}
.sol-img-box {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}
.sol-detail h3 { font-size: 2rem; margin-bottom: 1.5rem; }
.sol-detail p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 2rem; }
.sol-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.sf-item h4 { font-weight: bold; margin-bottom: 0.5rem; color: var(--pro-accent); }
.sf-item p { font-size: 0.9rem; color: rgba(255,255,255,0.5); }

/* 5. 合作流程条 */
.process-section { padding: 5rem 0; background: white; }
.process-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.process-wrapper::before {
    content: ''; position: absolute; top: 25px; left: 0; right: 0;
    height: 2px; background: #eee; z-index: 0;
}
.pro-step {
    position: relative; z-index: 1;
    background: white;
    width: 200px;
    text-align: center;
}
.step-circle {
    width: 50px; height: 50px;
    background: white; border: 2px solid var(--pro-blue);
    color: var(--pro-blue);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1.2rem;
    transition: all 0.3s;
}
.pro-step:hover .step-circle { background: var(--pro-blue); color: white; }
.step-txt h4 { font-weight: bold; margin-bottom: 0.5rem; color: var(--pro-dark); }
.step-txt p { font-size: 0.85rem; color: var(--text-secondary); }

/* 6. AI 亮点卡片 */
.ai-highlight {
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 16px;
    padding: 3rem;
    color: white;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.ai-text { flex: 1; min-width: 300px; margin-right: 2rem; }
.ai-text h3 { font-size: 2rem; margin-bottom: 1rem; }
.ai-tags span {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

/* --- 商业普及版鸿蒙板块样式 --- */
.hm-biz-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
}

.hm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 通用标题 */
.biz-title-box {
    text-align: center;
    margin-bottom: 3.5rem;
}
.biz-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}
.biz-title span { color: #0a59f7; } /* 鸿蒙蓝 */
.biz-desc {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 1. 核心价值三列布局 */
.value-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}
@media (min-width: 768px) {
    .value-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid transparent;
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border-top-color: #0a59f7;
}
.value-icon {
    font-size: 3rem;
    color: #0a59f7;
    margin-bottom: 1.5rem;
    background: #eff6ff;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}
.value-h3 { font-size: 1.25rem; font-weight: bold; margin-bottom: 1rem; }
.value-p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* 2. 场景化展示 (左图右文) */
.scene-section {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .scene-section { flex-direction: row; }
}

.scene-nav {
    background: #f1f5f9;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}
.scene-item {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}
.scene-item i { margin-right: 10px; width: 24px; }
.scene-item.active {
    background: #0a59f7;
    color: #fff;
    box-shadow: 0 4px 12px rgba(10, 89, 247, 0.3);
}

.scene-content {
    flex: 2;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.scene-tag {
    color: #0a59f7;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.scene-heading { font-size: 1.8rem; font-weight: bold; margin-bottom: 1rem; }
.scene-text { color: #555; line-height: 1.8; font-size: 1rem; }

/* 3. 流程图样式 */
.process-box {
    position: relative;
    margin-bottom: 5rem;
}
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 768px) {
    .process-steps { flex-direction: row; align-items: flex-start; }
}
.step-item {
    flex: 1;
    text-align: center;
    position: relative;
}
/* 连线 */
@media (min-width: 768px) {
    .step-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 25px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: #e2e8f0;
        z-index: 0;
    }
}
.step-num {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #0a59f7;
    color: #0a59f7;
    border-radius: 50%;
    line-height: 46px;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}
.step-title { font-weight: bold; margin-bottom: 0.5rem; font-size: 1.1rem; }
.step-info { font-size: 0.9rem; color: #666; padding: 0 1rem; }

/* 4. FAQ 折叠面板 (简化视觉) */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}
.faq-q {
    font-weight: bold;
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.faq-q i { color: #ff6600; margin-right: 10px; }
.faq-a {
    color: #64748b;
    line-height: 1.6;
    padding-left: 2rem;
}

.hongosa{
    background:white; color:#667eea; border:none; padding:12px 24px; border-radius:6px; font-weight:bold; cursor:pointer;
}
.hongosb{
    margin-top:1rem;
}
.hongosd{
    margin-bottom: 2rem;
}
.hongose{
    margin-top:2rem;
}
.hongosf{
    color: #0a59f7; font-weight:bold;
}
.hongosg{

}
.hongosh{

}
