/* ===== 全局变量与重置 ===== */
:root {
    --primary-dark: #0a2647;
    --primary-deep: #144272;
    --primary-blue: #205295;
    --primary-light: #2c74b3;
    --accent-cyan: #48b5e0;
    --accent-glow: #7fd2ff;
    --text-light: #f0f9ff;
    --text-muted: #c9e4ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(72, 181, 224, 0.25);
    --card-bg: rgba(10, 38, 71, 0.7);
    --section-spacing: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 38, 71, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 0.8rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 4px 30px rgba(0, 20, 40, 0.5);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.logo-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-switch a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(72, 181, 224, 0.15);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.lang-switch a:hover,
.lang-switch a.active {
    background: rgba(72, 181, 224, 0.3);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(72, 181, 224, 0.4);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), white);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active-nav::after {
    width: 100%;
}

.nav-links a:hover {
    color: white;
}

/* ===== 通用区块样式 ===== */
section {
    scroll-margin-top: 80px;
}

.fullscreen-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 6rem 5% 4rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.section-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 3rem;
    padding: 4rem;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.5);
}

/* 各板块专属背景 */
#home {
    background-image: linear-gradient(125deg, rgba(10, 38, 71, 0.8), rgba(20, 66, 114, 0.7)), 
    url('./bg3.jpg');
}

#business {
    background-image: linear-gradient(105deg, #0a2647, #144272), 
    url('./bg2.jpg');
    background-blend-mode: overlay;
}

#solutions {
    background: radial-gradient(ellipse at 20% 30%, #1b4b77, #0a1f36);
}

#about {
    background: linear-gradient(115deg, #0c3053, #0e3a5f), 
    url('./bg1.jpg');
    background-blend-mode: soft-light;
}

#stats {
    background: #0b2b4a;
}

#contact {
    background: linear-gradient(125deg, rgba(10, 38, 71, 0.8), rgba(20, 66, 114, 0.7)), url('./bg4.jpg');
}

/* ===== 排版元素 ===== */
h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, var(--accent-glow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    border-left: 6px solid var(--accent-cyan);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: var(--accent-glow);
}

.lead-text {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ===== 网格系统 ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

/* ===== 卡片组件 ===== */
.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -5px rgba(0, 40, 80, 0.6);
    border-color: var(--accent-cyan);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(10, 38, 71, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-glow);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.solution-card {
    background: var(--card-bg);
    border-radius: 2rem;
    padding: 2rem;
    border-left: 4px solid var(--accent-cyan);
}

/* ===== 联系区块 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2rem;
    padding: 2.5rem;
    font-size: 1.2rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    width: 2.5rem;
}

.contact-info a {
    color: var(--accent-glow);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: white;
    text-decoration: underline;
}

.map-placeholder {
    background: linear-gradient(rgba(0, 30, 60, 0.7), rgba(0, 30, 60, 0.8)),url(./p3.jpg);
    background-size: cover;
    border-radius: 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--accent-cyan);
    font-size: 1.2rem;
}

/* ===== 按钮样式 ===== */
.btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: default;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(72, 181, 224, 0.2);
}

.btn-outline:hover {
    background: var(--accent-cyan);
    color: var(--primary-dark);
    box-shadow: 0 0 30px var(--accent-glow);
}

/* ===== 页脚 ===== */
.footer {
    background: rgba(4, 16, 30, 0.95);
    padding: 3rem 5% 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(72, 181, 224, 0.2);
    color: var(--text-muted);
}

/* ===== 响应式设计 ===== */
@media screen and (max-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-container {
        padding: 3rem;
    }
}

@media screen and (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-links {
        justify-content: center;
        gap: 1.2rem;
    }
    
    .fullscreen-section {
        background-attachment: scroll;
        padding: 5rem 1.5rem 3rem;
    }
    
    .section-container {
        padding: 2rem;
        border-radius: 2rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-info p {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 480px) {
    .logo-area {
        justify-content: center;
    }
    
    .lang-switch {
        margin-left: 0;
    }
    
    .service-card, .stat-card {
        padding: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}