/* 基础样式重置与变量定义 */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-rgb: 37, 99, 235;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --secondary-rgb: 16, 185, 129;
    --accent-color: #f59e0b;
    --text-color: #1e293b;
    --light-text: #64748b;
    --bg-color: #f8fafc;
    --light-bg: #f1f5f9;
    --dark-bg: #0f172a;
    --border-color: #e2e8f0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --section-padding: 80px 0;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式优化 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn i {
    margin-right: 8px;
}

/* 表单元素优化 */
input, select, textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

/* 头部导航增强 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    max-width: 180px;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    gap: 5px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding: 10px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* 移动端菜单 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* 英雄区域增强 */
.hero {
    position: relative;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.8) 0%, rgba(0, 51, 102, 0.9) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 特性区域增强 */
.features {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.section-header p {
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(0, 102, 204, 0.05) 0%, transparent 100%);
    transition: height 0.5s ease;
    z-index: -1;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-item:hover::before {
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(360deg);
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--light-text);
}

/* 首页公告资讯区域样式 */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* 分页控件样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.pagination-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination-btn:hover {
    background-color: var(--primary-dark);
}

.pagination-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.pagination-info {
    margin: 0 15px;
    font-size: 16px;
    color: var(--text-color);
}

/* 筛选器样式 */
.news-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tab {
    padding: 8px 15px;
    background-color: #f1f5f9;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: var(--text-color);
}

.filter-tab:hover {
    background-color: #e2e8f0;
}

.filter-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.search-box {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-box input {
    padding: 10px 16px;
    border: none;
    outline: none;
    width: 300px;
    font-size: 16px;
}

.search-box button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: #2980b9;
}

@media (max-width: 768px) {
    .news-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-tabs {
        margin-bottom: 15px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: calc(100% - 50px);
    }
}

/* 新闻网格布局优化 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 公告高亮区域优化 */
.section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: var(--accent-color);
}

.announcements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.announcement-featured {
    grid-column: 1;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.announcement-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.announcement-featured .announcement-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.announcement-featured .announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.announcement-featured:hover .announcement-image img {
    transform: scale(1.05);
}

.announcement-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 1;
}

.announcement-badge.important {
    background-color: #e74c3c;
}

.announcement-featured .announcement-content {
    padding: 25px;
}

.announcement-featured h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.announcement-featured h3 a {
    color: var(--text-color);
    transition: var(--transition);
}

.announcement-featured h3 a:hover {
    color: var(--primary-color);
}

