/* ===== 基础变量 ===== */
:root {
    --primary-color: #2c5530;
    --primary-light: #4a7c50;
    --secondary-color: #8b7355;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --text-light: #999;
    --bg-light: #faf9f7;
    --bg-warm: #f5f1ed;
    --white: #ffffff;
    --border-color: #e5e0d8;
    --shadow: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-serif: "Songti SC", "SimSun", serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-size: 15px;
    color: var(--text-gray);
    padding: 5px 0;
    position: relative;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--text-gray);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ===== Hero 区域 ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-light) 100%);
    text-align: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-serif);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 通用 Section ===== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    font-family: var(--font-serif);
}

.section-desc {
    text-align: center;
    color: var(--text-gray);
    max-width: 600px;
    margin: -30px auto 50px;
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 2;
}

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

.about-philosophy h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.philosophy-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.philosophy-item .icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.philosophy-item h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

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

/* ===== Services Section ===== */
.services-preview {
    background: var(--bg-warm);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

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

/* ===== Contact Section ===== */
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item .icon {
    font-size: 36px;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

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

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-quote {
    font-family: var(--font-serif);
    font-style: italic;
    opacity: 0.6;
    font-size: 14px;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

/* ===== 修道理念部分 ===== */
.philosophy-section {
    background: var(--bg-warm);
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.lifestyle-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.lifestyle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.lifestyle-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.lifestyle-card h3 {
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.lifestyle-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===== 目标部分 ===== */
.goals-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

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

.goals-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.goals-main {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.goals-text p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.goals-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.stat-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* ===== 页面头部 ===== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-light) 100%);
    text-align: center;
}

.page-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-gray);
}

/* ===== 博客列表 ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(44,85,48,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-meta {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ===== Newsletter ===== */
.newsletter {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.newsletter h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.newsletter p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* ===== 联系页面 ===== */
.contact-intro {
    text-align: center;
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.wechat-placeholder {
    margin: 20px 0;
}

.qr-placeholder {
    width: 180px;
    height: 180px;
    background: var(--bg-warm);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
}

.wechat-id {
    font-size: 13px !important;
    color: var(--text-light) !important;
}

.contact-note {
    font-size: 12px !important;
    color: var(--text-light) !important;
    margin-top: 10px !important;
}

.meeting-info {
    list-style: none;
    text-align: left;
    margin-top: 15px;
}

.meeting-info li {
    font-size: 14px;
    color: var(--text-gray);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.meeting-info li:last-child {
    border-bottom: none;
}

/* ===== 表单 ===== */
.form-section {
    background: var(--bg-warm);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
    width: 100%;
}

.form-notice {
    max-width: 600px;
    margin: 30px auto 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
}

.form-notice p {
    margin: 8px 0;
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.faq-question {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

.faq-answer strong {
    color: var(--primary-color);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--bg-warm);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.cta-section p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* ===== 产品页面 ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-item {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.why-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.why-item h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

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

/* ===== 流程时间线 ===== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 20px;
}

.process-step h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===== 产品卡片 ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    font-size: 14px;
    color: var(--text-gray);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.product-features li::before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: 600;
}

.product-note {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* ===== 案例 ===== */
.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.case-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

.case-details p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.7;
}

.case-details ul {
    margin: 15px 0 15px 25px;
}

.case-details li {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ===== 响应式扩展 ===== */
@media (max-width: 1024px) {
    .lifestyle-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .lifestyle-grid,
    .why-grid,
    .blog-grid,
    .products-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .goals-content {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 25px;
    }
}
