* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 头部样式 */
header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b35;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ff6b35;
}

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

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

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 180px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 18px 36px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.primary-button {
    background-color: #ff6b35;
    color: #fff;
}

.primary-button:hover {
    background-color: #ff8c5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.secondary-button {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid #fff;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* 特点区域 */
.features {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 70px;
    color: #333;
    font-weight: bold;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 64px;
    color: #667eea;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* 产品区域 */
.products {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.product-card {
    background-color: #fff;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-icon {
    font-size: 56px;
    color: #764ba2;
    margin-bottom: 25px;
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.product-price {
    font-size: 32px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 20px;
}

.product-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 15px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.product-features li {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.product-features li::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    margin-right: 8px;
}

.order-button {
    background-color: #667eea;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.order-button:hover {
    background-color: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 关于我们区域 */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.about-text p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 16px;
}

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

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 联系区域 */
.contact {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.contact-item {
    background-color: #fff;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.contact-item p {
    color: #666;
    font-size: 16px;
}

/* 常见问题区域 */
.faq {
    padding: 100px 0;
    background-color: #fff;
}

.faq-item {
    background-color: #f8f9fa;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 25px 30px;
    background-color: #f8f9fa;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question.active {
    background-color: #667eea;
    color: #fff;
}

.faq-toggle {
    font-size: 24px;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #666;
}

.faq-answer.active {
    padding: 25px 30px;
    max-height: 200px;
}

/* 页脚 */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #ff6b35;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
    font-size: 15px;
}

.footer-section a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #ff6b35;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-card,
    .product-card,
    .contact-item {
        padding: 25px;
    }
}

/* 博客样式 */
.blog {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.blog-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.blog-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

.blog-card a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #fff;
    padding: 10px 0;
    margin-top: 100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumb-inner a {
    color: #667eea;
    text-decoration: none;
    margin: 0 5px;
}

.breadcrumb-inner a:hover {
    text-decoration: underline;
}

/* 博客内容区域 */
.blog-content {
    padding: 50px 0;
    background-color: #fff;
    margin-bottom: 50px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.blog-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.blog-meta {
    font-size: 14px;
    color: #666;
}

.blog-meta span {
    margin: 0 10px;
}

.blog-image {
    text-align: center;
    margin-bottom: 40px;
}

.blog-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-body {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 40px;
}

.blog-body h2 {
    font-size: 28px;
    color: #333;
    margin: 30px 0 20px;
}

.blog-body h3 {
    font-size: 22px;
    color: #333;
    margin: 25px 0 15px;
}

.blog-body p {
    margin-bottom: 20px;
}

.blog-body ul, .blog-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-body li {
    margin-bottom: 10px;
}

/* 相关文章 */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.related-posts h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.related-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.related-card h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.related-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-card a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.related-card a:hover {
    text-decoration: underline;
}