/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.btn-login {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* 头部导航 */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #007bff;
    font-size: 24px;
    font-weight: 700;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: #007bff;
    background-color: #f8f9fa;
}

/* 横幅区域 */
.banner {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 区块标题 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    font-weight: 600;
}

/* 服务介绍区块 */
.services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* 快速入口功能区 */
.quick-access {
    padding: 80px 0;
    background: #f8f9fa;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.access-item {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.access-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: #007bff;
}

.access-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.access-item span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* 新闻公告区域 */
.news {
    padding: 80px 0;
    background: white;
    scroll-margin-top: 80px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: #0056b3;
    text-decoration: underline;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.news-summary {
    color: #666;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    padding: 35px 0;
    border-top: 1px solid rgba(0, 102, 204, 0.15);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-company {
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: #004499;
    text-decoration: underline;
}

.footer-divider {
    color: #b8d4f1;
    font-weight: 300;
    user-select: none;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.875rem;
}

.footer-copyright {
    color: #666;
}

.footer-filing {
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-filing:hover {
    color: #004499;
    text-decoration: underline;
}

/* 工具类 */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 轮播图样式 */
.carousel {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    height: 500px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: #000;
}

.carousel-slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.carousel-slide.active .slide-image img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 102, 204, 0.7) 0%,
        rgba(0, 68, 153, 0.8) 50%,
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
    backdrop-filter: blur(2px);
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 0 40px;
    z-index: 3;
    position: relative;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.slide-desc {
    font-size: 1.4rem;
    margin-bottom: 35px;
    line-height: 1.7;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.slide-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.6s;
}

.carousel-slide.active .slide-title,
.carousel-slide.active .slide-desc,
.carousel-slide.active .slide-actions {
    opacity: 1;
    transform: translateY(0);
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 4;
    width: 80%;
}

.carousel-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.3s ease;
}

.indicator.active {
    border-color: white;
    transform: scale(1.3);
}

.indicator.active::before {
    left: 0;
}

.carousel-progress {
    width: 100%;
    max-width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #e6f2ff);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 4;
    backdrop-filter: blur(10px);
    opacity: 0.8;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.15);
    opacity: 1;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.carousel-prev:active,
.carousel-next:active {
    transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

/* 轮播图动画增强 */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-slide.active .slide-content {
    animation: fadeInScale 0.8s ease-out;
}