:root {
    --bamboo-green: #4a7c59;
    --bamboo-light: #8fbc8f;
    --bamboo-dark: #2d5a3d;
    --wood-warm: #c4a35a;
    --wood-light: #e8d5a3;
    --cream: #f2f7f2;
    --dark: #1a1a1a;
    --text: #333;
    --text-light: #666;
    --gradient-primary: linear-gradient(135deg, #4a7c59 0%, #8fbc8f 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d5a3d 100%);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ========== 导航栏 ========== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    padding: 0.8rem 3rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

nav.scrolled .logo {
    color: var(--dark);
}

.logo svg {
    width: 36px;
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.3rem 0;
}

nav.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wood-warm);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: 'Noto Sans', sans-serif;
}

.lang-switch:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

nav.scrolled .lang-switch {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
    color: var(--dark);
}

nav.scrolled .lang-switch:hover {
    background: rgba(0,0,0,0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: 0.3s;
}

nav.scrolled .mobile-menu-btn span {
    background: var(--dark);
}

/* ========== Hero 区域 ========== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45,90,61,0.75) 0%, rgba(26,26,26,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero h1 span {
    color: var(--wood-warm);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--wood-warm);
    color: #fff;
    box-shadow: 0 10px 30px rgba(196,163,90,0.3);
}

.btn-primary:hover {
    background: var(--wood-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196,163,90,0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* ========== 通用区块 ========== */
section {
    padding: 8rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* ========== 品牌故事 ========== */
.brand-story {
    background: #fff;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.story-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.08rem;
    line-height: 1.9;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid #eee;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    background: rgba(74,124,89,0.05);
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--bamboo-green);
    line-height: 1;
}

.stat-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.story-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.story-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--wood-warm);
    border-radius: 50%;
    z-index: -1;
}

.story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.story-image:hover img {
    transform: scale(1.05);
}

/* ========== 产品优势 ========== */
.features {
    background: linear-gradient(180deg, #f0f5f0 0%, #e8f0e5 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(74,124,89,0.3);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

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

/* ========== 产品展示 ========== */
.products {
    background: #fff;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.8rem 1.8rem;
    border: 2px solid #e5e5e5;
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    color: var(--text-light);
}

.filter-tab:hover {
    border-color: var(--bamboo-green);
    color: var(--bamboo-green);
}

.filter-tab.active {
    background: var(--bamboo-green);
    color: #fff;
    border-color: var(--bamboo-green);
    box-shadow: 0 5px 20px rgba(74,124,89,0.3);
}

.gallery-count {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.gallery-count span {
    color: var(--bamboo-green);
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: #f5f5f5;
    animation: fadeIn 0.5s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.gallery-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.gallery-badge svg {
    width: 18px;
    height: 18px;
    fill: var(--bamboo-green);
}

.gallery-item:hover .gallery-badge {
    opacity: 1;
    transform: scale(1);
}

/* ========== 灯箱 ========== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.97);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-title {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* ========== 制作工艺 ========== */
.process {
    background: var(--gradient-dark);
    color: #fff;
}

.process .section-header h2,
.process .section-header p {
    color: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-smooth);
}

.process-step:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.step-number {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 1.5rem;
    background: rgba(255,255,255,0.1);
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.7;
}

/* ========== 包装物流 ========== */
.packaging {
    background: linear-gradient(180deg, #fff 0%, #f8f9f5 100%);
}

.packaging-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.packaging-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.packaging-images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.packaging-images img:hover {
    transform: scale(1.03) rotate(1deg);
}

.packaging-images img:first-child {
    grid-column: span 2;
    height: 280px;
}

.packaging-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.packaging-text > p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.08rem;
    line-height: 1.8;
}

.packaging-list {
    list-style: none;
    margin-top: 2rem;
}

.packaging-list li {
    padding: 0.8rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--text);
    font-weight: 500;
}

.packaging-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bamboo-green);
    font-weight: 900;
    font-size: 1.2rem;
}

/* ========== 联系我们 ========== */
.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.contact > .container > p {
    font-size: 1.15rem;
    opacity: 0.7;
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    padding: 2.5rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: var(--wood-warm);
}

.contact-item svg {
    width: 48px;
    height: 48px;
    fill: var(--wood-warm);
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.contact-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* ========== 页脚 ========== */
footer {
    background: #0a0a0a;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 2.5rem;
    font-size: 0.9rem;
}

/* ========== 滚动动画 ========== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

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

    .story-grid,
    .packaging-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

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

    .nav-links a {
        color: var(--dark);
        font-size: 1.1rem;
    }

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

    section {
        padding: 5rem 1.5rem;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .story-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    .lightbox-prev { left: 1rem; }
    .lightbox-next { right: 1rem; }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .section-header h2 {
        letter-spacing: 0;
    }

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