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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: #4ecdc4;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff6b6b;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff6b6b;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff5252;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.btn-small {
    display: inline-block;
    padding: 8px 16px;
    background-color: #4ecdc4;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background-color: #3dbdb4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(78, 205, 196, 0.3);
}

.btn-download {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #1a535c;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #124046;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 83, 92, 0.3);
}

.btn-download .icon {
    margin-right: 10px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a535c;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ff6b6b;
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/* 头部导航 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: #1a535c;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo svg {
    margin-right: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    font-weight: 600;
    padding: 10px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #ff6b6b;
}

/* 横幅区域 */
.banner {
    background: linear-gradient(135deg, #1a535c, #4ecdc4);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.05)" points="0,100 100,0 100,100"/></svg>');
    background-size: cover;
}

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

.banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.banner p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 功能特点区域 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.feature-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* 软件界面展示区域 */
.showcase {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.showcase-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
}

.showcase-slider::-webkit-scrollbar {
    display: none;
}

.showcase-item {
    flex: 0 0 80%;
    scroll-snap-align: center;
    margin-right: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.showcase-item:last-child {
    margin-right: 0;
}

.showcase-item img {
    width: 100%;
    height: auto;
}

.showcase-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #666;
}

/* 教程区域 */
.tutorials {
    padding: 80px 0;
    background-color: #fff;
}

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

.tutorial-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tutorial-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tutorial-card h3 {
    padding: 20px 20px 10px;
}

.tutorial-card p {
    padding: 0 20px 20px;
    color: #666;
}

.tutorial-card .btn-small {
    margin: 0 20px 20px;
}

/* 案例展示区域 */
.case-studies {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-card h3 {
    padding: 20px 20px 10px;
}

.case-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* APP下载区域 */
.app-download {
    padding: 80px 0;
    background: linear-gradient(135deg, #4ecdc4, #1a535c);
    color: #fff;
}

.app-download h2, .app-download h3 {
    color: #fff;
}

.app-download h2:after {
    background-color: #fff;
}

.download-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.download-info {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.download-info p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
}

.app-preview {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.app-preview img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 用户评价区域 */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 20px;
}

.testimonial-content {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-content:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(78, 205, 196, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    margin: 0;
    color: #666;
    font-style: normal;
}

/* 文章区域 */
.articles {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card h3 {
    padding: 20px 20px 10px;
}

.article-card p {
    padding: 0 20px;
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    margin: 0 20px 20px;
    color: #4ecdc4;
    font-weight: 600;
}

.read-more:hover {
    color: #ff6b6b;
}

/* FAQ区域 */
.faq {
    padding: 80px 0;
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #4ecdc4;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

/* 联系我们区域 */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: #4ecdc4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
}

.contact-item .text h3 {
    margin-bottom: 5px;
}

.contact-item .text p {
    color: #666;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
footer {
    background-color: #1a535c;
    color: #fff;
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    color: #fff;
    margin: 15px 0 10px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
}

.footer-links-column {
    flex: 1;
    min-width: 150px;
    margin-bottom: 30px;
}

.footer-links-column h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #4ecdc4;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.copyright {
    margin-bottom: 10px;
}

.copyright p {
    opacity: 0.8;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #4ecdc4;
    color: #fff;
    transform: translateY(-3px);
}

.friend-links {
    margin-top: 30px;
}

.friend-links h4 {
    color: #fff;
    margin-bottom: 15px;
}

.friend-links ul {
    display: flex;
    flex-wrap: wrap;
}

.friend-links ul li {
    margin-right: 15px;
    margin-bottom: 10px;
}

.friend-links ul li a, .friend-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.friend-links ul li a:hover, .friend-links a:hover {
    color: #4ecdc4;
}

/* 响应式设计 */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .banner {
        padding: 80px 0;
    }
    
    .showcase-item {
        flex: 0 0 90%;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 20px 15px;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .banner {
        padding: 60px 0;
    }
    
    .btn-primary, .btn-secondary {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .showcase-item {
        flex: 0 0 100%;
    }
    
    .download-info, .app-preview {
        flex: 0 0 100%;
        padding-right: 0;
    }
    
    .app-preview {
        margin-top: 30px;
    }
    
    .contact-info, .contact-form {
        flex: 0 0 100%;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .feature-grid, .tutorial-grid, .case-grid, .article-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links-column {
        flex: 0 0 50%;
    }
}

