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

:root {
    --primary: #0f4c81;
    --primary-dark: #0a3d62;
    --primary-light: #1a6bb0;
    --accent: #f39c12;
    --accent-light: #fef3e2;
    
    --bg-dark: #1a1a2e;
    --bg-section: #f8f9fb;
    --bg-card: #ffffff;
    --bg-highlight: #f0f5fb;
    
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    
    --border-light: #edf2f7;
    --border-medium: #e2e8f0;
    
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    
    --font-sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-hover: 0 12px 32px rgba(0,0,0,0.12);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s ease;
    
    --card-radius: 14px;
    --btn-radius: 8px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.65;
    color: var(--text-primary);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

body > header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

header .logo {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 0.5px;
    text-decoration: none;
    line-height: 1;
    display: flex;
    align-items: center;
    margin-right: 48px;
}

header .logo:link,
header .logo:visited,
header .logo:hover,
header .logo:active {
    color: #1a1a2e;
    text-decoration: none;
}

header .logo img {
    height: 32px;
    width: auto;
    margin-right: 8px;
}

header .nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    margin-left: 40px;
}

header .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

header .nav-links a:hover {
    color: var(--primary);
    background: transparent;
}

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

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

header .nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

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

header .contact-btn {
    background: var(--primary);
    color: #fff;
    padding: 10px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(15,76,129,0.2);
    white-space: nowrap;
    margin-left: auto;
}

header .contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15,76,129,0.3);
}

header .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    gap: 5px;
}

header .hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

header .hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

header .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

header .hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15,76,129,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

footer {
    background: var(--bg-dark);
    color: #fff;
    padding: var(--space-4xl) 0 var(--space-xl);
}

footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

footer h4 {
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

footer p {
    color: rgba(255,255,255,0.6);
    font-size: 0.92em;
    line-height: 1.7;
    margin-bottom: 8px;
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

footer a:hover {
    color: #fff;
}

footer .wechat-info {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 20px;
}

footer .wechat-info p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95em;
    margin-bottom: 20px;
}

footer .qr-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

footer .qr-item {
    text-align: center;
}

footer .wechat-qr {
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 8px;
    margin: 0 auto;
}

footer .wechat-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer .copyright {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85em;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 1024px) {
    footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    header .hamburger { display: flex; }
    
    header .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 90px 24px 40px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        display: flex !important;
    }
    
    header .nav-links.active { right: 0; }
    
    header .nav-links a {
        padding: 15px 16px;
        border-bottom: 1px solid var(--border-light);
        font-size: 1.05em;
        color: #333;
        border-radius: 8px;
        margin-bottom: 4px;
    }
    
    header .nav-links a:hover {
        background: var(--bg-section);
        color: var(--primary);
    }
    
    header .nav-links a.active {
        color: var(--primary);
        font-weight: 600;
        background: rgba(15,76,129,0.05);
    }
    
    header .nav-links a.active::after { display: none; }
    
    header .nav-links .contact-btn {
        display: block;
        text-align: center;
        margin-top: 24px;
        margin-left: 0;
        padding: 14px 28px;
        font-size: 1em;
        border-bottom: none;
        border-radius: 8px;
    }
    
    header .nav-links .contact-btn::after { display: none; }
    
    .nav-overlay.active { display: block; }
    
    header .container { padding: 10px 16px; }
    header .logo { font-size: 20px; }
    header .logo img { height: 28px; }
    
    footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    
    footer .wechat-qr { width: 120px; height: 120px; }
    
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
    
    .page-header { padding: 50px 0; }
    .page-header h1 { font-size: clamp(1.4em, 4vw, 2.0em); }
    .page-header p { font-size: 0.95em; }
    
    .content { padding: 40px 0; }
    .content h2 { font-size: 1.4em; }
    .content h3 { font-size: 1.2em; }
    .content p { font-size: 0.95em; }
}

@media (min-width: 769px) {
    header .nav-links { display: flex !important; }
}

.page-header {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(160deg, #0a0a1a, #16213e);
    color: #fff;
}

.page-header h1 {
    font-size: clamp(1.8em, 4vw, 2.6em);
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255,255,255,0.65);
    font-size: 1.08em;
    max-width: 600px;
    margin: 0 auto;
}

.content {
    padding: var(--space-4xl) 0;
}

.content h2 {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.content h3 {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
}

.content p {
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.content ul {
    padding-left: 24px;
    margin-bottom: var(--space-lg);
}

.content ul li {
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.8;
    padding: 6px 0;
}

.content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.content a:hover {
    text-decoration: underline;
}