/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, rgba(10, 92, 122, 0.9), rgba(39, 174, 96, 0.8)), url('../images/yingxiong/yx09.jpg') no-repeat center center/cover;
}

/* 产品系列区域 */
.products-section {
    padding: 60px 40px;
    background-color: #f8f9fa;
}

/* 通用标题样式已移至common.css */

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.series-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
}

.series-tab {
    padding: 12px 30px;
    margin: 0 10px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.series-tab:hover {
    background-color: rgba(10, 92, 122, 0.1);
    color: #0A5C7A;
}

.series-tab.active {
    background-color: #0A5C7A;
    color: white;
    border-color: #0A5C7A;
}

.series-content {
    display: none;
}

.series-content.active {
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    position: relative;
    border: 1px solid rgba(10, 92, 122, 0.1);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(10, 92, 122, 0.15);
    border-color: rgba(10, 92, 122, 0.2);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(10, 92, 122, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: cardEntry 0.6s ease forwards;
}

@keyframes cardEntry {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }
.product-card:nth-child(9) { animation-delay: 0.9s; }

.product-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(10, 92, 122, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-content {
    padding: 20px;
}

.product-series {
    font-size: 14px;
    font-weight: 500;
    color: #27AE60;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-title {
    font-size: 22px;
    font-weight: 600;
    color: #0A5C7A;
    margin-bottom: 15px;
}

.product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.product-features {
    margin-bottom: 20px;
}

.product-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.product-feature i {
    color: #27AE60;
    margin-right: 8px;
    font-size: 14px;
    margin-top: 4px;
}

.product-feature-text {
    font-size: 14px;
    color: #666;
}

.product-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(10, 92, 122, 0.1);
    color: #0A5C7A;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-button:hover {
    background-color: #0A5C7A;
    color: white;
}

/* 原料展示区域 */
.ingredients-section {
    padding: 80px 50px;
    background: linear-gradient(135deg, rgba(10, 92, 122, 0.05), rgba(39, 174, 96, 0.1));
}

.ingredients-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ingredients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ingredient-card {
    width: 23%;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    text-align: center;
}

.ingredient-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ingredient-card.show {
    opacity: 1;
    transform: translateY(0);
}

.ingredient-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(10, 92, 122, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ingredient-icon i {
    font-size: 32px;
    color: #0A5C7A;
}

.ingredient-title {
    font-size: 18px;
    font-weight: 600;
    color: #0A5C7A;
    margin-bottom: 10px;
}

.ingredient-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* 研发成果区域 */
.achievements-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A5C7A 0%, #0D7BA3 100%);
    color: white;
}

.achievements-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.achievements-section .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 50px;
    position: relative;
}

.achievements-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.achievement-card.show {
    opacity: 1;
    transform: translateY(0);
}

.achievement-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.achievement-number {
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-title {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.achievement-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* 页脚样式已移至 common.css */

/* 动画 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .product-card {
        margin-bottom: 0;
    }
    
    .ingredient-card {
        width: 48%;
    }
}

@media (max-width: 768px) {
    /* 导航栏样式已移至 common.css */
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .products-section, .ingredients-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .series-tab {
        margin: 0 5px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        width: 100%;
    }
    
    .product-image {
        height: 180px;
    }
    
    .ingredient-card {
        width: 100%;
    }
    
    /* 页脚样式已移至 common.css */
}

@media (max-width: 480px) {
    .hero {
        height: 45vh;
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .products-section, .ingredients-section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .series-tabs {
        margin-bottom: 25px;
    }
    
    .series-tab {
        margin: 0 3px;
        padding: 8px 15px;
        font-size: 12px;
        border-radius: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
    }
    
    .product-card {
        border-radius: 15px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-content {
        padding: 15px;
    }
    
    .product-series {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .product-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .product-description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .product-feature {
        margin-bottom: 6px;
    }
    
    .product-feature i {
        font-size: 12px;
        margin-top: 3px;
    }
    
    .product-feature-text {
        font-size: 12px;
    }
    
    .product-button {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .ingredient-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .ingredient-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .ingredient-icon i {
        font-size: 28px;
    }
    
    .ingredient-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .ingredient-description {
        font-size: 13px;
    }
    
    .achievements-section {
        padding: 60px 0;
    }
    
    .achievements-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-card {
        padding: 30px 20px;
    }
    
    .achievement-number {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .achievement-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .achievement-description {
        font-size: 14px;
    }
}