
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f9fafc;
            color: #0f172a;
            line-height: 1.5;
        }

        .icon {
            display: inline-block;
            font-style: normal;
            font-weight: normal;
            text-align: center;
            width: 1.2em;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Hero */
        .hero {
	background: linear-gradient(145deg, #ffffff 0%, #F0F8FF 100%);
	border-bottom: 1px solid #d9e2ef;
	padding-top: 60px;
	padding-right: 0;
	padding-bottom: 24px;
	padding-left: 0;
        }
        .hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
        .hero h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.02em; }
        .hero-desc { font-size: 1.2rem; color: #334155; margin-bottom: 32px; max-width: 750px; margin-left: auto; margin-right: auto; }
        .trust-badges {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 30px 0;
            flex-wrap: wrap;
        }
        .trust-badge {
            display: flex;
            align-items: center;
            background: #E6F4FF;
            padding: 10px 20px;
            border-radius: 50px;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
            transition: all 0.2s;
            font-size: 0.9rem;
        }
        .trust-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        }
        .badge-icon {
            margin-right: 8px;
            font-weight: bold;
            color: #2563eb;
        }

        /* ===== 主搜索框 ===== */
        .dual-search {
            max-width: 750px;
            margin: 0 auto 25px;
            background: white;
            border-radius: 70px;
            border: 1.5px solid #dce5f0;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            padding: 4px 4px 4px 20px;
            transition: all 0.15s;
            box-shadow: 0 15px 30px -12px rgba(0,0,0,0.15);
        }
        .dual-search:focus-within { border-color: #2563eb; box-shadow: 0 4px 20px rgba(37,99,235,0.15); }
        .search-mode-indicator {
            background: #f1f5f9;
            padding: 8px 20px;
            border-radius: 50px;
            margin-right: 12px;
            font-weight: 600;
            color: #1d4ed8;
            font-size: 0.95rem;
            white-space: nowrap;
        }
        .search-mode-indicator i { margin-right: 6px; font-style: normal; }
        .search-input-area {
            flex: 1;
            display: flex;
            align-items: center;
            min-width: 200px;
        }
        .search-input-area .search-icon { color: #7f8fa4; margin-right: 6px; font-size: 1.1rem; }
        .search-input-area input {
            width: 100%;
            border: none;
            padding: 14px 0;
            font-size: 1rem;
            background: transparent;
            outline: none;
            font-family: inherit;
        }
        .search-input-area input::placeholder { color: #a3b3cc; }
        .search-btn {
            background: #0f172a;
            color: white;
            border: none;
            padding: 12px 32px;
            border-radius: 60px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: 0.15s;
            white-space: nowrap;
            margin-left: 8px;
            letter-spacing: 0.3px;
        }
        .search-btn:hover { background: #1e2b45; }

        /* ===== 下拉菜单样式 ===== */
        .search-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            background: white;
            border-radius: 24px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 20px 35px -8px rgba(0,20,40,0.25);
            padding: 16px 8px;
            max-height: 360px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
        }
        .search-dropdown.show {
            display: block;
        }
        .dropdown-container {
            position: relative;
        }
        .dropdown-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 12px 10px 12px;
            border-bottom: 1px solid #edf2f7;
            font-size: 0.85rem;
            color: #64748b;
        }
        .dropdown-header .close-btn {
            background: none;
            border: none;
            font-size: 1.2rem;
            cursor: pointer;
            color: #94a3b8;
            padding: 0 6px;
            line-height: 1;
            border-radius: 20px;
            transition: all 0.1s;
        }
        .dropdown-header .close-btn:hover {
            background: #f1f5f9;
            color: #0f172a;
        }
        .tool-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 18px;
            border-radius: 16px;
            text-decoration: none;
            color: #1e2f4a;
            transition: background 0.1s;
            border-bottom: 1px solid #f0f4fa;
        }
        .tool-item:last-child { border-bottom: none; }
        .tool-item:hover { background: #f5f9ff; }
        .tool-info { display: flex; align-items: center; gap: 16px; }
        .tool-icon {
            background: #e9f0fe; width: 40px; height: 40px; border-radius: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #2563eb;
        }
        .tool-name { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
        .tool-desc { font-size: 0.8rem; color: #5f6f8a; }
        .tool-link {
            background: #eef3fe; padding: 8px 16px; border-radius: 40px; font-size: 0.85rem; font-weight: 500; color: #1d4ed8; border: 1px solid transparent; transition: 0.1s;
        }
        .tool-item:hover .tool-link { background: #2563eb; color: white; border-color: #2563eb; }
        .no-result {
            padding: 28px 20px;
            text-align: center;
            color: #6b7b98;
        }

        .section-header { margin: 48px 0 24px; }
        .section-header h2 { font-size: 1.8rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }

        .hot-section, .recommended-section, .new-section { margin-bottom: 40px; }
        .section-subheader { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 1.3rem; font-weight: 600; }

        .featured-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 16px 0 20px;
        }
        .featured-card {
            background: white; border-radius: 20px; padding: 20px; border: 1px solid #e9edf2; text-decoration: none; color: inherit; transition: all 0.2s; display: flex; flex-direction: column; position: relative;
        }
        .featured-card:hover { background: #f5f9ff; border-color: #2563eb; transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(0,0,0,0.1); }
        .featured-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
        .featured-header .icon { font-size: 1.5rem; color: #2563eb; width: 30px; }
        .featured-title { font-weight: 700; font-size: 1.1rem; }
        .category-badge { background: #e6f0ff; color: #2563eb; font-size: 0.7rem; padding: 2px 8px; border-radius: 40px; font-weight: 500; }
        .popular-badge { background: #fee2e2; color: #b91c1c; font-size: 0.7rem; padding: 2px 10px; border-radius: 40px; font-weight: 600; }
        .recommended-badge { background: #f3e8ff; color: #9333ea; font-size: 0.7rem; padding: 2px 10px; border-radius: 40px; font-weight: 600; }
        .new-badge { background: #dbeafe; color: #1e40af; font-size: 0.7rem; padding: 2px 10px; border-radius: 40px; font-weight: 600; border: 1px solid #93c5fd; animation: gentlePulse 2s infinite; }
        @keyframes gentlePulse { 0% { opacity: 1; } 50% { opacity: 0.8; background: #bfdbfe; } 100% { opacity: 1; } }
        .featured-desc { font-size: 0.9rem; color: #475569; margin-bottom: 16px; flex:1; }
        .featured-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: #64748b; border-top: 1px dashed #d1d9e6; padding-top: 12px; }
        .usage-count { background: #e6f0ff; color: #2563eb; padding: 2px 8px; border-radius: 40px; }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 40px;
        }
        .category-card {
            background: white; border-radius: 24px; padding: 24px 20px; border: 1px solid #e9edf2; transition: all 0.25s; text-decoration: none; color: inherit;
        }
        .category-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -8px rgba(0,0,0,0.08); border-color: #2563eb; }
        .category-icon { font-size: 2.2rem; margin-bottom: 16px; }
        .category-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
        .category-desc { color: #64748b; font-size: 0.9rem; margin-bottom: 12px; }
        .calc-count { color: #2563eb; font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap:4px; }

        /* rate dashboard */
    
     .legal-container {
	margin-top: 35px;         
        }

        /* 第一行：两列布局 */
        .legal-row-top {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 28px;
            margin-bottom: 28px;
        }

        /* 第二行：全宽一列 */
        .legal-row-bottom {
            width: 100%;
        }

        /* 卡片基础样式 */
        .legal-card {
            background: white;
            border-radius: 36px;
            padding: 2.4rem 2.2rem;
            box-shadow: 0 20px 35px -14px rgba(17, 45, 78, 0.15);
            border: 1px solid #e0eaf4;
            transition: all 0.2s;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .legal-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 28px 45px -15px #1a3f60;
        }

        /* 底部卡片 - 解释型样式 */
        .legal-card-bottom {
            background: #eef4fc;
            border-left: 8px solid #246a9e;
        }

        h2 {
            font-size: 1.9rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            margin: 0 0 0.8rem 0;
            color: #0b2e47;
            line-height: 1.2;
            border-left: 9px solid #246a9e;
            padding-left: 1.3rem;
        }

        /* ✅ P标签简介样式（统一设计） */
        .legal-intro {
            font-size: 1rem;
            color: #254d6f;
            background: #eff6ff;
            padding: 1.1rem 1.5rem;
            border-radius: 28px;
            margin: 0 0 1.6rem 0;
            border-left: 4px solid #3f7eb3;
            line-height: 1.5;
        }

        /* 底部卡片的P标签稍微不同（更融入） */
        .legal-card-bottom .legal-intro {
            background: #dce8f5;
            border-left-color: #1f6ea0;
            color: #103f60;
        }

        .legal-subhead {
            font-size: 1.2rem;
            font-weight: 600;
            color: #1f4a6e;
            border-bottom: 2px solid #cde0f0;
            padding-bottom: 6px;
            margin: 0.5rem 0 1rem 0;
        }

        /* 州网格 */
        .legal-stateGrid {
            display: grid;
            grid-template-columns: repeat( 1fr);
            gap: 12px 20px;
            margin-bottom: 1rem;
        }
        .legal-stateItem {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px dashed #c2d6ec;
            padding: 0.5rem 0;
        }
		 .legal-stateItem a {
	text-decoration: none;           
        }
        .legal-stateName {
            font-weight: 550;
            color: #1a3f5c;
        }
        .legal-stateRate {
            font-weight: 700;
            color: #1a6b58;
            background: #e3f1ea;
            padding: 0.2rem 0.9rem;
            border-radius: 40px;
            font-size: 0.9rem;
        }

        /* 领域列表 */
        .legal-practiceList {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin: 0.5rem 0 1rem;
        }
        .legal-practiceItem {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f8fafd;
            padding: 0.7rem 1.4rem;
            border-radius: 60px;
            border: 1px solid #d2e2f2;
        }
        .legal-practiceName {
            font-weight: 550;
            color: #1b4463;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .legal-practiceRate {
            font-weight: 650;
            color: #134b61;
            background: #daecf8;
            padding: 0.2rem 1rem;
            border-radius: 40px;
        }

        /* 底部解释区块 - 三个小卡片 */
        .legal-explainer-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin: 1.2rem 0;
        }
        .legal-explainer-item {
            background: white;
            border-radius: 24px;
            padding: 1.4rem;
            box-shadow: 0 8px 20px -10px rgba(0,32,64,0.15);
            border-left: 4px solid #2b7b9e;
        }
        .legal-explainer-item p {
            color: #1c405c;
            margin: 0.3rem 0;
            font-size: 0.95rem;
        }
        .legal-explainer-item p::before {
            content: "•";
            color: #2b7b9e;
            font-weight: bold;
            margin-right: 8px;
        }
        .legal-explainer-title {
            font-weight: 700;
            font-size: 1.1rem;
            color: #0f3d5e;
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* 底部数据行 */
        .legal-stats-row {
            display: flex;
            gap: 24px;
            margin: 1rem 0 0.5rem;
            flex-wrap: wrap;
            background: rgba(255,255,255,0.5);
            padding: 1rem 1.5rem;
            border-radius: 40px;
        }
        .legal-stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .legal-stat-label {
            font-weight: 500;
            color: #1f4a6e;
        }
        .legal-stat-value {
            font-weight: 700;
            color: #01634b;
            background: #c6eadc;
            padding: 0.15rem 1rem;
            border-radius: 40px;
        }

        .legal-micro {
            margin-top: 1.2rem;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .legal-chip {
            background: #ecf3fa;
            border-radius: 50px;
            padding: 0.2rem 1rem;
            font-size: 0.8rem;
            color: #1f5277;
        }

        .legal-viewAll {
            margin-top: 1.2rem;
        }
        .legal-viewAll a {
            color: #1f5a8e;
            text-decoration: none;
            border: 1px solid #b9d2ec;
            padding: 0.5rem 1.5rem;
            border-radius: 60px;
            background: white;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            transition: 0.2s;
        }
        .legal-viewAll a:hover {
            background: #e4effa;
            border-color: #2b6a9c;
        }

        @media (max-width: 900px) {
            .legal-row-top {
                grid-template-columns: 1fr;
            }
            .legal-explainer-grid {
                grid-template-columns: 1fr;
            }
        }
     


        .guides-section {
            background: white; border-radius: 24px; padding: 28px; margin: 40px 0; border: 1px solid #e9edf2;
        }
        .guides-header { display: flex; justify-content: space-between; align-items: center; margin-bottom:20px; }
        .guides-header h4 { font-size:1.2rem; display:flex; align-items: center; gap:8px; }
        .guides-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap:20px; }
        .guide-card { background:#f8fafc; padding:20px; border-radius:16px; text-decoration:none; color:inherit; border:1px solid #e9edf2; transition:0.2s; }
        .guide-card:hover { background:#f0f7ff; border-color:#2563eb; }
        .guide-icon { font-size:1.5rem; margin-bottom:10px; }
        .guide-title { font-weight:700; margin-bottom:6px; }
        .guide-desc { font-size:0.85rem; color:#64748b; margin-bottom:12px; }
        .guide-link { color:#2563eb; font-size:0.85rem; font-weight:500; }

        .faq-section { text-align: center; margin:40px 0 20px; }
        .faq-expandable { max-width:750px; margin:30px auto 40px; text-align:left; border-top:1px solid #e2e8f0; padding-top:25px; }
        .faq-item { background:white; border-radius:20px; margin-bottom:12px; border:1px solid #e9edf2; overflow:hidden; }
        .faq-question { padding:18px 24px; font-weight:600; display:flex; justify-content:space-between; align-items:center; cursor:pointer; }
        .faq-answer { max-height:0; padding:0 24px; background:#f9fbfe; color:#334155; font-size:0.95rem; border-top:0 solid #e2e8f0; overflow:hidden; transition:max-height 0.25s ease; }
        .faq-answer.show { max-height:240px; padding:18px 24px; border-top-width:1px; }

        .btn-large { background:white; border:2px solid #2563eb; color:#2563eb; padding:16px 48px; border-radius:60px; font-weight:700; font-size:1.1rem; text-decoration:none; display:inline-block; transition:all 0.3s; }
        .btn-large:hover { background:#2563eb; color:white; }

        .trust-section { background:#f8fafc; border-radius:24px; padding:24px; margin:40px 0; border:1px solid #e9edf2; }
        .trust-items { display:flex; justify-content:center; gap:40px; flex-wrap:wrap; }
        .trust-item { display:flex; align-items:center; gap:8px; color:#334155; }
/* 新工具提醒 */
    .new-tools-alert {
        background: linear-gradient(135deg, #E8F1FF, #F0F7FF);
        border-radius: 12px;
        padding: 25px;
        margin: 40px 0;
        text-align: center;
    }
    
    .new-tools-alert a {
        margin-left: 15px;
        text-decoration: none;
    }
    
    .new-tools-alert a:hover {
        color: #004080;
    }
    
    .new-badge {
        background: #28a745;
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 700;
        margin-right: 10px;
    }
    
	 /* ===== 通用组件 ===== */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
        border-radius: var(--radius-md);
        font-weight: 600;
        text-decoration: none;
        transition: all var(--transition-base);
        border: none;
        cursor: pointer;
        font-size: 16px;
        position: relative;
        overflow: hidden;
        gap: 8px;
        min-height: 44px;
    }
    
    .btn-primary {
        background-color: var(--primary-accent);
        color: white;
    }
    
    .btn-primary:hover {
        background-color: var(--primary-blue);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
    
.btn-secondary {
    background-color: #ffffff !important;
    color: #0066cc !important;
    border: 2px solid #0066cc !important;
    border-radius: 8px !important;
}
    
    .btn-secondary:hover {
        background-color: #ECF7FF!important;
        transform: translateY(-2px);
    }
    
    .btn-quick {
        background: linear-gradient(135deg, var(--quick-blue), #60A5FA);
        color: white;
        border: none;
    }
    
    .btn-detailed {
        background: linear-gradient(135deg, var(--detailed-indigo), #6366F1);
        color: white;
        border: none;
    }
    
    .btn-small {
        padding: 8px 16px;
        font-size: 14px;
        min-height: 36px;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 18px;
        border-radius: var(--radius-lg);
        min-height: 56px;
    }
    
	   .text-center {
        text-align: center;
    }
	   .mt-30 { margin-top: 24px; }
        @media (max-width:1024px) {
            .category-grid { grid-template-columns: repeat(2,1fr); }
            .featured-grid { grid-template-columns: repeat(2,1fr); }
            .rate-dashboard-split { flex-direction: column; }
            .right-col { border-left:none; border-top:1px solid rgba(255,255,255,0.2); padding-left:0; padding-top:24px; }
        }
        @media (max-width:768px) {
            .hero h1 { font-size:2.2rem; }
            .category-grid,.featured-grid,.guides-grid { grid-template-columns:1fr; }
            .dual-search { flex-direction: column; background:transparent; box-shadow:none; padding:0; gap:10px; align-items:stretch; }
            .search-mode-indicator { align-self: center; background: #e9f0fe; }
            .search-input-area { background:white; border-radius:60px; padding:0 20px; border:1px solid #d0ddee; }
            .search-btn { margin-left:0; }
        }
