@font-face {
    font-family: 'XiaWen';
    src: url('https://sourcebucket.s3.bitiful.net/fonts/%E9%9C%9E%E9%B9%9C%E6%96%87%E6%A5%B7.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'XiaWen', sans-serif;
    background: url('https://sourcebucket.s3.bitiful.net/img/dm11.webp') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff !important;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.7);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.7);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00b4db, #0083b0);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 150, 255, 0.7);
    background: linear-gradient(90deg, #00b4db, #0083b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    background: linear-gradient(90deg, #00b4db, #0083b0);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 180, 219, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 180, 219, 0.6);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00b4db, #0083b0);
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 180, 219, 0.5);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #00b4db;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.member-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(0, 180, 219, 0.3);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.member-img:hover {
    border-color: rgba(0, 180, 219, 0.7);
    transform: scale(1.05);
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #fff;
}

.member-role {
    color: #00b4db;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icon:hover {
    color: #00b4db;
    transform: translateY(-3px);
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 180, 219, 0.5);
}

.project-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin: 0 auto 30px; /* 居中显示 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px; /* 设置最大宽度 */
    width: 100%; /* 让宽度适应屏幕 */
    box-sizing: border-box; /* 包括内边距在宽度计算中 */
}

.contact-icon {
    font-size: 1.5rem;
    color: #00b4db;
    margin-right: 10px;
}

footer {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    text-decoration: none;
}

.footer-link:hover {
    color: #00b4db;
    text-decoration: none;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

.glow {
    text-shadow: 0 0 10px rgba(0, 180, 219, 0.7);
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid #00b4db;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 2px;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #00b4db; }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}