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

:root {
    --primary-green: #749642;
    --dark-green: #5a7433;
    --light-green: #8fb05a;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-gray);
}

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

/* 头部导航 */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-badge {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 1px;
}

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

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

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

/* 主横幅轮播图 */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5; /* 保持16:5的比例 */
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 如果图片比例不完全匹配，会裁剪以填满容器 */
    display: block;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(116, 150, 66, 0.7) 0%, rgba(143, 176, 90, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-green);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* 产品介绍 */
.product {
    padding: 80px 0;
    background-color: var(--white);
}

.product-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-badge {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.product-tagline {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    padding: 15px 25px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 25px;
    display: inline-block;
}

/* 产品包装 */
.product-package {
    background-color: var(--white);
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.package-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.package-top h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.leaves-icon {
    font-size: 2rem;
}

.kanpo-badge {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.package-quantity {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.package-bottom {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 轮播图控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-green);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background-color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background-color: var(--white);
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 产品特点 */
.features {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.features .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

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

/* 使用说明 */
.usage {
    padding: 80px 0;
    background-color: var(--white);
}

.usage .section-title {
    text-align: center;
    margin-bottom: 50px;
}

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

.step {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 15px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* 底部 */
.footer {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

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

.footer-brand p {
    margin-top: 15px;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

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

.footer-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 移动端仍然保持16:5比例，只是高度会相应变小 */

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .nav {
        gap: 15px;
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

