* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
    color: white;
}

.logo span {
    font-size: 22px;
    font-weight: bold;
}

.logo h1 {
    font-size: 24px;
    margin: 0;
}

.logo h1 i {
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a, .main-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    padding: 5px 0;
}

nav a:hover, .main-nav a:hover,
nav a.active, .main-nav a.active {
    opacity: 1;
    border-bottom: 2px solid white;
}

.phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.hero {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF0F0 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 42px;
    color: #8B0000;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    color: #475569;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #A52A2A;
}

.stat-label {
    font-size: 16px;
    color: #64748b;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(165, 42, 42, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: white;
    color: #8B0000;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #8B0000;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #8B0000;
    color: white;
}

section {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    color: #8B0000;
    margin-bottom: 50px;
}

.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-item h4 {
    font-size: 20px;
    color: #8B0000;
    margin-bottom: 10px;
}

.service-item p {
    color: #64748b;
    font-size: 15px;
}

.cases-preview, .questions-preview, .articles-preview {
    background: #f8fafc;
}

.cases-preview h3, .questions-preview h3, .articles-preview h3 {
    font-size: 36px;
    text-align: center;
    color: #8B0000;
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
    font-size: 18px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.case-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.case-image i {
    font-size: 36px;
    color: white;
}

.case-item h4 {
    font-size: 20px;
    color: #8B0000;
    margin-bottom: 10px;
}

.case-item p {
    color: #64748b;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #A52A2A;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #8B0000;
}

.view-all {
    display: block;
    text-align: center;
    color: #A52A2A;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}

.view-all:hover {
    color: #8B0000;
}

.questions-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.question-item {
    background: white;
    padding: 25px 30px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}

.question-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.question-item a {
    color: #8B0000;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.question-item a:hover {
    color: #A52A2A;
}

.question-item p {
    color: #64748b;
    margin: 0;
    font-size: 15px;
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.questions-grid .question-item a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.questions-grid .question-item a i {
    color: #A52A2A;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-item {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.article-item:hover {
    transform: translateY(-5px);
}

.article-item h4 {
    margin-bottom: 10px;
}

.article-item h4 a {
    color: #8B0000;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.article-item h4 a:hover {
    color: #A52A2A;
}

.article-item p {
    color: #64748b;
    margin-bottom: 15px;
    font-size: 15px;
}

.article-date {
    color: #A52A2A;
    font-weight: bold;
    font-size: 14px;
}

.more-link {
    text-align: center;
    margin-top: 40px;
}

.more-link a {
    color: #A52A2A;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.more-link a:hover {
    text-decoration: underline;
}

.about-preview {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: #8B0000;
    margin-bottom: 20px;
}

.about-text p {
    color: #475569;
    margin-bottom: 20px;
    font-size: 17px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    color: #8B0000;
}

.feature i {
    font-size: 24px;
    color: #10b981;
}

.contact-cta {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #A52A2A;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #64748b;
}

.page-content {
    background: white;
    padding: 60px 0;
    min-height: 60vh;
}

.page-header {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF0F0 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    color: #8B0000;
    margin-bottom: 15px;
}

.breadcrumb {
    margin-bottom: 30px;
    color: #64748b;
    font-size: 15px;
}

.breadcrumb a {
    color: #A52A2A;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.article-content {
    background: white;
}

.article-content h2 {
    font-size: 24px;
    color: #8B0000;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFF0F0;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p {
    margin-bottom: 15px;
    color: #475569;
}

.article-content ul, .article-content ol {
    margin: 15px 0 20px 30px;
    color: #475569;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content strong {
    color: #8B0000;
}

.article-footer {
    margin-top: 40px;
    padding: 25px;
    background: #FFF5F5;
    border-radius: 10px;
    border-left: 4px solid #A52A2A;
}

.article-footer p {
    margin-bottom: 10px;
}

.article-footer p:last-child {
    margin-bottom: 0;
}

.article-footer strong {
    color: #8B0000;
}

.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.widget h3 {
    font-size: 18px;
    color: #8B0000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFF0F0;
}

.widget h3 i {
    margin-right: 8px;
    color: #A52A2A;
}

.related-links {
    list-style: none;
}

.related-links li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #FFF5F5;
}

.related-links li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-links a {
    color: #475569;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.related-links a:hover {
    color: #A52A2A;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    padding: 10px 18px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #8B0000;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover, .pagination a.active {
    background: #A52A2A;
    color: white;
    border-color: #A52A2A;
}

.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-detail h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #8B0000;
}

.article-detail h2 {
    font-size: 24px;
    color: #8B0000;
    margin: 30px 0 15px;
}

.article-detail h3 {
    font-size: 20px;
    color: #A52A2A;
    margin: 25px 0 12px;
}

.article-detail p {
    margin-bottom: 15px;
    color: #475569;
}

.article-detail ul, .article-detail ol {
    margin: 15px 0 20px 30px;
    color: #475569;
}

.article-detail li {
    margin-bottom: 10px;
}

.article-meta {
    color: #64748b;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.article-meta span {
    margin-right: 20px;
}

.article-meta i {
    margin-right: 5px;
    color: #A52A2A;
}

.article-body {
    font-size: 17px;
    line-height: 2;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #8B0000;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #A52A2A;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.case-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.case-card h3 a {
    color: #8B0000;
    text-decoration: none;
    font-size: 20px;
}

.case-card h3 a:hover {
    color: #A52A2A;
}

.case-card p {
    color: #64748b;
    margin: 15px 0;
}

.case-meta {
    display: flex;
    gap: 20px;
    color: #94a3b8;
    font-size: 14px;
}

.case-meta i {
    margin-right: 5px;
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .main-header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    nav ul, .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
        margin-top: 10px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cases-grid, .articles-grid, .questions-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section ul {
        padding: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}