/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 音符装饰元素 */
.music-note:before {
    content: "𝄞";
    font-size: 1.2rem;
    margin-right: 5px;
    color: #007bff;
}

.music-note:after {
    content: "♫";
    font-size: 1.2rem;
    margin-left: 5px;
    color: #28a745;
}

/* 波纹动画效果 */
@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 1.5s linear infinite;
    pointer-events: none;
}

/* 页头样式 */
header {
    background: #ffffff;
    color: #333333;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    border-bottom: 1px solid #eaeaea;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
    color: #007bff;
    font-weight: 700;
}

.logo-text p {
    font-size: 1rem;
    color: #666666;
    font-style: normal;
}

/* 导航栏 */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

nav ul li a.learning-tag {
    background: #007bff;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

nav ul li a.learning-tag:hover {
    background: #0056b3;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

nav ul li a:hover {
    background: #f0f8ff;
    color: #007bff;
}

/* 主要内容区域 */
.hero {
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: #004085;
    font-weight: 700;
}

.hero-content h2 .music-note::before,
.hero-content h2 .music-note::after {
    font-size: 1.8rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333333;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.hero-btn.primary {
    background: #007bff;
    color: white;
}

.hero-btn.secondary {
    background: #ffffff;
    color: #007bff;
    border: 1px solid #007bff;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn.primary:hover {
    background: #0056b3;
}

.hero-btn.secondary:hover {
    background: #f0f8ff;
}

/* 服务预览区域 */
.services-preview {
    padding: 4rem 0;
    background: #ffffff;
}

.services-preview h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    color: #333333;
    font-weight: 700;
}

.services-preview h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 0.5rem auto;
    border-radius: 3px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.service-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #004085;
    font-weight: 600;
}

.service-item p {
    margin-bottom: 1.2rem;
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-item ul {
    text-align: left;
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}

.service-item li {
    margin-bottom: 0.5rem;
    color: #666666;
    font-size: 0.9rem;
}

.service-item li:before {
    content: "♪";
    color: #007bff;
    margin-right: 0.5rem;
}

/* 客户评价区域 */
.testimonials {
    padding: 4rem 0;
    background: #f8f9fa;
    text-align: center;
}

.testimonials h3 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: #333333;
    font-weight: 700;
}

.testimonials h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 0.5rem auto;
    border-radius: 3px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.8rem;
    text-align: left;
    border: 1px solid #eaeaea;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555555;
    line-height: 1.6;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
}

.testimonial-card .author strong {
    color: #333333;
    font-size: 1.1rem;
}

.testimonial-card .author p {
    font-style: normal;
    color: #666666;
    margin: 0;
    font-size: 0.9rem;
}

/* 下载中心 */
.download-center {
    padding: 3rem 0;
    background: #ffffff;
}

.download-center h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    color: #333333;
    font-weight: 700;
}

.download-center h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 0.5rem auto;
    border-radius: 3px;
}

.download-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    color: #666666;
    line-height: 1.7;
}

.mobile-download {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 15px;
    background: #e9f2ff;
    border-radius: 10px;
    border: 1px solid #bbd7ff;
    align-items: center;
    justify-content: center;
}

.qrcode-container {
    margin-top: 10px;
    text-align: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px dashed #007bff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    width: 100%;
    max-width: 250px;
}

.qrcode-container .download-btn {
    margin-top: 15px;
}

.download-qrcode {
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background: white;
}

.qrcode-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* 特殊下载按钮样式 */
.download-btn.qr-code {
    background: #007bff;
    color: white;
    border: none;
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.download-btn.qr-code:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* 平台快速切换导航 */
.platform-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 15px;
    border: 1px solid #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.platform-nav:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.platform-nav a {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    color: #004085;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-nav a:hover {
    background: #007bff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.platform-nav a:before {
    font-size: 1.2rem;
}

.download-section {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #eaeaea;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.download-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.download-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #004085;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.download-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #007bff;
    border-radius: 3px;
}

.download-section p {
    margin-bottom: 0.7rem;
    color: #555555;
    line-height: 1.6;
}

.download-features {
    margin: 1.2rem 0;
}

.download-features h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #007bff;
    font-weight: 600;
}

.download-features ul {
    padding-left: 1.2rem;
}

