* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.nav-links .lang-switch button {
    padding: 6px 12px;
    background: transparent;
    color: #333;
    border: 1px solid #d4af37;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    margin-left: 5px;
}

.nav-links .lang-switch button:hover {
    background: linear-gradient(135deg, #c41e3a 0%, #d4af37 100%);
    color: white;
    border-color: #c41e3a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #ffffff;
    color: #333;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid #c41e3a;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'STKaiti', 'KaiTi', '楷体', serif;
    background: linear-gradient(135deg, #c41e3a 0%, #d4af37 40%, #228b22 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 10px;
    animation: gradientShift 3s ease infinite, pulse 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c41e3a 0%, #d4af37 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #c41e3a;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f5f5f5 100%);
    color: #333;
    text-align: center;
    padding: 220px 20px 280px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(196, 30, 58, 0.08) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #1a1a1a;
}

.hero h1 span {
    background: linear-gradient(135deg, #c41e3a 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.5rem;
    color: #666;
    font-weight: 300;
}

section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #c41e3a;
    font-weight: 700;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c41e3a 0%, #d4af37 50%, #1a1a1a 100%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.vision-mission, .intro {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.vision-mission:hover, .intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #c41e3a;
}

.vision-mission h3, .intro h3 {
    color: #c41e3a;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d4af37;
    display: inline-block;
}

.vision-mission p, .intro p {
    color: #555;
    line-height: 1.9;
    font-size: 1rem;
}

.subsidiaries {
    margin-top: 3rem;
}

.subsidiaries h3 {
    text-align: center;
    color: #c41e3a;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.company-card {
    display: block;
    background: #ffffff;
    color: #333;
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    font-weight: 500;
    font-size: 1.1rem;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #c41e3a 0%, #d4af37 100%);
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.12);
    border-color: #c41e3a;
    color: #c41e3a;
}

.company-card:hover::before {
    width: 6px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #c41e3a 0%, #d4af37 50%, #1a1a1a 100%);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #c41e3a;
}

.product-card h3 {
    color: #c41e3a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: inline-block;
}

.product-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c41e3a 0%, #d4af37 100%);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #c41e3a;
}

.news-item:hover::before {
    width: 100%;
}

.news-item h3 {
    color: #c41e3a;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.news-item .date {
    color: #c41e3a;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.news-item p {
    color: #555;
    line-height: 1.7;
}

#contact {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffffff;
    padding: 60px 0 0;
    margin-top: auto;
}

#contact h2 {
    color: #ffffff;
}

#contact h2::after {
    background: linear-gradient(90deg, #c41e3a 0%, #d4af37 50%, #ffffff 100%);
}

.contact-info {
    text-align: center;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c41e3a 0%, #d4af37 50%, #ffffff 100%);
}

.contact-info p {
    margin-bottom: 1.2rem;
    color: #cccccc;
}

.contact-info strong {
    color: #d4af37;
    font-weight: 600;
}

footer {
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 0;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #999999;
}

footer a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

footer a:hover {
    color: #c41e3a;
}



.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(196, 30, 58, 0.5);
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #ffffff;
    margin: 8% auto;
    padding: 2.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 60px rgba(196, 30, 58, 0.2);
    animation: fadeInUp 0.5s ease;
    border: 1px solid #e8e8e8;
}

.close {
    position: absolute;
    right: 1.2rem;
    top: 0.8rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
}

.close:hover {
    color: #c41e3a;
}

.modal-content h3 {
    color: #c41e3a;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-content h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #c41e3a 0%, #d4af37 100%);
    margin: 0.5rem auto 0;
}

.modal-content input {
    width: 100%;
    padding: 1rem 1.2rem;
    margin: 0.6rem 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: #fafafa;
}

.modal-content input:focus {
    outline: none;
    border-color: #c41e3a;
    background: white;
}

.modal-content button {
    width: 100%;
    padding: 1rem;
    background: #c41e3a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.modal-content button:hover {
    background: linear-gradient(135deg, #c41e3a 0%, #d4af37 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.news-modal-content {
    max-width: 600px;
}

.news-modal-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.news-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    nav {
        position: relative;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .nav-links li a {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .logo {
        font-size: 1.8rem;
        letter-spacing: 5px;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
}
