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

:root {
    --primary-green: #7a9c3d;
    --dark-green: #5a7a2d;
    --light-green: #9cb85d;
    --bg-cream: #f8f6f0;
    --text-dark: #333;
    --text-gray: #666;
    --text-light: #999;
    --white: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    /*background-color: var(--bg-cream);*/
    /*background-image: */
    /*    radial-gradient(circle at 10% 20%, rgba(122,156,61,0.08) 0%, transparent 8%),*/
    /*    radial-gradient(circle at 90% 30%, rgba(122,156,61,0.06) 0%, transparent 6%),*/
    /*    radial-gradient(circle at 20% 60%, rgba(122,156,61,0.05) 0%, transparent 5%),*/
    /*    radial-gradient(circle at 80% 70%, rgba(122,156,61,0.07) 0%, transparent 7%),*/
    /*    radial-gradient(circle at 50% 90%, rgba(122,156,61,0.04) 0%, transparent 6%),*/
    /*    radial-gradient(circle at 5% 80%, rgba(122,156,61,0.05) 0%, transparent 5%),*/
    /*    radial-gradient(circle at 95% 90%, rgba(122,156,61,0.06) 0%, transparent 6%);*/
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

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

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

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

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

.header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-green);
    letter-spacing: 2px;
    font-family: "SimSun", "宋体", serif;
}

.logo span {
    font-size: 11px;
    color: var(--text-light);
    margin-top: -2px;
}

.platform-icons {
    display: flex;
    gap: 10px;
}

.platform-icon {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--white);
    transition: transform 0.2s;
}

.platform-icon:hover {
    transform: translateY(-2px);
}