.download-features li {
    margin-bottom: 0.5rem;
    color: #666666;
    font-size: 0.95rem;
}

.download-features li:before {
    content: "♪";
    color: #007bff;
    margin-right: 0.5rem;
}

.download-links {
    margin-top: 1.2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
}

.download-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    background: #007bff;
    color: white;
    flex: 0 0 auto;
    width: fit-content;
}

.download-btn.secondary {
    background: #f8f9fa;
    color: #007bff;
    border: 1px solid #007bff;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.download-btn.secondary:hover {
    background: #e9ecef;
}

.download-btn.disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.download-btn.disabled:hover {
    transform: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* 服务页面 */
.services {
    padding: 3rem 0;
    background: #ffffff;
}

.services h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    color: #333333;
    font-weight: 700;
}

.services h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 0.5rem auto;
    border-radius: 3px;
}

.service-category {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #eaeaea;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.service-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #004085;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.service-category h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #007bff;
    border-radius: 3px;
}

.service-category ul {
    list-style: none;
}

.service-category li {
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.service-category li:hover {
    background: #f0f8ff;
    transform: translateX(5px);
}

.service-category a {
    color: #333333;
    text-decoration: none;
    display: block;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 500;
}

.service-category a:before {
    content: "♪";
    color: #007bff;
    position: absolute;
    left: 0;
    top: 0;
}

/* 关于我们 */
.about-us {
    padding: 3rem 0;
    background: #ffffff;
}

.about-us h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    color: #333333;
    font-weight: 700;
}

.about-us h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #007bff;
    margin: 0.5rem auto;
    border-radius: 3px;
}

.company-intro,
.service-detail,
.contact-info {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #eaeaea;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.company-intro h3,
.service-detail h3,
.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #004085;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.company-intro h3::after,
.service-detail h3::after,
.contact-info h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #007bff;
    border-radius: 3px;
}

.service-features h4 {
    font-size: 1.2rem;
    margin: 1.2rem 0 1rem;
    color: #007bff;
    font-weight: 600;
}

.service-features ul {
    padding-left: 1.2rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    color: #666666;
    font-size: 0.95rem;
}

.service-features li:before {
    content: "♪";
    color: #007bff;
    margin-right: 0.5rem;
}

.contact-info ul {
    list-style: none;
    padding-left: 0;
}

.contact-info li {
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    color: #555555;
}

/* 页脚 */
footer {
    background: #333333;
    padding: 2rem 0;
    text-align: center;
    color: #ffffff;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

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

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

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

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

.footer-section .social-links a {
    display: inline-block;
    margin: 0 0.5rem;
    font-size: 1.3rem;
    color: #cccccc;
}

.footer-section .social-links a:hover {
    color: #ffffff;
}

.social-links {
    text-align: center;
}

.qrcode-img {
    max-width: 150px;
    height: auto;
    margin: 10px auto;
    display: block;
    border: 3px solid #007bff;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-links p {
    color: #666666;
    font-size: 0.9rem;
    margin-top: 10px;
    font-weight: 500;
}

.copyright {
    border-top: 1px solid #555555;
    padding-top: 1rem;
    color: #aaaaaa;
    font-size: 0.9rem;
    text-align: center;
}

.copyright a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.copyright a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 80%;
        text-align: center;
    }
    
    .download-links {
        flex-direction: column;
    }
    
    .download-btn {
        width: 100%;
        text-align: center;
    }
    
    .mobile-download {
        align-items: center;
        padding: 10px;
    }
    
    .qrcode-container {
        margin-top: 10px;
        padding: 15px;
    }
    
    .download-qrcode {
        width: 120px;
        height: 120px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section {
        width: 100%;
        text-align: center;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .service-category a:before {
        position: relative;
    }
    
    .platform-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-nav a {
        width: 80%;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .mobile-download {
        flex-direction: row;
        align-items: center;
    }
    
    .qrcode-container {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .download-links .mobile-download {
        width: 100%;
    }
}

/* 背景音符装饰 */
.note-decoration {
    position: absolute;
    font-size: 2rem;
    opacity: 0.05;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
    color: #007bff;
}

.note-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.note-2 {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.note-3 {
    bottom: 30%;
    left: 10%;
    animation-delay: 4s;
}

.note-4 {
    bottom: 10%;
    right: 5%;
    animation-delay: 6s;
}