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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #007bff;
}

/* 章节标题 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #2563eb  100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.section-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

/* 顶部导航栏 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 5px;
}

.logo p {
    font-size: 12px;
    color: #666;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: #007bff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* 首页 Banner */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #2563eb  100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../images/banner.jpg) no-repeat center center;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 服务项目 */
.services {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.service-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.service-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

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

.service-features {
    padding-left: 20px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #666;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: #fff;
}

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

.about-text h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

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

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

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 15px;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: #007bff;
    transform: translateY(-5px);
}

.feature-item:hover .feature-icon svg {
    color: #fff;
}

.feature-item:hover h4,
.feature-item:hover p {
    color: #fff;
}

.feature-item:hover a {
    color: #fff !important;
    text-decoration: underline;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    color: #007bff;
    transition: color 0.3s ease;
}

.feature-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

/* 成功案例 */
.cases {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.case-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #2563eb  100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.case-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.case-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 48px;
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.case-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: #007bff;
    color: #fff;
    font-size: 12px;
    border-radius: 15px;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background-color: #fff;
}

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

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #2563eb  100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.contact-text h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.contact-text p {
    color: #666;
    font-size: 14px;
}

.contact-form {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-section h3 {
    font-size: 20px;
}

.footer-section h4 {
    font-size: 16px;
}

.footer-section p {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-section ul li a {
    color: #999;
    font-size: 14px;
}

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

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

.footer-bottom p {
    color: #999;
    font-size: 14px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        height: 500px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .services,
    .about,
    .cases,
    .contact {
        padding: 60px 0;
    }

    .about-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item {
        padding: 20px 10px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 13px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .logo p {
        font-size: 10px;
    }

    .hero {
        height: 400px;
    }
}

/* 案例详情页面样式优化 */
.about-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.about-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #2563eb  100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.about-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.about-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
    stroke-width: 2.5;
}

.about-text h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* 服务图标优化 */
.services-grid .service-item {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.services-grid .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.services-grid .service-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #667eea 0%, #2563eb  100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.services-grid .service-item:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.services-grid .service-icon svg {
    width: 38px;
    height: 38px;
    color: #fff;
    stroke-width: 2.5;
}

.services-grid .service-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.services-grid .service-item p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* 联系信息图标优化 */
.contact-content .contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-content .contact-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.contact-content .contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #2563eb  100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-content .contact-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
    stroke-width: 2.5;
}

.contact-content .contact-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-content .contact-info p {
    color: #666;
    font-size: 15px;
    margin-bottom: 4px;
}

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .service-card,
    .case-item {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .about-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

/* AI模型服务模块样式优化 */
#ai-model-services .service-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

#ai-model-services .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

#ai-model-services .service-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #667eea 0%, #2563eb  100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

#ai-model-services .service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

#ai-model-services .service-icon svg {
    width: 38px;
    height: 38px;
    color: #fff;
    stroke-width: 2.5;
}

#ai-model-services .service-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

#ai-model-services .service-card > p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 15px;
}

#ai-model-services .service-features {
    padding-left: 20px;
}

#ai-model-services .service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

#ai-model-services .service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
}

/* 表单样式优化 */
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.contact-form select:focus {
    outline: none;
    border-color: #007bff;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
}

/* 响应式优化 */
@media (max-width: 768px) {
    #ai-model-services .service-card {
        padding: 30px 20px;
    }
    
    .contact-form select {
        font-size: 13px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 流程样式 */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.process-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #2563eb  100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.process-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.process-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.process {
    padding: 100px 0;
    background-color: #f8f9fa;
}

@media (max-width: 480px) {
    #ai-model-services .service-card {
        padding: 25px 15px;
    }
    
    #ai-model-services .service-icon {
        width: 65px;
        height: 65px;
    }
    
    #ai-model-services .service-icon svg {
        width: 32px;
        height: 32px;
    }
    
    #ai-model-services .service-card h3 {
        font-size: 18px;
    }
    
    #ai-model-services .service-card > p {
        font-size: 14px;
    }
    
    #ai-model-services .service-features li {
        font-size: 13px;
    }
}

/* 特性网格样式 */
.features {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}