/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #FF6B6B;
    --accent-color: #FFC107;
    --dark-color: #333;
    --light-color: #f8f8f8;
    --grey-color: #ddd;
    --white-color: #fff;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    padding-bottom: 70px; /* 添加底部间距，为底部导航栏留出空间 */
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.section-title {
    text-align: center;
    margin: 40px 0 20px;
    padding: 0 20px;
}

.section-title h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.section-title p {
    color: #777;
    font-size: 0.95rem;
}

/* 头部样式 */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.top-nav a {
    margin-left: 20px;
    color: var(--dark-color);
    position: relative;
}

.top-nav a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* 轮播图样式 */
.carousel {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    padding: 0 20px;
}

.carousel-caption h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    background-color: #3a9c3a;
    transform: translateY(-2px);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-control:hover {
    background-color: rgba(255,255,255,0.7);
    color: var(--primary-color);
}

/* 功能区样式 */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 25px;
    width: 30%;
    min-width: 280px;
    max-width: 360px;
    text-align: center;
    margin-bottom: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 0 0 0 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.feature-card.highlighted {
    border: 2px solid var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 10px;
    object-fit: cover;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #3a9c3a;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 溯源系统展示区 */
.traceability-showcase {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f0f9f0, #fff);
    position: relative;
}

.showcase-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
}

.showcase-image {
    width: 45%;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.scan-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, transparent, rgba(76, 175, 80, 0.8), transparent);
    animation: scanEffect 2s infinite;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

@keyframes scanEffect {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

.showcase-steps {
    width: 45%;
    min-width: 300px;
}

.trace-step {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.trace-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    left: 19px;
    width: 2px;
    height: calc(100% - 10px);
    background-color: var(--primary-color);
    opacity: 0.3;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    padding-top: 5px;
}

.step-content h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.step-content p {
    color: #666;
    font-size: 0.95rem;
}

.traceability-demo {
    text-align: center;
    margin: 50px auto 0;
    max-width: 400px;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.demo-text {
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--dark-color);
}

.demo-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border: 1px dashed var(--primary-color);
    padding: 10px;
    border-radius: 10px;
}

.demo-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 供应链优势区域 */
.supply-chain-advantages {
    padding: 50px 20px;
    background-color: #f4f9f4;
}

.advantages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-item {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 25px;
    width: 22%;
    min-width: 250px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 2rem;
}

.advantage-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.advantage-item p {
    color: #666;
    font-size: 0.95rem;
}

/* 兼容旧类名，后期可移除 */
.farm-details {
    padding: 50px 20px;
    background-color: #f4f9f4;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 25px;
    width: 22%;
    min-width: 250px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 2rem;
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.95rem;
}

