/* 全局样式 */
:root {
    --primary-color: #1a3a5f; /* 更深沉的蓝色，体现专业性 */
    --secondary-color: #2574a9; /* 中等蓝色，协调性好 */
    --accent-color: #e67e22; /* 橙色作为点缀，增加视觉吸引力 */
    --light-color: #f5f7fa; /* 更淡的背景色，减少眼睛疲劳 */
    --dark-color: #2c3e50; /* 深色文字，提高易读性 */
    --success-color: #27ae60; /* 成功提示色 */
    --warning-color: #f39c12; /* 警告提示色 */
    --danger-color: #e74c3c; /* 危险提示色 */
    --gray-color: #7f8c8d; /* 灰色辅助色 */
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #fcfcfc;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: white !important;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* 首页横幅 */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f0f7 100%);
    border-bottom: 1px solid #eaeaea;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #505a66;
}

/* 产品卡片 */
.products-section {
    padding: 90px 0;
    background-color: white;
}

.products-section h2 {
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.products-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.product-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card.featured {
    border: 2px solid var(--accent-color);
    position: relative;
}

.product-card.featured::before {
    content: '推荐';
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom-left-radius: 8px;
}

.product-card .card-title {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.price {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: "✓";
    color: var(--success-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.features-list li:last-child {
    border-bottom: none;
}

/* 特点展示 */
.features-section {
    padding: 90px 0;
    background-color: var(--light-color);
}

.features-section h2 {
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.features-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.feature-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-item p {
    color: #505a66;
}

/* 联系我们 */
.contact-section {
    padding: 90px 0;
    background-color: white;
}

.contact-section h2 {
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.contact-info {
    padding: 2.5rem;
    background-color: var(--light-color);
    border-radius: 12px;
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-info p {
    margin-bottom: 1.2rem;
    padding-left: 30px;
    position: relative;
    color: #505a66;
}

.contact-info p i {
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.form-control {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(37, 116, 169, 0.2);
    border-color: var(--secondary-color);
}

/* 页脚 */
.footer {
    padding: 2.5rem 0;
    background-color: var(--primary-color);
    color: #fff;
}

.footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section img {
        margin-top: 2rem;
    }

    .product-card {
        margin-bottom: 2rem;
    }

    .feature-item {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
    
    .products-section, .features-section, .contact-section {
        padding: 60px 0;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .text-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(37, 116, 169, 0.1);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(37, 116, 169, 0.2);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(37, 116, 169, 0.2);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
} 