/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: white;
}

/* 章节标题 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

/* 特性卡片 */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* 产品卡片 */
.product-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* 时间线样式 */
.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 2rem;
    border-left: 3px solid #3b82f6;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #3b82f6;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #3b82f6;
}

.timeline-item:last-child {
    border-left: 3px solid transparent;
}

.timeline-content {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem !important;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
}

/* 表单样式增强 */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 按钮悬停效果 */
button,
a.button {
    transition: all 0.3s ease;
}

/* 滚动平滑 */
html {
    scroll-behavior: smooth;
}

/* 图片优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero区域样式 */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* 卡片阴影效果 */
.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* 渐变背景 */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* 链接悬停效果 */
a {
    transition: color 0.3s ease;
}

/* 页脚链接样式 */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #60a5fa !important;
}
