/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
nav {
    background-color: #1a1a1a;
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 0;
    background-color: rgba(26, 26, 26, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4CAF50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.nav-links {
        display: flex;
        list-style: none;
        gap: 30px;
    }
    
    /* 汉堡菜单按钮 */
    .menu-toggle {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        transition: transform 0.3s;
    }
    
    .menu-toggle:hover {
        transform: scale(1.1);
    }

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #4CAF50;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #4CAF50;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%) skewX(-25deg);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn:hover {
    background-color: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #45a049;
}

.btn:hover::before {
    transform: translateX(100%) skewX(-25deg);
}

.btn-secondary {
    background-color: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.btn-secondary:hover {
    background-color: #4CAF50;
    color: white;
}

/* 英雄区样式 */
.hero {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(76, 175, 80, 0.1) 0%, rgba(26, 26, 26, 0) 70%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    color: #4CAF50;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

/* 介绍部分样式 */
.intro {
    padding: 120px 0;
    background-color: white;
    position: relative;
}

.intro::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: white;
    border-radius: 50% 50% 0 0;
}

.intro h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 20px;
}

.intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4CAF50;
    border-radius: 2px;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.intro-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.intro-text p::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.intro-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.intro-icon {
    font-size: 200px;
    color: #4CAF50;
    opacity: 0.9;
    filter: drop-shadow(0 10px 20px rgba(76, 175, 80, 0.3));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* 产品链接区域 */
.products-section {
    padding: 120px 0;
    background-color: #f9f9f9;
    text-align: center;
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #f9f9f9;
    border-radius: 0 0 50% 50%;
}

.products-section h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

/* 产品列表页面样式 */
.products-page {
    padding: 180px 0 120px;
    text-align: center;
}

.products-page h1 {
    font-size: 3rem;
    margin-bottom: 60px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 20px;
}

.products-page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4CAF50;
    border-radius: 2px;
}

/* 产品网格样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* 产品卡片样式 */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h2 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #333;
}

.product-info p {
    margin: 0 0 20px 0;
    color: #666;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* 弹窗样式已移除 */

/* 按钮样式增强 */
.primary-btn {
    background: #4CAF50;
    color: white;
}

.primary-btn:hover {
    background: #45a049;
}

.empty-state {
    padding: 100px 0;
    text-align: center;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #CDDC39);
}

.empty-icon {
    font-size: 120px;
    color: #e0e0e0;
    margin-bottom: 40px;
    animation: pulseSlow 3s ease-in-out infinite;
}

@keyframes pulseSlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.empty-state h2 {
    font-size: 2rem;
    color: #666;
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 页脚样式 */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #1a1a1a;
    border-radius: 50% 50% 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: #4CAF50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo p {
    color: #ccc;
    line-height: 1.8;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #4CAF50;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4CAF50;
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: #4CAF50;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #333;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .intro-content {
        gap: 50px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .intro-icon {
        font-size: 150px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a1a1a;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid #333;
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 150px 0 100px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .intro-content {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-text p {
        padding-left: 0;
    }
    
    .intro-text p::before {
        display: none;
    }
    
    .intro-icon {
        font-size: 120px;
        margin-top: 30px;
    }
    
    .intro h2,
    .products-section h2,
    .products-page h1 {
        font-size: 2.2rem;
    }
    
    .empty-icon {
        font-size: 80px;
    }
    
    .empty-state h2 {
        font-size: 1.6rem;
    }
    
    .empty-state {
        padding: 60px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        padding-left: 0;
    }
    
    .footer-links a::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .intro h2,
    .products-section h2,
    .products-page h1 {
        font-size: 1.8rem;
    }
    
    .intro,
    .products-section,
    .products-page {
        padding: 80px 0;
    }
}

/* CSS样式结束 */