/* 用户评价区域 */
.testimonials {
    padding: 40px 20px;
    background-color: #f0f9f0;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.testimonial {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    width: 45%;
    min-width: 300px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.user-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.user-rating {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.user-comment {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.user-name {
    font-weight: bold;
    color: var(--primary-color);
}

/* 合作方案区域 */
.service-plans {
    padding: 40px 20px;
    background-color: white;
}

.plans-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.plan-item {
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 20px;
    width: 30%;
    min-width: 250px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    transition: var(--transition);
    border: 1px solid var(--grey-color);
}

.plan-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.plan-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.plan-type {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.plan-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.plan-desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

/* 兼容旧类名，后期可移除 */
.rewards-section {
    padding: 40px 20px;
    background-color: white;
}

.rewards-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.reward-item {
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 20px;
    width: 30%;
    min-width: 250px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
    transition: var(--transition);
    border: 1px solid var(--grey-color);
}

.reward-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.reward-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.points {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.reward-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.reward-desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

/* 注册区域 */
.signup-section {
    background: linear-gradient(to right, #4CAF50, #8BC34A);
    padding: 60px 20px;
    color: white;
    text-align: center;
}

.signup-content {
    max-width: 600px;
    margin: 0 auto;
}

.signup-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.signup-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.signup-form {
    display: flex;
    max-width: 450px;
    margin: 0 auto;
}

.signup-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
}

.signup-form button {
    border-radius: 0 30px 30px 0;
    padding: 0 25px;
    background-color: var(--accent-color);
    color: var(--dark-color);
}

/* 底部信息区域 */
.site-footer {
    background-color: #333;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 0.85rem;
    transition: var(--transition);
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.nav-item:hover {
    color: var(--primary-color);
}

/* 弹窗样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
            
.modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}
            
.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

/* Toast提示样式 */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .feature-card, .reward-item, .testimonial, .benefit-item, 
    .plan-item, .advantage-item {
        width: 45%;
    }
    
    .showcase-image, .showcase-steps {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .top-nav {
        display: none;
    }
    
    .carousel {
        height: 40vh;
    }
    
    .carousel-caption {
        bottom: 15%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
    }
    
    .features, .rewards-container, .benefits-container,
    .plans-container, .advantages-container {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card, .reward-item, .testimonial, .benefit-item,
    .plan-item, .advantage-item {
        width: 90%;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .signup-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .signup-form input, .signup-form button {
        width: 100%;
        border-radius: 30px;
    }
    
    .trace-step:not(:last-child):after {
        height: calc(100% + 10px);
    }
}

@media (max-width: 576px) {
    .carousel {
        height: 30vh;
    }
    
    .carousel-caption h2 {
        font-size: 1.3rem;
    }
    
    .btn-cta {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .feature-card, .reward-item, .benefit-item,
    .plan-item, .advantage-item {
        padding: 15px;
    }
    
    .feature-icon, .benefit-icon, .advantage-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.5rem;
    }
    
    .nav-item i {
        font-size: 1.3rem;
    }
    
    .nav-item span {
        font-size: 0.75rem;
    }
    
    .footer-column {
        width: 100%;
        text-align: center;
    }
    
    .footer-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .traceability-demo {
        padding: 20px;
    }
    
    .demo-qrcode {
        width: 150px;
        height: 150px;
    }
}

/* 溯源系统页面样式 */
.page-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.page-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
    max-width: 800px;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-banner p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* 扫码区域样式 */
.scan-section {
    background-color: #f9f9f9;
    padding: 3rem 0;
}

.scan-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.scan-input {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.qr-scanner {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    position: relative;
    border: 2px solid #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-scanner i {
    font-size: 5rem;
    color: #666;
}

.scanner-animation {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
    top: 0;
    left: 0;
    box-shadow: 0 0 8px #4CAF50;
    display: none;
}

.qr-scanner.scanning .scanner-animation {
    display: block;
    animation: scanning 2s linear infinite;
}

@keyframes scanning {
    0% { top: 0; }
    100% { top: 100%; }
}

.scan-actions {
    margin-top: 1.5rem;
}

.divider {
    margin: 1rem 0;
    color: #666;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: #ddd;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.input-group {
    display: flex;
    margin-top: 1rem;
}

.input-group input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.input-group .btn-secondary {
    border-radius: 0 4px 4px 0;
    padding: 0.8rem 1.5rem;
}

.scan-demo {
    flex: 1;
    min-width: 300px;
}

.scan-demo h3 {
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.demo-qrcodes {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.demo-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.demo-item:hover {
    transform: translateY(-5px);
}

.demo-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.demo-item p {
    margin-top: 0.8rem;
    font-weight: 500;
}

/* 溯源流程时间线 */
.traceability-process {
    padding: 4rem 0;
}

.process-timeline {
    margin-top: 3rem;
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: #eee;
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    margin-bottom: 3rem;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px #fff;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 2rem;
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 2rem;
    text-align: right;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: #333;
}

.timeline-content ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* 溯源系统特点 */
.features-section {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-box .feature-icon i {
    font-size: 2rem;
    color: #4CAF50;
}

.feature-box h3 {
    margin-bottom: 1rem;
    color: #333;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

/* 应用场景 */
.application-section {
    padding: 4rem 0;
}

.application-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.application-card {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #fff;
    transition: transform 0.3s;
}

.application-card:hover {
    transform: translateY(-10px);
}

.application-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 1rem;
    color: #333;
}

.card-content p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* 咨询部分 */
.consultation-section {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.consultation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.consultation-content h2 {
    margin-bottom: 1rem;
    color: #333;
}

.consultation-content p {
    margin-bottom: 2.5rem;
    color: #666;
}

.consultation-form {
    text-align: left;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4CAF50;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* 溯源结果弹窗 */
.trace-result-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.trace-result-popup > div {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.result-header h3 {
    margin: 0;
    color: #333;
}

.close-btn {
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #333;
}

.product-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.product-info img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.info-text h4 {
    margin: 0 0 0.5rem;
    color: #333;
}

.info-text p {
    margin: 0 0 0.8rem;
    color: #666;
}

.certification-badges {
    display: flex;
    gap: 0.5rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    background-color: #e8f5e9;
    color: #4CAF50;
    border-radius: 20px;
    font-size: 0.8rem;
}

.trace-timeline {
    margin: 2rem 0;
}

.timeline-event {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: 85px;
    top: 30px;
    bottom: -30px;
    width: 2px;
    background-color: #eee;
}

.timeline-event:last-child::before {
    display: none;
}

.event-date {
    min-width: 85px;
    text-align: right;
    padding-right: 1.5rem;
    color: #4CAF50;
    font-weight: 500;
    position: relative;
}

.event-date::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4CAF50;
}

.event-content {
    flex: 1;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.event-content h5 {
    margin: 0 0 0.8rem;
    color: #333;
}

.event-content p {
    margin: 0 0 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.result-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

/* 响应式样式 */
@media screen and (max-width: 768px) {
    .page-banner {
        height: 200px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-icon {
        left: 30px;
        top: 0;
        transform: none;
    }
    
    .timeline-content {
        width: 85%;
        margin-left: 60px !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    
    .process-timeline::before {
        left: 30px;
        transform: none;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .timeline-event {
        flex-direction: column;
    }
    
    .event-date {
        text-align: left;
        padding-right: 0;
        padding-left: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .event-date::after {
        left: 0;
        right: auto;
    }
    
    .timeline-event::before {
        left: 5px;
        top: 30px;
        bottom: -15px;
    }
}

/* 用户中心-我的农田 */
.farms-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.farm-preview-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.farm-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.farm-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.farm-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.farm-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

.farm-status.growing {
    background-color: #4CAF50;
}

.farm-status.harvesting {
    background-color: #FFC107;
}

.farm-info {
    padding: 15px;
}

.farm-info h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.farm-progress {
    margin-bottom: 10px;
}

.progress-bar {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress {
    height: 100%;
    background-color: #4CAF50;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

.farm-update {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 10px;
}

.farm-update p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.farm-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    background-color: #f5f9ff;
    border: 1px dashed #b0c9e6;
    border-radius: 8px;
    color: #4285f4;
    text-decoration: none;
    transition: all 0.3s ease;
}

.farm-action-card:hover {
    background-color: #e8f1ff;
}

.farm-action-card i {
    font-size: 28px;
    margin-bottom: 8px;
}

.farm-action-card span {
    font-size: 15px;
    font-weight: 500;
}

.more-farms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* 媒体查询优化 */
@media (max-width: 768px) {
    .farms-preview {
        grid-template-columns: 1fr;
    }
}

/* 供应商布局优化 */
.suppliers-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 20px;
}

.suppliers-sidebar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.sidebar-section:last-of-type {
    border-bottom: none;
}

.sidebar-section h3 {
    font-size: 16px;
    margin: 0 0 12px 0;
    color: #333;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.filter-item input {
    margin-right: 8px;
}

.suppliers-main {
    flex: 1;
}

.suppliers-sort {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.sort-label {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.sort-options {
    display: flex;
    gap: 15px;
    flex: 1;
}

.sort-option {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    padding-bottom: 2px;
}

.sort-option.active {
    color: #4285f4;
    border-bottom: 2px solid #4285f4;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-option {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #f5f5f5;
    color: #666;
}

.view-option.active {
    background-color: #e8f1ff;
    color: #4285f4;
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

/* 响应式布局 */
@media (max-width: 992px) {
    .suppliers-layout {
        grid-template-columns: 1fr;
    }
    
    .suppliers-sidebar {
        position: static;
        margin-bottom: 20px;
    }
}

/* 用户中心布局优化 */
.user-center {
    padding: 30px 0;
    background-color: #f8f9fa;
}

/* 添加用户中心布局容器 */
.user-center > .container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
}

.user-sidebar {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    position: sticky;
    top: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid #e8f1ff;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.user-info p {
    margin: 0;
    font-size: 14px;
    color: #4285f4;
}

.user-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.user-menu li {
    margin-bottom: 10px;
}

.user-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 15px;
    transition: all 0.3s ease;
}

.user-menu li a:hover {
    background-color: #f5f9ff;
    color: #4285f4;
}

.user-menu li.active a {
    background-color: #e8f1ff;
    color: #4285f4;
    font-weight: 500;
}

.user-menu li a i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.user-menu .badge {
    margin-left: auto;
    background-color: #ff5252;
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
}

.logout-btn {
    margin-top: 20px;
}

.user-main {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.section-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.account-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.info-card h3 {
    margin-top: 0;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.info-item, .security-item {
    display: flex;
    margin-bottom: 10px;
}

.info-item .label {
    width: 80px;
    font-size: 14px;
    color: #666;
}

.info-item .value {
    font-size: 14px;
    color: #333;
}

.security-item {
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.security-item:last-child {
    border-bottom: none;
}

.security-info {
    display: flex;
    align-items: center;
}

.security-info i {
    font-size: 18px;
    color: #4285f4;
    margin-right: 15px;
}

.security-text h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: #333;
}

.security-text p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* 响应式布局优化 */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .user-center > .container {
        grid-template-columns: 1fr;
    }
    
    .user-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .user-main {
        padding: 20px 15px;
    }
    
    .account-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header button {
        margin-top: 10px;
    }
}

/* 用户订单、收藏等区域样式 */
.user-section {
    display: none;
}

.user-section.active {
    display: block;
}

.order-tabs, .favorites-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tab {
    padding: 10px 15px;
    margin-right: 10px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    position: relative;
}

.tab.active {
    color: #4285f4;
    font-weight: 500;
}

.tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4285f4;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.order-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.order-products {
    padding: 15px;
}

.order-product {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.order-product:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.order-product img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.product-card.small {
    position: relative;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card.small:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.remove-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.remove-favorite i {
    color: #555;
    font-size: 12px;
}

.address-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.address-item {
    position: relative;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
}

.address-item.default {
    border-color: #4285f4;
}

.address-tag {
    position: absolute;
    top: 0;
    right: 15px;
    padding: 2px 8px;
    background-color: #4285f4;
    color: white;
    font-size: 12px;
    border-radius: 0 0 4px 4px;
}

.address-content {
    display: flex;
    justify-content: space-between;
}

.address-info h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
}

.address-info p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.address-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.page-item {
    width: 32px;
    height: 32px;
    margin: 0 5px;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-item:hover {
    background-color: #e8f0fe;
    color: #4285f4;
}

.page-item.active {
    background-color: #4285f4;
    color: white;
}

.page-item.next {
    background-color: transparent;
}

/* 更多响应式调整 */
@media (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-total {
        margin-bottom: 10px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-status {
        margin-top: 5px;
    }
    
    .address-content {
        flex-direction: column;
    }
    
    .address-actions {
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .order-product {
        flex-direction: column;
    }
    
    .order-product img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* 数据分析展示样式 */
.data-analysis-showcase {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.analysis-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.analysis-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.analysis-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.data-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(76, 175, 80, 0.1) 100%);
    animation: dataFlow 3s infinite linear;
    pointer-events: none;
}

@keyframes dataFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}

.analysis-features {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.analysis-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.analysis-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.analysis-feature .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.3rem;
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.feature-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.analysis-tools {
    margin-top: 40px;
    text-align: center;
    padding: 0 20px;
}

.analysis-tools h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.tools-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tool-item {
    width: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tool-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.tool-item p {
    padding: 10px;
    background-color: white;
    color: var(--dark-color);
}

@media (max-width: 992px) {
    .analysis-container {
        flex-direction: column;
    }
    
    .analysis-visual, .analysis-features {
        width: 100%;
    }
    
    .tools-gallery {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .tool-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .tool-item {
        width: 100%;
    }
    
    .analysis-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* 数据可视化样式 */
.visualization-showcase {
    background-color: #f4f8f4;
    padding: 50px 0;
}

.visualization-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.viz-card {
    display: flex;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.viz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.viz-image {
    flex: 1;
    min-width: 250px;
}

.viz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.viz-content {
    flex: 2;
    padding: 25px;
}

.viz-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.viz-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.viz-features {
    list-style: none;
    padding: 0;
}

.viz-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #555;
}

.viz-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.9rem;
}

.platform-features {
    padding: 50px 0;
    background-color: white;
}

@media (max-width: 992px) {
    .viz-card {
        flex-direction: column;
    }
    
    .viz-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .viz-content {
        padding: 20px;
    }
    
    .viz-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .viz-image {
        height: 200px;
    }
}

/* 物流驿站样式 */
.station-showcase {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.station-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.station-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.station-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.station-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(76, 175, 80, 0.1) 100%);
    animation: stationFlow 3s infinite linear;
    pointer-events: none;
}

@keyframes stationFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}

.station-features {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.station-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.station-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.station-feature .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.3rem;
    margin: 0;
}

.feature-content {
    display: flex;
    flex-direction: column;
}

.feature-content h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: var(--dark-color);
}

.feature-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.station-demo {
    margin-top: 40px;
    text-align: center;
    padding: 0 20px;
}

.station-demo h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.demo-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.demo-gallery .demo-item {
    width: 280px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.demo-gallery .demo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.demo-gallery .demo-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.demo-gallery .demo-item p {
    padding: 12px;
    background-color: white;
    color: var(--dark-color);
    font-weight: 500;
}

/* 驿站系统展示样式 */
.station-system-showcase {
    background-color: #f4f8f4;
    padding: 50px 0;
}

.system-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.system-tabs .tab {
    padding: 12px 20px;
    background-color: #e8f5e9;
    color: var(--dark-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.system-tabs .tab:hover {
    background-color: #d5e8d8;
}

.system-tabs .tab.active {
    background-color: var(--primary-color);
    color: white;
}

.system-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-content {
    display: none;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.tab-content.active {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.content-image {
    flex: 1;
    min-width: 300px;
}

.content-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.content-details {
    flex: 1;
    min-width: 300px;
}

.content-details h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.content-details p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #555;
}

.feature-list li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* 农户使用流程 */
.farmer-process {
    padding: 50px 0;
    background-color: white;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    width: 180px;
    text-align: center;
    position: relative;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    top: 25px;
    right: -45px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.process-step p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 驿站分布 */
.station-locations {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.locations-map {
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.locations-map img {
    width: 100%;
    display: block;
}

.locations-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.location-region {
    width: 180px;
}

.location-region h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--primary-color);
}

.location-region ul {
    list-style: none;
    padding: 0;
}

.location-region li {
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 15px;
}

.location-region li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

@media (max-width: 992px) {
    .station-container, .tab-content.active {
        flex-direction: column;
    }
    
    .station-visual, .station-features, 
    .content-image, .content-details {
        width: 100%;
    }
    
    .demo-gallery {
        justify-content: center;
    }
    
    .process-step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 768px) {
    .system-tabs .tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .demo-gallery .demo-item {
        width: calc(50% - 10px);
    }
    
    .process-steps {
        gap: 20px;
    }
    
    .process-step {
        width: 150px;
    }
}

@media (max-width: 576px) {
    .demo-gallery .demo-item, .location-region {
        width: 100%;
    }
    
    .station-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .process-steps {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .process-steps::-webkit-scrollbar {
        display: none;
    }
    
    .process-step {
        flex-shrink: 0;
    }
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.station-demo {
    margin-top: 40px;
    text-align: center;
    padding: 0 20px;
}

/* 驿站系统演示样式 */
.system-demo {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.system-demo .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.system-demo .demo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.system-demo .demo-item {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.system-demo .demo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.system-demo .demo-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.system-demo .demo-info {
    padding: 20px;
}

.system-demo .demo-info h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.system-demo .demo-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.system-features {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
    justify-content: center;
}

.feature-column {
    flex: 1;
    min-width: 280px;
}

.feature-column h3 {
    color: #4CAF50;
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
}

.feature-column h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #4CAF50;
    margin-top: 10px;
}

.feature-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-column li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.feature-column li i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 16px;
}

.action-buttons {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
}

.btn-outline {
    padding: 12px 24px;
    background-color: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
    border-radius: 30px;
    font-size: 16px;
} 