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

:root {
    --primary-color: #1a365d;
    --secondary-color: #d4a574;
    --accent-color: #e67e22;
    --background: #f8f9fa;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Hero 区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5282 100%);
    color: var(--white);
    padding-top: 70px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-slogan {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.8;
}

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

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

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

.btn-primary:hover {
    background: #d35400;
    transform: translateY(-2px);
}

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

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

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

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

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

/* 关于我 */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.about-role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-highlight {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), #2c5282);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 8px;
    margin-top: 20px;
}

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

.highlight-text {
    font-weight: 600;
}

.core-philosophy {
    text-align: center;
    padding: 40px;
    background: var(--background);
    border-radius: 12px;
}

.core-philosophy h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.philosophy-text {
    font-size: 20px;
    color: var(--text-color);
    font-weight: 500;
}

/* 著作 */
.book {
    background: var(--background);
}

.book-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
}

.book-cover img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.book-info h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.publisher {
    color: var(--text-light);
    margin-bottom: 15px;
}

.book-tagline {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 30px;
}

.book-features h4,
.book-audience h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.book-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.book-features li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
}

.feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.book-features strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

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

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.audience-tags span {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* 量化工具 */
.tool {
    background: var(--white);
}

.tool-highlight {
    text-align: center;
    font-size: 20px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 30px;
}

.tool-platforms {
    text-align: center;
    margin-bottom: 50px;
    font-size: 16px;
    color: var(--text-light);
}

.tool-platforms .divider {
    margin: 0 15px;
    color: var(--border-color);
}

.tool-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--background);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-card-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0d1f3c 0%, #1a365d 50%, #2c5282 100%);
    color: var(--white);
    border: none;
    padding: 40px;
}


.signal-system {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 25px;
}

.signal-group {
    background: rgba(255, 255, 255, 0.18);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.signal-group h4 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--secondary-color);
    text-align: center;
    font-weight: 700;
}

.signal-group ul {
    list-style: none;
}

.signal-group li {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.signal-group li:last-child {
    margin-bottom: 0;
}

.feature-note {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-top: 10px;
}

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

/* 高亮卡标题 — 必须放在 feature-card h3 后面，否则被覆盖 */
.feature-card-highlight h3 {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 36px;
    font-weight: 900;
    text-align: center;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.feature-card li:last-child {
    border-bottom: none;
}

.tool-cta {
    text-align: center;
}

/* 农耕战法 */
.strategy {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c5282 100%);
    color: var(--white);
}

.strategy .section-title {
    color: var(--white);
}

.strategy .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.strategy-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.seasons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.season {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s;
}

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

.season-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.season h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.season-action {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.season-desc {
    font-size: 14px;
    opacity: 0.9;
}

.strategy-conclusion {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.strategy-conclusion p {
    margin-bottom: 10px;
    font-size: 18px;
}

.strategy-conclusion p:last-child {
    margin-bottom: 0;
    color: var(--secondary-color);
    font-weight: 500;
}

/* 联系 */
.contact {
    background: var(--background);
}

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

.contact-qr {
    display: flex;
    gap: 30px;
    justify-content: center;
}

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

.qr-item img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

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

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.contact-info li:before {
    content: "✓";
    color: var(--accent-color);
    margin-right: 10px;
}

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

.footer p {
    margin-bottom: 5px;
    opacity: 0.9;
}

.footer p:last-child {
    margin-bottom: 0;
    font-size: 14px;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .book-content {
        grid-template-columns: 1fr;
    }
    
    .book-cover {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .seasons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-qr {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-slogan {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .tool-features {
        grid-template-columns: 1fr;
    }
    
    .signal-system {
        grid-template-columns: 1fr;
    }
    
    .seasons {
        grid-template-columns: 1fr;
    }
    
    .contact-qr {
        flex-direction: column;
        align-items: center;
    }
}
