/* 基本样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background-color: #0078D4;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0062ad;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0078D4;
}

.section-header p {
    color: #6c757d;
    font-size: 18px;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0078D4;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0078D4;
    transition: width 0.3s;
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 首页Banner样式 */
.hero {
    background: linear-gradient(to right, #0078D4, #00a1ff);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 180px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 关于我们样式 */
.about-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0078D4;
}

.about-text p {
    margin-bottom: 20px;
}

/* 服务内容样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 20px;
    font-size: 40px;
    color: #0078D4;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* 产品展示样式 */
.products-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 10px 0 30px;
    scrollbar-width: thin;
    scrollbar-color: #0078D4 #f8f9fa;
}

.product-item {
    min-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0078D4;
}

/* 联系我们样式 */
.contact-content {
    display: flex;
    gap: 30px;
}

.contact-info, .contact-form {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: #0078D4;
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0078D4;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #0078D4;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #0078D4;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: #0078D4;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .about-text h3, .service-card h3, .product-info h3, .info-item h3 {
        font-size: 20px;
    }
}

/* APP产品展示样式 */
.app-showcase {
    padding: 20px 0;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.app-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.app-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.app-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
}

.app-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.app-item p {
    color: #6c757d;
    margin-bottom: 15px;
}

.app-link {
    color: #0078D4;
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s;
}

.app-link:hover {
    color: #0062ad;
}

/* APP详情弹窗样式 */
.app-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.app-detail-modal.active {
    opacity: 1;
    visibility: visible;
}

.app-detail-content {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 10px;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s;
}

.app-detail-modal.active .app-detail-content {
    transform: translateY(0);
}

.app-detail-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

.app-detail-close:hover {
    background-color: #f8f9fa;
    color: #333;
}

.app-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.app-detail-icon {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    border-radius: 16px;
    overflow: hidden;
}

.app-detail-title h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.app-detail-title p {
    color: #6c757d;
}

.app-detail-screenshots {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
}

.app-screenshot {
    min-width: 280px;
    height: 500px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.app-detail-description {
    margin-bottom: 30px;
}

.app-detail-description h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0078D4;
}

.app-detail-features {
    margin-bottom: 30px;
}

.app-detail-features h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0078D4;
}

.app-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.app-feature-item {
    display: flex;
    align-items: flex-start;
}

.app-feature-item i {
    color: #0078D4;
    margin-right: 10px;
    margin-top: 3px;
}

.app-detail-footer {
    text-align: center;
} 