/* 全局重置与字体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

body {
    background-color: #faf9f8;
    color: #1e1e1e;
    line-height: 1.6;
    scroll-behavior: smooth; /* 平滑滚动 */
}

/* 容器限定最大宽度，居中 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 通用区块间距 */
section {
    padding: 70px 0;
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1e1e1e;
}

h2 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1e1e1e;
    position: relative;
    display: inline-block;
}
h2:after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: #c9a04b;
    margin-top: 8px;
    border-radius: 4px;
}

h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c2c2c;
}

p {
    margin-bottom: 20px;
    color: #4a4a4a;
    font-size: 1.1rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #c9a04b;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    color: #1e1e1e;
    transition: all 0.3s ease;
    margin-right: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}

.btn-primary {
    background: #c9a04b;
    color: #ffffff;
    border-color: #c9a04b;
}

.btn-primary:hover {
    background: #b48a36;
    border-color: #b48a36;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(201, 160, 75, 0.2);
}

.btn-outline:hover {
    background: #c9a04b;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.05);
}

/* 头部导航 */
header {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1e1e1e;
}
.logo span {
    color: #c9a04b;
    font-weight: 300;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 28px;
    flex-wrap: wrap;
}

.nav-menu ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #2c2c2c;
    font-size: 1.1rem;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav-menu ul li a:hover {
    color: #c9a04b;
    border-bottom-color: #c9a04b;
}

/* 英雄区块两列 */
.hero {
    padding: 40px 0 60px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 24px;
}
.hero-content .highlight {
    color: #c9a04b;
}
.hero-buttons {
    margin-top: 30px;
}
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.25);
    transition: transform 0.4s ease;
}
.hero-image img:hover {
    transform: scale(1.02);
}

/* 介绍区块 */
.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.25rem;
    background: #fcf9f4;
    padding: 40px;
    border-radius: 48px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.02);
}

/* 特色卡片网格 */
.features-grid, .why-grid, .testimonials-grid, .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: 0.3s ease;
    border: 1px solid #f0ebe3;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 36px -12px rgba(201, 160, 75, 0.15);
    border-color: #e5d5b8;
}
.card i {
    font-size: 2.6rem;
    color: #c9a04b;
    margin-bottom: 20px;
}

/* 为什么选择我们 定制背景 */
.why-us {
    background-color: #fcf7f0;
}

/* 评价卡片 */
.testimonials-card {
    background: #fff;
    padding: 28px;
    border-radius: 28px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.03);
    border: 1px solid #f3ede5;
}
.testimonials-card .stars {
    color: #f5b342;
    margin-bottom: 12px;
    font-size: 1.2rem;
}
.testimonials-card p {
    font-style: italic;
    margin-bottom: 20px;
}
.testimonials-card h4 {
    font-weight: 700;
    color: #2c2c2c;
}
.testimonials-card .position {
    font-size: 0.9rem;
    color: #c9a04b;
}

/* FAQ 样式 */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
    margin-top: 40px;
}
.faq-item {
    background: #fff;
    padding: 26px 28px;
    border-radius: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.02);
    border-left: 6px solid #c9a04b;
}
.faq-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.faq-item h4 i {
    color: #c9a04b;
    margin-right: 12px;
    font-size: 1.5rem;
}

/* 文章卡片 */
.articles-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
    transition: 0.3s;
    border: 1px solid #efebe5;
}
.articles-card:hover {
    box-shadow: 0 16px 30px -8px rgba(201,160,75,0.2);
}
.article-img {
    height: 200px;
    background-color: #d9cbb8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    background-image: linear-gradient(145deg, #cdb28b, #b6985c);
}
.article-content {
    padding: 24px 20px 28px;
}
.article-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.article-meta {
    color: #b09b80;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* 页脚单列 */
footer {
    background: #1e1e1e;
    color: #dddddd;
    padding: 48px 0 28px;
    text-align: center;
}
.footer-content p {
    color: #b1a18b;
    margin-bottom: 12px;
    font-size: 1rem;
}
.footer-links {
    margin: 24px 0 18px;
}
.footer-links a {
    color: #c9a04b;
    text-decoration: none;
    margin: 0 18px;
    font-weight: 500;
}
.footer-links a:hover {
    text-decoration: underline;
}
.copyright {
    border-top: 1px solid #3d3d3d;
    padding-top: 24px;
    font-size: 0.95rem;
    color: #8a7a68;
}

/* 响应式设计 */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .features-grid, .why-grid, .testimonials-grid, .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-content { order: 0; }
    .hero-image { order: 1; margin-top: 20px; }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .header-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    .nav-menu ul {
        justify-content: center;
        gap: 16px;
    }

    h1 { font-size: 2.4rem; }
    section { padding: 50px 0; }

    .features-grid, .why-grid, .testimonials-grid, .articles-grid {
        grid-template-columns: 1fr;
    }
    .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .intro-text { padding: 24px; }
}

/* 辅助关键词高亮（仅视觉，不影响语义） */
.keyword-badge {
    font-weight: 500;
    color: #c9a04b;
}

/* 分页样式 */
.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination .page-item .page-link {
    display: block;
    padding: 10px 16px;
    margin: 0 5px;
    border: 1px solid #f0ebe3;
    border-radius: 50px;
    background: #fff;
    color: #2c2c2c;
    text-decoration: none;
    transition: all 0.3s ease;
}
.pagination .page-item.active .page-link {
    background: #c9a04b !important;
    color: #fff !important;
    border-color: #c9a04b !important;
}
.pagination .page-link:hover {
    background: #fcf9f4 !important;
    color: #c9a04b !important;
    border-color: #e5d5b8 !important;
}

/* 内容区域样式 */
.content-body {
    line-height: 1.8;
    color: #4a4a4a;
    font-size: 1.1rem;
}
.content-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.content-body h2 {
    font-size: 1.8rem;
    color: #1e1e1e;
    margin: 30px 0 15px;
}
.content-body h3 {
    font-size: 1.4rem;
    color: #2c2c2c;
    margin: 25px 0 12px;
}
.content-body p {
    margin-bottom: 20px;
}