/* 引入 Google 字体 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary: #0052cc;
    --secondary: #0a192f;
    --accent: #64ffda;
    --text-light: #f8f9fa;
    --text-dark: #172b4d;
    --gradient: linear-gradient(135deg, #0a192f 0%, #0052cc 100%);
}

body {
    font-family: 'Open Sans', "PingFang SC", "Microsoft YaHei", sans-serif;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.8;
}

/* 导航栏美化 */
nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

nav ul { display: flex; list-style: none; gap: 40px; }
nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    transition: 0.3s;
    font-size: 15px;
}
nav ul li a:hover { color: var(--primary); }

/* 巨幕 Banner 美化 */
.hero {
    background: var(--gradient);
    color: white;
    padding: 160px 8% 100px;
    text-align: center;
    clip-path: ellipse(150% 100% at 50% 0%); /* 弧形底部 */
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

/* 卡片布局美化 */
section { padding: 100px 8%; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2rem; color: var(--secondary); position: relative; display: inline-block; }
.section-title h2::after {
    content: '';
    width: 50%; height: 4px;
    background: var(--primary);
    position: absolute; bottom: -10px; left: 25%;
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
}
.card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,82,204,0.1); border-color: var(--primary); }
.card i { font-size: 40px; color: var(--primary); margin-bottom: 20px; display: block; }

/* 页脚美化 */
footer {
    background: var(--secondary);
    color: var(--text-light);
    padding: 80px 8% 40px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-info h4 { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; margin-bottom: 20px; color: var(--accent); }
.footer-info p { opacity: 0.7; font-size: 14px; margin: 10px 0; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 移动端适配 */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero h1 { font-size: 2rem; }
}