/* 全局样式重置 - 彻底重置所有默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 重置默认边距和内边距 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* 根变量定义 */
:root {
    --primary-color: #ff69b4;
    --primary-hover: #ff1493;
    --secondary-color: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-pink: #ff69b4;
    --border-radius: 20px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-backdrop: blur(10px);
}

/* 基础样式 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 背景效果 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(255, 105, 180, 0.1) 0%, transparent 50%);
}

/* 毛玻璃卡片效果 */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

/* 毛玻璃滑动条样式 */
/* Webkit 浏览器 (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--glass-bg) rgba(255, 255, 255, 0.1);
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* 确保页脚容器没有额外的内边距或外边距 */
.footer .container {
    padding: 0 20px;
    margin: 0 auto;
}

.footer-copyright p {
    margin: 0;
    padding: 0;
}

/* 标题样式 */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮样式 */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-right: 15px;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* 文字logo样式 */
.text-logo {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo img {
    max-height: 40px;
}

.logo-text {
    color: var(--primary-color);
}

.nav-links {
    display: flex !important;
    gap: 15px;
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 10px;
    }
    .nav-links a {
        font-size: 0.9rem;
        padding: 5px 0;
    }
    .logo img {
        max-height: 35px;
    }
    .text-logo {
        font-size: 1.2rem;
    }
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 15px;
}

.menu-toggle {
    display: none !important;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 英雄区域 */
.hero {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    padding: 20px 0 60px 0;
    position: relative;
}

/* 统计模块样式调整 */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0 10px;
    flex-wrap: wrap;
}

/* 统计卡片动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transition: all 0.3s ease;
}

/* 为每个卡片设置不同的动画延迟 */
.stat-card:nth-child(1) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.4s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.6s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.8s;
}

/* 鼠标悬停效果 */
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 105, 180, 0.2);
    transition: all 0.3s ease;
}

/* 基础布局修复 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

/* 确保主内容区域可以正常滚动且不被固定元素遮挡 */
main {
    flex: 1;
    padding: 20px 0 80px 0; /* 顶部和底部都留出空间 */
    width: 100%;
}

/* 页脚固定样式 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--secondary-color);
    z-index: 9999;
    margin: 0;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* 确保页脚内容居中且不会溢出 */
.footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copyright {
    width: 100%;
}

.footer-copyright p {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    line-height: 1.2;
}

/* 确保内容区域不被页脚遮挡 - 加强版 */
main {
    padding-bottom: 100px !important; /* 增加底部内边距 */
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 移除所有可能影响固定定位的父元素样式 */
body > div, body > header, body > section, body > footer {
    position: static !important;
}

/* 特别针对移动设备的修复 */
@media (max-width: 768px) {
    /* 确保移动设备上固定定位正常工作 */
    .footer {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60px !important;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 105, 180, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    position: relative;
}

.promo-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.7;
}

.promo-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
}

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

.hero-content h1 {
    margin-bottom: 20px;
    line-height: 1.3;
}

