/* ============================================
   布巴斯科技企业网站 - 主样式文件
   ============================================ */

/* CSS变量定义 */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
}

/* 基础重置和全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* 段落标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   导航栏样式
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   主页横幅样式
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: #5a6c7d;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #667eea;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* ============================================
   关于我们样式
   ============================================ */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

/* 垂直section样式 */
.about-sections {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.about-section {
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    /* 滚动动画初始状态 */
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.about-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-section.animate-in:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* 不同section的背景渐变 - 低饱和度版本 */
.about-section.overview-section {
    background: linear-gradient(135deg, #8b9dc3 0%, #9d8bb3 100%);
    color: white;
}

.about-section.technology-section {
    background: linear-gradient(135deg, #daa5d9 0%, #d4919c 100%);
    color: white;
}

.about-section.core-section {
    background: linear-gradient(135deg, #7cb9d8 0%, #6bb8d8 100%);
    color: white;
}

.about-section.products-section {
    background: linear-gradient(135deg, #7dc49c 0%, #7bc7b8 100%);
    color: white;
}

/* section头部样式 */
.section-header-inline {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.section-title-inline {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    margin-right: 20px;
    white-space: nowrap;
}

.section-decoration {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.section-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 48px;
    opacity: 0.1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-item h4 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    opacity: 0.95;
}

.about-item p {
    line-height: 1.8;
    font-size: 16px;
    opacity: 0.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
}

.stat-number2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}



/* 特色工艺页面样式 */
.technology-content {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tech-text h4 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    opacity: 0.95;
    color: #fff;
}

.tech-text > p {
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 30px;
    
}

.tech-features {
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
}

.feature-item i {
    font-size: 24px;
    margin-top: 3px;
    opacity: 0.8;
}

.feature-content h5 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    opacity: 0.95;
}

.feature-content p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}

.tech-image {
    text-align: center;
}

.tech-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.tech-image img:hover {
    transform: scale(1.02);
}

.image-caption, .media-caption {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* 核心技术页面样式 */
.core-tech-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mems-section {
    margin-bottom: 50px;
    text-align: center;
}

.mems-section h4 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    opacity: 0.95;
}

.mems-section > p {
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mems-image {
    text-align: center;
}

.mems-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* 微流控系统搭建样式 */
.microfluidic-section {
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.15);
}

.microfluidic-section h4 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    opacity: 0.95;
}

.microfluidic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.microfluidic-text > p {
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-list {
    display: grid;
    gap: 25px;
    color: #fff;
    grid-template-columns: 1fr 1fr;
}

.service-group {
    color: #fff;
}

.service-group h6 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
    opacity: 0.95;
}

.service-group ul {
    list-style: none;
    padding: 0;
}

.service-group li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}

.service-group li:before {
    content: '▸';
    position: absolute;
    left: 0;
    font-weight: bold;
    opacity: 0.7;
}

.microfluidic-media {
    text-align: center;
}

.system-video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* 产品展示页面样式 */
.products-content {
    max-width: 1200px;
    margin: 0 auto;
}

.products-content h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: center;
}

.product-categories {
    display: grid;
    gap: 40px;
}

.product-category {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-category h4 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    opacity: 0.95;
}

.product-category > p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.85;
}

/* 传感器网格 */
.sensor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.sensor-item {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    color: #2c3e50 !important;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 1 !important;
}

.sensor-item:hover {
    transform: translateY(-3px);
    background: white !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
}

.sensor-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50 !important;
    opacity: 1 !important;
    display: block;
}

/* 强制覆盖父容器的白色文字设置 */
.about-section.products-section .sensor-item,
.about-section.products-section .sensor-item *,
.about-section.products-section .sensor-name {
    color: #2c3e50 !important;
}

/* 生物产品展示 */
.bio-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.bio-product {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bio-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.bio-product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h5 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 微信二维码样式 */
.contact-item.wechat-item {
    grid-column: span 2;
    text-align: center;
}

.wechat-qr {
    margin-top: 15px;
}

.wechat-qr img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wechat-qr p {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about-sections {
        gap: 30px;
    }
    
    .about-section {
        padding: 30px 20px;
    }
    
    .section-title-inline {
        font-size: 24px;
    }
    
    .section-icon {
        font-size: 32px;
        top: 20px;
        right: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-overview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-overview .tech-image {
        order: -1;
    }
    
    .microfluidic-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .microfluidic-text {
        order: 1;
    }
    
    .microfluidic-media {
        order: -1;
    }
    
    .bio-products {
        grid-template-columns: 1fr;
    }
    
    .sensor-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .contact-item.wechat-item {
        grid-column: span 1;
    }
    
    .microfluidic-section {
        padding: 25px;
    }
    
    .product-category {
        padding: 20px;
    }
}

/* ============================================
   服务项目样式
   ============================================ */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-description {
    color: #5a6c7d;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: #5a6c7d;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 600;
}

/* ============================================
   技术实力样式
   ============================================ */
.technology {
    padding: 100px 0;
    background: white;
}

.tech-content {
    display: grid;
    gap: 60px;
}

.tech-equipment h3,
.tech-capabilities h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.equipment-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-5px);
}

.equipment-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.equipment-item h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.equipment-item p {
    color: #5a6c7d;
    line-height: 1.6;
}

.capability-list {
    display: grid;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.capability-item:hover {
    transform: translateX(10px);
}

.capability-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.capability-content h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.capability-content p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* ============================================
   成功案例样式
   ============================================ */
.cases {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 30px;
}

.case-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.case-client {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 15px;
}

.case-description {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   联系我们样式
   ============================================ */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-details p {
    color: #5a6c7d;
}

/* 表单样式 */
.form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   页脚样式
   ============================================ */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-contact p {
    margin-bottom: 12px;
    color: #bdc3c7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #667eea;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #bdc3c7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   返回顶部按钮
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ============================================
   动画效果
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 通用工具类 */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}



/* 响应式调整 */
