/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "KaiTi", "楷体", STKaiti, serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2b5cff;
}

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

.nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-primary {
    background-color: #2b5cff;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 92, 255, 0.4);
    color: white;
}

/* Hero 区域 */
.hero {
    height: 100vh;
    background: url('../assets/bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* 优势区域 */
.features {
    padding: 5rem 5%;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #222;
}

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

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #2b5cff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2b5cff;
}

/* 套餐区域 */
.pricing {
    padding: 5rem 5%;
    background: #f4f7f6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card:hover {
    transform: translateY(-10px);
}

.plan-name {
    display: inline-block;
    background: #8e9bff;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: #888;
}

.price-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.price-features li {
    margin-bottom: 1rem;
    color: #666;
    display: flex;
    align-items: center;
}

.price-features li::before {
    content: '✔';
    color: #4CAF50;
    margin-right: 10px;
    font-weight: bold;
}

.price-features li.disabled::before {
    content: '✖';
    color: #f44336;
}
.price-features li.disabled {
    color: #aaa;
}

.btn-buy {
    background-color: #6c7ff3;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    width: 100%;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: auto;
}

.btn-buy:hover {
    background-color: #4b62f5;
}

/* 底部与 FAQ */
.faq-section {
    padding: 5rem 5%;
    background: white;
}

.faq-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-item:hover {
    background: #f1f1f1;
}

.faq-item h4 {
    font-size: 1.2rem;
    color: #2b5cff;
    margin-bottom: 0.5rem;
}

/* 文章容器 */
.article-container {
    max-width: 800px;
    margin: 100px auto 50px auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.article-container h1, .article-container h2, .article-container h3 {
    margin: 1.5rem 0 1rem 0;
    color: #222;
}

.article-container p {
    margin-bottom: 1.2rem;
    color: #444;
}

footer {
    background: #222;
    color: #888;
    text-align: center;
    padding: 2rem 5%;
}

.footer-seo {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-seo a {
    margin: 0 5px;
}

/* 文章网格 - 一行三篇 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
}

.article-meta {
    font-size: 0.85rem;
    color: #888;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
}
.article-page-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}
