:root {
    --primary: #8B0000; /* 深红色，象征法律权威 */
    --secondary: #DAA520; /* 金色，象征司法公正 */
    --light: #F5F5F5; /* 浅灰色背景 */
    --dark: #333333; /* 深灰色文字 */
    --success: #2E8B57; /* 成功色 */
    --warning: #FF8C00; /* 警告色 */
    --danger: #B22222; /* 危险色 */
    --court-blue: #4169E1; /* 法院蓝 */
    --court-gold: #D4AF37; /* 法院金 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'SimSun', serif; /* 使用更正式的字体 */
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #6B0000 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-img {
    background-color: white;
    color: var(--primary);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.logo-img i {
    font-size: 2.8rem;
}

.logo-text {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 36px;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* 卡片样式 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    background-color: var(--primary);
    color: white;
    padding: 18px 25px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--court-gold);
}

.card-body {
    padding: 25px;
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

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

.feature-icon {
    font-size: 28px;
    margin-right: 18px;
    color: var(--primary);
    min-width: 40px;
    text-align: center;
}

.feature-item h3 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.feature-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

.highlight-badge {
    background-color: var(--court-gold);
    color: var(--primary);
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: bold;
}

.highlight-feature {
    background-color: rgba(139, 0, 0, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

/* 区域标题 */
.section-title {
    text-align: center;
    margin: 50px 0 30px;
    color: var(--primary);
    font-size: 32px;
    position: relative;
    font-weight: bold;
}

.section-title:after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--court-gold));
    margin: 15px auto;
    border-radius: 2px;
}

/* 截图区域 */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.screenshot {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.screenshot:hover {
    transform: translateY(-5px);
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

/* 下载区域 */
.download-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    border: 1px solid #e0e0e0;
}

.download-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
    font-size: 28px;
    font-weight: bold;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.download-card {
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.download-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.download-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 22px;
}

.download-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.arch-option {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.arch-btn, .download-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    font-weight: bold;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.arch-btn:hover, .download-btn:hover {
    background-color: #6B0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 统计信息 */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    padding: 25px;
    min-width: 180px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.stat-card i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
    margin: 15px 0;
    font-family: 'Georgia', serif;
}

.stat-label {
    color: #666;
    font-size: 16px;
}

/* 省份选择器 */
.province-selector {
    margin-top: 50px;
}

.province-selector h3 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 26px;
    font-weight: bold;
}

.province-selector p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.province-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.province-btn {
    display: block;
    background-color: #f9f9f9;
    color: var(--dark);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e0e0e0;
    font-weight: 500;
}

.province-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.province-btn.has-download {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
}

.province-btn.has-download:hover {
    background-color: #6B0000;
}

.province-btn.clicked {
    transform: scale(0.95);
}

.tooltip {
    visibility: hidden;
    width: 140px;
    background-color: var(--dark);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -70px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: normal;
}

.province-btn:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* 当前省份高亮样式 */
.current-province {
    background-color: var(--court-gold) !important;
    color: var(--primary) !important;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.5);
    border-color: var(--primary);
    animation: pulse 2s infinite;
}

.current-province .tooltip {
    background-color: var(--primary);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(218, 165, 32, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(218, 165, 32, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(218, 165, 32, 0);
    }
}

/* 用户反馈 */
.feedback-section {
    margin-bottom: 60px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.feedback-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.feedback-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.feedback-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.user-name {
    font-weight: bold;
    color: var(--dark);
    font-size: 18px;
}

.user-title {
    font-size: 14px;
    color: #777;
}

.feedback-card p {
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* 模态框 */
.no-download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #777;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-title {
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.modal-text {
    margin-bottom: 30px;
    text-align: center;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

.modal-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-btn:hover {
    background-color: #6B0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 页脚 */
footer {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, #6B0000 100%);
    color: white;
    border-radius: 10px;
    margin-top: 50px;
}

footer p {
    margin-bottom: 15px;
    font-size: 16px;
}

footer i {
    margin-right: 8px;
    color: var(--court-gold);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .card-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .feedback-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
    }
    
    .logo-img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .province-grid {
        grid-template-columns: repeat(3, 1fr));
    }
    
    .stats-container {
        gap: 20px;
    }
    
    .stat-card {
        min-width: 150px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .header-content {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .province-grid {
        grid-template-columns: repeat(2, 1fr));
    }
    
    .download-section {
        padding: 25px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}