/* 全局重置 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: linear-gradient(180deg, #faf9ff 0%, #f5f3ff 100%);
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
ul { list-style: none; }

/* 容器 */
.container { max-width: 1440px; margin: 0 auto; padding: 0 15px; }

/* 顶部导航 */
.header {
    background: #1e40af;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(30, 64, 175, 0.3);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}
.logo {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}
.nav-menu a {
    margin-left: 28px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 8px 0;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}
.nav-menu a:hover {
    color: #fff;
}
.nav-menu a:hover::after {
    width: 100%;
}

/* 通用布局 grid */
.main-layout { display: flex; gap: 20px; margin-top: 20px; margin-bottom: 40px; }
.content-area { flex: 3; }
.sidebar { flex: 1; }

/* 卡片风格 */
.card {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.04);
}
.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: rgba(102, 126, 234, 0.15);
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 底部 */
.footer {
    background: #fff;
    padding: 30px 0;
    text-align: center;
    color: #888;
    margin-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 14px;
}
