/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 导航栏 */
nav {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 45px;
    height: 45px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
}

.nav-links a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* 导航链接下划线动画 */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

/* 横幅 */
.banner {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%);
    text-align: center;
    padding: 120px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

/* 装饰元素 */
.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(76,175,80,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.banner .container {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 25px;
    color: #333;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #666;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76,175,80,0.3);
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76,175,80,0.4);
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800, #9C27B0);
}

.about h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
    font-weight: bold;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 2px;
}

.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 25px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    animation: fadeIn 1s ease-out;
}

.about p:nth-child(2) {
    animation-delay: 0.2s;
}

.about p:nth-child(3) {
    animation-delay: 0.4s;
}

/* 平台特色 */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: #333;
    font-weight: bold;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 2px;
}

.feature-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    margin: 20px;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-item h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* 特色卡片动画 */
.feature-item {
    animation: fadeInUp 1s ease-out;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* 应用下载 */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, white 0%, #f8f8f8 100%);
    text-align: center;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800, #9C27B0);
}

.download h2 {
    margin-bottom: 50px;
    font-size: 32px;
    color: #333;
    font-weight: bold;
    position: relative;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.download h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 2px;
}

.download-options {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.download-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    margin: 20px;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
}

.download-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.download-item h3 {
    margin-bottom: 25px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.download-item p {
    color: #666;
    margin-bottom: 20px;
}

.qrcode {
    margin-top: 20px;
    position: relative;
}

.qrcode img {
    width: 180px;
    height: 180px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.download-item:hover .qrcode img {
    transform: scale(1.05);
}

/* 下载项动画 */
.download-item {
    animation: fadeInUp 1s ease-out;
}

.download-item:nth-child(1) {
    animation-delay: 0.1s;
}

.download-item:nth-child(2) {
    animation-delay: 0.2s;
}

.download-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f7ff 100%);
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800, #9C27B0);
}

.contact h2 {
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
    font-weight: bold;
    position: relative;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 2px;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out;
}

.contact-info p {
    margin-bottom: 15px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info p::before {
    content: '📞';
    margin-right: 10px;
    font-size: 18px;
}

.contact-info p:nth-child(2)::before {
    content: '📧';
}

.contact-info p:nth-child(3)::before {
    content: '📍';
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #333 0%, #222 100%);
    color: white;
    text-align: center;
    padding: 30px 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800, #9C27B0);
}

footer p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

footer p:hover {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .nav-links {
        display: none;
    }

    .feature-list,
    .download-options {
        flex-direction: column;
        align-items: center;
    }

    .feature-item,
    .download-item {
        max-width: 100%;
    }

    .banner h1 {
        font-size: 28px;
    }

    .banner p {
        font-size: 16px;
    }
}