/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    overflow-x: hidden;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.container {
    width: 100%;
    max-width: 1269px;
    margin: 0 auto;
    padding: 0 15px;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

p {
    margin-bottom: 15px;
    line-height: 28px;
	font-size: 16px;
	color: #808080;
}

img {
    max-width: 100%;
    height: auto;
}

/* 头部导航 */
header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
	width: 144px;
	height: 65px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e74c3c;
}

nav ul li a.active {
    color: #e74c3c;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e74c3c;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 200px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }
    
    nav ul li {
        margin: 10px 20px;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* 通用部分样式 */
.app-section, .wechat-section, .alipay-section, .douyin-section {
    padding: 60px 0;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.app-section.visible, .wechat-section.visible, .alipay-section.visible, .douyin-section.visible {
    opacity: 1;
}

.wechat-section, .douyin-section {
    background-color: #f8f8f8;
}

.app-content, .wechat-content, .alipay-content, .douyin-content {
    display: flex;
    align-items: center;
    gap: 200px;
}

.app-image, .wechat-image, .alipay-image, .douyin-image {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible .app-image, .visible .wechat-image, .visible .alipay-image, .visible .douyin-image {
    opacity: 1;
    transform: translateX(0);
}

.app-text, .wechat-text, .alipay-text, .douyin-text {
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}

.visible .app-text, .visible .wechat-text, .visible .alipay-text, .visible .douyin-text {
    opacity: 1;
    transform: translateX(0);
}

/* 徽章样式 */
/* .app-badge, .wechat-badge, .alipay-badge, .douyin-badge {
    display: inline-flex;
    flex-direction: column;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 5px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
} */

/* .app-badge span, .wechat-badge span, .alipay-badge span, .douyin-badge span {
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
} */

/* 图标样式 */
.app-icon, .wechat-icon, .alipay-icon, .douyin-icon {
    display: flex;
	gap: 20px;
	margin-bottom: 15px;
}

.app-icon img, .wechat-icon img, .alipay-icon img, .douyin-icon img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
}

/* 文本样式 */
.app-text h2, .wechat-text h2, .alipay-text h2, .douyin-text h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.app-text p:nth-child(3), .wechat-text p:nth-child(3), .alipay-text p:nth-child(3), .douyin-text p:nth-child(3) {
    font-weight: bold;
    margin-bottom: 20px;
	color: #333333;
}

/* 页脚 */
footer {
    background-color: #333;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}
.footer-content {
	display: flex;
	justify-content: space-between;
    font-size: 14px;
    color: #aaa;
    padding-top: 20px;
}
.footer-content a{
	text-decoration: none;
	color: #d0d0d0;
	margin-left: 5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .app-content, .wechat-content, .alipay-content, .douyin-content {
        flex-direction: column;
    }
    
    .app-image, .wechat-image, .alipay-image, .douyin-image {
        margin-bottom: 30px;
    }
    
    .app-text, .wechat-text, .alipay-text, .douyin-text {
        padding-top: 40px;
    }
    
    /* 调整动画方向 */
    .app-image, .wechat-image, .alipay-image, .douyin-image,
    .app-text, .wechat-text, .alipay-text, .douyin-text {
        transform: translateY(30px);
    }
    
    .visible .app-image, .visible .wechat-image, .visible .alipay-image, .visible .douyin-image,
    .visible .app-text, .visible .wechat-text, .visible .alipay-text, .visible .douyin-text {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 15px;
    }
    
    .app-section, .wechat-section, .alipay-section, .douyin-section {
        padding: 40px 0;
    }
    
    .app-image img, .wechat-image img, .alipay-image img, .douyin-image img {
        max-width: 80%;
    }
    
    /* 调整徽章位置 */
    /* .app-badge, .wechat-badge, .alipay-badge, .douyin-badge {
        position: relative;
        display: inline-flex;
        flex-direction: row;
        margin-bottom: 10px;
    } */
    
    .app-icon, .wechat-icon, .alipay-icon, .douyin-icon {
        margin-left: 20px;
    }
}

@media (max-width: 576px) {
    nav ul li {
        margin: 0 10px;
    }
    
    .app-text h2, .wechat-text h2, .alipay-text h2, .douyin-text h2 {
        font-size: 20px;
    }
    
    .app-text p, .wechat-text p, .alipay-text p, .douyin-text p {
        font-size: 14px;
    }
    
    /* .app-badge, .wechat-badge, .alipay-badge, .douyin-badge {
        font-size: 12px;
    } */
    
    .app-icon img, .wechat-icon img, .alipay-icon img, .douyin-icon img,
    .app-icon div, .wechat-icon div, .alipay-icon div, .douyin-icon div {
        width: 40px;
        height: 40px;
    }
    
    /* 调整间距 */
    .app-section, .wechat-section, .alipay-section, .douyin-section {
        padding: 30px 0;
    }
    
    .app-content, .wechat-content, .alipay-content, .douyin-content {
        gap: 20px;
    }
}

/* 超小屏幕设备 */
@media (max-width: 375px) {
    .app-text h2, .wechat-text h2, .alipay-text h2, .douyin-text h2 {
        font-size: 18px;
    }
    
    .app-text p, .wechat-text p, .alipay-text p, .douyin-text p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .app-icon, .wechat-icon, .alipay-icon, .douyin-icon {
        margin-left: 10px;
    }
    
    .app-icon div, .wechat-icon div, .alipay-icon div, .douyin-icon div {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }
}
