/* 全局样式 - 苹果现代风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', 'SF Pro Text', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    /* 苹果风格配色 */
    --primary-color: #0066cc;  /* 苹果蓝 */
    --secondary-color: #147AFC;
    --accent-color: #F5F5F7;  /* 苹果浅灰背景 */
    --accent-color-light: #FBFBFD;
    --text-color: #1D1D1F;  /* 苹果主要文字色 */
    --text-secondary: #86868B; /* 苹果次要文字色 */
    --text-light: #6E6E73;
    --card-hover: #F5F5F7;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --transition-time: 0.3s;
    --border-color: #E5E5E7;
    --success-color: #28CD41; /* 苹果绿 */
    --bg-gradient-1: #F2F6FF;
    --bg-gradient-2: #F7FAFF;
    --bg-accent: rgba(0, 102, 204, 0.05);
}

body {
    background: url('../images/backgrand.jpg') center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #f5f5f7;
    color: var(--text-color);
    line-height: 1.4;
    font-size: 14px;
    letter-spacing: -0.01em;
    position: relative;
    min-height: 100vh;
    padding: 20px 0;
}

/* 添加背景平滑过渡 */
body::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(245, 245, 247, 0) 30%, 
        rgba(245, 245, 247, 0.6) 70%, 
        rgba(245, 245, 247, 0.95) 90%, 
        rgba(245, 245, 247, 1) 100%);
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: none;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 20px;
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 头部样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 16px;
    flex-wrap: wrap;
    border-bottom: none;
    position: relative;
}

/* 添加头部装饰线 */
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        var(--primary-color) 20%, 
        var(--primary-color) 80%, 
        transparent);
    opacity: 0.2;
}

.logo {
    display: flex;
    align-items: center;
}

#logo-img {
    height: 40px;
    margin-right: 16px;
    border-radius: 4px;
    object-fit: contain;
}

.logo h1 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: -0.022em;
}

/* 导航样式 */
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    position: relative;
    transition: all var(--transition-time);
    border-radius: 30px;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.7);
}

.nav-link.active {
    color: white;
    background-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

/* 增强布局 */
.enhanced-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 内容部分 */
.content-section {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    position: relative;
    overflow: hidden;
    border: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
}

.highlight-section {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.highlight-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.7;
}

.section-title {
    color: var(--text-color);
    margin-bottom: 14px;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.022em;
    position: relative;
}

/* 添加标题装饰 */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    opacity: 0.7;
}

.section-title i {
    margin-right: 16px;
    font-size: 24px;
    color: var(--primary-color);
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 1;
    height: 100%;
    flex: 1;
}

.about-image {
    flex: 1;
    min-width: 176px;
    max-width: 240px;
    height: auto;
    display: flex;
    align-items: flex-start;
}

.about-text {
    flex: 2;
    min-width: 260px;
}

.dept-img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
    object-fit: cover;
    height: 280px;
    min-height: 280px;
}

.dept-img:hover {
    transform: scale(1.02);
}

.about-text p {
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.4;
    color: var(--text-color);
    font-size: 13px;
}

.intro-text {
    font-size: 15px !important;
    color: var(--text-color) !important;
    font-weight: 500;
    line-height: 1.5 !important;
}

/* 特色块样式 */
.feature-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.feature-block {
    display: flex;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: calc(50% - 7px);
    align-items: center;
}

.feature-icon {
    flex: 0 0 40px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
    display: block;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
}

.feature-content p {
    font-size: 12px;
    line-height: 1.3;
    color: var(--text-secondary);
    margin: 0;
}

/* 专业系统样式 */
.systems-container {
    display: flex;
    flex-direction: column;
}

.system-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.system-block {
    display: flex;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.system-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.system-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    padding: 18px;
    color: white;
    font-size: 24px;
    min-width: 70px;
    position: relative;
    overflow: hidden;
}

/* 添加图标装饰效果 */
.system-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.system-content {
    padding: 16px;
    flex: 1;
}

.system-content h3 {
    color: var(--text-color);
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.022em;
}

.system-content p {
    margin-bottom: 10px;
    text-align: justify;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.system-features {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.system-features span {
    background-color: rgba(245, 245, 247, 0.7);
    color: var(--text-secondary);
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.system-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    transition: all var(--transition-time);
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.system-link:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0, 102, 204, 0.2);
    transform: translateY(-2px);
}

.system-link i {
    margin-left: 5px;
    font-size: 16px;
}

/* 页脚样式 */
.enhanced-footer {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    margin-top: 16px;
    padding: 20px;
    font-size: 14px;
    border: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    color: var(--text-color);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 6px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0.7;
}

.footer-column p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.footer-column i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-secondary);
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .feature-blocks {
        grid-template-columns: 1fr;
    }
    
    .system-row {
        flex-direction: column;
    }
    
    body::before,
    body::after {
        width: 50vw;
        height: 50vw;
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .footer-content {
        flex-direction: column;
    }
    
    .copyright {
        margin-top: 16px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 8px 0;
    }
}

/* 添加悬停效果 */
.feature-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
} 