 :root {
            --primary-dark: #1a365d;
            --primary-blue: #2c5282;
            --accent-purple: #6b46c1;
            --accent-pink: #b83280;
            --light-gray: #f7fafc;
            --text-dark: #2d3748;
            --primary-purple: #AE88B5;
            --primary-brown: #AD927A;
            --primary-red: #B5888F;
        }
        
        body {
            font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
            color: var(--text-dark);
            background-color: var(--light-gray);
        }
        
        .custom-container {
            width: 70%;
            margin: 0 auto;
        }
    
      
        
        @media (max-width: 768px) {
            .custom-container {
                width: 100%;
                padding: 0 15px;
            }
        }
        
        /* 导航栏样式 */
        .navbar {
            background-color: var(--primary-dark);
            padding: 15px 0;
        }
        
        .navbar-brand {
            color: white;
            font-weight: bold;
            font-size: 1.5rem;
        }
        
        .navbar-nav .nav-link {
            color: rgba(255, 255, 255, 0.85);
            font-weight: 500;
            margin: 0 10px;
            transition: color 0.3s;
        }
        
        .navbar-nav .nav-link:hover {
            color: white;
        }
        
        .nav-phone {
            color: white;
            font-weight: bold;
            background-color: var(--accent-purple);
            padding: 8px 15px;
            border-radius: 5px;
            text-decoration: none;
        }
        
        /* Hero Section */
        .hero-section {
            background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.9)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
            background-size: cover;
            color: white;
            padding: 100px 0;
            text-align: center;
        }
        
        .hero-title {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            margin-bottom: 40px;
            opacity: 0.9;
        }
        
        .btn-purple {
            background-color: var(--accent-purple);
            color: white;
            padding: 12px 30px;
            font-weight: 600;
            border: none;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        
        .btn-purple:hover {
            background-color: #553c9a;
            color: white;
        }
        
        .btn-outline-light {
            border: 2px solid white;
            color: white;
            padding: 10px 28px;
            font-weight: 600;
            border-radius: 5px;
            margin-left: 15px;
        }
        
        /* 核心优势 */
        .section-title {
            color: var(--primary-dark);
            font-weight: 700;
            margin-bottom: 50px;
            text-align: center;
            position: relative;
        }
        
        .section-title:after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background-color: var(--accent-purple);
            margin: 15px auto 0;
        }
        
        .feature-card {
            background: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            height: 100%;
            transition: transform 0.3s;
            border-top: 4px solid var(--primary-blue);
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
        }
        
        /* 服务领域 */
        .service-card {
            background: white;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            height: 100%;
            transition: all 0.3s;
            border-left: 4px solid var(--accent-pink);
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        .service-icon {
            font-size: 2rem;
            color: var(--accent-pink);
            margin-bottom: 15px;
        }
        
        /* 成功案例新样式 */
        .case-stats {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin-bottom: 50px;
            text-align: center;
        }
        
        .stat-item {
            margin: 20px;
        }
        
        .stat-number {
            font-family: "AlipayFont", "PingFang SC", sans-serif;
            font-size: 42px;
            font-weight: bold;
            color: var(--primary-purple);
            margin-bottom: 10px;
        }
        
        .stat-text {
            font-size: 18px;
            color: var(--dark-text);
        }
        
        .case-highlight {
            background-color: #f9f7f9;
            padding: 30px;
            border-radius: 8px;
            margin-top: 30px;
            border-left: 5px solid var(--primary-red);
        }
        
        .case-highlight h3 {
            color: var(--primary-red);
            margin-bottom: 15px;
            font-size: 22px;
        }

           /* 成功案例 */
        .case-card {
            background: white;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            height: 100%;
            border-bottom: 4px solid var(--accent-purple);
        }
        
        .result {
            color: var(--accent-purple);
            font-weight: 700;
            font-size: 1.5rem;
        }
        
        /* 法律知识新样式 */
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .article-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s;
            height: 100%;
        }
        
        .article-card:hover {
            transform: translateY(-5px);
        }
        
        .article-content {
            padding: 25px;
        }
        
        .article-content h3 {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--text-dark);
            line-height: 1.4;
        }
        
        .article-content p {
            color: #666;
            margin-bottom: 20px;
            font-size: 15px;
        }
        
        .article-meta {
            display: flex;
            justify-content: space-between;
            color: #666;
            font-size: 14px;
            margin-bottom: 15px;
        }
        
        .article-link {
            color: var(--primary-purple);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
        }
        
        .article-link:hover {
            color: var(--accent-purple);
        }
        
        .view-all {
            text-align: center;
            margin-top: 50px;
        }
        
        /* 地域覆盖 */
        .region-section {
            background-color: var(--primary-dark);
            color: white;
            padding: 60px 0;
        }
        
        .region-title {
            text-align: center;
            margin-bottom: 40px;
            font-weight: 600;
        }
        
        .region-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
        }
        
        .region-badge {
            background: rgba(255,255,255,0.1);
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 500;
        }

         /* 地图样式 */
        .map-container {
            height: 400px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        /* 关于我们 */
        .about-section {
            padding: 80px 0;
            background: white;
        }
        
        .profile-card {
            text-align: center;
            padding: 30px;
        }
        
        .profile-img {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 20px;
            border: 5px solid var(--light-gray);
        }
        
        /* 咨询表单 */
        .contact-section {
            background: var(--light-gray);
            padding: 80px 0;
        }
        
        .contact-form {
            background: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .form-control {
            padding: 12px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 5px;
        }
        
      
        
        /* 页脚 */
        .footer {
            background-color: var(--primary-dark);
            color: rgba(255,255,255,0.8);
            padding: 60px 0 30px;
        }
        
        .footer h5 {
            color: white;
            margin-bottom: 20px;
            font-weight: 600;
        }
        
        .footer-links a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            display: block;
            margin-bottom: 10px;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .copyright {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.6);
        }
        
        /* 浮动咨询窗口 */
        .floating-consult {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: white;
            border-radius: 50px;
            padding: 15px 25px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
            z-index: 1000;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .floating-consult .btn {
            background: var(--accent-purple);
            color: white;
            border-radius: 50px;
            padding: 10px 20px;
            font-weight: 600;
            border: none;
        }
        
        .whatsapp-icon {
            background: #25D366;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }
        
        /* 选择律师模块样式 */
        .guide-section {
            padding: 80px 0;
            background-color: white;
        }
        
        .guide-card {
            background: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            height: 100%;
            transition: transform 0.3s, box-shadow 0.3s;
            border-top: 4px solid var(--primary-blue);
            margin-bottom: 30px;
        }
        
        .guide-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        .guide-icon {
            font-size: 2.5rem;
            color: var(--primary-blue);
            margin-bottom: 20px;
        }
        
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        
        .comparison-table th, .comparison-table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .comparison-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .comparison-table tr:last-child td {
            border-bottom: none;
        }
        
        .good {
            color: var(--accent-purple);
            font-weight: 600;
        }
        
        .bad {
            color: #e74c3c;
            font-weight: 600;
        }
        
        .process-step {
            display: flex;
            margin-bottom: 30px;
            position: relative;
        }
        
        .step-number {
            background-color: var(--accent-purple);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 20px;
            flex-shrink: 0;
        }
        
        .step-content {
            flex: 1;
        }
        
        .pricing-card {
            background: white;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            height: 100%;
            transition: all 0.3s;
            border-left: 4px solid var(--accent-pink);
        }
        
        .pricing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        .pricing-header {
            text-align: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-purple);
            margin: 10px 0;
        }
        
        .service-list {
            list-style-type: none;
            padding: 0;
        }
        
        .service-list li {
            padding: 8px 0;
            border-bottom: 1px dashed #e0e0e0;
        }
        
        .service-list li:last-child {
            border-bottom: none;
        }
        
        .service-list li i {
            color: var(--accent-purple);
            margin-right: 10px;
        }
        
        .nav-tabs {
            border-bottom: 2px solid var(--accent-purple);
        }
        
        .nav-tabs .nav-link {
            color: var(--text-dark);
            font-weight: 500;
            border: none;
            padding: 12px 25px;
        }
        
        .nav-tabs .nav-link.active {
            background-color: var(--accent-purple);
            color: white;
            border: none;
        }
        
        .nav-tabs .nav-link:hover {
            border: none;
            color: var(--accent-purple);
        }
        
        .tab-content {
            padding: 30px 0;
        }
        
        .highlight {
            color: var(--primary-red);
            font-weight: bold;
        }
        
           /* 搜索框样式 */
       .search-wrapper {
        display: flex;
        max-width: 500px;
    }
    
    .modern-input {
        border-radius: 25px 0 0 25px;
        border: 1px solid #ccc;
        padding: 12px 20px;
        flex: 1;
        font-size: 16px;
    }
    
    .modern-btn {
        border-radius: 0 25px 25px 0;
        background: linear-gradient(45deg, #6a11cb, #2575fc);
        color: white;
        border: none;
        padding: 12px 25px;
        cursor: pointer;
        font-size: 16px;
    }

        /* 响应式调整 */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .stat-number {
                font-size: 36px;
            }
            
            .articles-grid {
                grid-template-columns: 1fr;
            }
            
            .case-stats {
                flex-direction: column;
            }
            
            .floating-consult {
                flex-direction: column;
                padding: 15px;
                border-radius: 15px;
                right: 15px;
                bottom: 15px;
            }
        }
        
        @media (max-width: 992px) {
            .articles-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
        }
        
        .qr-code-container {
            display: none;
            position: absolute;
            bottom: 100%;
            right: 0;
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
            text-align: center;
            margin-bottom: 15px;
            min-width: 150px;
            z-index: 1001;
        }
        
        .floating-consult:hover .qr-code-container {
            display: block;
        }
        
        .loading-map {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: #666;
        }
        
        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid var(--accent-purple);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 15px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
    