/* 全局样式 */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --product-nav-active: false;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.navbar .nav-link {
    color: #333 !important;
}

.navbar .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(0, 123, 255, 0.15);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    transform: translateY(-1px);
}

.navbar .nav-link.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #0056b3);
    border-radius: 2px;
    animation: navActiveSlide 0.3s ease-out;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    border-radius: 8px;
    animation: navActiveGlow 2s ease-in-out infinite;
}

@keyframes navActiveGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes navActiveSlide {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60%;
        opacity: 1;
    }
}

/* 导航栏增强效果 */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* 导航栏品牌增强 */
.navbar-brand {
    position: relative;
    overflow: hidden;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.navbar-brand:hover::after {
    transform: translateX(0);
}

/* 导航栏切换按钮增强 */
.navbar-toggler {
    position: relative;
    overflow: hidden;
}

.navbar-toggler::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.navbar-toggler:hover::before {
    width: 40px;
    height: 40px;
}

/* 导航栏下拉菜单增强 */
.navbar-collapse {
    transition: all 0.3s ease;
}

.navbar-collapse.show {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 导航栏链接焦点状态 */
.nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
    border-radius: 8px;
}

/* 导航栏活跃状态指示器 */
.nav-item {
    position: relative;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    animation: navIndicator 0.3s ease-out;
}

@keyframes navIndicator {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 20px;
        opacity: 1;
    }
}

/* 确保选中状态持久显示 */
.nav-link.active,
.nav-item.active .nav-link {
    color: var(--primary-color) !important;
    background-color: rgba(0, 123, 255, 0.15);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    transform: translateY(-1px);
}

/* 选中状态的伪元素 */
.nav-link.active::before,
.nav-item.active .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #0056b3);
    border-radius: 2px;
    animation: navActiveSlide 0.3s ease-out;
}

.nav-link.active::after,
.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    border-radius: 8px;
    animation: navActiveGlow 2s ease-in-out infinite;
}

/* 移动端选中状态持久显示 */
@media (max-width: 768px) {
    .navbar-nav .nav-link.active,
    .nav-item.active .navbar-nav .nav-link {
        background-color: rgba(0, 123, 255, 0.15);
        color: var(--primary-color) !important;
        font-weight: 600;
        padding-left: 2rem;
        border-left: 4px solid var(--primary-color);
        box-shadow: inset 2px 0 0 var(--primary-color);
        transform: translateX(5px);
    }
    
    .navbar-nav .nav-link.active::after,
    .nav-item.active .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background: var(--primary-color);
        border-radius: 50%;
        animation: navActivePulse 2s ease-in-out infinite;
    }
}

/* 超小屏幕选中状态持久显示 */
@media (max-width: 480px) {
    .navbar-nav .nav-link.active,
    .nav-item.active .navbar-nav .nav-link {
        padding-left: 1.5rem;
        border-left-color: var(--primary-color);
        background: linear-gradient(90deg, rgba(0, 123, 255, 0.1), transparent);
        box-shadow: inset 3px 0 0 var(--primary-color);
        transform: translateX(3px);
    }
    
    .navbar-nav .nav-link.active::after,
    .nav-item.active .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background: var(--primary-color);
        border-radius: 50%;
        animation: navActivePulseSmall 2s ease-in-out infinite;
    }
    
    @keyframes navActivePulseSmall {
        0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
        50% { opacity: 1; transform: translateY(-50%) scale(1.3); }
    }
}

/* 产品详情页面导航特殊样式 */
.product-detail-page .navbar .nav-link.active {
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.1));
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.product-detail-page .navbar .nav-link.active::before {
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0056b3, var(--primary-color));
    animation: navActiveSlide 0.5s ease-out, navActiveGlow 3s ease-in-out infinite;
}

/* 产品页面导航增强 */
.nav-link[href="products.html"].active {
    position: relative;
    overflow: hidden;
}

.nav-link[href="products.html"].active::after {
    content: '📦';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    animation: productIconBounce 2s ease-in-out infinite;
}

@keyframes productIconBounce {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.2); }
}

/* 移动端产品页面导航增强 */
@media (max-width: 768px) {
    .nav-link[href="products.html"].active {
        background: linear-gradient(90deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.1));
        border-left: 4px solid var(--primary-color);
        padding-left: 2.5rem;
    }
    
    .nav-link[href="products.html"].active::after {
        content: '📦';
        right: 1rem;
        font-size: 1rem;
    }
}

