/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #F7F4EF;
    --color-surface: #FBF9F5;
    --color-white: #FFFFFF;
    --color-border: #E7E1D7;
    --color-primary: #C8202C;
    --color-primary-dark: #A94E22;
    --color-accent: #C4612F;
    --color-accent-light: #F2E3D6;
    --color-text: #1F2421;
    --color-text-muted: #5C635D;
    --color-text-hint: #9CA39D;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    
    --shadow-sm: 0 2px 8px rgba(31, 36, 33, 0.04);
    --shadow-md: 0 4px 16px rgba(31, 36, 33, 0.08);
    --shadow-lg: 0 8px 32px rgba(31, 36, 33, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 300;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.3; }

em {
    font-style: italic;
    color: var(--color-accent);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.nav {
    position: sticky;
    top: 0;
    background: rgba(251, 249, 245, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* 英雄区 */
.hero {
    padding: 80px 0 120px;
}

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

.eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 24px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: var(--color-white);
    border-radius: 32px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* 产品特色 */
.features, .services, .membership, .download {
    padding: 80px 0;
}

.features {
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .eyebrow {
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card.featured {
    border: 2px solid var(--color-accent);
    background: var(--color-white);
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 500;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 服务项目 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-category {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.service-category h3 {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-accent-light);
}

.service-category ul {
    list-style: none;
}

.service-category li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--color-text-muted);
}

/* 会员体系 */
.membership {
    background: var(--color-surface);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.membership-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.membership-card.featured {
    border: 2px solid var(--color-accent);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.membership-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--color-accent);
    color: white;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 500;
}

.membership-card h3 {
    margin-bottom: 16px;
}

.membership-price {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.membership-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.membership-features li {
    padding: 12px 0;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.membership-features li:last-child {
    border-bottom: none;
}

.membership-btn {
    display: block;
    padding: 12px 24px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: all 0.2s;
}

.membership-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* 下载区 */
.download {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.download h2 {
    color: white;
    margin-bottom: 16px;
}

.download h2 em {
    color: var(--color-accent-light);
}

.download p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: white;
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.download-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.download-size {
    font-weight: 500;
    color: var(--color-text);
}

.download-hint {
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-qr {
    text-align: center;
}

.qr-code {
    width: 220px;
    height: 220px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-md);
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.download-qr p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: var(--color-text);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-section p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-section h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.85rem;
}

/* 响应式 */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-links {
        display: none;
    }
    
    .hero-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .phone-mockup {
        order: -1;
    }
    
    .features-grid,
    .services-grid,
    .membership-grid {
        grid-template-columns: 1fr;
    }
    
    .membership-card.featured {
        transform: scale(1);
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
