/* 全局样式重置与基础配置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f3b33; /* 深墨绿主色 */
    --primary-light: #2a9d8f; /* 亮绿辅助色 */
    --accent: #c9a962; /* 金色点缀色 */
    --dark: #121c2b; /* 深色文字 */
    --gray: #5a6b7c; /* 灰色文字 */
    --light-gray: #f5f8f7; /* 浅灰背景 */
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 16px 48px rgba(15, 59, 51, 0.1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 通用按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.25);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary-light);
    color: var(--primary-light);
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--white);
}

.btn-gold {
    background: linear-gradient(135deg, #b8944d, var(--accent));
    color: var(--white);
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.25);
    transition: var(--transition);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 98, 0.35);
}

/* 通用区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 720px;
    margin: 0 auto;
}

/* 头部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text span {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--dark);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-light);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* 面包屑导航 */
.page-banner {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f0f7f5 0%, #f8faf9 100%);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42,157,143,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.breadcrumb {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--primary-light);
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #092621 0%, #0f3b33 100%);
    color: #cbd5e1;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo .logo-text h1 {
    color: white;
}

.footer-logo .logo-text span {
    color: #94a3b8;
}

.footer-about p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

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

.footer-col h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: #94a3b8;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
    width: 16px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.beian-note {
    margin-top: 8px;
    font-size: 12px;
}

.beian-note a {
    color: #94a3b8;
    margin: 0 6px;
}

.beian-note a:hover {
    color: var(--accent);
}

/* 响应式适配 */
@media (max-width: 992px) {
    .container {
        padding: 0 24px;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.active {
        left: 0;
    }
    .menu-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 28px;
    }
}