.announcement-meta {
    display: flex;
    gap: 15px;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.announcement-meta i {
    margin-right: 5px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 次要公告网格 */
.announcements-secondary {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.announcements-secondary .announcement-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.announcements-secondary .announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.announcements-secondary .announcement-image {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.announcements-secondary .announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.announcements-secondary .announcement-card:hover .announcement-image img {
    transform: scale(1.05);
}

.announcements-secondary .announcement-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.announcements-secondary h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.announcements-secondary h3 a {
    color: var(--text-color);
    transition: var(--transition);
}

.announcements-secondary h3 a:hover {
    color: var(--primary-color);
}

.announcements-secondary .announcement-meta {
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.announcements-secondary p {
    font-size: 0.9rem;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .announcements-grid {
        grid-template-columns: 1fr;
    }
    
    .announcement-featured,
    .announcements-secondary {
        grid-column: 1;
    }
    
    .announcements-secondary {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 500px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        padding: 12px 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .announcements-secondary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* 公告资讯列表页样式优化 */
.news-section {
    padding: var(--section-padding);
}

.news-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.news-filters::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 16px;
    background-color: var(--light-bg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.search-box {
    display: flex;
    max-width: 300px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.search-box button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--primary-dark);
}

/* 公告资讯网格布局 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.news-badge.important {
    background-color: #ef4444;
}

.news-badge.event {
    background-color: var(--accent-color);
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-tags {
    margin-bottom: 10px;
}

.tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: var(--light-bg);
    color: var(--light-text);
}

.news-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    line-height: 1.4;
}

.news-content p {
    color: var(--light-text);
    margin-bottom: 15px;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: var(--light-text);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.read-more {
    align-self: flex-start;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(3px);
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
}

.pagination a.pagination-next {
    width: auto;
    padding: 0 15px;
}

.pagination a:hover, .pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination-dots {
    cursor: default;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .filter-tabs {
        justify-content: center;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .pagination a, .pagination span {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .pagination a.pagination-next {
        padding: 0 10px;
    }
}

/* 分页相关样式 */
.news-page {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-page.active {
    display: grid;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination a:hover, .pagination a.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pagination-next i {
    margin-left: 5px;
}

@media (max-width: 992px) {
    .news-page {
        grid-template-columns: 1fr;
    }
}

/* 详情模态框样式 */
.detail-image {
    margin-bottom: 20px;
    text-align: center;
}

.detail-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.detail-content {
    line-height: 1.6;
}

.detail-full-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.detail-full-content h3 {
    margin-bottom: 15px;
    color: #333;
}

.detail-full-content h4 {
    margin: 20px 0 10px;
    color: #444;
}

.detail-full-content p {
    margin-bottom: 15px;
}

.detail-full-content ol, .detail-full-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.detail-full-content li {
    margin-bottom: 8px;
}

.modal-header .news-meta {
    margin: 10px 0;
    color: #666;
}

.modal-header .news-tags {
    margin-bottom: 15px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--bg-color);
    margin: 5% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 80%;
    max-width: 800px;
    position: relative;
    animation: slideIn 0.3s;
}

.modal-large {
    max-width: 900px;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--light-text);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-color);
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

/* 关于我们页面样式 */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
    color: white;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.page-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-intro {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.about-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--light-text);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--light-text);
    font-size: 1rem;
}

.mission-vision {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-box, .vision-box, .values-box {
    background-color: var(--bg-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.mission-box:hover, .vision-box:hover, .values-box:hover {
    transform: translateY(-10px);
}

.mission-box .icon, .vision-box .icon, .values-box .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-box h3, .vision-box h3, .values-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.mission-box p, .vision-box p, .values-box p {
    color: var(--light-text);
    line-height: 1.7;
}

.history-timeline {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: calc(50% - 100px);
    width: 80px;
    text-align: right;
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-content {
    position: relative;
    width: calc(50% - 50px);
    margin-left: calc(50% + 30px);
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(even) .timeline-date {
    left: auto;
    right: calc(50% - 100px);
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: calc(50% + 30px);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.timeline-content p {
    color: var(--light-text);
}

.team-section {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.team-member h3 {
    margin: 20px 0 5px;
    color: var(--text-color);
}

.member-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.member-bio {
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--light-text);
    font-size: 0.9rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.partners-section {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        left: 75px;
        top: -30px;
        text-align: left;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        left: 75px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页脚样式优化 */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    padding-right: 20px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3, .footer-newsletter h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after, .footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 0 15px;
    border: none;
    background-color: var(--primary-color);
    color: white;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
}

/* 确保公告资讯页面与首页样式一致 */
.news-section .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-section .news-item.featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.news-section .news-item.featured .news-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.news-section .news-item.featured .news-content {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 25px;
}

@media (max-width: 768px) {
    .news-section .news-item.featured {
        flex-direction: column;
    }
    
    .news-section .news-item.featured .news-image,
    .news-section .news-item.featured .news-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 联系我们页面样式 */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info h2 {
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.contact-info > p {
    margin-bottom: 30px;
    color: var(--light-text);
    line-height: 1.7;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    flex: 0 0 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.info-content p {
    color: var(--light-text);
    margin-bottom: 5px;
}

.social-connect {
    margin-top: 30px;
}

.social-connect h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.contact-form-container > p {
    margin-bottom: 30px;
    color: var(--light-text);
    line-height: 1.7;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.contact-form button {
    padding: 12px 25px;
    font-size: 1rem;
}

.map-section {
    padding: 50px 0 80px;
    background-color: var(--bg-color);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 30px;
    }
}

/* 卡片样式优化 */
.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    background-color: var(--light-bg);
}

/* 内容容器优化 */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title p {
    color: var(--light-text);
    max-width: 700px;
    margin: 10px auto 0;
}

/* 响应式设计优化 */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: 720px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-about {
        grid-column: span 2;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .news-section .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 540px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .page-banner {
        padding: 60px 0;
    }
    
    .page-banner h1 {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .news-section .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item.featured {
        flex-direction: column;
    }
    
    .news-item.featured .news-image,
    .news-item.featured .news-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

/* 文章操作按钮样式 */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.article-share {
    display: flex;
    align-items: center;
}

.article-share span {
    margin-right: 15px;
    color: var(--light-text);
}

.article-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--light-text);
    margin-right: 10px;
    transition: var(--transition);
}

.article-share a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.article-actions .btn-outline {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.article-actions .btn-outline i {
    margin-right: 8px;
}

/* 小型按钮样式 */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* 模态框底部样式 */
.modal-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* 文章详情页样式优化 */
.article-container {
    padding: 60px 0;
}

.article-header {
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-tags {
    margin-bottom: 20px;
}

article {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

article p {
    margin-bottom: 20px;
    line-height: 1.8;
}

article h2, article h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

article ul, article ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

article li {
    margin-bottom: 10px;
}

.article-note {
    background-color: var(--light-bg);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-signature {
    margin-top: 40px;
    text-align: right;
    color: var(--light-text);
}

.related-articles {
    margin-top: 60px;
}

.related-articles h3 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.related-articles h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-item h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.related-date {
    color: var(--light-text);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .article-container {
        padding: 40px 0;
    }
    
    article {
        padding: 25px;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* 用户菜单样式 */
.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    display: block;
}

.user-menu-header {
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.user-menu-header i {
    font-size: 24px;
    margin-right: 10px;
    color: #3498db;
}

.user-menu-header span {
    font-weight: 500;
    color: #333;
}

.user-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-menu ul li {
    border-bottom: 1px solid #eee;
}

.user-menu ul li:last-child {
    border-bottom: none;
}

.user-menu ul li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.user-menu ul li a:hover {
    background-color: #f5f5f5;
}

.user-menu ul li a i {
    margin-right: 10px;
    color: #666;
    width: 16px;
    text-align: center;
}

/* 登录按钮加载状态 */
.btn .fa-spinner {
    margin-right: 5px;
}

/* 加载状态容器 */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

/* 错误提示容器 */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

.error-message {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}

.error-message i {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 20px;
}

.error-message p {
    margin-bottom: 20px;
    color: #555;
}

/* 空数据提示容器 */
.empty-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

.empty-message {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.empty-message i {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 20px;
}

.empty-message p {
    color: #555;
}

/* 用户协议和隐私政策页面样式 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.page-header h1 i {
    margin-right: 15px;
    color: var(--accent-color);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.content-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.content-section h3 {
    color: var(--text-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.content-section p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

.content-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.content-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.content-section ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.content-section ul li strong {
    color: var(--text-color);
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
    }
}

/* 知情协议勾选框样式 */
.agreement-checkbox {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius);
    padding: 15px;
    margin: 15px 0;
    transition: var(--transition);
}

.agreement-checkbox:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.1);
}

.agreement-checkbox input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.agreement-checkbox label {
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.6;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
}

.agreement-checkbox label a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.agreement-checkbox label a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.agreement-checkbox.required {
    border-color: var(--danger-color);
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.agreement-checkbox.required label {
    color: var(--danger-color);
}

/* 表单验证提示 */
.form-group.error .agreement-checkbox {
    border-color: var(--danger-color);
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.form-group.error .agreement-checkbox label {
    color: var(--danger-color);
}

.form-group.error .agreement-checkbox::after {
    content: "请阅读并同意用户协议和隐私政策";
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
} 