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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
}

.register-btn {
    padding: 0.5rem 1.5rem;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.register-btn:hover {
    background-color: #2980b9;
}

main {
    padding: 2rem 0;
    overflow-x: hidden;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.carousel {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0.8rem;
    transition: all 0.3s ease;
}

.carousel-button:hover {
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button i {
    color: #000;
    font-size: 1.5rem;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;  /* 默认禁用点击事件 */
}

.carousel-item.active {
    opacity: 1;
    pointer-events: auto;  /* 激活状态时启用点击事件 */
}

.carousel-item h2 {
    margin-bottom: 1rem;
    color: #000000;
}

.download-btn {
    margin-top: 1.5rem;
    padding: 1rem 3rem;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 180px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    z-index: 100;
}

.download-btn i {
    font-size: 1.2rem;
}

.download-btn:hover {
    background-color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.carousel-indicators-wrapper {
    background-color: #f5f5f5;
    margin-top: 8rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.indicator {
    padding: 2rem 1.5rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}

.indicator i {
    font-size: 1.5rem;
}

.indicator.active {
    color: #000;
}

.indicator.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #000;
    border-radius: 2px;
}

.indicator:hover {
    color: #000;
}

.platform-logo {
    margin-bottom: 2rem;
}

.platform-logo i {
    font-size: 5rem;
    color: #000;
}

footer {
    padding: 3rem 5%;
    display: flex;
    justify-content: center;
    gap: 4rem;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #1a73e8;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .carousel-container {
        padding: 1rem;
    }

    .carousel {
        height: 450px;
    }

    .carousel-item {
        height: 450px;
        padding: 1rem;
    }

    .platform-logo i {
        font-size: 4rem;
    }

    .carousel-indicators {
        padding: 0;
    }

    .indicator {
        padding: 1.5rem;
    }

    .indicator span {
        display: none;
    }

    .indicator i {
        font-size: 1.8rem;
        margin: 0;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .footer-section {
        width: 100%;
    }

    .carousel-button {
        padding: 0.6rem;
    }
    
    .carousel-button i {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    header {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .register-btn {
        padding: 0.4rem 1rem;
    }

    .carousel {
        height: 400px;
    }

    .carousel-item {
        height: 400px;
    }

    .platform-logo i {
        font-size: 3.5rem;
    }

    .carousel-item h2 {
        font-size: 1.5rem;
    }

    .carousel-indicators-wrapper {
        margin-top: 2rem;
    }
}