root {
    --main: #165DFF;
    --sub: #333333;
    --ok: #00B42A;
    --bg: #F7F8FA;
    --white: #fff;
    --gray: #666;
    --light-gray: #999;
    --orange: #ff6600;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    background: var(--bg);
    color: var(--sub);
    line-height: 1.8;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.nav {
    background: #fff;
    height: 70px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 99;
}
.nav .container {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--main);
}
.nav-menu {
    display: flex;
    gap: 30px;
}
.nav-menu a {
    color: var(--sub);
    text-decoration: none;
    font-size: 15px;
}
.nav-menu a:hover {
    color: var(--main);
}
.nav-menu a.active {
    color: var(--main);
    font-weight: 600;
    border-bottom: 2px solid var(--main);
    padding-bottom: 2px;
}
.page-title {
    padding: 40px 0;
    background: var(--white);
    margin-bottom: 40px;
    text-align: center;
}
.page-title h1 {
    font-size: 28px;
    color: var(--sub);
    font-weight: 600;
}
.section {
    background: var(--white);
    padding: 40px 60px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    border: 1px solid #e8e8e8;
}
.section h2 {
    font-size: 20px;
    color: var(--main);
    margin-bottom: 20px;
    font-weight: 600;
}
.section p, .section li {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 10px;
}
.section ul {
    padding-left: 20px;
}
.section li {
    margin-bottom: 12px;
}
.forbid-list {
    color: #d32f2f;
}
.btn-box {
    text-align: center;
    padding: 40px 0;
}
.btn-box a {
    display: inline-block;
    padding: 14px 36px;
    background: var(--main);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    margin: 0 10px 20px;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-box a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22,93,255,0.3);
}
.btn-box a.btn2 {
    background: var(--ok);
}
.btn-box a.btn2:hover {
    box-shadow: 0 4px 12px rgba(0,180,42,0.3);
}
.footer {
    background: var(--sub);
    color: rgba(255,255,255,0.8);
    padding: 40px 0;
    font-size: 13px;
    text-align: center;
}
.footer p {
    margin-bottom: 8px;
}
.footer a {
    color: rgba(255,255,255,0.8);
    margin: 0 5px;
    text-decoration: none;
}
.footer a:hover {
    color: var(--main);
}

/* 弹窗样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-container {
    background: var(--white);
    border-radius: 16px;
    width: 560px;
    max-width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: modalIn 0.2s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
    background: linear-gradient(135deg, #E8F4FF 0%, #fff3e0 100%);
}
.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--main);
}
.modal-close {
    cursor: pointer;
    font-size: 24px;
    color: var(--light-gray);
    transition: color 0.2s;
}
.modal-close:hover { color: var(--main); }
.modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e8e8e8;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--sub);
}
.form-group .required {
    color: #f44336;
}
.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(22,93,255,0.1);
}
.form-row {
    display: flex;
    gap: 16px;
}
.form-row .form-group {
    flex: 1;
}
.form-hint {
    font-size: 12px;
    color: var(--light-gray);
    margin-top: 4px;
}
.btn-primary {
    background: var(--main);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-primary:hover {
    background: #0e4eda;
    transform: translateY(-1px);
}
.btn-outline {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray);
    transition: all 0.2s;
}
.btn-outline:hover {
    border-color: var(--main);
    color: var(--main);
}

/* Toast 通知 */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10001;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.toast-notification.success { background: var(--ok); }
.toast-notification.error { background: #f44336; }
.toast-notification.warning { background: #fa8c16; }
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* 返回按钮样式 */
.back-link {
    color: var(--main);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    font-weight: normal;
}
.back-link:hover {
    color: #0e4eda;
    transform: translateX(-2px);
}