/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #22c55e, #15803d);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: bold;
    color: #1f2937;
}

.logo-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #22c55e;
}

.btn-cta {
    background: #22c55e;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-cta:hover {
    background: #15803d;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #374151;
    transition: 0.3s;
}

/* 横幅区域 */
.hero {
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 16px;
}

.hero-content h1 span {
    color: #bbf7d0;
}

.hero-content p {
    font-size: 20px;
    color: #bbf7d0;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: #fff;
    color: #15803d;
}

.btn-primary:hover {
    background: #f0fdf4;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 优势展示 */
.features {
    padding: 64px 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #22c55e;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.feature-card p {
    color: #6b7280;
}

/* 产品分类预览 */
.products-preview {
    padding: 64px 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-category {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: center;
    padding: 48px 32px;
}

.product-category:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.category-icon {
    width: 192px;
    height: 192px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.9);
}

.category-icon.daily {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.category-icon.food {
    background: linear-gradient(135deg, #f97316, #c2410c);
}

.product-category h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.product-category p {
    color: #6b7280;
    margin-bottom: 24px;
}

.btn-blue {
    background: #3b82f6;
    color: #fff;
}

.btn-blue:hover {
    background: #1d4ed8;
}

.btn-orange {
    background: #f97316;
    color: #fff;
}

.btn-orange:hover {
    background: #c2410c;
}

/* 关于我们预览 */
.about-preview {
    padding: 64px 0;
    background: #f3f4f6;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.stat-1,
.stat-4 {
    background: #22c55e;
}

.stat-2,
.stat-3 {
    background: #15803d;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #bbf7d0;
}

/* CTA区域 */
.cta {
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: #fff;
    padding: 64px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 18px;
    color: #bbf7d0;
    margin-bottom: 32px;
}

.btn-white {
    background: #fff;
    color: #15803d;
}

.btn-white:hover {
    background: #f0fdf4;
}

/* 页脚 */
.footer {
    background: #111827;
    color: #fff;
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-info p {
    color: #9ca3af;
    margin: 16px 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s;
}

.social-link:hover {
    background: #22c55e;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #22c55e;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
}

.footer-contact svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
    color: #9ca3af;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}