/* 全局样式 */
:root {
    --primary-color: #E50914;
    --secondary-color: #333;
    --background-color: #fff;
    --text-color: #333;
    --light-gray: #f5f5f7;
    --dark-gray: #86868b;
    --transition-speed: 0.3s;
    --max-content-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    max-width: var(--max-content-width);
    margin: 0 auto;
    width: 100%;
}

.logo-image {
    height: 30px;
    width: auto;
    margin-top: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 40%;
}

.nav-links li {
    position: relative;
}

.nav-links a {
        font-size: 1rem;
        font-weight: 500;
        transition: color var(--transition-speed);
    }
    
    @media screen and (max-width: 768px) {
        .nav-links a {
            font-size: 0.9rem;
            padding: 8px 10px;
            display: block;
            width: 85%;
            text-align: center;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 6px;
            margin: 0 auto;
            transition: all 0.2s ease;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        
        .nav-links a:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateX(-3px);
        }
        
        .nav-links a::after {
            display: none;
        }
    }

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.burger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.burger div {
    width: 22px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 4px;
    transition: all 0.2s ease;
    border-radius: 1px;
}

/* 首屏展示区样式 */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--light-gray);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    display: flex;
    align-items: center;
    top: 0;
    right: 0;
    width: 50%;
    max-width: calc((100% - var(--max-content-width)) / 2 + var(--max-content-width) / 2);
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-background img {
    position: relative;
    display: block;
    width: calc((var(--max-content-width)) / 2);
    pointer-events: none;
}
/* 滚动箭头样式 */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.scroll-down span {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin: -8px 0;
    animation: scrollAnimate 2s infinite;
}

.scroll-down span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-down span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollAnimate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 40%, rgba(255,255,255,0.2) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    width: 45%;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    margin: 0;
    margin-left: max(10%, calc((100% - var(--max-content-width)) / 2 + 5%));
}

@media (min-width: 1600px) {
    .hero-content {
        margin-left: calc((100% - var(--max-content-width)) / 2 + 10%);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.hero-content .slogan {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.3);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 113, 227, 0.4);
}

/* 产品展示区样式 */
.products {
    background-color: var(--background-color);
    text-align: center;
    padding: 100px 0;
}

.products > .content-wrapper {
    padding: 0 20px;
}

.products h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.products h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-speed);
}

.product-cover img {
    object-fit: cover;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    align-self: flex-start;
}

.product-intro {
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 15px;
    background-color: rgba(66, 133, 244, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.product-line {
    position: relative;
    display: flex;
    align-items: center;
}

.product-more {
    color: #333;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 4px 4px;
    margin-left: 10px;
    margin-top: 2px;
}

.product-more:hover {
    border-color: #000;
    color: #000;
}

.product-features {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(245, 245, 245, 0.7);
    border-radius: 8px;
}

.product-features h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.product-features ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.product-features li {
    color: var(--dark-gray);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-button {
    align-self: flex-start;
}

/* 品牌介绍样式 */
.about {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.about > .content-wrapper {
    padding: 0 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.environment-image {
    max-height: 400px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.about-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color var(--transition-speed);
    cursor: pointer;
}

.about-button:hover {
    background-color: var(--secondary-color);
}

/* 联系信息样式 */
.contact {
    padding: 100px 0;
    text-align: center;
    background-color: var(--background-color);
}

.contact > .content-wrapper {
    padding: 0 20px;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    cursor: text;
}

.contact-form textarea {
    height: 150px;
    resize: none;
}

.contact-form button {
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: background-color var(--transition-speed);
}

.contact-form button:hover {
    background-color: #005bb9;
}

/* 表单状态样式 */
.form-status {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
}

.form-status .error {
    color: #721c24;
    background-color: #f8d7da;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
}

.form-status .success {
    color: #155724;
    background-color: #d4edda;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
}

.form-status .loading {
    color: #0c5460;
    background-color: #d1ecf1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #bee5eb;
}

/* 页脚样式 */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 0 20px;
}

footer > .content-wrapper {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 10px;
    transition: background-color var(--transition-speed);
    position: relative;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.social-links i {
    font-size: 1.2rem;
}

/* 简化的二维码容器 */
.qrcode-container-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.qrcode-container {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 80px;
}

.qrcode-item p {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.qrcode-image-footer {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    margin-top: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed);
}

.qrcode-image-footer:hover {
    transform: scale(1.5);
    z-index: 10;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: #aaa;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .nav-links {
        width: 60%;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    #home {
        height: auto;
    }
    
    .hero-background img {
        display: none;
    }

    .hero-content .slogan {
        font-size: 24px;
    }
    .nav-links {
        position: absolute;
        right: 0;
        height: auto;
        top: 8vh;
        background-color: rgba(255, 255, 255, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 40%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        box-shadow: -3px 0 8px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
        border-radius: 0 0 0 8px;
    }
    
    .nav-links li {
        opacity: 0;
        margin: 12px 0;
        width: 100%;
    }
    
    .burger {
        display: block;
    }
    
    /* 汉堡菜单动画效果 */
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 5px);
    }
    
    .burger.toggle .line2 {
        opacity: 0;
    }
    
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -5px);
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        word-break: keep-all;
        white-space: normal;
        max-width: 100%;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        max-width: 100%;
        word-wrap: break-word;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
        word-wrap: break-word;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .qrcode-container-simple {
        justify-content: center;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 20px;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}