/* ==================== 暗黑系风格 - 灰色调 ==================== */
:root {
    /* 主色 - 深灰色调 */
    --primary: #6b7280;
    --primary-hover: #9ca3af;
    
    /* 文字灰度 */
    --text-dark: #f3f4f6;
    --text-normal: #d1d5db;
    --text-light: #9ca3af;
    
    /* 背景 */
    --bg-white: #111827;
    --bg-gray: #1f2937;
    
    /* 卡片背景 */
    --card-bg: #374151;
    
    /* 间距 */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 96px;
    --space-3xl: 128px;
}

/* ==================== 全局 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ==================== 视差滚动效果 ==================== */
.parallax {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
    filter: brightness(1.1) saturate(1.05);
}

/* ==================== 元素渐入动画 - 苹果风格优化 ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 背景渐变和切换 - 暗黑系风格 ==================== */
.bg-gradient-1 {
    background: #111827;
}

.bg-gradient-2 {
    background: #1f2937;
}

.bg-gradient-3 {
    background: #1a2332;
}

/* ==================== 滚动触发的背景切换 ==================== */
.section {
    transition: background-color 0.5s ease, transform 0.5s ease;
}

.section:hover {
    transform: translateY(-2px);
}

/* ==================== 玻璃拟态效果 ==================== */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==================== 苹果风格阴影 ==================== */
.apple-shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
                0 8px 24px rgba(0, 0, 0, 0.06);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==================== 导航 - 苹果风格优化 ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    background-color: rgba(17, 24, 39, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

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

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    gap: 12px;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.nav-item:hover {
    color: var(--primary-hover);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-item.active {
    color: var(--primary-hover);
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.nav-item.logo {
    padding: 0;
    margin-right: 20px;
}

.logo-image {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.nav-item:first-child:not(.logo) {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-right: 20px;
    opacity: 1;
    color: #ffffff;
}

.nav-item:first-child:not(.logo):hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-hover);
}

/* ==================== 主内容区域 ==================== */
main {
    flex: 1;
    padding-top: 80px;
    width: 100%;
}

/* ==================== Banner - 满屏大气 ==================== */
.carousel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
}

.carousel-item {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 100;
    max-width: 800px;
    padding: 0 24px;
    text-align: center;
    color: white;
}

.carousel-title {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: white;
    line-height: 1;
    margin-bottom: 28px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-subtitle {
    font-size: 26px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.carousel-tagline {
    font-size: 26px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.08em;
    margin-bottom: 56px;
}

.carousel-links {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.carousel-link {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 8px 0;
    border-bottom: 1px solid white;
    transition: all 0.25s ease;
    background: transparent;
}

.carousel-link:hover {
    color: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

/* ==================== 板块通用 - 适度留白 ==================== */
.section {
    padding: var(--space-lg) 24px;
    text-align: center;
    background-color: var(--bg-white);
}

.section-compact {
    padding: var(--space-md) 24px;
    text-align: center;
    background-color: var(--bg-white);
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 56px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-normal);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.001em;
}

/* ==================== 统计数据 - 优雅大气 ==================== */
.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-3xl);
    padding: var(--space-3xl) 24px;
    background-color: var(--bg-white);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-normal);
    letter-spacing: 0.01em;
}

/* ==================== 服务网格 - 极简卡片 ==================== */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    padding: var(--space-2xl) 24px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg-white);
}

/* ==================== 联系信息网格 ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.grid-item-title {
    font-size: 19px;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.grid-item-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-normal);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

/* ==================== 链接按钮 - 克制统一 ==================== */
.case-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 6px 0;
    border-bottom: 1px solid var(--primary);
    transition: all 0.25s ease;
}

.case-link:hover {
    color: var(--primary-hover);
    border-bottom-color: var(--primary-hover);
}

/* ==================== 按钮样式 - 苹果风格优化 ==================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

/* ==================== 页脚 - 轻盈简约 ==================== */
footer {
    padding: var(--space-xl) 24px;
    background-color: var(--bg-white);
    text-align: center;
}

.footer-container {
    max-width: 980px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: var(--text-normal);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid var(--bg-gray);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ==================== 团队卡片 ==================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    padding: var(--space-2xl) 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background-color: var(--bg-gray);
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.team-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-position {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-normal);
    margin-bottom: var(--space-xs);
}

.team-description {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 案例卡片 ==================== */
.case-card {
    margin-bottom: var(--space-lg);
}

.case-image {
    width: 100%;
    height: 320px;
    background-color: var(--bg-gray);
    border-radius: 12px;
    margin-bottom: var(--space-md);
    overflow: hidden;
}

/* ==================== 图片样式 - 苹果风格优化 ==================== */
.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-image:hover img {
    transform: scale(1.03);
}

.case-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.case-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.case-description {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-normal);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

/* ==================== 案例展示 ==================== */
.case-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    padding: var(--space-md) 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-featured {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.case-featured img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 32px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.case-featured:hover .case-overlay {
    transform: translateY(0);
}

.case-overlay h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-overlay p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

/* ==================== 案例简介 ==================== */
.case-intro-section {
    padding: var(--space-sm) 24px;
    text-align: center;
}

.case-intro {
    max-width: 900px;
    margin: 0 auto;
}

.case-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-normal);
    text-align: justify;
    margin: 0;
}

