/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    background-color: #f5f7fa;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* 顶部电话栏 */
.top-bar {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .phone {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    letter-spacing: 1px;
}

.top-bar .phone span {
    font-size: 14px;
    color: #ccc;
    margin-right: 10px;
}

/* 导航栏 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1a365d;
    display: flex;
    align-items: center;
}

.logo::before {
    content: "盾";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #ffd700;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 20px;
}

.nav ul {
    display: flex;
    gap: 5px;
}

.nav a {
    display: block;
    padding: 10px 18px;
    color: #333;
    font-weight: 500;
    border-radius: 4px;
}

.nav a:hover, .nav a.active {
    background: #1a365d;
    color: #fff;
}

/* Banner区域 */
.banner {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #2c5282 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.banner .container {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner h1 .highlight {
    color: #ffd700;
}

.banner .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner .tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.banner .tags span {
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a365d;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(255,215,0,0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.5);
}

.btn-phone {
    font-size: 22px;
    letter-spacing: 2px;
}

/* 通用区块 */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: #1a365d;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffb700);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 16px;
    margin-top: 20px;
}

/* 核心业务 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 35px 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(26,54,93,0.15);
    border-top-color: #ffd700;
}

.service-card.featured {
    border-top-color: #c53030;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.service-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffd700;
    margin-bottom: 20px;
}

.service-card.featured .icon {
    background: linear-gradient(135deg, #c53030 0%, #e53e3e 100%);
    color: #fff;
}

.service-card h3 {
    font-size: 20px;
    color: #1a365d;
    margin-bottom: 15px;
}

.service-card.featured h3 {
    color: #c53030;
}

.service-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.service-card .tag {
    display: inline-block;
    background: #fed7d7;
    color: #c53030;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 15px;
    font-weight: bold;
}

/* 优势区域 */
.advantages {
    background: #fff;
}

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

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-item .num {
    font-size: 48px;
    font-weight: bold;
    color: #1a365d;
    opacity: 0.1;
    line-height: 1;
}

.advantage-item h4 {
    font-size: 18px;
    color: #1a365d;
    margin: 15px 0 10px;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
}

/* 流程区域 */
.process-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    color: #fff;
}

.process-section .section-title h2 {
    color: #fff;
}

.process-section .section-title p {
    color: rgba(255,255,255,0.7);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(255,215,0,0.3);
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step .step-num {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a365d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(255,215,0,0.3);
}

.step h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step p {
    font-size: 13px;
    opacity: 0.7;
}

/* 案例区域 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.case-card .case-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    padding: 25px;
}

.case-card.criminal .case-header {
    background: linear-gradient(135deg, #c53030 0%, #e53e3e 100%);
}

.case-card .case-type {
    font-size: 12px;
    background: rgba(255,255,255,0.2);
    padding: 3px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.case-card h3 {
    font-size: 18px;
    line-height: 1.5;
}

.case-card .case-body {
    padding: 25px;
}

.case-card .case-body p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.case-card .result {
    background: #f0fff4;
    border-left: 3px solid #38a169;
    padding: 12px 15px;
    font-size: 13px;
    color: #22543d;
    border-radius: 0 4px 4px 0;
}

/* 城市分站 */
.cities-section {
    background: #fff;
}

.cities-group {
    margin-bottom: 30px;
}

.cities-group h3 {
    font-size: 18px;
    color: #1a365d;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid #ffd700;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cities-list a {
    display: inline-block;
    padding: 8px 18px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #4a5568;
    font-size: 14px;
}

.cities-list a:hover {
    background: #1a365d;
    color: #fff;
    border-color: #1a365d;
}

/* 新闻区域 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
}

.news-item .news-date {
    min-width: 70px;
    text-align: center;
}

.news-item .news-date .day {
    font-size: 32px;
    font-weight: bold;
    color: #1a365d;
    line-height: 1;
}

.news-item .news-date .month {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

.news-item .news-content h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-item .news-content h4 a:hover {
    color: #1a365d;
}

.news-item .news-content p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, #c53030 0%, #e53e3e 100%);
    color: #fff;
    text-align: center;
    padding: 50px 0;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-section .btn {
    background: #fff;
    color: #c53030;
}

/* 页脚 */
.footer {
    background: #0a1628;
    color: rgba(255,255,255,0.7);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ffd700;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.footer-col ul li a {
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #ffd700;
}

.footer-phone {
    font-size: 24px;
    color: #ffd700;
    font-weight: bold;
    margin: 15px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.disclaimer {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 1.7;
}

/* 内页Banner */
.page-banner {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-banner .breadcrumb {
    font-size: 14px;
    opacity: 0.7;
}

.page-banner .breadcrumb a:hover {
    color: #ffd700;
}

/* 内容区域 */
.content-section {
    padding: 50px 0;
    background: #fff;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.main-content {
    line-height: 2;
    font-size: 15px;
}

.main-content h2 {
    font-size: 24px;
    color: #1a365d;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid #ffd700;
}

.main-content h3 {
    font-size: 18px;
    color: #2d3748;
    margin: 25px 0 12px;
}

.main-content p {
    margin-bottom: 15px;
    color: #4a5568;
}

.main-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.main-content ul li {
    list-style: disc;
    margin-bottom: 8px;
    color: #4a5568;
}

.main-content .warning-box {
    background: #fff5f5;
    border-left: 4px solid #c53030;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

.main-content .warning-box h4 {
    color: #c53030;
    margin-bottom: 10px;
    font-size: 16px;
}

.main-content .info-box {
    background: #ebf8ff;
    border-left: 4px solid #3182ce;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #f7fafc;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    font-size: 18px;
    color: #1a365d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.sidebar-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: #4a5568;
    font-size: 14px;
}

.sidebar-widget ul li a:hover {
    color: #1a365d;
    padding-left: 5px;
}

.contact-widget {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: #fff;
    text-align: center;
}

.contact-widget h3 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.2);
}

.contact-widget .phone {
    font-size: 22px;
    color: #ffd700;
    font-weight: bold;
    margin: 15px 0;
}

.contact-widget p {
    font-size: 13px;
    opacity: 0.8;
}

/* 案例列表页 */
.case-list .case-item {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.case-list .case-item h3 {
    font-size: 20px;
    color: #1a365d;
    margin-bottom: 15px;
}

.case-list .case-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.case-list .case-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.case-list .case-item p {
    color: #666;
    margin-bottom: 15px;
}

/* 响应式 */
@media (max-width: 992px) {
    .services-grid, .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .process-steps {
        flex-wrap: wrap;
        gap: 30px;
    }
    .process-steps::before {
        display: none;
    }
    .step {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .nav ul {
        display: none;
    }
    .banner h1 {
        font-size: 28px;
    }
    .banner .subtitle {
        font-size: 16px;
    }
    .services-grid, .cases-grid, .news-grid, .advantages-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .step {
        flex: 0 0 100%;
    }
}
