/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    background: 
        linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.6)),
        url('imges/e5ce1414-3602-4e4c-bdea-52ebcb7a12e7.jpg') center top / cover no-repeat fixed;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    /* 添加全局背景图片 */
    background: 
        linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.6)),
        url('imges/e5ce1414-3602-4e4c-bdea-52ebcb7a12e7.jpg') center top / cover no-repeat fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #00a8ff;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero区域 */
.hero {
    /* 主背景图片 - 多种路径尝试 */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), 
        url('imges/e5ce1414-3602-4e4c-bdea-52ebcb7a12e7.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    padding: 150px 0 100px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 168, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* 备用背景（如果图片加载失败） */
/* .hero:not([style*="background-image"]) {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
} */

.hero-content {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00a8ff, #0078ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #00a8ff, #0078ff);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 168, 255, 0.4);
}

.hero-image {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15rem;
    color: rgba(0, 168, 255, 0.1);
    z-index: 1;
}

/* 服务区域 */
.services {
    padding: 100px 0;
    background-color: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(3px);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
    border-color: #00a8ff;
}

.service-icon {
    font-size: 3rem;
    color: #00a8ff;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: #00a8ff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #0078ff;
}

/* 特色功能区域 */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(26, 26, 26, 0.7));
    backdrop-filter: blur(3px);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.features-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-item i {
    font-size: 4rem;
    color: #00a8ff;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.feature-item p {
    color: #888;
    font-style: italic;
}

/* 定制服务区域 */
.custom-services {
    padding: 100px 0;
    background-color: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(3px);
}

.custom-services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.custom-item {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.custom-item:hover {
    transform: translateY(-5px);
    border-color: #00a8ff;
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.15);
}

.custom-item i {
    font-size: 2.5rem;
    color: #00a8ff;
    margin-bottom: 1rem;
}

.custom-item h3 {
    color: #fff;
    font-size: 1.2rem;
}

.custom-cta {
    text-align: center;
    margin-top: 3rem;
}

/* 数据特点区域 */
.data-features {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(26, 26, 26, 0.7));
    backdrop-filter: blur(3px);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.data-item {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #00a8ff;
}

.data-item h3 {
    color: #00a8ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.data-item p {
    color: #ccc;
    line-height: 1.6;
}

.data-summary {
    text-align: center;
    padding: 2rem;
}

.data-summary h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.data-summary p {
    color: #ccc;
    font-size: 1.1rem;
}

/* 客户评价区域 */
.testimonials {
    padding: 100px 0;
    background-color: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(3px);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.1);
    border-color: #00a8ff;
}

.testimonial-content p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    color: #fff;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #00a8ff;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* 关于我们区域 */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(26, 26, 26, 0.7));
    backdrop-filter: blur(3px);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 3rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.company-info {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 10px;
    border: 1px solid #333;
}

.company-info h3 {
    color: #00a8ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.company-info p {
    color: #ccc;
    margin-bottom: 0.8rem;
}

/* 联系我们区域 */
.contact {
    padding: 100px 0;
    background-color: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(3px);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: #00a8ff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.contact-item i {
    color: #00a8ff;
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
}

.contact-form {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #333;
}

.contact-form h3 {
    color: #00a8ff;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00a8ff;
    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.1);
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-group input {
    flex: 1;
}

#captchaCanvas {
    background-color: #fff;
    border-radius: 3px;
}

#refreshCaptcha {
    background-color: #00a8ff;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

#refreshCaptcha:hover {
    background-color: #0078ff;
}

.submit-btn {
    background: linear-gradient(135deg, #00a8ff, #0078ff);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.3);
}

/* 页脚 */
.footer {
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(3px);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(51, 51, 51, 0.4);
}

.footer-content {
    text-align: center;
}

.footer-mission {
    margin-bottom: 2rem;
}

.footer-mission p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.footer-copyright p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #00a8ff, #0078ff);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        text-align: center;
        margin: 0.5rem 0;
    }
    
    .hero {
        background-attachment: scroll; /* 移动端固定背景可能影响性能 */
    }
    
    body {
        background-attachment: scroll; /* 移动端优化 */
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .nav-brand .logo {
        height: 40px;
    }
    
    .services-grid,
    .features-grid,
    .custom-grid,
    .data-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-group input {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services,
    .features,
    .custom-services,
    .data-features,
    .testimonials,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .service-card,
    .testimonial-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .custom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-brand .logo {
        height: 35px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature-item,
.custom-item,
.data-item,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00a8ff, #0078ff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0078ff, #00a8ff);
}
