:root {
    --primary-color: #ffc107;
    --dark-color: #000000;
    --darker-color: #0a0a0a;
    --text-light: #ffffff;
    --text-muted: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-color);
    color: var(--text-light);
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-color);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* 横幅区域 */
.banner-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffc107" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.banner-section .container {
    position: relative;
    z-index: 2;
}

.banner-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 按钮样式 */
.btn-warning {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #ffb300;
    border-color: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.btn-outline-warning {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-warning:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* 卡片样式 */
.card {
    background-color: var(--dark-color);
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
    border-color: var(--primary-color);
}

.card-news {
    position: relative;
    overflow: hidden;
}

.card-news .img-news {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-news .img-news img {
    transition: transform 0.5s ease;
}

.card-news:hover .img-news img {
    transform: scale(1.1);
}

.card-news .card-body {
    position: relative;
    z-index: 2;
}

/* 特色服务 */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.2);
    border-color: var(--primary-color);
}

/* 案例展示 */
.case-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-card .case-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.case-card .case-overlay {
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

/* 时间线 */
.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 15px;
    width: 2px;
    height: calc(100% + 20px);
    background-color: rgba(255, 193, 7, 0.3);
}

.timeline-item:last-child::after {
    display: none;
}

/* 流程步骤 */
.process-step {
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.5);
}

/* 城市分站 */
.city-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.city-item:hover {
    background-color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.city-item:hover span {
    color: var(--dark-color) !important;
}

/* 标签云 */
.tag-cloud a {
    transition: all 0.3s ease;
    text-decoration: none;
}

.tag-cloud a:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

/* 文章页 */
.article-banner {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    position: relative;
}

.article-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="%23ffc107" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.article-content {
    position: relative;
}

.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
}

/* 作者信息 */
.author-avatar {
    transition: all 0.3s ease;
}

.author-info:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

/* 文章导航 */
.article-nav .nav-link {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.article-nav .nav-link:hover {
    color: var(--primary-color) !important;
    border-left-color: var(--primary-color);
    padding-left: 1rem;
}

/* 评论区 */
.comment-form {
    position: relative;
}

.comment-form .form-control {
    background-color: var(--dark-color);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.comment-item {
    transition: all 0.3s ease;
}

.comment-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 15px rgba(255, 193, 7, 0.2);
}

/* 分页 */
.pagination .page-link {
    background-color: var(--dark-color);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

.pagination .active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

/* 返回顶部 */
#backToTop {
    transition: all 0.3s ease;
    z-index: 999;
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-section {
        padding: 100px 0 50px;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .timeline-item {
        padding-left: 30px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffb300;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 鼠标跟随效果 */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
    transition: transform 0.1s ease;
}

/* 响应式字体 */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
}

/* 打印样式 */
@media print {
    .navbar, footer, #backToTop, .sidebar-widget {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .article-content {
        background: white !important;
        color: black !important;
    }
}