/* ==================== 测量网格 ==================== */
.measurement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: var(--space-md) 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.measurement-item {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    height: 160px;
}

.measurement-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.measurement-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==================== 流程步骤 ==================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    padding: var(--space-md) 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step-item {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.process-step-item .step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.process-step-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.process-step-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-normal);
    margin: 0;
}

/* ==================== 设备网格 ==================== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding: var(--space-2xl) 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.equipment-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: var(--bg-white);
    height: 250px;
}

.equipment-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.equipment-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.equipment-item:hover img {
    transform: scale(1.05);
}

.equipment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.equipment-item:hover .equipment-overlay {
    transform: translateY(0);
}

.equipment-overlay h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.equipment-overlay p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

/* ==================== 能力网格 ==================== */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-2xl) 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: var(--space-xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.capability-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.capability-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 20px;
}

.capability-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.capability-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-normal);
    margin: 0;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .measurement-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .case-showcase {
        grid-template-columns: 1fr;
        padding: var(--space-xl) 24px;
    }
    
    .case-featured img {
        height: 300px;
    }
    
    .measurement-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 32px 24px;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--space-xl) 24px;
    }
    
    .capability-grid {
        grid-template-columns: 1fr;
        padding: var(--space-xl) 24px;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .measurement-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}



/* ==================== 图片画廊 ==================== */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding: var(--space-2xl) 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.image-item:hover {
    transform: translateY(-2px);
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    background-color: var(--bg-white);
}

.image-caption {
    padding: var(--space-sm);
    text-align: center;
    font-size: 13px;
    color: var(--text-normal);
    font-weight: 400;
}

/* ==================== 证书 ==================== */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(3, 420px);
    gap: var(--space-xl);
    padding: var(--space-2xl) 24px;
    max-width: 1450px;
    margin: 0 auto;
    justify-content: center;
}

@media (max-width: 1450px) {
    .certificate-grid {
        grid-template-columns: repeat(2, 420px);
        max-width: 1000px;
    }
}

@media (max-width: 1000px) {
    .certificate-grid {
        grid-template-columns: repeat(1, 420px);
        max-width: 550px;
    }
}

.certificate-item {
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(55, 65, 81, 0.8) 100%);
    border-radius: 16px;
    padding: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.certificate-item:nth-child(1) { animation-delay: 0.1s; }
.certificate-item:nth-child(2) { animation-delay: 0.2s; }
.certificate-item:nth-child(3) { animation-delay: 0.3s; }
.certificate-item:nth-child(4) { animation-delay: 0.4s; }
.certificate-item:nth-child(5) { animation-delay: 0.5s; }
.certificate-item:nth-child(6) { animation-delay: 0.6s; }
.certificate-item:nth-child(7) { animation-delay: 0.7s; }
.certificate-item:nth-child(8) { animation-delay: 0.8s; }
.certificate-item:nth-child(n+9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.certificate-item:hover::before {
    left: 100%;
}

.certificate-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--primary));
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.certificate-item:hover::after {
    opacity: 1;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.certificate-image-wrapper {
    position: relative;
    width: 100%;
}

.certificate-image {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.95);
}

.watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.watermark-text {
    color: rgba(150, 150, 150, 0.3);
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
    transform: rotate(-30deg);
    text-shadow: 0 0 10px rgba(150, 150, 150, 0.2);
}

