@charset "utf-8";

/* ========== 移动端顶部导航 ========== */
.m-top { display:none; }
@media screen and (max-width: 768px) {
    .m-top { display:block; }
    body { overflow-x: clip; overflow-x: hidden\9; }
    html { overflow-x: clip; overflow-x: hidden\9; }
}

.m-top-bar {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    bottom: auto;
    width: 100%;
    z-index: 9999;
    background: #1a1a2e;
    box-shadow: 0 1px 6px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: none !important;
    transform: none !important;
    animation: none !important;
}
.m-top-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
}
.m-top-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(201,168,76,.3);
    border-radius: 6px;
    font-family: "Arial Black", Arial, sans-serif;
    font-weight: 900;
    font-size: 12px;
    color: #c9a84c;
    padding: 3px 8px;
    letter-spacing: 0;
}
.m-top-logo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c9a84c, #e0c878);
    color: #1a1a2e;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.m-menu-check { display: none; }
.m-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    position: relative;
    z-index: 10000;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.m-menu-btn span,
.m-menu-btn span::before,
.m-menu-btn span::after {
    display: block;
    width: 24px;
    height: 3px;
    background: #c9a84c;
    border-radius: 2px;
    transition: all .25s ease;
}
.m-menu-btn span { position: relative; }
.m-menu-btn span::before,
.m-menu-btn span::after {
    content: '';
    position: absolute;
    left: 0;
}
.m-menu-btn span::before { top: -7px; }
.m-menu-btn span::after  { top: 7px; }

.m-menu-check:checked ~ .m-menu-btn span { background: transparent; }
.m-menu-check:checked ~ .m-menu-btn span::before {
    top: 0; transform: rotate(45deg);
}
.m-menu-check:checked ~ .m-menu-btn span::after {
    top: 0; transform: rotate(-45deg);
}

.m-menu-drop {
    position: fixed;
    top: 48px;
    left: 0; right: 0;
    background: rgba(26,26,46,.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9998;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
}
.m-menu-check:checked ~ .m-menu-drop {
    max-height: 420px;
    padding: 8px 0;
}
.m-menu-drop a {
    display: block;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    font-size: 16px;
    letter-spacing: .03em;
    padding: 19px 28px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: background .2s, padding-left .2s;
}
.m-menu-drop a:last-child { border-bottom: none; }
.m-menu-drop a:hover { background: rgba(201,168,76,.08); }
.m-menu-drop a:active,
.m-menu-drop a:focus { background: rgba(201,168,76,.12); padding-left: 34px; }

.m-top-placeholder { display: none; }
@media screen and (max-width: 768px) {
    .m-top-placeholder { display: block; height: 48px; }
}

/* ========== 案例解析区域 ========== */
.case-analysis-wrap {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fbf9 0%, #eef5ef 100%);
}
.case-analysis-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 案例解析头部 */
.case-analysis-header-box {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255,255,255,0.8);
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(0,52,41,0.12);
}
.case-analysis-header-title {
    font-size: 30px;
    color: #003429;
    margin: 0 0 15px 0;
    font-weight: 700;
}
.case-analysis-header-desc {
    color: #49ac35;
    font-size: 20px;
    margin: 0;
}

/* 区块标题 */
.case-section-block {
    margin-bottom: 60px;
}
.case-section-title {
    font-size: 28px;
    color: #003429;
    margin-bottom: 30px;
    padding-left: 25px;
    border-left: 5px solid #49ac35;
}

