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

body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #6B46C1;
}

.nav-logo img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #6B46C1;
}

.nav-auth {
    display: flex;
    gap: 15px;
}

.login-btn,
.register-btn {
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}

.login-btn {
    color: #6B46C1;
    border: 1px solid #6B46C1;
}

.register-btn {
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    color: white;
    border: none;
}

.login-btn:hover {
    background: #6B46C1;
    color: white;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主banner区域 */
.hero-section {
    background: linear-gradient(135deg, #6B46C1, #8B5CF6, #A855F7);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 70vh;
}

.hero-text {
    color: white;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.cta-button {
    display: inline-block;
    background: #FFD700;
    color: #333;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 30px;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.hero-image {
    position: relative;
}

.software-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: translateY(20px);
}

.software-card h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.software-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background: #FFD700;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-illustration img {
    width: 100%;
    max-width: 200px;
    margin-top: 20px;
}

/* 产品分类 */
.products-section {
    padding: 100px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.product-icon i {
    font-size: 2rem;
    color: white;
}

.product-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.product-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.product-features span {
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* 热门产品 */
.featured-section {
    padding: 100px 0;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-image img {
    width: 100%;
    border-radius: 20px;
}

.featured-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 25px;
}

.featured-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.featured-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-info h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.stat-info p {
    color: #666;
    margin: 0;
}

.learn-more-btn {
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.3);
}

/* 热门推荐 */
.recommendations-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
}

.recommendations-section .section-title {
    color: white;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: white;
    color: #6B46C1;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.recommendation-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.recommendation-card:hover {
    transform: translateY(-10px);
}

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

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
}

.card-actions {
    display: flex;
    gap: 15px;
}

.detail-btn,
.contact-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s;
}

.detail-btn {
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
}

.contact-btn {
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    color: white;
    border: none;
    cursor: pointer;
}

.detail-btn:hover {
    background: #e2e8f0;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.view-more {
    text-align: center;
}

.view-more-btn {
    background: white;
    color: #6B46C1;
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* 服务特色 */
.services-section {
    padding: 100px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    object-fit: cover;
}

.service-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: #6B46C1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.service-link:hover {
    color: #8B5CF6;
}

/* 联系咨询 */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
}

.contact-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.contact-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.contact-text {
    flex: 1;
}

.contact-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    gap: 15px;
}

.contact-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.submit-btn {
    background: #FFD700;
    color: #333;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.footer-text p {
    color: #bbb;
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

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

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.payment-grid img {
    width: 40px;
    height: 30px;
    background: white;
    border-radius: 5px;
    padding: 5px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #bbb;
}

/* 单页内容样式 */
.page-content {
    margin-top: 70px;
}

.page-content .page-header {
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    padding: 100px 0 60px;
    color: white;
    text-align: center;
}

.page-content .page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-content .page-header p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* 公司简介 */
.company-intro {
    padding: 80px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 25px;
}

.intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.intro-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #6B46C1;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
}

/* 核心优势 */
.advantages-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.advantage-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.advantage-icon i {
    font-size: 2rem;
    color: white;
}

.advantage-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* 服务流程 */
.process-section {
    padding: 80px 0;
}

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

.process-item {
    position: relative;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.process-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 20px 0 15px;
}

.process-content p {
    color: #666;
    line-height: 1.6;
}

/* 技术实力 */
.technology-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.tech-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.tech-category h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tech-tag:hover {
    background: #6B46C1;
    color: white;
}

/* 联系我们样式重写 */
.page-content .contact-section {
    padding: 80px 0;
    background: white;
}

.page-content .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 15px;
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

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

.consultation-form input,
.consultation-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
    border-color: #6B46C1;
}

.consultation-form .submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.consultation-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .contact-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .nav-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    /* 单页响应式 */
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .page-content .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px;
    }
} 