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

:root {
    --primary: #c92a2a;
    --primary-dark: #a61e1e;
    --secondary: #ffd43b;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #212529;
    --text-gray: #6c757d;
    --border: #dee2e6;
    --success: #51cf66;
    --warning: #ffd43b;
    --info: #4dabf7;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Navigation Tabs */
.tab-nav {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tab-nav .container {
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 16px 24px;
    border: none;
    background: white;
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* Main Content */
main {
    padding: 40px 20px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Card */
.hero-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.hero-card h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary);
    text-align: center;
}

.keywords {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.keyword-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: var(--bg-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.keyword-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.keyword-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.keyword-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.keyword-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Timeline */
.timeline {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.timeline h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

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

.timeline-date {
    flex-shrink: 0;
    width: 80px;
    font-weight: 600;
    color: var(--primary);
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-gray);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Proposal Cards */
.proposal-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.proposal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.proposal-card.hot {
    border: 2px solid #ff6b6b;
}

.proposal-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff922b);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.proposal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.proposal-items {
    margin-bottom: 20px;
}

.proposal-item {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 12px;
}

.proposal-item:last-child {
    margin-bottom: 0;
}

.proposal-item strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.proposal-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.proposal-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.proposal {
    background: #ffe066;
    color: #862e00;
}

.status-badge.progress {
    background: #a5d8ff;
    color: #1864ab;
}

.status-badge.active {
    background: #b2f2bb;
    color: #2b8a3e;
}

.status-text {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Comparison Table */
.comparison-table {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.comparison-table h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.table-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 6px;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background: var(--bg-light);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}

tbody td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr.highlight {
    background: #fff3bf;
    font-weight: 600;
}

tbody tr.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    font-weight: 700;
    font-size: 1.05rem;
}

tbody tr.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    font-weight: 600;
}

tbody tr.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #e6a872 100%);
    font-weight: 600;
}

tbody tr:hover {
    background: var(--bg-light);
    transform: scale(1.01);
    transition: all 0.2s;
}

.table-note {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.table-note p {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.table-note ul {
    list-style: none;
    padding: 0;
}

.table-note ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.table-note ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.table-note .data-source {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Alert Boxes */
.alert-box {
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid;
}

.alert-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.alert-box p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.alert-box p:last-child {
    margin-bottom: 0;
}

.alert-box.success {
    background: #d3f9d8;
    border-color: #51cf66;
}

.alert-box.success h3 {
    color: #2b8a3e;
}

.alert-box.warning {
    background: #fff3bf;
    border-color: #ffd43b;
}

.alert-box.warning h3 {
    color: #862e00;
}

/* Education Section */
.edu-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.edu-section h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.edu-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.edu-list {
    list-style: none;
    padding: 0;
}

.edu-list li {
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 10px;
    padding-left: 40px;
    position: relative;
}

.edu-list li:before {
    content: "✓";
    position: absolute;
    left: 15px;
    color: var(--success);
    font-weight: bold;
}

/* Reform Timeline */
.reform-timeline {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.reform-item {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
}

.reform-item.before {
    background: #ffe3e3;
}

.reform-item.after {
    background: #d3f9d8;
}

.reform-item h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.reform-item ul {
    list-style: none;
    padding: 0;
}

.reform-item ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.reform-item ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dark);
}

.reform-arrow {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* Four Tasks */
.four-tasks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.task-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.task-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.task-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.task-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Economy Cards */
.economy-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.economy-card.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.economy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.big-number {
    font-size: 4rem;
    font-weight: 700;
    margin: 20px 0;
}

.economy-card .desc {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Policy Grid */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.policy-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

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

.policy-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.policy-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.policy-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* AI Section */
.ai-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.ai-section h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

.ai-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
}

.ai-stat {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    min-width: 200px;
}

.ai-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-label {
    font-size: 0.95rem;
}

.ai-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.ai-directions {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.ai-directions li {
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 1.05rem;
}

.ai-highlight {
    padding: 20px;
    background: #fff3bf;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

/* Industry Section */
.industry-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.industry-section h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.industry-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.industry-item {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.industry-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.industry-item p {
    color: var(--text-gray);
}

/* Livelihood Stats */
.livelihood-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.live-stat {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.live-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.live-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.live-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Goal List */
.goal-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.goal-list li {
    padding: 10px 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Rural Highlight */
.rural-highlight {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.rural-highlight h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.case-card {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.case-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.case-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Proposal Categories */
.proposal-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.category-percent {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.category-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Environment Goals */
.env-goals {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.env-goals h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.goal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.goal-item {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.goal-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.goal-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.goal-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.goal-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Eco Highlight */
.eco-highlight {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.eco-highlight h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.eco-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-item {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.action-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.action-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Consume Stats */
.consume-stats {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-top: 25px;
}

.consume-stats h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

.invest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.invest-card {
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    text-align: center;
}

.invest-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.invest-label {
    font-size: 0.95rem;
    line-height: 1.4;
}

.consume-note {
    padding: 20px;
    background: #fff3bf;
    border-radius: 8px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .tab-btn {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
    
    .hero-card {
        padding: 25px;
    }
    
    .keywords {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .reform-timeline {
        flex-direction: column;
    }
    
    .reform-arrow {
        transform: rotate(90deg);
    }
    
    .ai-stats {
        flex-direction: column;
    }
    
    .big-number {
        font-size: 2.5rem;
    }
}
