* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.9);
}

.background-image.active {
    opacity: 1;
}

.pc-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    display: none;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 20px;
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-container {
    width: 110px;
    height: 110px;
    margin-bottom: 20px;
    animation: floatUp 0.8s ease-out;
}

@keyframes floatUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

#app-icon {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.app-name {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 服务标签样式 - 使用不同颜色 */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    animation: fadeIn 1.2s ease-out;
}

.service-tag {
    padding: 7px 18px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-tag:nth-child(1) {
    background: linear-gradient(45deg, #FF416C, #FF4B2B);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-tag:nth-child(2) {
    background: linear-gradient(45deg, #12c2e9, #c471ed);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-tag:nth-child(3) {
    background: linear-gradient(45deg, #F2994A, #F2C94C);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-tag:nth-child(4) {
    background: linear-gradient(45deg, #00b09b, #96c93d);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.download-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    width: 85%;
    max-width: 350px;
    animation: fadeIn 1.4s ease-out;
}

.buttons-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 18px;
    width: 100%;
    justify-content: center;
}

.download-btn {
    display: inline-block;
    padding: 14px 45px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.download-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transition: left 0.8s;
}

.download-btn:hover:before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
}

.secondary-btn {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.secondary-btn:active {
    transform: translateY(1px);
}

.customer-service {
    font-size: 14px;
}

#customer-service-link {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s;
}

#customer-service-link:hover {
    color: #ffcc00;
}

/* 企业号样式 - 更显眼 */
.wechat-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 15px;
    margin-top: 20px;
    background: linear-gradient(90deg, rgba(35, 35, 40, 0.75), rgba(25, 25, 30, 0.65));
    padding: 15px 20px;
    border-radius: 30px;
    animation: fadeIn 1.6s ease-out;
    position: relative;
    max-width: 350px;
    width: 85%;
    border: 1px solid rgba(255, 216, 0, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 10px rgba(255, 204, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wechat-container:hover {
    border: 1px solid rgba(255, 216, 0, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 204, 0, 0.2);
    transform: translateY(-2px);
}

.wechat-label {
    color: #fff;
    opacity: 0.8;
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

#wechat-id {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffcc00;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 5px;
}

#copy-wechat-btn {
    white-space: nowrap;
    flex-shrink: 0;
    width: auto;
    min-width: 90px;
    background: rgba(255, 204, 0, 0.15);
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

#copy-wechat-btn:hover {
    background: rgba(255, 204, 0, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.copy-success {
    position: absolute;
    color: #00ff88;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
    margin-top: 5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.copy-success.show {
    opacity: 1;
    transform: translateY(0);
    animation: bounce 0.5s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Modal 样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    position: relative;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.modal h3 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
    color: #333;
}

.tutorial-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.tutorial-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {

    /* PC端隐藏内容 */
    .content {
        display: none;
    }

    .logo-container {
        width: 140px;
        height: 140px;
    }

    .app-name {
        font-size: 42px;
    }

    .download-btn {
        font-size: 20px;
        padding: 15px 50px;
    }

    /* 确保PC端只显示背景 */
    .pc-background {
        display: block;
    }
}