.certificate-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.certificate-item:hover .certificate-image {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* 暂时移除水印效果，检查图片显示 */
/*
.certificate-item::after {
    content: '仅展示使用';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
    margin-bottom: var(--space-sm);
    height: 200px;
}
*/

.certificate-info {
    position: relative;
    z-index: 1;
}

.certificate-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.certificate-issuer {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-normal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: rgba(107, 114, 128, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.certificate-issuer::before {
    content: '🔍';
    font-size: 12px;
}

.certificate-item:hover .certificate-issuer {
    background: rgba(107, 114, 128, 0.4);
    transform: scale(1.05);
}

/* 页面标题区域优化 */
.section-title {
    position: relative;
    display: inline-block;
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-bottom: var(--space-md) !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-hover) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px !important;
    color: var(--text-normal) !important;
    margin-top: var(--space-lg) !important;
    letter-spacing: 0.5px;
}

/* ==================== 关于我们文本样式 ==================== */
.about-text {
    max-width: 900px;
    margin: 48px auto 0;
    text-align: left;
}

.about-paragraph {
    font-size: 16px;
    line-height: 2;
    color: var(--text-normal);
    margin-bottom: 28px;
    text-align: justify;
    padding: 0 8px;
}

.about-conclusion {
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 24px;
    background: var(--card-bg);
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==================== 图片放大查看 ==================== */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-modal.active {
    display: flex;
}

.image-modal-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 85%;
}

.image-modal-content {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-modal-wrapper .watermark-text {
    font-size: 48px;
    color: rgba(150, 150, 150, 0.25);
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 48px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.image-modal-close:hover {
    color: var(--primary-hover);
    transform: scale(1.2) rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

.image-modal-title {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 32px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

/* ==================== 内容容器 ==================== */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-title {
    font-size: 22px;
    font-weight: 600;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.content-title::before {
    content: '✨';
    margin-right: 8px;
}

/* ==================== 列表 ==================== */
.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-xl) 0;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.feature-list li {
    padding: var(--space-md);
    color: var(--text-normal);
    font-size: 16px;
    font-weight: 500;
    background: rgba(55, 65, 81, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 16px;
    color: var(--primary-hover);
    font-weight: bold;
    font-size: 18px;
}

.feature-list li:hover {
    transform: translateY(-4px);
    background: rgba(55, 65, 81, 0.6);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-list li:hover::before {
    animation: checkBounce 0.5s ease;
}

@keyframes checkBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.text-center {
    text-align: center;
}

.list-unstyled {
    list-style-type: none;
    margin-left: 0;
    margin-top: var(--space-sm);
}

.list-unstyled li {
    padding: var(--space-xs) 0;
    color: var(--text-normal);
    font-size: 15px;
    line-height: 1.6;
}

/* ==================== 联系页面 ==================== */
.contact-wrapper {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    align-items: flex-start;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 0 24px;
}

.contact-card {
    flex: 1;
    background-color: var(--bg-white);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-width: 400px;
    width: 50%;
}

@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-card {
        width: 100%;
    }
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 左侧联系人信息 */
.contact-person {
    background-color: #F9F5E9;
    padding: var(--space-lg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.person-avatar {
    flex-shrink: 0;
}

.person-info {
    flex: 1;
}

.person-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 6px 0;
}

.person-contact {
    font-size: 14px;
    color: var(--text-muted);
    margin: 3px 0;
}

.contact-info-grid {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.info-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background-color: #f5f5f7;
    border-radius: 8px;
    text-align: center;
    flex-direction: column;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}



.info-content {
    flex: 1;
}

.info-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}

.info-text {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

/* 右侧表单 */
.form-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    padding: 10px 12px;
    border: 1px solid #d2d2d7;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-primary);
    background-color: var(--bg-white);
    transition: all 0.3s ease;
    width: 100%;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-full {
    width: 100%;
}

/* ==================== 文本样式 ==================== */
.text-center {
    text-align: center;
}

.text-gray {
    color: var(--text-normal);
    margin-bottom: var(--space-xl);
}

/* ==================== 新闻页面 ==================== */
.news-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: var(--space-xs);
}

/* ==================== 证书页面 ==================== */
.certificate-icon {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 48px;
    background-color: var(--bg-gray);
    border-radius: 12px;
    margin-bottom: var(--space-sm);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 0;
    }
    
    .nav-item {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .nav-item:first-child {
        font-size: 16px;
    }
    
    .carousel-title {
        font-size: 48px;
    }
    
    .carousel-subtitle {
        font-size: 21px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 17px;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .stats-grid {
        gap: var(--space-xl);
        padding: var(--space-2xl) 24px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    footer {
        padding: var(--space-lg) 24px;
    }
    
    .footer-links {
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .carousel-title {
        font-size: 36px;
    }
    
    .carousel-subtitle {
        font-size: 17px;
    }
    
    .carousel-links {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* ==================== 质量目标样式 ==================== */
.quality-goals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
}

.quality-goal-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-goal-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.goal-number {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    min-width: 40px;
    text-align: center;
}

.quality-goal-item p {
    flex: 1;
    line-height: 1.6;
    color: var(--text-normal);
    margin: 0;
}

/* ==================== 服务卡片样式 ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.service-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-normal);
    margin: 0;
}

/* ==================== 优势网格样式 ==================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.advantage-item {
    background: var(--card-bg);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.advantage-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-normal);
    margin: 0;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .quality-goal-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .goal-number {
        min-width: auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 服务流程样式 ==================== */
.process-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-normal);
    max-width: 250px;
}

.process-arrow {
    width: 2px;
    height: 40px;
    background-color: var(--border-color);
    position: relative;
    margin: 0 auto;
}

.process-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--border-color);
}

/* 响应式设计 */
@media (min-width: 768px) {
    .process-flow {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .process-step {
        max-width: calc(25% - 20px);
        margin-bottom: 0;
    }
    
    .process-step:not(:last-child) {
        position: relative;
    }
    
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30px;
        right: -30px;
        width: 60px;
        height: 2px;
        background-color: var(--border-color);
    }
    
    .process-step:not(:last-child)::before {
        content: '';
        position: absolute;
        top: 26px;
        right: -40px;
        width: 0;
        height: 0;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 8px solid var(--border-color);
    }
    
    .process-arrow {
        display: none;
    }
}

@media (max-width: 767px) {
    .process-step {
        max-width: 100%;
    }
}