/* 分析卡片网格 */
.analysis-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.analysis-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 6px 25px rgba(0,52,41,0.1);
    border: 2px solid rgba(73,172,53,0.15);
}
.analysis-card-title {
    font-size: 22px;
    color: #49ac35;
    margin: 0 0 20px 0;
    font-weight: 700;
}
.analysis-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.analysis-list li {
    margin-bottom: 15px;
    color: #4e6266;
    line-height: 1.6;
    font-size: 17px;
}
.analysis-list li strong {
    color: #003429;
}
.analysis-list li code {
    background: #e8f5ed;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    word-break: break-all;
}
.analysis-insight {
    background: #f0f9f5;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}
.analysis-insight p {
    font-size: 16px;
    color: #003429;
    margin: 0;
    line-height: 1.6;
}
.analysis-insight code {
    background: #e8f5ed;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    word-break: break-all;
}

/* 安全防护卡片 */
.security-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.security-card {
    background: linear-gradient(135deg, #003429 0%, #0a5c4a 100%);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
}
.security-card h4 {
    font-size: 20px;
    margin: 0 0 15px 0;
}
.security-card p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

/* 技术亮点徽章 */
.tech-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.tech-badge {
    background: #fff;
    border-radius: 35px;
    padding: 20px 35px;
    box-shadow: 0 6px 20px rgba(0,52,41,0.12);
    border: 2px solid rgba(73,172,53,0.2);
}
.tech-badge span {
    font-size: 18px;
    color: #003429;
}

/* 总结区域 */
.case-summary-wrap {
    background: linear-gradient(135deg, #f0f9f5 0%, #e8f5ed 100%);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    border: 3px solid rgba(73,172,53,0.3);
}
.case-summary-title {
    font-size: 30px;
    color: #003429;
    margin: 0 0 25px 0;
    font-weight: 700;
}
.case-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    text-align: left;
}
.case-summary-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
}
.case-summary-card h4 {
    color: #49ac35;
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
}
.case-summary-card p {
    color: #4e6266;
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
}

/* 服务理念框 */
.case-philosophy-box {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
}
.case-philosophy-main {
    font-size: 22px;
    color: #003429;
    margin: 0;
    font-weight: 600;
}
.case-philosophy-sub {
    font-size: 18px;
    color: #4e6266;
    margin: 15px 0 0 0;
    line-height: 1.6;
}

/* URL 区域 - 双链接版 */
.case-url-section {
    margin-top: 30px;
    padding: 25px;
    background: #f5f8f6;
    border-radius: 16px;
    border: 1px solid #e0e8e4;
}
.case-url-label {
    font-size: 16px;
    color: #4e6266;
    margin: 0 0 20px 0;
    text-align: left;
}
.case-url-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.case-url-item {
    background: #fff;
    padding: 15px 25px;
    border-radius: 25px;
    border: 1px solid #d0dcd6;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.case-url-item-label {
    font-size: 14px;
    color: #003429;
}
.case-url-item-val {
    font-size: 12px;
    color: #5a6a66;
    background: #e8f0ec;
    padding: 4px 10px;
    border-radius: 12px;
}
.case-url-copy {
    font-size: 11px;
    color: #999;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.case-url-copy:hover {
    background: #d0dcd6;
    color: #555;
}
.case-url-note {
    font-size: 14px;
    color: #7a8a86;
    margin: 20px 0 0 0;
    text-align: left;
    line-height: 1.6;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 768px) {
    .case-analysis-wrap {
        padding: 50px 0;
    }
    .case-analysis-header-box {
        padding: 20px;
        margin-bottom: 30px;
    }
    .case-analysis-header-title {
        font-size: 22px;
    }
    .case-analysis-header-desc {
        font-size: 16px;
    }
    .case-section-title {
        font-size: 22px;
        padding-left: 15px;
        border-left-width: 4px;
    }
    .analysis-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .analysis-card {
        padding: 20px;
    }
    .analysis-card-title {
        font-size: 18px;
    }
    .security-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .tech-badge-wrap {
        gap: 12px;
    }
    .tech-badge {
        padding: 15px 25px;
    }
    .case-summary-wrap {
        padding: 30px 20px;
    }
    .case-summary-title {
        font-size: 22px;
    }
    .case-summary-grid {
        grid-template-columns: 1fr;
    }
    .case-philosophy-main {
        font-size: 18px;
    }
    .case-philosophy-sub {
        font-size: 15px;
    }
    .case-url-section {
        padding: 20px 15px;
    }
    .case-url-row {
        flex-direction: column;
    }
    .case-url-item {
        justify-content: center;
        padding: 12px 15px;
    }
}