.platform-icon.tmall { background: #ff0036; }
.platform-icon.taobao { background: #ff5000; }
.platform-icon.xiaohongshu { background: #ff2442; }
.platform-icon.douyin { background: #000; }
.platform-icon.pinduoduo { background: #e02e24; }
.platform-icon.t1688 { background: #ff6000; }

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

.nav a {
    font-size: 18px;
    color: var(--text-gray);
    transition: color 0.3s;
    position: relative;
}

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

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

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

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

.mobile-menu a.active {
    color: var(--primary-green);
}

/* ==================== 通用区域标题 ==================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.title-left h2 {
    font-size: 36px;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 5px;
}

.title-left .subtitle {
    font-size: 24px;
    color: var(--primary-green);
}

.title-left h3 {
    font-size: 22px;
    color: var(--text-gray);
    font-weight: normal;
    letter-spacing: 2px;
}

.title-right h3 {
    font-size: 24px;
    color: var(--text-light);
    font-weight: 600;
    text-align: right;
    line-height: 1.3;
}

/* ==================== 产品一览 ==================== */
.product-list {
    padding: 50px 0;
    background: transparent;
}

.product-grid-index {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 420px;
}

/*.product-grid {*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    grid-template-rows: 1fr 1fr;*/
/*    gap: 15px;*/
/*    !*height: 420px;*!*/
/*}*/

.product-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.product-item.large {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}

.product-right {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-right .product-item {
    flex: 1;
}

.product-right-bottom {
    display: flex;
    gap: 15px;
    flex: 1;
}

.product-right-bottom .product-item {
    flex: 1;
}

.product-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.product-item:hover .product-img-placeholder {
    transform: scale(1.05);
}

.product-item.large .product-img-placeholder {
    background: linear-gradient(135deg, #8fa84f 0%, #6b8e3d 100%);
}

.product-right .product-item:first-child .product-img-placeholder {
    background: linear-gradient(135deg, #c4a35a 0%, #a08040 100%);
}

.product-right-bottom .product-item:first-child .product-img-placeholder {
    background: linear-gradient(135deg, #e8b896 0%, #d49a70 100%);
}

.product-right-bottom .product-item:last-child .product-img-placeholder {
    background: linear-gradient(135deg, #a8c65a 0%, #8aa83d 100%);
}

.product-icon {
    font-size: 48px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 10px;
}

.product-item.large .product-icon {
    font-size: 80px;
}

.product-img-placeholder span {
    color: var(--white);
    font-size: 14px;
    opacity: 0.9;
}

.product-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255,255,255,0.95);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ==================== 产品应用 ==================== */
.product-application {
    padding: 50px 0;
    background: transparent;
    position: relative;
}

.product-application::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(122,156,61,0.05) 0%, transparent 100%);
    pointer-events: none;
}

.application-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.application-item {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
    text-align: center;
}

.application-img {
    width: 100%;
    aspect-ratio: 0.7;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.application-item:hover .application-img {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* 应用图片样式 - 已改用背景图片 */

.application-name {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
}

/* ==================== 品牌介绍 ==================== */
.brand-intro {
    /*background-image: url('static/image/index/index-qiye-bg.jpg');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.brand-content {
    position: relative;
    z-index: 1;
    min-height: 280px;
}

.brand-center {
    text-align: center;
    padding-top: 20px;
}

.brand-logo {
    margin-bottom: 20px;
    text-align: center;
}

.brand-logo .logo-text-white {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo .logo-text-white img {
    max-height: 60px;
    width: auto;
}

.brand-logo span {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
}

.brand-company {
    margin-bottom: 40px;
}

.brand-company p {
    font-size: 32px;
    color: var(--white);
    margin: 5px 0;
    letter-spacing: 3px;
}

.brand-categories {
    display: flex;
    justify-content: flex-end;
    gap: 60px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 60px;
    margin-bottom: 50px;
}

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

.cat-icon {
    width: 70px;
    height: 70px;
    background: #695324;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: transform 0.3s, background 0.3s;
}

.category-item:hover .cat-icon {
    transform: scale(1.1);
    background: #695324;
}

.cat-icon i {
    font-size: 32px;
    color: var(--white);
}

.category-item span {
    display: block;
    font-size: 32px;
    color: #695324;
    margin-bottom: 3px;
}

.category-item em {
    font-size: 24px;
    color: #695324;
    font-style: normal;
}

/* ==================== 关于我们 ==================== */
.about-us {
    padding: 60px 0;
    background: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: 0;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text p {
    font-size: 24px;
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 15px;
    text-align: justify;
    text-indent: 2em;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-img-main {
    width: 100%;
    /*height: 200px;*/
    /*background: linear-gradient(135deg, #d4d4d4 0%, #b0b0b0 100%);*/
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-img-main i {
    font-size: 60px;
    color: var(--white);
}

.cert-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cert-item {
    width: 70px;
    height: 90px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cert-item i {
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.cert-item span {
    font-size: 10px;
    color: var(--text-gray);
    text-align: center;
    line-height: 1.2;
}

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

.feature-cards img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.feature-item {
    background: linear-gradient(135deg, #7a9c3d 0%, #6b8e3d 100%);
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    color: var(--white);
    transition: transform 0.3s;
}

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

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-item p {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
}

/* ==================== 联系方式 ==================== */
.contact-section {
    /*background: linear-gradient(135deg, #7a9c3d 0%, #5a7a2d 100%);*/
    padding: 60px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-section .title-left h2,
.contact-section .title-right h3 {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.4fr;
    gap: 50px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    color: var(--white);
}

.contact-name {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 15px;
}

.contact-r-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-area {
    font-size: 18px;
    opacity: 0.9;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.5;
}

.contact-area i {
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-right {
    color: var(--white);
}

.contact-block {
    margin-bottom: 40px;
}

.contact-l-title {
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: bold;
    color: var(--white);
}

.contact-block h3 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 100px;
}

.contact-block h4 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-block p {
    font-size: 18px;
    opacity: 0.9;
    margin: 3px 0;
}

.contact-logo {
    margin-top: 30px;
    text-align: right;
}

.contact-logo .logo-text-white {
    font-size: 36px;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 5px;
    font-family: "SimSun", "宋体", serif;
}

.contact-logo span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

/* ==================== 底部版权 ==================== */
.footer {
    background: #4a6a2d;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.show {
        display: flex;
    }
    
    .platform-icons {
        display: none;
    }
    
    .product-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    
    .product-item.large {
        grid-row: span 2;
        height: 350px;
    }
    
    .product-right {
        height: 350px;
    }
    
    .application-grid {
        justify-content: center;
    }
    
    .application-item {
        min-width: 100px;
        max-width: 130px;
    }
    
    .brand-content {
        min-height: auto;
        padding-bottom: 100px;
    }
    
    .brand-categories {
        justify-content: center;
        gap: 30px;
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-left {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .header .container {
        height: 60px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .title-right h3 {
        text-align: left;
        font-size: 18px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .product-item.large {
        grid-row: auto;
        grid-column: auto;
        height: 200px;
    }
    
    .product-right {
        grid-row: auto;
        grid-column: auto;
        height: auto;
    }
    
    .product-right .product-item {
        height: 150px;
    }
    
    .product-right-bottom .product-item {
        height: 150px;
    }
    
    .application-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .application-item {
        min-width: auto;
        max-width: none;
    }
    
    .application-img {
        aspect-ratio: 0.7;
    }
    
    .application-name {
        font-size: 12px;
    }
    
    .brand-content {
        padding-bottom: 0;
    }
    
    .brand-categories {
        flex-direction: row;
        justify-content: center;
        gap: 25px;
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-left {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    
    .contact-logo {
        text-align: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item,
.application-item,
.feature-item {
    animation: fadeInUp 0.6s ease-out;
}
