/* 基础样式 */
:root {
    --primary: #0a84ff;
    --primary-dark: #0066cc;
    --secondary: #00c6ff;
    --dark: #0d1b2a;
    --darker: #070d15;
    --light: #e0e1dd;
    --gray: #778da9;
    --dark-blue: #1b263b;
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* 确保粒子在内容下方 */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

h5 {
    font-size: 1.1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--gray);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn.primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(10, 132, 255, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 132, 255, 0.4);
}

.btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary);
}

.btn.secondary:hover {
    background: rgba(10, 132, 255, 0.1);
}

.btn.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn.login {
    background: transparent;
    color: var(--light);
    margin-right: 15px;
}

/* 导航栏样式 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.alk {
    color: var(--primary);
    font-weight: 800;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-btns {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* 首页英雄区域 */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

/* 服务区域 */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.service-card {
    background: rgba(27, 38, 59, 0.6);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 40px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(10, 132, 255, 0.1);
    transition: height 0.3s;
    z-index: -1;
}

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

.service-card:hover::before {
    height: 100%;
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background: rgba(10, 132, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 15px;
    color: white;
}

.service-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
}

.service-card a i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.service-card a:hover i {
    transform: translateX(5px);
}

/* 特性区域 */
.features {
    background: var(--darker);
}

.features .container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.feature-content {
    flex: 1;
}

.feature-image {
    width: 100%;
    flex: 1;
}

.feature-list {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(10, 132, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-text h3 {
    color: white;
    margin-bottom: 10px;
}

.world-map {
    position: relative;
    width: 100%;
    height: 400px;
    background: url('/src/map.svg') no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.location {
    position: absolute;
    background: var(--primary);
    color: white;
    padding: 13px 13px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(10, 132, 255, 0.4);
    animation: pulse 2s infinite;
    cursor: pointer;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(10, 132, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(10, 132, 255, 0);
    }
}

.popup {
    position: absolute;
    background: linear-gradient(145deg, var(--primary-dark), rgba(10, 132, 255, 0.1));
    border-radius: 15px;
    padding: 15px;
    width: 130px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.popup h3 {
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup p {
    font-size: 0.6rem;
    line-height: 1;
    color: #e0e0e0;
    margin-bottom: 15px;
}

/* 统计数据区域 */
.stats {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    padding: 150px 0;
    text-align: center;
}

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

.stat-item {
    padding: 30px;
    background: rgba(27, 38, 59, 0.6);
    border-radius: 15px;
    border: 1px solid var(--border);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    overflow: hidden;
}

.stat-item p {
    font-size: 1.2rem;
    color: var(--light);
}

/* 客户评价区域 */
.testimonials {
    background: var(--darker);
}

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

.testimonial-card {
    background: rgba(27, 38, 59, 0.6);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 40px;
    position: relative;
}

.testimonial-card:hover {
    transition: transform 0.3s, box-shadow 0.3s;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card .quote {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: rgba(10, 132, 255, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 30px;
}

.client {
    display: flex;
    align-items: center;
}

.client .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client h4 {
    color: white;
    margin-bottom: 5px;
}

.client p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* CTA区域 */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 30px;
}

/* 页脚 */
footer {
    background: var(--darker);
    padding-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
}

.footer-col ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    transition: all 0.3s;
    text-decoration:none;
}

.social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin-bottom: 0;
    color: var(--gray);
}

.footer-bottom .links a {
    color: var(--gray);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-bottom .links a:hover {
    color: var(--primary);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .features .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 100;
    }
    
    nav ul.active {
        transform: translateY(0);
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .nav-btns {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
}