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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 容器布局 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 导航栏 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

nav a {
    margin: 0 15px;
    font-weight: 500;
}

nav a:hover {
    color: #007bff;
}

/* 按钮通用样式 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background-color: #f0f7ff;
}

.btn-large {
    padding: 15px 32px;
    font-size: 18px;
    border-radius: 8px;
}

/* Hero 区域 */
.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero p {
    font-size: 20px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

/* 通用区块样式 */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* 卡片通用样式 */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: #6c757d;
}

/* 深色卡片 */
.bg-dark {
    background: #2c3e50;
    color: #fff;
}
.bg-dark p {
    color: #cbd5e1;
}

/* 价格表 */
.pricing-card {
    text-align: center;
    border: 1px solid #eee;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid #007bff;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.price {
    font-size: 48px;
    font-weight: bold;
    color: #2c3e50;
    margin: 20px 0;
}

.price span {
    font-size: 18px;
    color: #6c757d;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-card li {
    margin-bottom: 15px;
    color: #6c757d;
}

/* FAQ 列表 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 页脚 */
footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e2e8f0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #007bff;
}

/* 响应式媒体查询 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    nav {
        margin: 15px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-large {
        width: 100%;
        padding: 16px 20px; /* 更适合手指点击 */
    }

    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}
