* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-menu li a,
.navbar.scrolled .nav-cta-button {
    color: #333;
}

.navbar.scrolled .nav-cta-button {
    background: #667eea;
    color: white;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    opacity: 0.8;
}

.nav-cta-button {
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* 内容区域 */
.section {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 首页Hero区域 */
#home {
    background: linear-gradient(135deg, #1a237e 0%, #e91e63 50%, #ff4081 100%);
    color: white;
    text-align: center;
    padding: 120px 2rem 60px;
    min-height: 42vh;
    max-width: 100% !important;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    pointer-events: none;
}

#home h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    font-weight: 700;
    line-height: 1.4;
    max-width: 1200px;
    width: 100%;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#home .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
    line-height: 2;
    max-width: 1200px;
    width: 100%;
    color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: white;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 关于我们 */
#about {
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* 服务 */
#services {
    background: white;
}

/* 合作伙伴区域 */
.partners-section {
    background: #f5f5f5;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-radius: 10px;
}

.partners-title {
    text-align: center;
    font-size: 1.5rem;
    color: #bbb;
    margin-bottom: 2rem;
    font-weight: 500;
}

.partners-logos-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-logos-wrapper {
    width: 100%;
    overflow: hidden;
}

.partners-logos-scroll {
    display: flex;
    gap: 2rem;
    animation: scroll-logos 80s linear infinite;
    width: max-content;
}

.partners-logos-scroll:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    border: 6px solid #deecff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

/* 服务内容图片 */
.services-image-container {
    margin-top: 3rem;
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.services-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 图片下方文字 */
.services-content-text {
    margin-top: 3rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.services-content-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    text-align: center;
}

/* 案例 */
#cases {
    background: #f8f9fa;
}

.cases-container {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cases-title {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 30px;
    font-weight: normal;
}

.cases-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
}

.cases-logos {
    display: flex;
    justify-content: center;
    gap: 80px;
    align-items: center;
}

.cases-logo {
    flex: 1;
    max-width: 300px;
}

.cases-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.cases-product-images {
    margin-top: 40px;
}

.cases-product-images img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cases-product-images img:last-child {
    margin-bottom: 0;
}

/* 联系我们 */
#contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#contact .section-title {
    color: white;
}

#contact .section-title::after {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
}

.contact-info h3 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: #FF6B00;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
}

.contact-guests {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-guest {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 98%;
    margin: 0 auto;
}

.contact-guest img {
    width: 100%;
    max-width: 70%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: #FF6B00;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
/* 响应式设计 */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-guest img {
        max-width: 90%;
    }
    
    .form-row {
        flex-direction: column;
    }
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li a {
        font-size: 1.1rem;
    }

    .nav-cta-button {
        margin-top: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle span {
        background: white;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .navbar.scrolled .mobile-menu-toggle span {
        background: #333;
    }

    #home {
        min-height: 35vh;
        padding: 100px 1.5rem 50px;
    }

    #home h1 {
        font-size: 2rem;
    }

    #home .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

            .about-content,
            .services-grid,
            .cases-grid,
            .contact-content {
                grid-template-columns: 1fr;
            }

            .partners-section {
                padding: 2rem 1rem;
            }

            .partners-title {
                font-size: 1.2rem;
                margin-bottom: 1.5rem;
            }

            .partner-logo {
                width: 80px;
                height: 80px;
            }

            .services-content-text {
                padding: 0 1rem;
            }

            .services-content-text p {
                font-size: 0.9rem;
            }

            .services-image-container {
                width: 90%;
                max-width: 90%;
                margin-left: auto;
                margin-right: auto;
            }
        }

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

