/* 全局样式 */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
    padding-top: 40px; /* 为顶部栏留出空间 */
}

/* 顶部栏 */
.top-bar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar-text {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
}

.top-bar-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

/* 导航栏样式 */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    top: 40px !important; /* 调整导航栏位置，在顶部栏下方 */
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* 横幅区域 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,138.7,864,138.7C960,138.7,1056,117.3,1152,112C1248,106.7,1344,117.3,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

/* Banner轮播图 */
.banner-section {
    position: relative;
}

.banner-section .carousel-item {
    height: 600px;
}

.banner-section .carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.banner-section .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-section .carousel-caption h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.banner-section .carousel-caption p {
    font-size: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.banner-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

.banner-section .carousel-control-prev,
.banner-section .carousel-control-next {
    width: 5%;
}

/* 数据统计区域 - 科技风格 */
.stats-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* 网格背景效果 */
.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.stat-item {
    position: relative;
    z-index: 1;
}

.stat-card {
    position: relative;
    padding: 40px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1);
}

/* 光晕效果 */
.stat-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-card:hover .stat-glow {
    opacity: 1;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-icon {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.stat-icon i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.counter {
    position: relative;
    z-index: 2;
    font-size: 3.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-weight: 800;
    letter-spacing: -1px;
}

.stat-label {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 装饰线条 */
.stat-line {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 3px;
    margin: 20px auto 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.stat-card:hover .stat-line {
    width: 100px;
    transition: width 0.3s ease;
}

/* 粒子动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stat-item:nth-child(1) .stat-card {
    animation: float 6s ease-in-out infinite;
}

.stat-item:nth-child(2) .stat-card {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

.stat-item:nth-child(3) .stat-card {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.stat-card:hover {
    animation-play-state: paused;
}

/* 合作伙伴区域 */
.partners-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
}

.partner-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.5s;
}

.partner-card:hover::before {
    left: 100%;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.partner-logo {
    width: 70px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    color: #667eea;
    font-size: 1.75rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
}

.partner-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.1) rotate(5deg);
    color: #764ba2;
}

.partner-card:hover .partner-img {
    transform: scale(1.1);
}

.partner-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: #667eea;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partner-card {
        padding: 20px 15px;
    }
    
    .partner-logo {
        width: 60px;
        height: 45px;
        font-size: 1.5rem;
        padding: 6px 10px;
    }
    
    .partner-name {
        font-size: 1rem;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .team-avatar {
        width: 120px;
        height: 120px;
    }
    
    .page-header {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    /* Banner轮播图移动端适配 */
    .banner-section .carousel-item {
        height: 300px;
    }
    
    .banner-section .carousel-caption h3 {
        font-size: 1.5rem;
    }
    
    .banner-section .carousel-caption p {
        font-size: 1rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 卡片悬停效果增强 */
.card {
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.card:hover::after {
    left: 100%;
}

/* 分页样式 */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    margin: 0 5px;
    border-radius: 5px !important;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
}

/* 手风琴样式 */
.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 登录模态框样式 */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem 1.5rem;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

#loginForm .input-group-text {
    background: #f8f9fa;
    border-right: none;
}

#loginForm .form-control {
    border-left: none;
}

#loginForm .form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

#loginForm .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
}

#loginForm .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

#loginForm .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 列表组样式 */
.list-group-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: rgba(13, 110, 253, 0.05);
}

.list-group-item a {
    color: inherit;
    text-decoration: none;
}

.list-group-item a:hover {
    color: var(--primary-color);
}

/* 页脚链接样式 */
footer .list-unstyled li a {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    color: rgba(255, 255, 255, 0.75) !important;
}

footer .list-unstyled li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

footer .list-unstyled li a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

footer .list-unstyled li a:hover::after {
    width: 100%;
}

/* 禁用链接样式 */
footer .list-unstyled li a[href="javascript:void(0)"] {
    cursor: not-allowed;
    opacity: 0.6;
}

footer .list-unstyled li a[href="javascript:void(0)"]:hover {
    transform: none;
    color: rgba(255, 255, 255, 0.75) !important;
}

footer .list-unstyled li a[href="javascript:void(0)"]:hover::after {
    width: 0;
}

/* ==================== 响应式设计 ==================== */

