/* 基础样式 */
:root {
    --bg-color: #0a0e17;
    --card-bg: #12192c;
    --text-color: #e2e8f0;
    --neon-color: #00f7ff;
    --neon-color-blue: #7928ca;
    --accent-color: #ff00ff;
    --secondary-color: #2d3748;
    --border-color: rgba(0, 247, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 霓虹文字效果 */
.neon-text {
    color: var(--neon-color);
    text-shadow: 0 0 5px var(--neon-color), 0 0 10px var(--neon-color), 0 0 20px var(--neon-color);
}

.neon-text-blue {
    color: var(--neon-color-blue);
    text-shadow: 0 0 5px var(--neon-color-blue), 0 0 10px var(--neon-color-blue), 0 0 20px var(--neon-color-blue);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--neon-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #a0aec0;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.btn-primary {
    background-color: var(--neon-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px var(--neon-color);
    border: 1px solid var(--neon-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--neon-color);
    box-shadow: 0 0 20px var(--neon-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--neon-color-blue);
    border: 1px solid var(--neon-color-blue);
    box-shadow: 0 0 10px var(--neon-color-blue);
}

.btn-secondary:hover {
    background-color: var(--neon-color-blue);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--neon-color-blue);
}

.hero-animation {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-orbs {
    position: relative;
    width: 400px;
    height: 400px;
}

.glowing-orbs::before,
.glowing-orbs::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 4s infinite alternate;
}

.glowing-orbs::before {
    width: 200px;
    height: 200px;
    background-color: rgba(0, 247, 255, 0.4);
    top: 50px;
    left: 50px;
}

.glowing-orbs::after {
    width: 150px;
    height: 150px;
    background-color: rgba(121, 40, 202, 0.4);
    bottom: 50px;
    right: 50px;
    animation-delay: 2s;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 247, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

/* 服务区域样式 */
.services {
    padding: 100px 0;
    background-color: var(--card-bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: #a0aec0;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--neon-color), var(--neon-color-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--neon-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: #a0aec0;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--neon-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--neon-color-blue);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    position: relative;
}

.about .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-content,
.about-image {
    flex: 1;
    min-width: 300px;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    margin-bottom: 20px;
    color: #a0aec0;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--neon-color);
}

.stat-item p {
    color: #a0aec0;
    font-size: 0.9rem;
}

.tech-graphic {
    width: 100%;
    height: 400px;
    position: relative;
}

.circuit-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
}

.circuit-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, transparent 48%, var(--border-color) 48%, var(--border-color) 52%, transparent 52%),
                      linear-gradient(-45deg, transparent 48%, var(--border-color) 48%, var(--border-color) 52%, transparent 52%);
    background-size: 20px 20px;
    opacity: 0.2;
}

.glowing-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
}

.glowing-lines::before,
.glowing-lines::after {
    content: '';
    position: absolute;
    background-color: var(--neon-color);
    filter: blur(10px);
}

.glowing-lines::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
}

.glowing-lines::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
}

/* 案例展示样式 */
.cases {
    padding: 100px 0;
    background-color: var(--card-bg);
    position: relative;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.1);
}

.case-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-img {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(10, 14, 23, 0.8));
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.case-content p {
    color: #a0aec0;
    margin-bottom: 20px;
}

.view-details {
    display: inline-flex;
    align-items: center;
    color: var(--neon-color-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-details i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.view-details:hover {
    color: var(--neon-color);
}

.view-details:hover i {
    transform: translateX(5px);
}

.view-more-cases {
    text-align: center;
    margin-top: 50px;
}

/* 团队介绍样式 */
.team {
    padding: 100px 0;
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.1);
}

.team-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(18, 25, 44, 0.8));
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.team-info p {
    color: #a0aec0;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-color);
    color: var(--neon-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-social a:hover {
    background-color: var(--neon-color);
    color: var(--bg-color);
    transform: translateY(-5px);
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background-color: var(--card-bg);
    position: relative;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--neon-color);
    margin-right: 20px;
    min-width: 30px;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-text p {
    color: #a0aec0;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-color);
    color: var(--neon-color);
    margin-right: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-social a:hover {
    background-color: var(--neon-color);
    color: var(--bg-color);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--neon-color);
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* 页脚样式 */
.footer {
    padding: 70px 0 30px;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo,
.footer-links,
.footer-services {
    flex: 1;
    min-width: 200px;
}

.footer-logo a {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #a0aec0;
    margin-bottom: 20px;
}

.footer-links h3,
.footer-services h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--neon-color);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 15px;
}

.footer-links a,
.footer-services a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--neon-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.footer-copyright p {
    color: #a0aec0;
}

.footer-privacy a {
    color: #a0aec0;
    text-decoration: none;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.footer-privacy a:hover {
    color: var(--neon-color);
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* 响应式样式 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-animation {
        width: 40%;
    }
    .glowing-orbs {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-color);
        border-top: 1px solid var(--border-color);
        transition: all 0.3s ease;
        z-index: 999;
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .nav-links li {
        margin: 15px 0;
    }
    .hamburger {
        display: block;
    }
    .hero {
        text-align: center;
    }
    .hero-animation {
        display: none;
    }
    .hero-content {
        max-width: 100%;
    }
    .btn-primary,
    .btn-secondary {
        margin: 10px;
    }
    .about .container {
        flex-direction: column;
    }
    .about-content {
        order: 2;
    }
    .about-image {
        order: 1;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .services-grid,
    .cases-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-privacy {
        margin-top: 15px;
    }
    .footer-privacy a {
        margin: 0 10px;
    }
}