/* =========================================
   global.css
   通用样式、字体、Header & Footer
   ========================================= */

/* 0. Font Declaration */
@font-face {
    font-family: 'AlibabaPuHuiTi';
    src: url('/font/AlibabaPuHuiTi-3-55-Regular/AlibabaPuHuiTi-3-55-Regular.eot');
    src: url('/font/AlibabaPuHuiTi-3-55-Regular/AlibabaPuHuiTi-3-55-Regular.eot?#iefix') format('embedded-opentype'),
         url('/font/AlibabaPuHuiTi-3-55-Regular/AlibabaPuHuiTi-3-55-Regular.woff2') format('woff2'),
         url('/font/AlibabaPuHuiTi-3-55-Regular/AlibabaPuHuiTi-3-55-Regular.woff') format('woff'),
         url('/font/AlibabaPuHuiTi-3-55-Regular/AlibabaPuHuiTi-3-55-Regular.ttf') format('truetype'),
         url('/font/AlibabaPuHuiTi-3-55-Regular/AlibabaPuHuiTi-3-55-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset & Global Variables */
:root {
    --primary-blue: #0056ff;
    --light-blue-bg: #f0f7ff;
    --card-shadow: 0 8px 24px rgba(0, 50, 150, 0.08);
    --hover-shadow: 0 15px 30px rgba(0, 86, 255, 0.2);
    --text-main: #333333;
    --text-sub: #666666;
    --text-light: #ffffff;
    --accent-blue: #1890ff;
    --border-radius: 12px;
}

html { scroll-behavior: smooth; }

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

body {
    font-family: 'AlibabaPuHuiTi', "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #f5f9fc;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header / Navbar */
.site-header {
    height: 80px;
    background-color: #fff;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 44px; }
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-text h3 { font-size: 12px; color: var(--primary-blue); font-weight: 500; line-height: 1.2; letter-spacing: 1px; }
.logo-text h2 { font-size: 18px; color: #333; font-weight: 700; line-height: 1.2; }

.main-nav ul { display: flex; gap: 40px; }
.main-nav a { font-size: 17px; color: var(--text-sub); font-weight: 500; transition: color 0.3s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-blue); }

/* Footer */
.site-footer { background-color: #0f1525; color: rgba(255,255,255,0.7); padding: 60px 0 30px; text-align: center; }
.footer-logo { margin-bottom: 20px; }
.footer-logo h2 { color: #fff; font-size: 18px; font-weight: 500; letter-spacing: 2px; line-height: 1.4; }
.footer-info p { font-size: 12px; margin-bottom: 8px; }
.footer-copyright { margin-top: 40px; font-size: 12px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; color: rgba(255,255,255,0.4); }