/* ===== 法若网 - 首页增强样式 ===== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

/* ===== Top Bar ===== */
.top-bar {
    background: #1a3a6b;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}
.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    padding: 8px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Nav ===== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo-wrap {
    display: flex;
    flex-direction: column;
}
.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: #1a3a6b;
    line-height: 1.2;
}
.logo-en {
    font-size: 10px;
    color: #C9A84C;
    letter-spacing: 2px;
}
.logo-tagline {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}
.nav-links {
    display: flex;
    gap: 36px;
}
.nav-links a {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: #1a3a6b;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: #C9A84C;
    border-radius: 3px 3px 0 0;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.phone-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff8e8;
    color: #C9A84C;
    border: 1px solid #f0d89a;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.phone-btn:hover {
    background: #C9A84C;
    color: #fff;
    border-color: #C9A84C;
}
.btn-nav {
    background: #1a3a6b;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    transition: background 0.3s;
}
.btn-nav:hover { background: #2a4a7b; }

/* ===== Banner ===== */
.banner {
    position: relative;
    overflow: hidden;
}
.banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d2340 0%, #1a3a6b 40%, #1a5a9b 70%, #0d2340 100%);
    z-index: 0;
}
.banner-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.banner-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}
.banner-content {
    position: relative;
    z-index: 1;
    padding: 100px 20px 60px;
}
.banner-text { text-align: center; }
.banner-tag {
    display: inline-block;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.3);
    color: #C9A84C;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 24px;
}
.banner-title {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}
.banner-title span {
    color: #C9A84C;
}
.banner-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}
.banner-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.banner-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px 24px;
    font-size: 15px;
}
.banner-search button {
    background: #C9A84C;
    color: #fff;
    border: none;
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}
.banner-search button:hover { background: #b8963f; }
.quick-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    flex-wrap: wrap;
}
.quick-tags a {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.1);
    padding: 4px 14px;
    border-radius: 20px;
    transition: all 0.3s;
    font-size: 13px;
}
.quick-tags a:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.banner-stats {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
    backdrop-filter: blur(10px);
}
.stats-row {
    display: flex;
    justify-content: space-around;
    max-width: 900px;
    margin: 0 auto;
}
.stat-item {
    text-align: center;
}
.stat-item strong {
    font-size: 40px;
    font-weight: 700;
    color: #C9A84C;
    display: block;
}
.stat-item span {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    display: block;
    margin-top: 4px;
}
.stat-item small {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    display: block;
    margin-top: 2px;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-label {
    font-size: 13px;
    color: #C9A84C;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.section-header h2 {
    font-size: 32px;
    color: #1a3a6b;
    margin-bottom: 8px;
}
.section-header p {
    font-size: 15px;
    color: #999;
}
.more-link {
    display: inline-block;
    color: #1a3a6b;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
    border-bottom: 2px solid #1a3a6b;
}

/* ===== Featured Lawyers ===== */
.featured-lawyers {
    padding: 80px 0;
    background: #fff;
}
.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.lawyer-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
    position: relative;
}
.lawyer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.1);
    border-color: #C9A84C;
}
.lawyer-card.featured {
    border: 2px solid #C9A84C;
    grid-row: span 2;
}
.card-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.lawyer-avatar-lg {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #1a3a6b;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lawyer-meta { flex: 1; }
.lawyer-meta h3 { font-size: 17px; color: #1a3a6b; margin-bottom: 2px; }
.lawyer-firm { font-size: 12px; color: #999; margin-bottom: 6px; }
.level-badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f0f4ff;
    color: #1a3a6b;
    margin-right: 4px;
    margin-bottom: 4px;
}
.level-badge.gold { background: #fff8e8; color: #C9A84C; }
.level-badge.hot { background: #fff0f0; color: #e74c3c; }
.level-badge.new { background: #f0fff0; color: #2D8A4E; }
.lawyer-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.lawyer-tags .tag {
    background: #f5f6fa;
    color: #666;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
}
.lawyer-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}
.lawyer-titles span {
    font-size: 11px;
    color: #888;
}
.lawyer-intro {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 12px;
}
.case-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.case-tags span {
    background: #fff8e8;
    color: #C9A84C;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
}
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}
.lawyer-stats-mini { font-size: 13px; color: #1a3a6b; font-weight: 600; }
.btn-card {
    background: #1a3a6b;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    transition: background 0.3s;
}
.btn-card:hover { background: #2a4a7b; }

/* ===== Service Areas ===== */
.service-areas { padding: 80px 0; background: #f5f6fa; }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s;
    border: 2px solid transparent;
}
.area-card:hover {
    border-color: #C9A84C;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.area-icon { font-size: 44px; margin-bottom: 16px; }
.area-card h3 { font-size: 18px; color: #1a3a6b; margin-bottom: 10px; }
.area-card p { font-size: 14px; color: #888; line-height: 1.8; margin-bottom: 16px; }
.area-footer { display: flex; justify-content: space-between; align-items: center; }
.area-count { font-size: 13px; color: #C9A84C; font-weight: 600; }
.area-link { font-size: 13px; color: #1a3a6b; font-weight: 600; }

/* ===== Why Us ===== */
.why-us { padding: 80px 0; background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why-item {
    text-align: center;
    padding: 36px 24px;
    border-radius: 16px;
    background: #f8f9fc;
    transition: all 0.3s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.why-icon { font-size: 48px; margin-bottom: 16px; }
.why-item h3 { font-size: 18px; color: #1a3a6b; margin-bottom: 10px; }
.why-item p { font-size: 14px; color: #888; line-height: 1.8; }

/* ===== Lawyer Join ===== */
.lawyer-join { background: linear-gradient(135deg, #0d2340, #1a3a6b); padding: 80px 0; }
.join-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.join-left h2 { font-size: 36px; color: #fff; margin-bottom: 16px; }
.join-desc { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 24px; }
.join-benefits { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.join-benefits span { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); padding: 8px 18px; border-radius: 20px; font-size: 14px; }
.join-actions { display: flex; gap: 16px; }
.btn-primary {
    background: #C9A84C; color: #fff; padding: 14px 36px; border-radius: 8px;
    font-size: 16px; font-weight: 600; transition: background 0.3s; display: inline-block;
}
.btn-primary:hover { background: #b8963f; text-decoration: none; }
.btn-secondary {
    background: rgba(255,255,255,0.1); color: #fff; padding: 14px 36px; border-radius: 8px;
    font-size: 16px; transition: background 0.3s; display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); text-decoration: none; }
.join-right { display: flex; flex-direction: column; gap: 16px; }
.join-step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px 24px;
}
.step-num { font-size: 32px; font-weight: 700; color: #C9A84C; width: 60px; }
.step-text { font-size: 15px; color: #fff; }
.step-text small { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ===== Latest News ===== */
.latest-news { padding: 80px 0; background: #f5f6fa; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    transition: all 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.news-img { background: #f0f0f0; height: 160px; }
.news-date { font-size: 12px; color: #C9A84C; padding: 16px 20px 8px; }
.news-card h3 { font-size: 16px; color: #1a3a6b; padding: 0 20px; margin-bottom: 10px; line-height: 1.5; }
.news-card p { font-size: 13px; color: #888; line-height: 1.7; padding: 0 20px; margin-bottom: 16px; }
.news-link { display: block; padding: 0 20px 20px; font-size: 13px; color: #1a3a6b; font-weight: 600; }

/* ===== CTA Bar ===== */
.cta-bar { background: #fff; padding: 60px 0; border-top: 1px solid #f0f0f0; }
.cta-content { text-align: center; }
.cta-content h2 { font-size: 28px; color: #1a3a6b; margin-bottom: 10px; }
.cta-content p { font-size: 15px; color: #888; margin-bottom: 30px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; }
.cta-btn-primary {
    background: #1a3a6b; color: #fff; padding: 14px 40px; border-radius: 8px;
    font-size: 16px; font-weight: 600; transition: background 0.3s; display: inline-block;
}
.cta-btn-primary:hover { background: #2a4a7b; text-decoration: none; }
.cta-btn-secondary {
    background: #fff; color: #1a3a6b; border: 1px solid #1a3a6b;
    padding: 14px 40px; border-radius: 8px;
    font-size: 16px; transition: all 0.3s; display: inline-block;
}
.cta-btn-secondary:hover { background: #1a3a6b; color: #fff; text-decoration: none; }

/* ===== Footer ===== */
.footer { background: #0d1f36; color: #fff; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 16px; color: #C9A84C; margin-bottom: 20px; }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.9; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-col ul li a:hover { color: #C9A84C; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ===== Float Buttons ===== */
.float-btns {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 998;
}
.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1a3a6b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.3s;
    text-decoration: none;
}
.float-btn:hover { background: #C9A84C; transform: scale(1.1); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .lawyers-grid { grid-template-columns: repeat(2, 1fr); }
    .lawyer-card.featured { grid-row: auto; }
    .join-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .banner-title { font-size: 32px; }
    .stat-item strong { font-size: 28px; }
    .stats-row { gap: 20px; flex-wrap: wrap; }
    .lawyers-grid { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .areas-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .join-actions { flex-direction: column; }
}