/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #28ad49;
}

.logo-icon {
    font-size: 24px;
}

.company-name {
    font-size: 16px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #28ad49;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #28ad49;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 20px;
}

.mobile-menu a {
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #28ad49;
}

/* 首页横幅 */
.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #f5fffa 0%, #f0fdf4 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: #28ad49;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: #28ad49;
    color: white;
}

.btn-primary:hover {
    background: #229b42;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #28ad49;
    border: 2px solid #28ad49;
}

.btn-secondary:hover {
    background: #28ad49;
    color: white;
}

.food-chain {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 32px;
    flex-wrap: wrap;
}

.chain-item {
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(45, 198, 83, 0.2);
}

.chain-arrow {
    color: #28ad49;
    font-size: 24px;
    font-weight: bold;
}

/* 关于我们 */
.about {
    padding: 80px 0;
}

.about h2 {
    text-align: center;
    font-size: 36px;
    color: #28ad49;
    margin-bottom: 60px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 24px;
    color: #28ad49;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #28ad49;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: #f8fffe;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #28ad49;
    border: 2px solid #e6f7e8;
}

/* 产品展示 */
.products {
    padding: 80px 0;
    background: #f8fffe;
}

.products h2 {
    text-align: center;
    font-size: 36px;
    color: #28ad49;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: flex-start;
}

.product-card.active {
    border: 3px solid #28ad49;
}

.product-card.coming-soon {
    opacity: 0.8;
    border: 2px dashed #ccc;
}

.product-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hekan-logo {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.coming-soon-icon {
    width: 120px;
    height: 120px;
    background: #f0f0f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #999;
}

.product-info h3 {
    font-size: 24px;
    color: #28ad49;
    margin-bottom: 10px;
}

.product-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px !important;
    font-style: italic;
}

.product-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-tag {
    background: #e6f7e8;
    color: #28ad49;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.service-flow {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.flow-step {
    background: #28ad49;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.flow-arrow {
    color: #28ad49;
    font-size: 18px;
    font-weight: bold;
}

.coming-soon-label {
    background: #ffa500;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

/* 产品下载 */
.download {
    padding: 80px 0;
}

.download h2 {
    text-align: center;
    font-size: 36px;
    color: #28ad49;
    margin-bottom: 20px;
}

.download p {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

.download-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.download-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0fdf4;
}

.download-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.download-card h4 {
    font-size: 20px;
    color: #28ad49;
    margin-bottom: 20px;
}

.qr-code {
    margin: 20px 0;
}

.qr-placeholder {
    background: #f8fffe;
    padding: 30px;
    border-radius: 8px;
    border: 2px dashed #28ad49;
    color: #28ad49;
    font-size: 14px;
}

.btn-download {
    width: 100%;
    background: #28ad49;
    color: white;
}

.btn-download:hover {
    background: #229b42;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: #f8fffe;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    color: #28ad49;
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 24px;
}

.contact-info h4 {
    font-size: 16px;
    color: #28ad49;
    margin-bottom: 5px;
}

.contact-info p {
    font-size: 14px;
    color: #666;
}

/* 页脚 */
.footer {
    background: #28ad49;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    font-size: 14px;
    margin: 0;
}

.beian-link {
    color: white;
    text-decoration: underline;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.beian-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

.modal-content h3 {
    color: #28ad49;
    margin-bottom: 20px;
}

.agreement-links {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.agreement-links a {
    color: #28ad49;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #28ad49;
    border-radius: 8px;
    transition: all 0.3s;
}

.agreement-links a:hover {
    background: #28ad49;
    color: white;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.modal-buttons .btn {
    flex: 1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .product-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hekan-logo,
    .coming-soon-icon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .company-name {
        font-size: 14px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero .container,
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .food-chain {
        gap: 10px;
    }
    
    .chain-item {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .download-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content p {
        font-size: 12px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .agreement-links {
        flex-direction: column;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .service-flow {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .about,
    .products,
    .download,
    .contact {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .download-card {
        padding: 30px 20px;
    }
    
    .contact-item {
        padding: 20px;
    }
}
