:root {
    --primary-color: #2c3e50;
    --secondary-color: #7f8c8d;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-medium: #7f8c8d;
    --text-light: #95a5a6;
    --gold: #d4af37;
    --silver: #bdc3c7;
}

body {
    background: var(--light-bg);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.navbar {
    background: white;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    padding: 0.8rem 1rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #495057;
    transform: translateY(-2px);
}

/* 登录按钮样式 - 与网站配色一致 */
.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background-color: transparent;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
    border-color: var(--primary-color);
}

.container {
    padding-left: 0;
    padding-right: 0;
}

.search-container {
    max-width: 1000px;
    margin: 30px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
}

/* .search-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.15);
} */

.search-header {
    text-align: center;
    margin-bottom: 25px;
}

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

.search-header p {
    color: var(--text-medium);
    font-size: 1.2rem;
}

.category-selector {
    margin-bottom: 25px;
}

.category-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.category-card .card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 12px 12px 0 0 !important;
    font-size: 1.2rem;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
}

.category-btn {
    flex: 1;
    min-width: 120px;
    border: 1px solid #e3e6f0;
    border-radius: 6px;
    padding: 8px 15px;
    background-color: #f8f9fc;
    color: var(--primary-color);
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
}

.category-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.category-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.1);
}

.search-input {
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
}

.search-input:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.search-btn {
    background: var(--primary-color);
    border: none;
    padding: 0 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.search-btn:hover {
    background: #495057;
}

.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.result-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.result-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-decoration:none;
}

.result-meta {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.result-meta i {
    margin-right: 5px;
}

.pagination-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: var(--text-medium);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #dee2e6;
}

.param-fix-alert {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.thinkphp-tips {
    background-color: #d1ecf1;
    border-left: 4px solid #0c5460;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.selected-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 10px;
    font-size: 0.9rem;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-medium);
    margin-top: 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin: 0 5px;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #495057;
    transform: translateY(-3px);
}

/* 分页按钮样式 - 与页面主体配色一致 */
.pagination .page-link {
    color: var(--primary-color);
    background-color: var(--white);
    border: 1px solid #e3e6f0;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    /* transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2); */
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.pagination .page-item.disabled .page-link {
    color: var(--text-light);
    background-color: #f8f9fa;
    border-color: #e3e6f0;
    cursor: not-allowed;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    background-color: #f8f9fa;
    color: var(--text-light);
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
    border-color: var(--primary-color);
}

/* index.html 页面样式 */
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #7f8c8d 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 40px;
    font-weight: 600;
    border-radius: 50px;
    margin: 0 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff, #e9ecef);
}

.hero-btn:hover::before {
    left: 100%;
}

.container-card {
    /* max-width: 1200px; */
    margin: 30px auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    padding: 40px;
    transition: all 0.3s ease;
}

/* .container-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.15);
} */

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.section-header p {
    color: var(--text-medium);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.model-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    overflow: hidden;
    position: relative;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.model-image {
    height: 280px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.model-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.9));
}

.model-image i {
    z-index: 1;
    position: relative;
}

.model-info {
    padding: 25px;
}

.model-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.model-specialty {
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.model-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.model-features {
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1rem;
}

.book-btn {
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.book-btn:hover {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
}

.book-btn:hover::before {
    left: 100%;
}

.service-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    padding: 40px 30px;
    text-align: center;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.service-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.process-step {
    text-align: center;
    padding: 30px;
    position: relative;
}

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

.process-step h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
    padding: 30px;
    text-align: center;
    margin: 15px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.client-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e3e6f0;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    color: #f8f9fa;
    font-weight: 500;
    font-size: 1.1rem;
}

.availability-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .search-container {
        padding: 20px;
        margin: 20px auto;
    }
    
    .search-input {
        padding: 12px 20px;
    }
    
    .search-btn {
        padding: 0 20px;
    }
    
    .result-item {
        padding: 15px;
    }
    
    .category-buttons {
        flex-direction: column;
    }
    
    .category-btn {
        min-width: 100%;
    }
}

/* 文章页  */
.article-container {
            max-width: 1000px;
            margin: 30px auto;
            background: white;
            border-radius: 16px;
            box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
            padding: 40px;
            transition: all 0.3s ease;
        }
/* 
        .article-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.15);
        } */

        .article-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #e9ecef;
        }

        .article-title {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 2.5rem;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .article-meta {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            color: var(--text-medium);
            font-size: 0.95rem;
            flex-wrap: wrap;
        }

        .article-meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .article-content {
            line-height: 1.8;
            font-size: 1.1rem;
            color: var(--text-dark);
        }
        .article-content img {
            max-width: 100%;
        }

        .article-section {
            margin-bottom: 30px;
        }

        .article-section h2 {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 15px;
            font-size: 1.8rem;
            border-left: 4px solid var(--primary-color);
            padding-left: 15px;
        }

        .article-section h3 {
            color: var(--secondary-color);
            font-weight: 600;
            margin-bottom: 12px;
            font-size: 1.4rem;
        }

        .article-image {
            width: 100%;
            height: 400px;
            background: linear-gradient(45deg, #2c3e50, #34495e);
            border-radius: 12px;
            margin: 25px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 4rem;
            position: relative;
            overflow: hidden;
        }

        .article-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.9));
        }

        .article-image i {
            z-index: 1;
            position: relative;
        }

        .highlight-box {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-left: 4px solid var(--primary-color);
            padding: 20px;
            margin: 25px 0;
            border-radius: 8px;
            font-style: italic;
            font-size: 1.1rem;
        }

        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 20px 0;
        }

        .article-tag {
            background: var(--primary-color);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .article-footer {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }

        .share-buttons {
            display: flex;
            gap: 15px;
            margin: 20px 0;
            justify-content: center;
        }

        .share-btn {
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            text-decoration: none;
        }

        .share-btn:hover {
            background: #495057;
            transform: translateY(-3px);
        }

        .related-articles {
            margin-top: 40px;
        }

        .related-article-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            padding: 20px;
            margin-bottom: 20px;
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .related-article-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .related-article-title {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 8px;
            text-decoration:none;
        }

        .related-article-meta {
            color: var(--text-medium);
            font-size: 0.85rem;
        }

        @media (max-width: 768px) {
            .article-container {
                padding: 25px;
                margin: 20px auto;
            }
            
            .article-title {
                font-size: 2rem;
            }
            
            .article-meta {
                flex-direction: column;
                gap: 10px;
            }
            
            .article-image {
                height: 250px;
                font-size: 3rem;
            }
            
            .share-buttons {
                flex-wrap: wrap;
            }
        }