/**
 * JIAWEN BIO - Main Stylesheet
 * Professional Medical Device Manufacturer Theme
 */

/* ==================== Variables ==================== */
:root {
    --primary-color: #0d47a1;
    --primary-dark: #0a3578;
    --primary-light: #1e88e5;
    --secondary-color: #00897b;
    --accent-color: #ff6f00;
    --text-dark: #1a1a2e;
    --text-light: #6c757d;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e0e6ed;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== Utilities ==================== */
.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
}

.bg-light-section {
    background: var(--bg-light);
}

/* ==================== Hero Section ==================== */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 200px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #4caf50;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-hero-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ==================== Stats Section ==================== */
.stats-section {
    padding: 50px 0;
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 3;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-md);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

/* ==================== Products Section ==================== */
.products-section {
    padding: 80px 0;
}

.product-category-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.product-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.product-icon i {
    font-size: 32px;
    color: white;
}

.product-category-card:hover .product-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.product-category-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-category-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* ==================== Recommend Products Section ==================== */
.recommend-products-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.recommend-product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.recommend-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recommend-product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.product-placeholder span {
    font-size: 0.9rem;
    text-align: center;
    padding: 5px 10px;
    opacity: 0.9;
}

.product-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.product-tags span {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.tag-new {
    background: #10b981;
}

.tag-hot {
    background: #f59e0b;
}

.tag-recommend {
    background: #3b82f6;
}

.product-info {
    padding: 20px;
}

.product-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-footer .views {
    color: #999;
    font-size: 13px;
}

.product-footer .views i {
    margin-right: 5px;
}

.product-footer .view-detail {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-footer .view-detail:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.btn-view-all-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.btn-view-all-products:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* ==================== News Section ==================== */
.news-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.news-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.news-thumb {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-content {
    padding: 20px;
}

.news-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content h4 a {
    color: var(--text-dark);
}

.news-content h4 a:hover {
    color: var(--primary-color);
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-light);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== Exhibition Section ==================== */
.exhibition-section {
    padding: 80px 0;
}

.exhibition-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.exhibition-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.exhibition-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.exhibition-card:hover .exhibition-thumb img {
    transform: scale(1.05);
}

.exhibition-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.exhibition-content {
    padding: 20px;
}

.exhibition-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.exhibition-content h4 a {
    color: var(--text-dark);
}

.exhibition-content h4 a:hover {
    color: var(--primary-color);
}

.exhibition-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.exhibition-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== CTA Section ==================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--primary-dark);
}

/* ==================== Footer ==================== */
.footer {
    background: #063593;
    color: white;
}

.footer-main {
    padding: 60px 0;
}

.footer-brand-name {
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.footer-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.footer-logo i {
    font-size: 24px;
    color: white;
}

/* Logo图片样式 */
.navbar-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-top: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-item i {
    color: var(--primary-light);
    margin-top: 3px;
}

.contact-item a,
.contact-item span {
    color: rgba(255,255,255,0.8);
}

.contact-item a:hover {
    color: white;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    font-size: 14px;
}

.copyright,
.icp {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.icp i {
    margin-right: 5px;
}

/* ==================== Back to Top ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==================== Page Header ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 100px 0 60px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 15px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    opacity: 0.6;
}

/* ==================== Product List ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-card .thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-card .info {
    padding: 20px;
}

.product-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card h4 a {
    color: var(--text-dark);
}

.product-card h4 a:hover {
    color: var(--primary-color);
}

.product-card .model {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-card .specs {
    font-size: 13px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== Inquiry Form ==================== */
.inquiry-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 15px;
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 15px;
    font-size: 15px;
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

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

/* ==================== Pagination ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.pagination a:hover,
.pagination .active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ==================== Responsive ==================== */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .inquiry-form {
        padding: 25px;
    }
}

/* ==================== Exhibition Section ==================== */
.exhibition-section {
    padding: 80px 0;
    background: white;
}

.exhibition-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.exhibition-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.exhibition-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.exhibition-date-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exhibition-date-badge i {
    font-size: 12px;
}

.exhibition-content {
    padding: 20px;
}

.exhibition-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.exhibition-content h4 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.exhibition-content h4 a:hover {
    color: var(--primary-color);
}

.exhibition-content .exhibition-venue,
.exhibition-content .exhibition-booth {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.exhibition-content .exhibition-venue i,
.exhibition-content .exhibition-booth i {
    margin-right: 6px;
    color: var(--primary-color);
}

.bg-white-section {
    background: white;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .exhibition-section {
        padding: 50px 0;
    }
    
    .exhibition-thumb {
        height: 180px;
    }
    
    .exhibition-date-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .exhibition-content h4 {
        font-size: 16px;
    }
}

/* 企业发展历程时间轴样式 - 深蓝背景城市剪影 */
.timeline-section {
    position: relative;
    padding: 0;
    background: linear-gradient(180deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
    min-height: 500px;
    overflow: hidden;
}

.timeline-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.city-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 150"><path fill="%23ffffff" fill-opacity="0.1" d="M0,150 L0,100 L30,100 L30,60 L50,60 L50,80 L80,80 L80,40 L100,40 L100,90 L150,90 L150,30 L180,30 L180,70 L220,70 L220,50 L250,50 L250,85 L300,85 L300,20 L330,20 L330,60 L380,60 L380,45 L420,45 L420,75 L480,75 L480,25 L520,25 L520,55 L580,55 L580,35 L620,35 L620,65 L680,65 L680,15 L720,15 L720,50 L780,50 L780,30 L830,30 L830,70 L900,70 L900,25 L950,25 L950,55 L1020,55 L1020,40 L1080,40 L1080,80 L1150,80 L1150,60 L1200,60 L1200,150 Z"/></svg>') repeat-x center bottom;
    background-size: 1200px 150px;
}

.timeline-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 50px;
}

.timeline-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px;
    position: relative;
    display: inline-block;
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}

.timeline-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin: 0;
}

