/* ==================== 全局变量 ==================== */
:root {
    --primary-color: #2B7A4B;
    --primary-dark: #1E5A38;
    --primary-light: #8FC9A3;
    --secondary-color: #E8B86B;
    --accent-color: #D97A3E;
    --herbal-color: #5B8C5A;
    --dark-color: #2C3E2F;
    --light-color: #6B7B6E;
    --gray-bg: #F8F9F5;
    --white-color: #FFFFFF;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
    color: var(--dark-color);
    background: var(--white-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==================== 导航栏 ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(43, 122, 75, 0.1);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.3px;

}

.logo-en {
      font-size: 0.7em; /* 是中文大小的70%，可以改成0.6~0.8自己调 */
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: rgba(43, 122, 75, 0.1);
}

.contact-phone:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    background: var(--white-color);
    border-top: 1px solid rgba(43, 122, 75, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-container {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-link {
    padding: 0.75rem 0;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
}

.mobile-phone {
    color: var(--primary-color);
    font-weight: 600;
}

/* ==================== Hero 区域 ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(43, 122, 75, 0.05) 0%, rgba(232, 184, 107, 0.05) 100%);
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path fill="%232B7A4B" d="M20,30 L30,20 L40,30 L30,40 Z M70,70 L80,60 L90,70 L80,80 Z M45,10 L50,5 L55,10 L50,15 Z M10,85 L15,80 L20,85 L15,90 Z M85,45 L90,40 L95,45 L90,50 Z"/><circle cx="75" cy="25" r="3"/><circle cx="15" cy="65" r="2"/></svg>');
    background-repeat: repeat;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(43, 122, 75, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.hero-highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(43, 122, 75, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-color);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(43, 122, 75, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(43, 122, 75, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 5;
    transition: var(--transition);
}

.hero-image:hover img {
    transform: scale(1.02);
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(43, 122, 75, 0.1), transparent);
    border-radius: 50%;
    z-index: 0;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ==================== 通用区块样式 ==================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 3px;
}

.section-subtitle {
    color: var(--light-color);
    font-size: 1rem;
}

/* ==================== 关于我们 ==================== */
.about-section {
    padding: 5rem 0;
    background: var(--white-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-text {
    color: var(--light-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--gray-bg);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(43, 122, 75, 0.08);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(43, 122, 75, 0.2);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(43, 122, 75, 0.1), rgba(232, 184, 107, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature-desc {
    color: var(--light-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==================== 核心业务 ==================== */
.business-section {
    padding: 5rem 0;
    background: var(--gray-bg);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.business-card {
    background: var(--white-color);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.business-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-card:hover .business-image img {
    transform: scale(1.05);
}

.business-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.business-tag {
    background: rgba(43, 122, 75, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.business-content {
    padding: 1.5rem;
}

.business-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.business-desc {
    color: var(--light-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.business-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.business-link i {
    transition: transform 0.3s ease;
}

.business-link:hover {
    color: var(--accent-color);
}

.business-link:hover i {
    transform: translateX(4px);
}

/* ==================== 明星产品 ==================== */
.products-section {
    padding: 5rem 0;
    background: var(--white-color);
}

.products-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.product-featured {
    display: flex;
    background: var(--gray-bg);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-featured-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.product-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-featured:hover .product-featured-image img {
    transform: scale(1.03);
}

.product-featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-color), #b95a2a);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-featured-content {
    flex: 1;
    padding: 2rem;
}

.product-featured-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.product-featured-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-color);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.product-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.product-featured-btn:hover {
    background: var(--accent-color);
    transform: translateX(4px);
}

/* ==================== 联系我们 ==================== */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path fill="white" d="M20,30 L30,20 L40,30 L30,40 Z M70,70 L80,60 L90,70 L80,80 Z"/></svg>');
    background-repeat: repeat;
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-header i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-text h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-text p,
.contact-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-text a:hover {
    color: white;
}

.contact-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 280px;
}

.qrcode-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.qrcode-icon i {
    font-size: 1.8rem;
    color: white;
}

.qrcode-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.qrcode-card p {
    color: var(--light-color);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.qrcode-wrapper {
    background: var(--gray-bg);
    padding: 0.5rem;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
}

.qrcode-wrapper img {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.qrcode-tip {
    font-size: 0.7rem;
    color: var(--light-color);
}

/* ==================== 页脚 ==================== */
.site-footer {
    background: linear-gradient(135deg, #1A3A2A 0%, #2C3E2F 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: var(--white-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-text {
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2rem;
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
}

/* ==================== 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 2.8rem;
    height: 2.8rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px) scale(1.05);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid,
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-featured {
        flex-direction: column;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav,
    .contact-info {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .features-grid,
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .product-featured-title {
        font-size: 1.3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-title {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 5rem 0 3rem;
    }
    
    .feature-card,
    .business-content,
    .contact-info-card,
    .qrcode-card {
        padding: 1.2rem;
    }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text-wrap{
  display:flex;
  flex-direction: column;
  line-height:1.1;
}
.logo-cn{
  font-size: 28px;
  font-weight:bold;
  color:#206030;
}
.logo-en{
  font-size:14px;
  color:#206030;
}
