/**
 * 绿翊合规 - service 列表页专属样式
 * 适用于 service/index.php
 * 依赖：service-common.css
 */

/* ===== Hero 区域 ===== */
.hero {
    background:
        radial-gradient(circle at 15% 30%, rgba(120,180,255,0.35) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(255,200,220,0.25) 0%, transparent 40%),
        radial-gradient(circle at 70% 90%, rgba(100,220,255,0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0d2a66 0%, #1c499e 40%, #2563c9 70%, #3b82d9 100%);
    color: #fff;
    padding: 130px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.08) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(240,242,245,0.4) 60%, #f0f2f5 100%);
    pointer-events: none;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 4px;
}
.hero p {
    font-size: 17px;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.9;
    letter-spacing: 1px;
}
.hero-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-tag {
    background: rgba(255,255,255,0.12);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
}
.hero-tag:hover {
    background: rgba(255,255,255,0.22);
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}
.hero-subtitle {
    font-size: 18px;
    opacity: 0.92;
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.8;
    letter-spacing: 1px;
}
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
}
.hero-stat-num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
}
.hero-stat-label {
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 1px;
}
.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}
.hero-stat-divider:last-child {
    display: none;
}

/* ===== 面包屑 ===== */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
    font-size: 13px;
    color: #999;
}
.breadcrumb a {
    color: #1c499e;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb a:hover { color: #2a5fc7; }
.breadcrumb span { margin: 0 6px; color: #ccc; }

/* ===== 服务分类区域 ===== */
.service-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title .section-icon {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1c499e;
}
.section-title .section-icon svg {
    display: block;
}
.section-underline {
    width: 60px;
    height: 3px;
    background: #1c499e;
    border-radius: 2px;
    margin-bottom: 28px;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(28,73,158,0.12);
}
.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    color: #1c499e;
}
.service-card-icon svg {
    display: block;
}
.service-card-name {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}
.service-card-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 16px;
}
.service-card-link {
    font-size: 13px;
    color: #1c499e;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s;
}
.service-card-link:hover {
    color: #2a5fc7;
    gap: 8px;
}

.service-card-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px dashed #f0f0f0;
}
.service-card-stat {
    flex: 1;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px 8px;
}
.service-card-stat-num {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1c499e;
    line-height: 1.2;
    margin-bottom: 4px;
}
.service-card-stat-unit {
    font-size: 13px;
    font-weight: 600;
}
.service-card-stat-label {
    display: block;
    font-size: 11px;
    color: #666;
    line-height: 1.3;
}

/* ===== 为什么选择我们 ===== */
.why-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}
.why-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.why-underline {
    width: 60px;
    height: 3px;
    background: #1c499e;
    border-radius: 2px;
    margin: 0 auto 40px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.why-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(28,73,158,0.12);
}
.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1c499e, #3b82d9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
    color: #fff;
}
.why-icon svg {
    display: block;
}
.why-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}
.why-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

/* ===== SEO文案区域 ===== */
.seo-section {
    background: #fff;
    padding: 50px 20px;
    border-top: 1px solid #f0f0f0;
}
.seo-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.seo-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin-bottom: 30px;
}
.seo-section-content {
    color: #555;
    font-size: 14px;
    line-height: 2;
}
.seo-section-content p {
    margin-bottom: 16px;
    text-indent: 2em;
}
.seo-section-content strong {
    color: #1c499e;
    font-weight: 600;
}
.seo-section-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 12px;
}
.seo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}
.seo-list li {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .seo-section { padding: 30px 16px; }
    .seo-section-title { font-size: 20px; }
    .seo-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* ===== CTA 区域 ===== */
.cta-section {
    background:
        radial-gradient(circle at 15% 30%, rgba(120,180,255,0.35) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(255,200,220,0.25) 0%, transparent 40%),
        linear-gradient(135deg, #0d2a66 0%, #1c499e 40%, #2563c9 70%, #3b82d9 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}
.cta-content {
    max-width: 650px;
    margin: 0 auto;
}
.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}
.cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}
.cta-desc {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.8;
}
.cta-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.cta-trust span {
    font-size: 14px;
    opacity: 0.9;
}
.cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: #1c499e;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.cta-contact {
    margin-top: 24px;
    font-size: 13px;
    opacity: 0.8;
    line-height: 2;
}

/* ===== Footer ===== */
.footer {
    background: #1a1a2e;
    color: #aaa;
    padding: 60px 20px 0;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}
.footer-info {
    font-size: 13px;
    line-height: 2;
    color: #8899aa;
}
.footer-info strong { color: #fff; }
.footer-highlight {
    display: inline-block;
    background: rgba(28,73,158,0.3);
    padding: 2px 10px;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
}
.footer-title {
    font-size: 15px;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-weight: 600;
    letter-spacing: 1px;
}
.footer-links-col { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a {
    color: #8899aa;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links-col a::before {
    content: '\203A';
    color: #1c499e;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}
.footer-links-col a:hover { color: #fff; padding-left: 4px; }
.footer-links-col a:hover::before { opacity: 1; }
.footer-contact { font-size: 13px; line-height: 2.2; color: #8899aa; }
.footer-contact strong { color: #fff; }
.footer-qrcode {
    margin-top: 14px;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    border: 4px solid #fff;
    background: #fff;
    display: block;
}
.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-copy {
    font-size: 12px;
    color: #667788;
}
.footer-copy a { color: #8899aa; text-decoration: none; transition: color 0.3s; }
.footer-copy a:hover { color: #fff; }
.footer-bottom-links {
    display: flex;
    gap: 20px;
    font-size: 12px;
}
.footer-bottom-links a { color: #667788; text-decoration: none; transition: color 0.3s; }
.footer-bottom-links a:hover { color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .hero { padding: 100px 20px 60px; }
    .hero h1 { font-size: 28px; letter-spacing: 2px; }
    .hero p { font-size: 15px; }
    .hero-subtitle { font-size: 15px; }
    .hero-stats { gap: 16px; margin-bottom: 24px; }
    .hero-stat { padding: 0 16px; }
    .hero-stat-num { font-size: 24px; }
    .hero-stat-divider { display: none; }
    .hero-badge { font-size: 12px; padding: 5px 16px; margin-bottom: 16px; }

    .service-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-section h2 { font-size: 22px; }
    .cta-title { font-size: 22px; }
    .cta-trust { gap: 12px; margin-bottom: 20px; }
    .cta-trust span { font-size: 13px; }

    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* 移动端菜单 */
    .menu-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e8e8e8;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 0;
    }
    .nav-menu.open { display: flex; }
    .nav-menu > li > a {
        line-height: 48px;
        padding: 0 20px;
        border-bottom: 1px solid #f5f5f5;
    }
    .nav-menu .has-submenu > a::after { float: right; margin-top: 18px; }
    .submenu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #fafafa;
        animation: none;
    }
    .submenu a {
        padding-left: 36px;
        border-bottom: 1px solid #f0f0f0;
    }
    .submenu a:hover { padding-left: 36px; }
    .has-submenu.sub-open > .submenu { display: block; }
    .has-submenu:hover .submenu { display: none; }
    .has-submenu.sub-open:hover .submenu { display: block; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .why-grid { grid-template-columns: 1fr; }
}
