/* 全局样式重置与变量 */
:root {
    --primary: #8B5A2B;
    --secondary: #D4A574;
    --accent: #C17F59;
    --bg: #FFF9F0;
    --text: #4A3728;
    --text-light: #8B7355;
    --white: #FFFFFF;
    --border: #E8DDD0;
    --shadow: rgba(139, 90, 43, 0.15);
}

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

body {
    font-family: 'Noto Serif SC', 'PingFang SC', 'Microsoft YaHei', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

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

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 12px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
}

.logo-icon {
    font-size: 24px;
}

.back-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary);
}

/* Hero 区域 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg) 0%, #F5EDE0 100%);
}

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

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

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

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, var(--white) 0%, #F9F5EF 100%);
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 32px 64px var(--shadow), inset 0 0 0 2px var(--border);
    overflow: hidden;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

/* 通用 Section 样式 */
.features, .screenshots, .qrcode-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
    font-size: 16px;
}

/* 功能卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px var(--shadow);
    border-color: var(--secondary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 截图展示 */
.screenshots {
    background: linear-gradient(135deg, var(--white) 0%, #FDF8F0 100%);
}

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

.screenshot-card {
    text-align: center;
}

.screenshot-img {
    width: 100%;
    max-width: 240px;
    border-radius: 16px;
    box-shadow: 0 16px 40px var(--shadow);
    margin-bottom: 16px;
}

.screenshot-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* 二维码 CTA 区域 */
.qrcode-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
}

.qrcode-content {
    text-align: center;
}

.qrcode-content h2 {
    font-size: 36px;
    margin-bottom: 8px;
}

.qrcode-desc {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.qrcode-wrapper {
    background: var(--white);
    padding: 16px;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 16px;
}

.qrcode-img {
    width: 200px;
    height: 200px;
    display: block;
}

.qrcode-tip {
    font-size: 14px;
    opacity: 0.8;
}

/* 搜一搜引流区域 */
.search-guide-section {
    padding: 80px 0;
    background: var(--white);
}

.search-guide-content {
    text-align: center;
}

.search-guide-img {
    max-width: 480px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow);
    margin-bottom: 24px;
}

.search-guide-text {
    font-size: 16px;
    color: var(--text-light);
}

.search-guide-text strong {
    color: var(--primary);
}

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

.footer-content {
    text-align: center;
}

.contact-info {
    margin-bottom: 16px;
    font-size: 15px;
}

.contact-info a {
    color: var(--secondary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.separator {
    margin: 0 12px;
    opacity: 0.5;
}

.footer-content p {
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-content p a {
    color: var(--white);
    text-decoration: none;
}

.footer-content p a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

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

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

    .section-title {
        font-size: 28px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}