/* 平板设备 (768px - 991px) */
@media (max-width: 991.98px) {
    /* 顶部栏调整 */
    .top-bar {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .top-bar-text {
        font-size: 0.8rem;
    }
    
    .top-bar-link {
        padding: 2px 6px;
        font-size: 0.8rem;
    }
    
    /* 导航栏调整 */
    .navbar {
        top: 36px !important;
    }
    
    body {
        padding-top: 36px;
    }
    
    /* Hero区域调整 */
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p.lead {
        font-size: 1rem;
    }
    
    /* 卡片间距调整 */
    .service-card,
    .product-card,
    .team-card,
    .news-card {
        margin-bottom: 20px;
    }
    
    /* 统计数据调整 */
    .stat-item {
        margin-bottom: 20px;
    }
    
    /* 侧边栏调整 */
    .sidebar {
        margin-top: 40px;
    }
}

/* 手机设备 (最大767px) */
@media (max-width: 767.98px) {
    /* 顶部栏移动端优化 */
    .top-bar {
        padding: 8px 0;
        font-size: 0.75rem;
    }
    
    .top-bar .row {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar .col-md-6 {
        width: 100%;
        margin-bottom: 4px;
    }
    
    .top-bar .col-md-6.text-end {
        text-align: center !important;
    }
    
    .top-bar-divider {
        display: none;
    }
    
    .top-bar-link {
        padding: 4px 10px;
        margin: 0 5px;
    }
    
    /* 导航栏移动端 */
    .navbar {
        top: 60px !important;
        padding: 10px 0;
    }
    
    body {
        padding-top: 60px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    /* Hero区域移动端 */
    .hero-section {
        padding: 140px 0 40px;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }
    
    .hero-section p.lead {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-section .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 5px;
    }
    
    /* 页面标题区域 */
    .page-header {
        padding: 40px 0 !important;
        margin-top: 60px !important;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    /* 通用标题调整 */
    h1.display-4 {
        font-size: 2rem;
    }
    
    h2.display-5 {
        font-size: 1.75rem;
    }
    
    h3.h4 {
        font-size: 1.1rem;
    }
    
    /* 卡片移动端优化 */
    .service-card,
    .product-card,
    .team-card,
    .news-card {
        margin-bottom: 15px;
        padding: 15px !important;
    }
    
    .card-body {
        padding: 15px !important;
    }
    
    /* 团队卡片 */
    .team-card img {
        height: 200px !important;
    }
    
    /* 产品图片 */
    .product-image {
        height: 200px !important;
    }
    
    /* 统计数据 */
    .stat-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* 按钮组 */
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 5px;
    }
    
    /* 表单元素 */
    .form-control,
    .btn {
        font-size: 14px;
    }
    
    /* 页脚调整 */
    footer {
        padding: 30px 0 !important;
    }
    
    footer h4,
    footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px !important;
    }
    
    footer p {
        font-size: 0.85rem;
    }
    
    footer .social-links a {
        margin: 0 8px !important;
    }
    
    footer .list-unstyled li {
        margin-bottom: 8px;
    }
    
    /* 面包屑导航 */
    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    /* 分页 */
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    /* 公告详情 */
    .news-detail-card {
        padding: 20px !important;
    }
    
    .news-cover img {
        max-height: 250px !important;
    }
    
    blockquote.blockquote {
        padding: 15px !important;
        font-size: 0.9rem;
    }
    
    /* 分享按钮 */
    .d-flex.gap-2 {
        flex-wrap: wrap;
    }
    
    /* 标签 */
    .badge {
        font-size: 0.7rem;
        padding: 0.35em 0.65em;
    }
    
    /* 回到顶部按钮 */
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 15px;
        right: 15px;
    }
    
    /* 间距调整 */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    /* 网格系统优化 */
    .row > [class*="col-"] {
        margin-bottom: 15px;
    }
    
    /* 图片响应式 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 表格响应式 */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* 超小屏幕 (最大575px) */
@media (max-width: 575.98px) {
    /* 顶部栏进一步简化 */
    .top-bar {
        font-size: 0.7rem;
    }
    
    .top-bar-text i {
        display: none;
    }
    
    .top-bar-link {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .top-bar-link i {
        display: none;
    }
    
    /* Hero区域 */
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section p.lead {
        font-size: 0.85rem;
    }
    
    /* 标题 */
    h1.display-4 {
        font-size: 1.75rem;
    }
    
    h2.display-5 {
        font-size: 1.5rem;
    }
    
    /* 卡片 */
    .card {
        border-radius: 8px;
    }
    
    /* 按钮 */
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* 统计数字 */
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 40px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
}

/* 打印样式 */
@media print {
    .top-bar,
    .navbar,
    .back-to-top,
    footer {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .top-bar {
        background: #000;
    }
    
    .top-bar-link {
        color: #fff;
        text-decoration: underline;
    }
    
    .btn-outline-primary {
        border-width: 2px;
    }
}

/* 减少动画偏好支持 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==================== 实用响应式工具类 ==================== */

/* 移动端隐藏/显示控制 */
.d-mobile-none {
    display: none !important;
}

@media (max-width: 767.98px) {
    .d-mobile-block {
        display: block !important;
    }
    
    .d-mobile-flex {
        display: flex !important;
    }
    
    .d-mobile-inline {
        display: inline !important;
    }
    
    .d-mobile-inline-block {
        display: inline-block !important;
    }
    
    .d-desktop-none {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .d-mobile-none {
        display: block !important;
    }
}

/* 移动端文本对齐 */
@media (max-width: 767.98px) {
    .text-mobile-center {
        text-align: center !important;
    }
    
    .text-mobile-start {
        text-align: left !important;
    }
    
    .text-mobile-end {
        text-align: right !important;
    }
}

/* 移动端间距调整 */
@media (max-width: 767.98px) {
    .p-mobile-sm {
        padding: 0.5rem !important;
    }
    
    .m-mobile-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .w-mobile-full {
        width: 100% !important;
    }
}

/* 图片响应式优化 */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 视频容器响应式 */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 表格响应式增强 */
.table-mobile-card {
    display: block;
}

@media (max-width: 767.98px) {
    .table-mobile-card thead {
        display: none;
    }
    
    .table-mobile-card tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
        padding: 0.5rem;
    }
    
    .table-mobile-card td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .table-mobile-card td:last-child {
        border-bottom: none;
    }
    
    .table-mobile-card td::before {
        content: attr(data-label);
        font-weight: bold;
        margin-right: 1rem;
    }
}

/* 导航栏移动端优化 */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(33, 37, 41, 0.98);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 0.25rem;
        margin: 0.25rem 0;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* 卡片移动端优化 */
@media (max-width: 767.98px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

/* 按钮组移动端优化 */
@media (max-width: 575.98px) {
    .btn-group-mobile-stack {
        flex-direction: column;
    }
    
    .btn-group-mobile-stack .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group-mobile-stack .btn:last-child {
        margin-bottom: 0;
    }
}

/* 表单移动端优化 */
@media (max-width: 767.98px) {
    .form-control,
    .form-select {
        font-size: 16px; /* 防止iOS自动缩放 */
    }
    
    .input-group {
        flex-wrap: wrap;
    }
    
    .input-group > .form-control,
    .input-group > .form-select,
    .input-group > .input-group-text,
    .input-group > .btn {
        flex: 1 1 auto;
        width: 1%;
        min-width: 0;
    }
}

/* 模态框移动端优化 */
@media (max-width: 767.98px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-content {
        border-radius: 0.5rem;
    }
}

/* 轮播图移动端优化 */
@media (max-width: 767.98px) {
    .carousel-item img {
        height: 200px;
        object-fit: cover;
    }
}

/* 手风琴移动端优化 */
@media (max-width: 767.98px) {
    .accordion-button {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
    
    .accordion-body {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* 列表组移动端优化 */
@media (max-width: 767.98px) {
    .list-group-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* 进度条移动端优化 */
@media (max-width: 767.98px) {
    .progress {
        height: 0.75rem;
    }
}

/* 徽章移动端优化 */
@media (max-width: 575.98px) {
    .badge {
        font-size: 0.7rem;
        padding: 0.3em 0.5em;
    }
}

/* 警告框移动端优化 */
@media (max-width: 767.98px) {
    .alert {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .alert-dismissible .btn-close {
        padding: 0.75rem;
    }
}

/* ==================== 公告详情页移动端优化 ==================== */
@media (max-width: 767.98px) {
    /* 移除顶部留白，因为隐藏了顶部栏和导航栏 */
    body {
        padding-top: 0 !important;
    }
    
    /* 文章内容优化 */
    .news-detail-card {
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 -15px;
    }
    
    .news-content {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .news-content h2 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .news-content p {
        margin-bottom: 1rem;
    }
    
    .news-content ul li {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    /* 引用块优化 */
    blockquote.blockquote {
        padding: 1rem !important;
        font-size: 0.9rem;
        margin: 1rem 0;
    }
    
    /* 应用场景卡片 */
    .news-content .row.g-3 > div {
        margin-bottom: 0.75rem;
    }
    
    /* 提示框 */
    .alert-info {
        background-color: #e7f3ff;
        border-left: 3px solid #0d6efd;
        border-radius: 4px;
    }
    
    /* 封面图片 */
    .news-cover {
        margin: 1rem -15px;
    }
    
    .news-cover img {
        border-radius: 0;
        max-height: 220px;
    }
    
    /* 元数据简化 */
    .news-detail-card header .badge {
        font-size: 0.75rem;
        padding: 0.3em 0.6em;
    }
    
    /* 段落间距优化 */
    .lead {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* 底部浮动按钮安全区域 */
    .position-fixed.bottom-0 {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
}

/* ==================== 图片响应式优化 ==================== */

/* 确保所有图片在移动端自适应 */
img {
    max-width: 100%;
    height: auto;
}

/* 产品图片优化 */
.product-card img,
.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (max-width: 767.98px) {
    .product-card img,
    .card-img-top {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .product-card img,
    .card-img-top {
        height: 180px;
    }
}

/* 团队头像优化 */
.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 767.98px) {
    .team-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 575.98px) {
    .team-avatar {
        width: 80px;
        height: 80px;
    }
}

/* Hero背景图优化 */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Logo和图标容器优化 */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-container img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .logo-container {
        padding: 10px;
    }
    
    .logo-container img {
        max-height: 40px;
    }
}

/* 合作伙伴Logo网格优化 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
}

@media (max-width: 767.98px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 575.98px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* 封面图片优化 */
.news-cover img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 0.5rem;
}

@media (max-width: 767.98px) {
    .news-cover img {
        max-height: 250px;
    }
}

@media (max-width: 575.98px) {
    .news-cover img {
        max-height: 200px;
    }
}

/* SVG图标响应式 */
.svg-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* 背景图片层优化 */
.bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.bg-image > * {
    position: relative;
    z-index: 2;
}

/* 懒加载图片占位符 */
.img-lazy {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.img-lazy.loaded {
    animation: none;
    background: transparent;
}

/* 高清图支持 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .retina-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ==================== 移动端触摸优化 ==================== */

/* 增大触摸目标 */
@media (max-width: 767.98px) {
    /* 链接触摸区域 */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* 按钮触摸优化 */
    .btn {
        min-height: 44px;
        padding: 10px 20px;
    }
    
    /* 表单元素触摸优化 */
    input, select, textarea {
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    /* 下拉菜单优化 */
    .dropdown-menu {
        border: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .dropdown-item {
        padding: 12px 20px;
    }
}

/* 禁用双击缩放 */
* {
    touch-action: manipulation;
}

/* 滚动优化 */
html {
    scroll-behavior: smooth;
}

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

/* 移动端滚动条美化 */
@media (max-width: 767.98px) {
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}

/* 视口单位修复（移动端浏览器地址栏问题） */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
}

/* 安全区域适配（iPhone X及以上） */
@supports (padding: max(0px)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    .top-bar {
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
    }
    
    .navbar {
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
    }
    
    footer {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    /* 可以在这里添加深色模式的特定样式 */
    /* 目前网站已经有深色页脚，所以不需要全局深色模式 */
}

/* 打印优化 */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a, a:visited {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    img {
        max-width: 100% !important;
    }
    
    .no-print {
        display: none !important;
    }
}

/* ==================== 公司介绍页面样式 ==================== */

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), #764ba2);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

/* 企业文化图标 */
.culture-icon {
    transition: transform 0.3s ease;
}

.card:hover .culture-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 证书卡片 */
.certificate-card {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

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

.certificate-card:hover .certificate-icon {
    transform: scale(1.1);
}

/* 紫色文本颜色 */
.text-purple {
    color: #6f42c1 !important;
}

/* 资质证件照片卡片 */
.certificate-photo-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.certificate-photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.photo-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f8f9fa;
}

.certificate-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.certificate-photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-info {
    padding: 1.25rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
}