/* 基于CSS变量的产品页面样式 */
.product-detail-page {
    --product-nav-active: true;
}

.product-detail-page .nav-link[href="products.html"].active {
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.25), rgba(0, 123, 255, 0.15));
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

.product-detail-page .nav-link[href="products.html"].active::before {
    width: 90%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #0056b3, var(--primary-color));
    animation: navActiveSlide 0.6s ease-out, navActiveGlow 2.5s ease-in-out infinite;
}

.product-detail-page .nav-link[href="products.html"].active::after {
    content: '📦';
    font-size: 1rem;
    animation: productIconBounce 1.5s ease-in-out infinite;
}

/* 产品页面导航悬停效果增强 */
.product-detail-page .nav-link[href="products.html"]:hover {
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.15), rgba(0, 123, 255, 0.05));
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.navbar-brand {
    color: #333 !important;
}

/* 导航栏切换按钮样式 */
.navbar-toggler {
    border-color: rgba(51, 51, 51, 0.3);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51, 51, 51, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 背景装饰 */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.bg-decoration::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

.bg-decoration::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* 服务图标增强 */
.service-icon {
    position: relative;
    display: inline-block;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* 团队卡片增强 */
.team-card {
    position: relative;
    overflow: hidden;
}

.team-card::before {
    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 ease;
}

.team-card:hover::before {
    left: 100%;
}

/* 联系图标增强 */
.contact-icon {
    position: relative;
    display: inline-block;
}

.contact-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: ripple 3s ease-in-out infinite;
}

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* 页面标题增强 */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: slide 2s ease-in-out infinite;
}

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 统计数字增强 */
.counter h3 {
    position: relative;
    display: inline-block;
}

.counter h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 按钮增强 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* 卡片阴影增强 */
.card {
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: inherit;
    pointer-events: none;
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.page-header::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* 服务卡片样式 */
.service-icon {
    transition: transform 0.3s ease;
}

.card:hover .service-icon {
    transform: scale(1.1);
}

.card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* 统计数据样式 */
.counter {
    transition: transform 0.3s ease;
}

.counter:hover {
    transform: scale(1.05);
}

/* 团队卡片样式 */
.team-card img {
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

/* 服务详情样式 */
.service-detail {
    padding: 2rem 0;
}

.service-detail .service-icon {
    transition: transform 0.3s ease;
}

.service-detail:hover .service-icon {
    transform: scale(1.1);
}

/* 流程步骤样式 */
.process-step {
    position: relative;
    display: inline-block;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-left: 20px;
}

/* 联系表单样式 */
.contact-icon {
    transition: transform 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1);
}

.map-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 交通指南样式 */
.transport-icon {
    transition: transform 0.3s ease;
}

.transport-icon:hover {
    transform: scale(1.1);
}

/* 常见问题样式 */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0,123,255,0.25);
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
}

