/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #25AE78 20%, #1a8c5f 80%);
}

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.logo-img {
    height: 40px;
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 0.5rem;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #25AE78;
    background: rgba(37, 174, 120, 0.1);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
}

/* 主要内容区样式 */
.main-content {
    margin-top: 80px;
    padding: 4rem 0;
    background: transparent;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.left-content h1 {
    font-size: 3.3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #25AE78 0%, #1a8c5f 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.download-btn i {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 174, 120, 0.2);
}

.download-btn.windows {
    background: linear-gradient(135deg, #00a4ef 0%, #0078d4 100%);
}

.download-btn.android {
    background: linear-gradient(135deg, #3ddc84 0%, #2bb673 100%);
}

/* 图片轮播样式 */
.image-slider {
    width: 100%;
    max-width: 900px;
    height: 500px;
    position: relative;
    overflow: visible;
    border-radius: 12px;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 轮播图指示点 */
.slider-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .content-container {
        max-width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .left-content h1 {
        font-size: 2.8rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .image-slider {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 1rem;
        text-align: center;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-img {
        height: 32px;
    }

    .content-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .left-content {
        text-align: center;
        padding: 0 1rem;
    }

    .left-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .download-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
    }

    .image-slider {
        height: 300px;
        margin: 0 auto;
    }

    .slider-dots {
        bottom: -30px;
        gap: 10px;
        padding: 8px 15px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-left {
        text-align: center;
    }

    .qr-codes {
        justify-content: center;
    }

    .modal-content {
        width: 95%;
        max-width: 400px;
        margin: 1rem;
    }

    .contact-content {
        flex-direction: column;
        padding: 1rem;
    }

    .contact-image {
        display: none;
    }

    .contact-info {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }

    .logo {
        font-size: 0.9rem;
    }

    .logo-img {
        height: 28px;
    }

    .left-content h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .download-btn {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }

    .image-slider {
        height: 250px;
    }

    .slider-dots {
        bottom: -25px;
        gap: 8px;
        padding: 6px 12px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .footer-container {
        padding: 1.5rem 0.5rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .footer-contact {
        font-size: 0.9rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .qr-codes {
        gap: 1rem;
    }

    .qr-item {
        width: 120px;
    }

    .qr-item img {
        width: 100px;
        height: 100px;
    }

    .qr-item p {
        font-size: 0.8rem;
    }

    .modal-content {
        padding: 1rem;
    }

    .contact-info h2 {
        font-size: 1.3rem;
    }

    .info-item {
        padding: 0.8rem;
    }

    .info-content h3 {
        font-size: 1rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }
}

/* 页脚样式 */
.footer {
    background: #ffffff;
    color: #333;
    padding: 3rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-left {
    flex: 1;
    padding-right: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.footer-contact {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: #666;
}

.footer-copyright {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.footer-beian-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.beian-separator {
    color: #666666;
    margin: 0 8px;
}

.footer-beian {
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.footer-beian:hover {
    color: #3a82ef;
}

.beian-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.qr-codes {
    display: flex;
    gap: 2.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.qr-item {
    text-align: center;
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
    min-width: 140px;
}

.qr-item:hover {
    transform: translateY(-5px);
}

.qr-item img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.qr-item p {
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.qr-item p img {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    box-shadow: none;
}

@media screen and (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-left {
        text-align: center;
        padding-right: 0;
    }

    .qr-codes {
        justify-content: center;
        gap: 1.5rem;
    }

    .qr-item {
        min-width: 120px;
    }

    .qr-item img {
        width: 100px;
        height: 100px;
    }
}

@media screen and (max-width: 480px) {
    .footer-container {
        padding: 1.5rem 0.5rem;
    }

    .qr-codes {
        gap: 1rem;
    }

    .qr-item {
        min-width: 100px;
    }

    .qr-item img {
        width: 90px;
        height: 90px;
    }

    .qr-item p {
        font-size: 0.9rem;
    }
}

/* 弹窗样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 0;
    width: 95%;
    max-width: 1600px;
    height: 90%;
    max-height: 900px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: modalFadeIn 0.3s ease;
    transform: translateY(0);
    overflow: hidden;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 合作咨询页面样式 */
.contact-section {
    margin-top: 80px;
    padding: 2rem 0;
    background: linear-gradient(135deg, #25AE78 0%, #1a8c5f 100%);
    min-height: calc(100vh - 80px);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    padding: 2rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.info-item i {
    font-size: 1.8rem;
    color: #25AE78;
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}

.info-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.info-content p a {
    color: #25AE78;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-content p a:hover {
    color: #1a8c5f;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-image {
        height: 300px;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }
} 