/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #0a192f;
    color: #e6f1ff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
header {
    background-color: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    background: linear-gradient(90deg, #64ffda, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #ccd6f6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #64ffda;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #64ffda;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: transparent;
    color: #64ffda;
    border: 1px solid #64ffda;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 30px;
}

.cta-button:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* 英雄区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(100, 255, 218, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero h2 {
    font-size: 18px;
    color: #64ffda;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 20px;
    color: #8892b0;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.primary-button {
    background: #64ffda;
    color: #0a192f;
    border: none;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
}

.secondary-button {
    background: transparent;
    color: #64ffda;
    border: 1px solid #64ffda;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.secondary-button:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* 关于我们 */
.about {
    padding: 100px 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #ccd6f6;
    margin-right: 20px;
    font-weight: 700;
}

.section-title .line {
    flex-grow: 1;
    height: 1px;
    background-color: #233554;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: #8892b0;
    margin-bottom: 20px;
    font-size: 18px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid #64ffda;
    border-radius: 5px;
    z-index: -1;
    transition: all 0.3s;
}

.about-image:hover::after {
    top: 15px;
    left: 15px;
}

/* 服务 */
.services {
    padding: 100px 0;
    background: rgba(10, 25, 47, 0.7);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjMTAxOTJmIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiMxMTFlMmYiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=');
    opacity: 0.1;
    z-index: -1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(23, 42, 69, 0.5);
    border-radius: 5px;
    padding: 30px;
    transition: all 0.3s;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(100, 255, 218, 0.3);
}

.service-icon {
    font-size: 40px;
    color: #64ffda;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ccd6f6;
}

.service-card p {
    color: #8892b0;
    font-size: 16px;
}

/* 技术 */
.tech {
    padding: 100px 0;
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
    margin-top: 50px;
}

.tech-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: all 0.3s;
}

.tech-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

.tech-logo img {
    max-width: 100%;
    max-height: 100%;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: rgba(10, 25, 47, 0.7);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 100%, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 50px;
}

.contact-form p {
    color: #8892b0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #ccd6f6;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(23, 42, 69, 0.5);
    border: 1px solid #233554;
    border-radius: 4px;
    color: #e6f1ff;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background: #64ffda;
    color: #0a192f;
    border: none;
    border-radius: 4px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
}

/* 页脚 */
footer {
    background-color: #020c1b;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #64ffda, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    list-style: none;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #ccd6f6;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #64ffda;
}

.social-links {
    display: flex;
    list-style: none;
    margin-bottom: 30px;
    gap: 20px;
}

.social-links a {
    color: #8892b0;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #64ffda;
}

.copyright {
    color: #8892b0;
    font-size: 14px;
    margin-top: 30px;
}
.copyright a {
    color: #8892b0;
    text-decoration: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .nav-links {
        display: none;
    }
}

/* 动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}