/* 表单样式 */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 120px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    /* 增加卡片间距 */
    .card {
        margin-bottom: 2rem;
    }
    
    .card-body {
        padding: 2rem;
    }
    
    /* 增加按钮间距 */
    .btn {
        margin: 0.5rem;
    }
    
    /* 增加section间距 */
    section {
        padding: 3rem 0;
    }
    
    /* 增加行间距 */
    .row {
        margin-bottom: 2rem;
    }
    
    /* 增加文本间距 */
    p {
        margin-bottom: 1.5rem;
    }
    
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 1.5rem;
    }
    
    /* 增加导航栏间距 */
    .navbar-nav .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        margin: 0;
        border-radius: 0;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(0, 123, 255, 0.1);
        padding-left: 2rem;
    }
    
    .navbar-nav .nav-link.active {
        background-color: rgba(0, 123, 255, 0.15);
        color: var(--primary-color) !important;
        font-weight: 600;
        padding-left: 2rem;
        border-left: 4px solid var(--primary-color);
        box-shadow: inset 2px 0 0 var(--primary-color);
        transform: translateX(5px);
    }
    
    .navbar-nav .nav-link.active::before {
        display: none;
    }
    
    .navbar-nav .nav-link.active::after {
        content: '';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background: var(--primary-color);
        border-radius: 50%;
        animation: navActivePulse 2s ease-in-out infinite;
    }
    
    @keyframes navActivePulse {
        0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
        50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
    }
    
    /* 增加表单间距 */
    .form-control {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    /* 增加图标间距 */
    .service-icon {
        margin-bottom: 2rem;
    }
    
    /* 增加计数器间距 */
    .counter {
        margin-bottom: 2rem;
    }
    
    .counter h3 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
        margin: 0.75rem;
    }
    
    .card-body {
        padding: 2.5rem 1.5rem;
    }
    
    /* 增加更小的屏幕间距 */
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    /* 增加标题间距 */
    .display-5 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* 增加段落间距 */
    .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* 增加按钮组间距 */
    .d-flex.gap-3 {
        gap: 1rem !important;
        flex-direction: column;
    }
    
    .d-flex.gap-3 .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* 增加表单间距 */
    .form-control {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    /* 增加图标大小和间距 */
    .service-icon i {
        font-size: 2.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    /* 增加联系信息间距 */
    .text-center i {
        margin-bottom: 1.5rem;
    }
    
    /* 增加页脚间距 */
    footer {
        padding: 3rem 0;
    }
    
    /* 增加导航栏品牌间距 */
    .navbar-brand {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    
    /* 增加统计数字间距 */
    .counter h3 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* 增加关于我们部分间距 */
    #about .row {
        margin-bottom: 3rem;
    }
    
    #about .col-6 {
        margin-bottom: 1.5rem;
    }
    
    /* 增加服务卡片间距 */
    .card {
        margin-bottom: 2.5rem;
    }
    
    /* 增加联系表单间距 */
    .row.g-3 {
        gap: 1.5rem !important;
    }
    
    /* 增加文本选择间距 */
    .d-flex.align-items-center {
        margin-bottom: 1rem;
    }
    
    /* 增加图片间距 */
    img {
        margin-bottom: 2rem;
    }
}

/* 滚动平滑效果 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* 图片优化 */
img {
    max-width: 100%;
    height: auto;
}

/* 文字选择样式 */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* 焦点样式 */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    .navbar,
    .btn,
    .social-links {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .bg-primary {
        background: #f8f9fa !important;
        color: black !important;
    }
}

