/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用容器样式 */
.section-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out;
}

/* 顶部导航栏 */
header {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    margin-bottom: 15px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

.header-info {
    text-align: right;
    color: #666;
}

/* 导航菜单 */
nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 0 auto 15px;
    max-width: 1000px;
    position: sticky;
    top: 10px;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px;
}

.nav-menu li {
    margin: 0 5px;
}

.nav-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 8px;
    border: 2px solid transparent;
}

.nav-menu a:hover {
    background-color: #f8f9fa;
    border-color: #4facfe;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: 8px;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 主内容区 */
main {
    padding: 20px 0 60px;
}

/* 欢迎区 */
.hero {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 35px 0;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

.quick-access {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* 通用区块样式 */
.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4facfe;
    font-weight: 600;
}

/* 区块容器 */
.section-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in-out;
}

/* 业务系统导航 */
.systems-section {
    margin-bottom: 20px;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.system-card {
    background: white;
    padding: 22px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    border-color: #4facfe;
}

.system-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
    color: #4facfe;
}

.system-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.system-card p {
    margin-bottom: 18px;
    color: #666;
    line-height: 1.4;
    font-size: 0.95rem;
}

/* 内网业务导航区 */
.intranet-section {
    margin-bottom: 20px;
}

.intranet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.intranet-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 22px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.intranet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.intranet-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
    color: #667eea;
}

.intranet-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.intranet-card p {
    margin-bottom: 18px;
    color: #666;
    line-height: 1.4;
    font-size: 0.95rem;
}

/* 外链分享区 */
.share-section {
    margin-bottom: 60px;
}

.share-form {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.share-form:hover {
    border-color: #4facfe;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.share-form h3 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 1.05rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.share-links {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.share-links:hover {
    border-color: #4facfe;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.share-links h3 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.share-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 15px;
}

.share-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.share-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.share-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.share-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.share-url {
    font-size: 1rem;
    color: #4facfe;
    word-break: break-all;
    font-weight: 500;
}

.share-actions {
    display: flex;
    gap: 12px;
}

/* 页脚 */
footer {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 25px 0;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 25px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.footer-info p {
    color: #666;
    line-height: 1.5;
}

.footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.footer-links a {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #4facfe;
    transform: translateY(-2px);
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
}

.footer-contact i {
    color: #4facfe;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }

    .section-container {
        padding: 20px;
        margin-bottom: 25px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .logo {
        flex-direction: column;
        gap: 10px;
    }

    .logo img {
        width: 60px;
        height: 60px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .header-info {
        text-align: center;
        font-size: 0.9rem;
    }

    nav {
        position: relative;
        top: 0;
        margin: 0 0 25px;
        border-radius: 10px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }

    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 12px 15px;
        width: 100%;
        text-align: left;
        font-size: 0.95rem;
        gap: 10px;
    }

    .hero {
        padding: 40px 20px;
        border-radius: 10px;
    }

    .hero-content h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .quick-access {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        text-align: center;
    }

    .section-title {
        font-size: 1.4rem;
        padding-bottom: 8px;
    }

    .systems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .system-card {
        padding: 20px;
    }

    .system-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .system-card h3 {
        font-size: 1.1rem;
    }

    .files-filter {
        flex-direction: column;
        gap: 10px;
    }

    .files-filter input,
    .files-filter select {
        padding: 12px;
        font-size: 0.95rem;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
    }

    .file-icon {
        font-size: 1.5rem;
        width: 50px;
        margin-right: 0;
    }

    .file-info h4 {
        font-size: 1rem;
    }

    .file-meta,
    .file-desc {
        font-size: 0.85rem;
    }

    .file-actions {
        align-self: flex-end;
        gap: 8px;
    }

    .btn-sm {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .downloads-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 15px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .category-card h3 {
        font-size: 1rem;
    }

    .share-form {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 0.95rem;
    }

    .share-links {
        padding: 20px;
    }

    .share-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
    }

    .share-info h4 {
        font-size: 1rem;
    }

    .share-meta,
    .share-url {
        font-size: 0.85rem;
    }

    .share-actions {
        align-self: flex-end;
        gap: 8px;
    }

    .about-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .about-info {
        min-width: 100%;
    }

    .about-info h3 {
        font-size: 1.3rem;
    }

    .about-info p {
        font-size: 0.95rem;
    }

    .contact-info p {
        font-size: 0.9rem;
        gap: 10px;
    }

    .about-image {
        min-width: 100%;
    }

    footer {
        padding: 30px 0;
        margin-top: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-info h3 {
        font-size: 1.3rem;
    }

    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.1rem;
    }

    .footer-links a {
        margin: 0 8px 10px;
        font-size: 0.9rem;
    }

    .footer-contact p {
        font-size: 0.9rem;
        justify-content: center;
    }

    .pagination {
        gap: 5px;
    }

    .page-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.1rem;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .systems-grid {
        gap: 15px;
    }

    .downloads-categories {
        grid-template-columns: 1fr;
    }

    .file-actions,
    .share-actions {
        align-self: flex-start;
        width: 100%;
        justify-content: space-between;
    }

    .footer-links a {
        display: block;
        margin: 5px 0;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.section-title,
.system-card,
.category-card,
.file-item,
.share-item,
.about-content,
.share-form,
.share-links {
    animation: fadeIn 1s ease-in-out;
}

.system-card:nth-child(2) {
    animation-delay: 0.1s;
}

.system-card:nth-child(3) {
    animation-delay: 0.2s;
}

.system-card:nth-child(4) {
    animation-delay: 0.3s;
}

.system-card:nth-child(5) {
    animation-delay: 0.4s;
}

.system-card:nth-child(6) {
    animation-delay: 0.5s;
}

.category-card:nth-child(2) {
    animation-delay: 0.1s;
}

.category-card:nth-child(3) {
    animation-delay: 0.2s;
}

.category-card:nth-child(4) {
    animation-delay: 0.3s;
}
