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

:root {
    --primary: #D4A24E;
    --primary-dark: #B8862E;
    --primary-light: #F5E6C8;
    --secondary: #2D6A4F;
    --secondary-light: #52B788;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #FFFFFF;
    --bg-light: #FAFAFA;
    --bg-warm: #FFF9F0;
    --border: #E8E8E8;
    --shadow: rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

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

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

/* ========== 导航栏 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: 0 2px 20px var(--shadow);
}

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

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

.logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-dark);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu a {
    font-size: 16px;
    color: var(--text-light);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a.active {
    color: var(--primary-dark);
    font-weight: 600;
}

/* ========== 按钮 ========== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(212, 162, 78, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 162, 78, 0.4);
}

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

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

.btn-text {
    background: none;
    color: var(--primary-dark);
    padding: 0;
    font-weight: 600;
}

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

.btn-small {
    padding: 8px 20px;
    font-size: 13px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
}

.btn-block {
    display: block;
    width: 100%;
}

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

/* ========== Hero区域 ========== */
.hero {
    margin-top: 70px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-warm) 0%, #FFF5E6 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

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

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

.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-light);
    bottom: -80px;
    left: -80px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    top: 50%;
    left: 10%;
}

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

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

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

/* ========== 品牌特色 ========== */
.features {
    background: var(--bg-light);
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

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

.feature-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text);
}

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

/* ========== 产品展示 ========== */
.product-showcase {
    background: white;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

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

.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-warm));
}

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

.product-placeholder span {
    font-size: 80px;
    display: block;
    margin-bottom: 10px;
}

.product-placeholder p {
    font-size: 14px;
    color: var(--text-muted);
}

.product-info {
    padding: 30px;
}

.product-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text);
}

.product-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-specs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-specs li {
    font-size: 12px;
    color: var(--secondary);
    background: rgba(45, 106, 79, 0.08);
    padding: 4px 12px;
    border-radius: 15px;
}

/* ========== 品牌理念 ========== */
.brand-story {
    background: linear-gradient(135deg, var(--bg-warm), var(--primary-light));
}

.story-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.story-content h3 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--text);
    line-height: 1.4;
}

.story-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-content .btn-text {
    margin-top: 10px;
}

/* ========== 页面标题 ========== */
.page-header {
    margin-top: 70px;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-warm), var(--primary-light));
}

.page-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--text);
}

.page-header p {
    font-size: 16px;
    color: var(--text-light);
}

/* ========== 关于我们 ========== */
.about-section {
    background: white;
}

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

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

.about-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-warm));
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-placeholder span {
    font-size: 60px;
    margin-bottom: 15px;
}

.image-placeholder p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========== 品牌理念 ========== */
.philosophy-section {
    background: var(--bg-light);
}

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

.philosophy-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 25px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.philosophy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

.philosophy-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.philosophy-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text);
}

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

/* ========== 承诺 ========== */
.promise-section {
    background: white;
}

.promise-list {
    max-width: 700px;
    margin: 0 auto;
}

.promise-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.promise-item:last-child {
    border-bottom: none;
}

.promise-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    min-width: 60px;
}

.promise-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

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

/* ========== 产品详情 ========== */
.product-detail-section {
    background: white;
}

.product-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.product-intro h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--text);
}

.product-tagline {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.product-intro p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== 营养成分 ========== */
.nutrition-section {
    background: var(--bg-light);
    margin: 0 -20px;
    padding: 60px 20px;
    border-radius: var(--radius);
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.nutrition-card {
    background: white;
    border-radius: var(--radius-sm);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.nutrition-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow);
}

.nutrition-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.nutrition-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}

.nutrition-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ========== 产品规格 ========== */
.specs-section {
    padding: 60px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.spec-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.spec-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-warm));
}

.spec-placeholder span {
    font-size: 80px;
}

.spec-info {
    padding: 30px;
}

.spec-info h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text);
}

.spec-info ul {
    list-style: none;
    margin-bottom: 15px;
}

.spec-info ul li {
    font-size: 14px;
    color: var(--text-light);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.spec-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.spec-tags {
    display: flex;
    gap: 8px;
}

.tag {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 15px;
    background: rgba(212, 162, 78, 0.1);
    color: var(--primary-dark);
}

/* ========== 适用人群 ========== */
.audience-section {
    background: var(--bg-light);
    margin: 0 -20px;
    padding: 60px 20px;
    border-radius: var(--radius);
}

.audience-list {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.audience-icon {
    font-size: 36px;
    min-width: 50px;
    text-align: center;
}

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

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

/* ========== 食用方法 ========== */
.usage-section {
    padding: 60px 0;
}

.usage-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}

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

/* ========== 联系我们 ========== */
.contact-section {
    background: white;
}

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

.contact-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 40px 25px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

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

.contact-info {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-desc {
    font-size: 13px;
    color: var(--text-muted);
}

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

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    padding: 50px 40px;
    border: 1px solid var(--border);
}

.contact-form {
    margin-top: 30px;
}

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

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

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

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

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

.form-group textarea {
    resize: vertical;
}

.form-success {
    text-align: center;
    padding: 40px;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-light);
    color: white;
    font-size: 30px;
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text);
}

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

/* ========== 页脚 ========== */
.footer {
    background: #2C2C2C;
    color: #CCCCCC;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 14px;
    color: #999;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col p {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    font-size: 13px;
    color: #777;
}

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

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

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: 450px;
        padding: 60px 20px;
    }

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

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

    section {
        padding: 50px 0;
    }

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

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

    .product-cards,
    .specs-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .usage-steps {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .page-header {
        padding: 40px 20px;
    }

    .page-header h2 {
        font-size: 28px;
    }

    .story-content h3 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .usage-steps {
        grid-template-columns: 1fr;
    }

    .promise-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .audience-item {
        flex-direction: column;
        text-align: center;
    }
}