/* 移动端触摸优化 */
@media (max-width: 768px) {
    /* 触摸友好的按钮大小 */
    .btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 增加卡片触摸区域 */
    .card {
        cursor: pointer;
        transition: transform 0.2s ease;
    }
    
    .card:active {
        transform: scale(0.98);
    }
    
    /* 优化导航栏触摸 */
    .navbar-toggler {
        padding: 0.75rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* 增加链接触摸区域 */
    .nav-link {
        padding: 1rem 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* 优化表单触摸 */
    .form-control {
        min-height: 44px;
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    /* 增加图标触摸区域 */
    .service-icon {
        padding: 1rem;
        min-height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 优化统计数字显示 */
    .counter {
        padding: 2rem 1rem;
    }
    
    /* 增加页脚链接间距 */
    footer a {
        padding: 0.5rem 0;
        display: inline-block;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    /* 进一步增加间距 */
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    /* 优化标题大小 */
    .hero-section h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    /* 增加按钮间距 */
    .btn {
        margin: 0.75rem 0;
        width: 100%;
    }
    
    /* 优化卡片布局 */
    .card-body {
        padding: 2rem 1.5rem;
    }
    
    /* 增加文本可读性 */
    body {
        font-size: 16px;
        line-height: 1.7;
    }
    
    /* 优化图片显示 */
    img {
        border-radius: 8px;
    }
    
    /* 增加section间距 */
    section {
        padding: 3rem 0;
    }
    
    /* 优化导航栏 */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    /* 超小屏幕导航栏优化 */
    .navbar-nav .nav-link {
        padding: 1.2rem 1rem;
        font-size: 1rem;
        border-left: 3px solid transparent;
    }
    
    .navbar-nav .nav-link:hover {
        padding-left: 1.5rem;
        border-left-color: rgba(0, 123, 255, 0.3);
    }
    
    .navbar-nav .nav-link.active {
        padding-left: 1.5rem;
        border-left-color: var(--primary-color);
        background: linear-gradient(90deg, rgba(0, 123, 255, 0.1), transparent);
        box-shadow: inset 3px 0 0 var(--primary-color);
        transform: translateX(3px);
    }
    
    .navbar-nav .nav-link.active::after {
        content: '';
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background: var(--primary-color);
        border-radius: 50%;
        animation: navActivePulseSmall 2s ease-in-out infinite;
    }
    
    @keyframes navActivePulseSmall {
        0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
        50% { opacity: 1; transform: translateY(-50%) scale(1.3); }
    }
    
    /* 增加联系信息间距 */
    .text-center {
        padding: 1.5rem 0;
    }
    
    /* 优化表单布局 */
    .form-control {
        margin-bottom: 1.5rem;
    }
    
    /* 增加图标间距 */
    .service-icon i {
        margin-bottom: 2rem;
    }
    
    /* 优化统计数字 */
    .counter h3 {
        font-size: 2rem;
    }
    
    /* 增加页脚间距 */
    footer {
        padding: 2rem 0;
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* 产品页面移动端优化 */
@media (max-width: 768px) {
    /* 产品详情页优化 */
    .product-detail {
        padding: 2rem 0;
        text-align: center;
    }
    
    .product-detail h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .product-detail .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .product-detail ul {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .product-detail li {
        margin-bottom: 1rem;
        padding: 0.5rem 0;
    }
    
    .product-icon {
        margin-bottom: 2rem;
    }
    
    .product-icon i {
        font-size: 3rem !important;
    }
    
    /* 产品卡片优化 */
    .product-card {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }
    
    /* 页面头部优化 */
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .page-header .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* 产品优势部分优化 */
    .advantage-item {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .advantage-item i {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* 产品列表优化 */
    .product-list .row {
        margin-bottom: 3rem;
    }
    
    .product-list img {
        margin-bottom: 2rem;
    }
    
    /* 按钮组优化 */
    .product-detail .btn {
        width: 100%;
        margin: 1rem 0;
        padding: 1rem 2rem;
    }
    
    /* 图片优化 */
    .product-detail img {
        margin: 2rem 0;
        border-radius: 12px;
    }
}

/* 产品页面超小屏幕优化 */
@media (max-width: 480px) {
    .product-detail {
        padding: 1.5rem 0;
    }
    
    .product-detail h2 {
        font-size: 1.5rem;
    }
    
    .product-detail .lead {
        font-size: 0.95rem;
    }
    
    .product-detail ul {
        font-size: 0.9rem;
    }
    
    .product-icon i {
        font-size: 2.5rem !important;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header .lead {
        font-size: 1rem;
    }
    
    .advantage-item {
        padding: 1rem;
    }
    
    .advantage-item i {
        font-size: 2rem;
    }
    
    .product-detail .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* 联系页面移动端优化 */
@media (max-width: 768px) {
    /* 联系信息卡片优化 */
    .contact-info-card {
        margin-bottom: 2rem;
        padding: 2rem 1rem;
    }
    
    .contact-icon {
        margin-bottom: 1.5rem;
    }
    
    .contact-icon i {
        font-size: 2.5rem;
    }
    
    /* 联系表单优化 */
    .contact-form {
        padding: 2rem 1rem;
    }
    
    .contact-form .card-body {
        padding: 2rem 1.5rem;
    }
    
    .contact-form h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-form .form-label {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 1rem;
        font-size: 16px;
        margin-bottom: 1rem;
    }
    
    .contact-form textarea {
        min-height: 120px;
    }
    
    /* 表单按钮优化 */
    .contact-form .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        margin-top: 1rem;
    }
    
    /* 地图容器优化 */
    .map-container {
        height: 300px;
        margin: 2rem 0;
    }
    
    .map-placeholder {
        padding: 3rem 1rem;
    }
    
    .map-placeholder i {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    /* 常见问题优化 */
    .faq-section {
        padding: 2rem 0;
    }
    
    .accordion-button {
        padding: 1.5rem;
        font-size: 1rem;
        font-weight: 600;
    }
    
    .accordion-body {
        padding: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* 联系信息优化 */
    .contact-info h5 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* 联系页面超小屏幕优化 */
@media (max-width: 480px) {
    .contact-form .card-body {
        padding: 1.5rem 1rem;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 0.75rem;
        font-size: 16px;
    }
    
    .contact-form textarea {
        min-height: 100px;
    }
    
    .contact-form .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .map-container {
        height: 250px;
    }
    
    .map-placeholder {
        padding: 2rem 1rem;
    }
    
    .map-placeholder i {
        font-size: 2.5rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .contact-info h5 {
        font-size: 1.1rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    /* 表单标签优化 */
    .form-label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    /* 复选框优化 */
    .form-check {
        margin: 1.5rem 0;
    }
    
    .form-check-label {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* 联系图标优化 */
    .contact-icon i {
        font-size: 2rem;
    }
} 