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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #4a5568;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: #1a365d;
    flex-shrink: 0;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #1a365d;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-item {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}

.nav-item:hover {
    color: #1a365d;
}

.nav-item.active {
    color: #1a365d;
    font-weight: 600;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, #1a365d, #4299e1);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    gap: 15px;
    position: relative;
}

.qr-popup {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    background: #ffffff;
    padding: 28px 32px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    pointer-events: none;
}

.qr-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 24px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
}

.qr-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.popup-qr-code {
    width: 180px;
    height: 180px;
    padding: 8px;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 14px;
}

.popup-qr-text {
    font-size: 14px;
    color: #4a5568;
    letter-spacing: 0.5px;
}

.btn {
    padding: 10px 24px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #1a365d;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #2c5282;
}

.btn-outline {
    background-color: transparent;
    border-color: #1a365d;
    color: #1a365d;
}

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

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.hero {
    background: linear-gradient(135deg, #0f2027 0%, #1a365d 40%, #2c5282 100%);
    color: #ffffff;
    padding: 140px 20px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214, 158, 46, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #d69e2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 50px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 1px;
}

.role-selector {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.role-btn {
    flex: 1;
    max-width: 400px;
    padding: 35px 30px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

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

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

.role-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.role-btn.active {
    background: linear-gradient(135deg, rgba(214, 158, 46, 0.2) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: #d69e2e;
    box-shadow: 0 12px 32px rgba(214, 158, 46, 0.35);
    transform: scale(1.02);
}

.role-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    color: #d69e2e;
    transition: transform 0.3s;
}

.role-btn:hover .role-icon {
    transform: scale(1.1);
}

.role-icon svg {
    width: 100%;
    height: 100%;
}

.role-text {
    display: block;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.role-desc {
    display: block;
    font-size: 14px;
    opacity: 0.8;
}

.hero-stats {
    display: none;
    gap: 40px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.hero-stats.active {
    display: flex;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #d69e2e;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.ai-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50px;
    backdrop-filter: blur(12px);
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}

.ai-feature:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(214, 158, 46, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.ai-feature svg {
    width: 24px;
    height: 24px;
    color: #d69e2e;
}

.hero-qr {
    text-align: center;
    padding: 40px 50px;
    display: inline-block;
}

.qr-code {
    width: 160px;
    height: 160px;
    background-color: #ffffff;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.qr-text {
    font-size: 15px;
    opacity: 0.95;
    letter-spacing: 1px;
    font-weight: 300;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a365d;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: #718096;
    text-align: center;
    margin-bottom: 50px;
}

.trust {
    padding: 80px 0;
    background-color: #f7fafc;
}

.trust-tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.trust-tab {
    padding: 12px 40px;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s;
}

.trust-tab:hover {
    border-color: #1a365d;
    color: #1a365d;
}

.trust-tab.active {
    background-color: #1a365d;
    border-color: #1a365d;
    color: #ffffff;
}

.trust-content {
    display: none;
}

.trust-content.active {
    display: block;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.trust-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: #1a365d;
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 15px;
}

.trust-list {
    list-style: none;
    margin-bottom: 20px;
}

.trust-list li {
    font-size: 14px;
    color: #718096;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.trust-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.trust-qr {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.trust-qr img {
    width: 100px;
    height: 100px;
    background-color: #f7fafc;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.trust-qr span {
    display: block;
    font-size: 12px;
    color: #718096;
}

.tools-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.tools-subtitle {
    text-align: center;
    font-size: 16px;
    color: #718096;
    margin-top: -20px;
    margin-bottom: 50px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tool-card {
    background-color: #ffffff;
    padding: 28px 24px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.15);
    border-color: #1a365d;
}

.tool-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    color: #1a365d;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    color: #2c5282;
    transform: scale(1.1);
}

.tool-icon svg {
    width: 100%;
    height: 100%;
}

.tool-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-name {
    color: #2c5282;
}

.tool-desc {
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
}

.tool-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 14px;
    margin-top: 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
}

.tool-card:hover .tool-btn {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.tool-btn-primary {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.25);
}

.tool-btn-primary:hover {
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.35);
    transform: translateY(-2px);
}

.tool-btn-secondary {
    background: #ffffff;
    color: #1a365d;
    border: 2px solid #1a365d;
}

.tool-btn-secondary:hover {
    background: #1a365d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.25);
}

.tool-btn-icon {
    font-style: normal;
    font-size: 14px;
}

.tool-btn-arrow {
    width: 16px;
    height: 16px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.tool-btn-primary:hover .tool-btn-arrow {
    transform: translateX(4px);
}

.tool-btn-icon-miniapp {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    flex-shrink: 0;
}

.miniapp-qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.miniapp-qr-modal.active {
    opacity: 1;
    visibility: visible;
}

.miniapp-qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.miniapp-qr-content {
    position: relative;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.miniapp-qr-modal.active .miniapp-qr-content {
    transform: scale(1) translateY(0);
}

.miniapp-qr-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #718096;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.3s ease;
}

.miniapp-qr-close:hover {
    color: #1a365d;
}

.miniapp-qr-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 24px;
}

.miniapp-qr-image {
    margin-bottom: 20px;
}

.miniapp-qr-image img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    background: #f7fafc;
}

.miniapp-qr-desc {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
}

.lawyers-section {
    padding: 70px 0 60px;
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    position: relative;
}

.more-btn {
    padding: 8px 24px;
    border: 1.5px solid #1a365d;
    background: transparent;
    color: #1a365d;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

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

.lawyer-qr-popup {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
}

.lawyers-scroll-wrapper {
    overflow: hidden;
    padding: 10px 0 20px;
}

.lawyers-track {
    display: flex;
    gap: 20px;
    animation: scrollLeft 80s linear infinite;
    width: max-content;
}

.lawyers-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.lawyer-card {
    min-width: 240px;
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px 20px;
    text-align: center;
    border: 1px solid #e8eef5;
    box-shadow: 0 2px 12px rgba(26, 54, 93, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.lawyer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a365d, #2c5282, #3182ce);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lawyer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 54, 93, 0.12);
    border-color: transparent;
}

.lawyer-card:hover::before {
    opacity: 1;
}

.lawyer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 14px;
    border: 3px solid #e8eef5;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    transition: all 0.3s ease;
}

.lawyer-card:hover .lawyer-avatar {
    border-color: #3182ce;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.25);
}

.lawyer-name {
    font-size: 17px;
    color: #1a365d;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.lawyer-id {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.lawyer-firm {
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 6px;
    padding: 0 8px;
}

.lawyer-area {
    font-size: 12px;
    color: #718096;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f7fafc;
    padding: 4px 12px;
    border-radius: 12px;
    margin-top: 2px;
}

.lawyer-area::before {
    content: '📍';
    font-size: 11px;
}

.platforms {
    padding: 80px 0;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

.platform-card {
    background-color: #ffffff;
    padding: 25px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s;
}

.platform-card:hover {
    border-color: #1a365d;
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
    transform: translateY(-3px);
}

.platform-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    color: #4299e1;
}

.platform-icon svg {
    width: 100%;
    height: 100%;
}

.platform-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 5px;
}

.platform-desc {
    font-size: 12px;
    color: #718096;
    margin-bottom: 15px;
}

.platform-qr img {
    width: 80px;
    height: 80px;
    background-color: #f7fafc;
    padding: 5px;
    border-radius: 4px;
}

.services {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background-color: #ffffff;
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a365d, #2c5282, #4299e1);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(26, 54, 93, 0.12), 0 4px 16px rgba(26, 54, 93, 0.06);
    transform: translateY(-8px);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #1a365d;
    background: linear-gradient(135deg, #ebf4ff 0%, #dbeafe 100%);
    border-radius: 16px;
    padding: 14px;
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #ffffff;
    transform: scale(1.08);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.service-desc {
    font-size: 14px;
    color: #718096;
    margin-bottom: 14px;
    line-height: 1.6;
}

.service-stats {
    font-size: 13px;
    color: #4299e1;
    font-weight: 600;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ebf8ff 0%, #e6fffa 100%);
    border-radius: 20px;
    display: inline-block;
}

.service-qr-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.service-qr-item {
    text-align: center;
}

.service-qr-item img {
    width: 70px;
    height: 70px;
    background-color: #f7fafc;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.service-qr-item span {
    display: block;
    font-size: 12px;
    color: #718096;
}

.features {
    padding: 80px 0;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    color: #d69e2e;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 14px;
    opacity: 0.9;
}

.feature-body {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-side {
    padding: 20px;
    background-color: #f7fafc;
    border-radius: 8px;
}

.feature-side h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.lawyer-side h4 {
    border-bottom-color: #4299e1;
}

.client-side h4 {
    border-bottom-color: #48bb78;
}

.feature-side ul {
    list-style: none;
}

.feature-side li {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.feature-side li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4299e1;
    font-weight: bold;
}

.client-side li::before {
    color: #48bb78;
}

.feature-footer {
    padding: 20px 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.feature-qr {
    text-align: center;
}

.feature-qr img {
    width: 80px;
    height: 80px;
    background-color: #f7fafc;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.feature-qr span {
    display: block;
    font-size: 12px;
    color: #718096;
}

.lawyers {
    padding: 80px 0;
    background-color: #f7fafc;
}

.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.lawyer-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: center;
}

.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.lawyer-avatar {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background-color: #e2e8f0;
}

.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-name {
    font-size: 20px;
    font-weight: 600;
    color: #1a365d;
    margin: 20px 0 10px;
}

.lawyer-experience {
    font-size: 14px;
    color: #d69e2e;
    margin-bottom: 10px;
}

.lawyer-specialty {
    font-size: 14px;
    color: #718096;
    margin-bottom: 10px;
}

.lawyer-stats {
    font-size: 12px;
    color: #4299e1;
    margin-bottom: 15px;
}

.lawyer-qr-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 15px;
    border-top: 1px solid #e2e8f0;
}

.lawyer-qr-item {
    text-align: center;
}

.lawyer-qr-item img {
    width: 70px;
    height: 70px;
    background-color: #f7fafc;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.lawyer-qr-item span {
    display: block;
    font-size: 12px;
    color: #718096;
}

.client-guide {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #ffffff;
}

.client-guide .section-title {
    color: #ffffff;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.guide-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.guide-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: #d69e2e;
}

.guide-icon svg {
    width: 100%;
    height: 100%;
}

.guide-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.guide-list {
    list-style: none;
}

.guide-list li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    opacity: 0.9;
}

.guide-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d69e2e;
    font-weight: bold;
}

.guide-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.guide-cta .btn {
    min-width: 200px;
}

.guide-cta .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.guide-cta .btn-outline:hover {
    background-color: #ffffff;
    color: #1a365d;
}

.guide-qr {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.guide-qr img {
    width: 120px;
    height: 120px;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.guide-qr span {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.lawyer-guide {
    padding: 80px 0;
}

.lawyer-stats-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 12px;
    color: #ffffff;
}

.lawyer-stat-item {
    text-align: center;
    flex: 1;
}

.lawyer-stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #d69e2e;
}

.lawyer-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.lawyer-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.lawyer-benefit {
    background-color: #f7fafc;
    padding: 30px;
    border-radius: 8px;
}

.lawyer-benefit h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a365d;
}

.lawyer-benefit ul {
    list-style: none;
}

.lawyer-benefit li {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.lawyer-benefit li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.footer {
    background-color: #1a365d;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #d69e2e;
}

.footer-qr-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-qr-item {
    text-align: center;
}

.footer-qr-item img {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.footer-qr-item span {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .platforms-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 0 0 45%;
    }

    .role-selector {
        flex-direction: column;
        align-items: center;
    }

    .role-btn {
        max-width: 100%;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-body {
        grid-template-columns: 1fr;
    }

    .lawyers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lawyer-benefits {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .lawyer-card {
        min-width: 220px;
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
    }

    .header-actions {
        order: 2;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .ai-features {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 28px;
    }

    .trust-tabs {
        flex-direction: column;
        align-items: center;
    }

    .trust-tab {
        width: 100%;
        max-width: 200px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .lawyers-grid {
        grid-template-columns: 1fr;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .lawyer-stats-row {
        flex-wrap: wrap;
    }

    .lawyer-stat-item {
        flex: 0 0 45%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .lawyer-card {
        min-width: 200px;
        padding: 22px 16px;
    }

    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .role-btn {
        padding: 20px;
    }

    .role-text {
        font-size: 20px;
    }

    .stat-number {
        font-size: 24px;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .feature-header {
        flex-direction: column;
        text-align: center;
    }

    .feature-footer {
        flex-direction: column;
    }
}