.timeline-axis {
    position: relative;
    padding: 20px 0;
}

/* 白色连接线 */
.timeline-axis::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(255,255,255,0.6);
    transform: translateY(-50%);
}

.timeline-node {
    position: relative;
    width: 45%;
    margin: 0 auto 30px;
}

.timeline-node.top {
    margin-top: 0;
}

.timeline-node.bottom {
    margin-top: 80px;
}

.timeline-node.top .node-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.timeline-node.bottom .node-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.node-dot {
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    z-index: 10;
}

.node-dot.gold {
    background: #ffd700;
    box-shadow: 0 0 15px rgba(255,215,0,0.6);
}

.node-dot.active {
    background: #4299e1;
    box-shadow: 0 0 15px rgba(66,153,225,0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

.node-content {
    color: #ffffff;
}

.node-date {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 5px;
}

.node-text {
    display: block;
    font-size: 14px;
    color: #ffffff;
    max-width: 200px;
    white-space: normal;
    line-height: 1.4;
}

.timeline-node.highlight .node-date {
    color: #ffd700;
}

.timeline-node.highlight .node-text {
    color: #ffd700;
    font-weight: 600;
}

.timeline-footer {
    text-align: center;
    margin-top: 50px;
}

.timeline-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255,255,255,0.2);
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.timeline-more-btn:hover {
    background: #ffffff;
    color: #1a365d;
}

/* 时间线响应式 */
@media (max-width: 768px) {
    .timeline-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .timeline-content {
        padding: 40px 15px 60px;
    }
    
    .timeline-title {
        font-size: 24px;
    }
    
    .timeline-subtitle {
        font-size: 14px;
    }
    
    .timeline-axis::before {
        top: 0;
        left: 20px;
        right: 20px;
        height: 100%;
        width: 2px;
        background: rgba(255,255,255,0.6);
    }
    
    .timeline-node {
        width: 100%;
        padding-left: 50px;
        margin-bottom: 40px;
    }
    
    .timeline-node.top,
    .timeline-node.bottom {
        margin-top: 0;
    }
    
    .timeline-node .node-content,
    .timeline-node.top .node-content,
    .timeline-node.bottom .node-content {
        position: relative;
        left: 0;
        top: 0;
        bottom: 0;
        transform: none;
        text-align: left;
        padding-left: 25px;
    }
    
    .node-dot {
        left: 0;
        top: 5px;
        transform: none;
    }
    
    .node-text {
        max-width: none;
    }
    
    .city-silhouette {
        height: 80px;
        background-size: 800px 80px;
    }
}