.highlight {
    color: var(--primary-color);
    background: none;
    -webkit-text-fill-color: var(--primary-color);
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* 页脚样式 */
.footer {
    background: var(--secondary-color);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.footer-copyright p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    /* 导航栏 - 非折叠式显示 */
    .nav-links {
        display: flex !important;
        flex-direction: row;
        gap: 10px;
        position: static;
        background: transparent;
        padding: 0;
        box-shadow: none;
        z-index: auto;
    }
    
    /* 移动端导航链接样式 */
    .nav-links a {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
    
    /* 文字logo调整 */
    .text-logo {
        font-size: 0.9rem;
    }
    
    /* 隐藏菜单切换按钮 */
    .menu-toggle {
        display: none !important;
    }
    
    /* 缩小logo图片 */
    .logo img {
        width: 24px;
        height: 24px;
    }
    
    /* 容器内边距调整 */
    .container {
        padding: 0 10px;
    }


    
    .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* 英雄区域 */
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero::before {
        width: 200px;
        height: 200px;
        right: 5%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* 服务区域 */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.services-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* 产品卡片样式 */
.services .container .services-grid .product-card {
    width: 100% !important;
    padding: 30px 20px !important;
    text-align: center !important;
    min-height: 280px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.services .container .services-grid .product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12) !important;
}

.services .container .services-grid .product-card h3 {
    font-size: 1.5rem !important;
    margin-bottom: 12px !important;
    color: #333333 !important;
    font-weight: 700 !important;
}

.services .container .services-grid .product-card p {
    font-size: 1rem !important;
    color: #666666 !important;
    margin-bottom: 20px !important;
    flex-grow: 1 !important;
    line-height: 1.5 !important;
}

/* 产品链接样式 */
.services .container .services-grid .product-card a.product-link {
    display: inline-block !important;
    background: #ff69b4 !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.25) !important;
    border: none !important;
}

.services .container .services-grid .product-card a.product-link:hover {
    background: #ff1493 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255, 105, 180, 0.4) !important;
}

/* 开发中状态样式 */
.services .container .services-grid .product-card span.coming-soon {
    display: inline-block !important;
    background: rgba(240, 240, 240, 0.9) !important;
    color: #888 !important;
    padding: 10px 25px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    border: 1px dashed #ccc !important;
    margin-top: auto !important;
    transition: all 0.3s ease !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

.coming-soon:hover {
    background: rgba(230, 230, 230, 0.9);
    border-color: #aaa;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        padding: 25px 20px;
        min-height: 250px;
    }
    
    .product-card h3 {
        font-size: 1.3rem;
    }
    
    .product-card p {
        font-size: 0.95rem;
    }
    
    .product-link,
    .coming-soon {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

.service-card {
    padding: 30px;
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-features {
    margin-top: 20px;
    text-align: left;
}

.service-features li {
    list-style: none;
    margin-bottom: 8px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 关于我们 */
.about {
    padding: 100px 0;
}

.about-content {
    padding: 40px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* 联系我们 */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info,
.contact-form {
    padding: 40px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.contact-icon {
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 页脚 */
.footer {
    background: var(--glass-bg);
    padding: 50px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 200px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-secondary);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* 页面标题 */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务详情页面 */
.services-detail {
    padding: 80px 0;
}

.service-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-intro .service-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.service-features {
    padding: 40px;
}

.service-features h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 服务比较表格 */
.service-comparison {
    padding: 80px 0;
}

.comparison-table {
    padding: 0;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: rgba(110, 86, 207, 0.2);
    padding: 20px;
    font-weight: 600;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 15px 20px;
    border-top: 1px solid var(--glass-border);
}

.table-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.table-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 关于我们页面 */
.about-intro {
    padding: 80px 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-stats .stat-item {
    text-align: center;
}

.about-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-stats .stat-label {
    color: var(--text-secondary);
}

/* 企业文化 */
.culture {
    padding: 80px 0;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.culture-card {
    padding: 30px;
    text-align: center;
}

.culture-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* 团队介绍 */
.team {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    padding: 30px;
    text-align: center;
}

.member-avatar {
    font-size: 4rem;
    margin-bottom: 20px;
}

.member-position {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.member-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 发展历程 */
.timeline {
    padding: 80px 0;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--glass-border);
}

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

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
}

.timeline-date {
    position: absolute;
    top: 0;
    width: 100px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-weight: 600;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -50px;
}

.timeline-content {
    padding: 25px;
}

/* 联系我们页面 */
.contact-info-section {
    padding: 80px 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    padding: 30px;
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
}

/* 联系表单 */
.contact-form-section {
    padding: 80px 0;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 地图 */
.map-section {
    padding: 80px 0;
}

.map-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.map-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* 常见问题 */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 20px 20px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .table-header .table-cell:nth-child(3),
    .table-header .table-cell:nth-child(4),
    .table-row .table-cell:nth-child(3),
    .table-row .table-cell:nth-child(4) {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
        left: 0 !important;
    }
    
    .timeline-date {
        left: 0 !important;
        right: auto !important;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
    }
    
    .table-header .table-cell:nth-child(2),
    .table-header .table-cell:nth-child(3),
    .table-header .table-cell:nth-child(4),
    .table-row .table-cell:nth-child(2),
    .table-row .table-cell:nth-child(3),
    .table-row .table-cell:nth-child(4) {
        display: none;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .services-detail,
    .about-intro,
    .culture,
    .team,
    .timeline,
    .contact-info-section,
    .contact-form-section,
    .map-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .service-features,
    .contact-form-container {
        padding: 25px;
    }
}

/* 增强自适应布局 - 添加额外的移动端响应式规则 */
@media (max-width: 768px) {
    /* 确保导航栏在小屏幕上正确显示 */
    .navbar {
        padding: 15px 0;
    }
    
    .logo img {
        max-height: 35px;
    }
    
    /* 统计卡片完全响应式 */
    .stats-container {
        margin: 30px 0;
        padding: 0 15px;
    }
    
    .stat-card {
        padding: 15px 20px;
    }
    
    /* 确保内容不被固定元素遮挡 */
    main {
        padding-top: 20px;
        padding-bottom: 80px;
    }
    
    /* 按钮在移动端堆叠 */
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        margin: 0;
    }
}

@media (max-width: 480px) {
    /* 更小屏幕的优化 */
    .navbar {
        padding: 12px 0;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .stat-card {
        padding: 12px 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    /* 页脚在极小屏幕上的特殊处理 */
    .footer {
        height: auto;
        min-height: 60px;
        padding: 12px 0;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}