/* ============================================================
   phishing.css — 网络钓鱼防范专题页专属样式
   与 style.css 全局变量完全兼容，不修改全局样式
   ============================================================ */

/* ===== HERO ===== */
.phishing-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 100%);
    padding-top: 72px;
}
#phishingCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.phishing-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(240,245,255,0.2) 50%, rgba(255,255,255,0.5) 100%);
    pointer-events: none;
}
.phishing-hero-content {
    position: relative;
    z-index: 3;
    max-width: 960px;
    text-align: center;
    padding: 48px 24px;
}
.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-light);
    animation: fadeInDown 0.6s ease-out;
}
.breadcrumb-nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb-nav a:hover { text-decoration: underline; }
.phishing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 110, 255, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(26, 110, 255, 0.15);
    animation: fadeInDown 0.8s ease-out;
}
.pulse-dot {
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.phishing-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}
.phishing-hero h1 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.phishing-hero-content > p {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 32px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
.phishing-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 36px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}
.phishing-hero-stats .stat-item {
    text-align: center;
}
.phishing-hero-stats .stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: inline;
}
.phishing-hero-stats .stat-unit {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    display: inline;
    margin-left: 2px;
}
.phishing-hero-stats .stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 500;
}

/* ===== THREAT GRID ===== */
.threat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.threat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.threat-card:hover {
    border-color: rgba(26, 110, 255, 0.2);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.threat-card.threat-primary {
    grid-column: span 2;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border-color: rgba(26, 110, 255, 0.15);
}
.threat-icon {
    width: 44px; height: 44px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.threat-icon svg {
    width: 22px; height: 22px;
    color: var(--primary);
}
.threat-data { margin-bottom: 12px; }
.threat-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}
.threat-number span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 4px;
}
.threat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}
.thrend-trend {
    font-size: 11px;
    font-weight: 700;
    margin-top: 6px;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 100px;
}
.thrend-trend.up {
    background: #fef2f2;
    color: #dc2626;
}
.thrend-trend.down {
    background: #f0fdf4;
    color: #16a34a;
}
.threat-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}
.threat-source {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ===== FRAMEWORK ===== */
.framework-wrap {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    max-width: 800px;
    margin: 0 auto;
}
.framework-layers {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.fw-layer {
    background: var(--bg-warm);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    transition: var(--transition);
    position: relative;
}
.fw-layer:hover {
    border-color: rgba(26, 110, 255, 0.3);
    box-shadow: var(--shadow);
}
.fw-layer-1 { border-left: 4px solid var(--primary); }
.fw-layer-2 { border-left: 4px solid #0ea5e9; }
.fw-layer-3 { border-left: 4px solid #8b5cf6; }
.fw-layer-4 { border-left: 4px solid #f59e0b; }
.fw-layer-5 { border-left: 4px solid #10b981; }
.fw-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fw-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.fw-items span {
    font-size: 12px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 500;
}
.fw-connector {
    display: flex;
    justify-content: center;
    padding: 8px 0;
    position: relative;
}
.fw-connector::before {
    content: '';
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, var(--border) 0%, var(--primary) 50%, var(--border) 100%);
}
.framework-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
    padding: 16px 20px;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}
.framework-hint svg {
    width: 18px; height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== SUBTOPIC GRID ===== */
.subtopic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.subtopic-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.subtopic-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.subtopic-card:hover {
    border-color: rgba(26, 110, 255, 0.2);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.subtopic-card:hover::before { transform: scaleX(1); }
.subtopic-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.subtopic-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}
.subtopic-status {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
}
.subtopic-status.active {
    background: #e6f7ed;
    color: #2ea043;
}
.subtopic-status.hot {
    background: #fef2f2;
    color: #dc2626;
    animation: pulse-bg 2s infinite;
}
@keyframes pulse-bg {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.subtopic-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}
.subtopic-card > p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}
.subtopic-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.subtopic-tag {
    font-size: 11px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 500;
}
.subtopic-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 28px; height: 28px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
}
.subtopic-card:hover .subtopic-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===== OUTPUT GRID ===== */
.output-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.output-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.output-card:hover {
    border-color: rgba(26, 110, 255, 0.2);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.output-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}
.output-paper .output-badge {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
}
.output-report .output-badge {
    background: #f0fdf4;
    color: #16a34a;
}
.output-standard .output-badge {
    background: #fff7ed;
    color: #ea580c;
}
.output-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}
.output-authors {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}
.output-meta {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.output-abs {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}
.output-link {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.output-link:hover { text-decoration: underline; }
.output-link.disabled {
    color: var(--text-light);
    cursor: default;
}
.output-link.disabled:hover { text-decoration: none; }

/* ===== TIMELINE ===== */
.timeline-wrap {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-wrap::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 50%, var(--border) 100%);
}
.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: 11px;
    top: 4px;
    width: 18px; height: 18px;
    background: white;
    border: 3px solid var(--border);
    border-radius: 50%;
    transition: var(--transition);
}
.timeline-item.done .timeline-dot {
    border-color: var(--primary);
    background: var(--primary);
}
.timeline-item.active .timeline-dot {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(26, 110, 255, 0.15);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 5px rgba(26, 110, 255, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(26, 110, 255, 0.08); }
}
.timeline-content {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.timeline-content:hover {
    border-color: rgba(26, 110, 255, 0.2);
    box-shadow: var(--shadow);
}
.timeline-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.timeline-phase {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
}
.timeline-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
}
.timeline-status.done {
    background: #e6f7ed;
    color: #2ea043;
}
.timeline-status.ongoing {
    background: #fff7ed;
    color: #f57c00;
}
.timeline-status.planned {
    background: #f0f0f5;
    color: var(--text-light);
}
.timeline-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.timeline-content > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}
.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.timeline-tags span {
    font-size: 12px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 500;
}

/* ===== CTA ===== */
.phishing-cta {
    background: var(--primary-gradient);
    border-radius: var(--radius);
    padding: 60px 48px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}
.cta-content {
    position: relative;
    z-index: 1;
}
.phishing-cta h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}
.phishing-cta p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.8;
}
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.cta-btn-primary {
    background: white;
    color: var(--primary);
}
.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
    .threat-grid { grid-template-columns: repeat(2, 1fr); }
    .threat-card.threat-primary { grid-column: span 2; }
    .subtopic-grid { grid-template-columns: repeat(2, 1fr); }
    .output-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .phishing-hero { min-height: 420px; padding-top: 96px; }
    .phishing-hero h1 { font-size: clamp(26px, 7vw, 36px); }
    .phishing-hero-stats { gap: 24px; margin-top: 28px; }
    .phishing-hero-stats .stat-number { font-size: 32px; }
    .threat-grid { grid-template-columns: 1fr; }
    .threat-card.threat-primary { grid-column: span 1; }
    .subtopic-grid { grid-template-columns: 1fr; }
    .output-grid { grid-template-columns: 1fr; }
    .phishing-cta { padding: 40px 24px; }
    .phishing-cta h3 { font-size: 22px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .framework-wrap { padding: 28px 20px; }
    .fw-items span { font-size: 11px; padding: 3px 8px; }
}

/* ===== SUBTOPIC PAGE COMMON ===== */
.subtopic-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 100%);
    padding-top: 72px;
}
.subtopic-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: center;
    padding: 48px 24px;
}
.subtopic-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 110, 255, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid rgba(26, 110, 255, 0.15);
}
.subtopic-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.subtopic-hero h1 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.subtopic-hero-content > p {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 64px 0;
}
.content-section-alt {
    background: var(--bg-warm);
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.content-block {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.content-block h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.content-block h3 .icon {
    width: 36px; height: 36px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.content-block h3 .icon svg {
    width: 18px; height: 18px;
    color: var(--primary);
}
.content-block p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}
.content-block ul {
    list-style: none;
    padding: 0;
}
.content-block ul li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}
.content-block ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ===== CASE STUDY ===== */
.case-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
    transition: var(--transition);
}
.case-card:hover {
    border-color: rgba(26, 110, 255, 0.2);
    box-shadow: var(--shadow-hover);
}
.case-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.case-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
}
.case-tag.real {
    background: #fef2f2;
    color: #dc2626;
}
.case-tag.simulation {
    background: #f0fdf4;
    color: #16a34a;
}
.case-tag.research {
    background: #e0e7ff;
    color: #4338ca;
}
.case-date {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}
.case-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
.case-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}
.case-source {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-weight: 500;
}

/* ===== TECH TABLE ===== */
.tech-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
}
.tech-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.tech-table th {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--primary);
}
.tech-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    line-height: 1.6;
}
.tech-table tr:hover td {
    background: var(--bg-warm);
}

/* ===== REFERENCE LIST ===== */
.ref-list {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.ref-list h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}
.ref-list ol {
    padding-left: 20px;
}
.ref-list ol li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}
.ref-list ol li a {
    color: var(--primary);
    text-decoration: none;
}
.ref-list ol li a:hover { text-decoration: underline; }

/* ===== RELATED NAV ===== */
.related-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 32px;
}
.related-nav a {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}
.related-nav a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.related-nav a.current {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* ===== DATA HIGHLIGHT ===== */
.data-highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(26,110,255,0.05) 100%);
    border: 1px dashed rgba(26,110,255,0.3);
    border-radius: var(--radius);
    padding: 24px;
    margin: 20px 0;
}
.data-highlight h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.data-highlight p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===== MOBILE SUBTOPIC ===== */
@media (max-width: 1024px) {
    .content-grid { grid-template-columns: 1fr; }
    .related-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .subtopic-hero { min-height: 380px; padding-top: 96px; }
    .subtopic-hero h1 { font-size: clamp(24px, 6vw, 32px); }
    .content-block { padding: 24px; }
    .related-nav { grid-template-columns: 1fr; }
    .case-header { flex-wrap: wrap; }
}


/* ===== OUTPUT MORE BUTTON ===== */
.output-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.output-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: white;
    border: 1.5px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.output-more-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 110, 255, 0.25);
}
.output-more-btn svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}
.output-more-btn:hover svg {
    transform: translateX(3px);
}

/* ===== RESPONSIVE OUTPUT MORE ===== */
@media (max-width: 768px) {
    .output-more-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}


/* ===== MOBILE NAVIGATION (phishing page specific) ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: white;
        flex-direction: column;
        padding: 16px 24px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        gap: 4px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: flex; }
}

/* ===== 移动端 Footer 适配（页面级，不修改全局 style.css） ===== */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .footer-brand .logo-icon img { height: 56px !important; }
    .footer-brand p { max-width: 100% !important; }
    .footer-bottom { flex-direction: column !important; text-align: center !important; justify-content: center !important; gap: 8px !important; }
    .footer-bottom p { justify-content: center !important; font-size: 12px !important; display: flex !important; flex-wrap: wrap !important; align-items: center !important; }
    .footer-bottom img { display: inline-block !important; vertical-align: middle !important; }
    .footer-col h4 { margin-bottom: 14px !important; }
    .footer-col li { margin-bottom: 8px !important; }
}
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
}

/* ===== 移动端 Navbar 适配（页面级，不修改全局 style.css） ===== */
@media (max-width: 768px) {
    .nav-container { padding: 0 16px !important; height: 64px !important; }
    .nav-links {
        display: none !important;
        position: absolute !important;
        top: 64px !important;
        left: 0 !important; right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        padding: 16px 24px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
        gap: 4px !important;
        border-bottom: 1px solid var(--border) !important;
        max-height: calc(100vh - 64px) !important;
        overflow-y: auto !important;
    }
    .nav-links.active { display: flex !important; }
    .nav-links a { padding: 12px 16px !important; font-size: 15px !important; }
    .mobile-toggle { display: flex !important; }
    .logo-text { font-size: 14px !important; }
    .logo-text span { font-size: 10px !important; }
    .logo-icon img { height: 36px !important; }
}


/* ============================================================
   终审补充样式 v2 — 2026-09-05
   ============================================================ */

/* ===== LATEST UPDATE STRIP ===== */
.latest-section { padding: 40px 0 0; }
.latest-strip {
    background: linear-gradient(135deg, #0b2a6b 0%, #1a6eff 100%);
    border-radius: var(--radius);
    padding: 32px 36px;
    color: white;
    position: relative;
    overflow: hidden;
}
.latest-strip::before {
    content: '';
    position: absolute;
    top: -60%; right: -10%;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.latest-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.latest-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
.latest-item { border-left: 2px solid rgba(255,255,255,0.25); padding-left: 16px; }
.latest-num {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.latest-num span { font-size: 13px; font-weight: 600; margin-left: 2px; opacity: 0.85; }
.latest-text {
    font-size: 12px;
    line-height: 1.7;
    opacity: 0.82;
    margin-top: 6px;
}
.latest-sources {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 11px;
    opacity: 0.65;
    position: relative;
    z-index: 1;
}

/* ===== SOURCE TABLE ===== */
.src-sub { font-size: 11px; color: var(--text-light); font-weight: 400; }
.source-table td strong { color: var(--text); }

/* ===== METHODOLOGY GRID ===== */
.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.method-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.method-card:hover {
    border-color: rgba(26, 110, 255, 0.2);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.method-num {
    font-size: 30px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 14px;
    opacity: 0.85;
}
.method-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.method-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.8; margin: 0; }

/* ===== GLOSSARY GRID ===== */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.glossary-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    transition: var(--transition);
}
.glossary-item:hover {
    border-color: rgba(26, 110, 255, 0.25);
    box-shadow: var(--shadow);
}
.glossary-item h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.glossary-item p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}

/* ===== ROADMAP RESPONSIVE FIX ===== */
@media (max-width: 1024px) {
    .method-grid { grid-template-columns: repeat(2, 1fr); }
    .glossary-grid { grid-template-columns: repeat(2, 1fr); }
    .latest-items { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
    .method-grid { grid-template-columns: 1fr; }
    .glossary-grid { grid-template-columns: 1fr; }
    .latest-strip { padding: 24px 20px; }
    .latest-items { grid-template-columns: 1fr; gap: 16px; }
    .latest-num { font-size: 22px; }
    .tech-table { font-size: 12px; }
    .tech-table th, .tech-table td { padding: 10px 12px; }
}


/* ============================================================
   终审v3 — 页脚移动端强化适配（2026-09-14）
   覆盖全局style.css可能的横向布局，确保手机端纵向排列
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
}
@media (max-width: 768px) {
    .footer { padding: 48px 0 24px !important; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
    .footer-brand .logo-icon img { height: 52px !important; width: auto !important; }
    .footer-brand p { max-width: 100% !important; font-size: 13px !important; line-height: 1.8 !important; }
    /* 链接列表强制纵向排列 */
    .footer-col ul { display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 0 !important; padding: 0 !important; margin: 0 !important; }
    .footer-col li { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
    .footer-col li a { display: block !important; padding: 9px 0 !important; font-size: 14px !important; line-height: 1.5 !important; border-bottom: 1px solid var(--border) !important; }
    .footer-col li a[href^="http"]::after { content: ''; }
    .footer-col li:last-child a { border-bottom: none !important; }
    .footer-col img { max-width: 100px !important; height: auto !important; display: inline-block !important; }
    .footer-col h4 { margin-bottom: 12px !important; font-size: 15px !important; }
    /* 备案行纵向居中、允许换行 */
    .footer-bottom { flex-direction: column !important; justify-content: center !important; text-align: center !important; gap: 8px !important; padding-top: 20px !important; }
    .footer-bottom p { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important; gap: 4px 8px !important; font-size: 12px !important; line-height: 1.8 !important; margin: 0 !important; }
    .footer-bottom a { display: inline !important; padding: 0 2px !important; border-bottom: none !important; }
    .footer-bottom img { display: inline-block !important; vertical-align: middle !important; }
}

/* ===== 终审v3 — 全区块移动端补充适配 ===== */
@media (max-width: 768px) {
    /* 章节头部内边距收敛 */
    .chapter-header { margin-bottom: 32px !important; }
    /* 表格容器圆角与滚动提示 */
    .payload-table-wrap, .tech-compare-wrap { -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm) !important; }
    /* 案例卡片与引用列表字号收敛 */
    .ref-section { padding: 22px !important; }
    .ref-list-compact li { font-size: 12.5px !important; line-height: 1.85 !important; }
    /* 防御架构层卡片 */
    .def-layer { padding: 16px 18px !important; }
    .def-items span { font-size: 11px !important; padding: 3px 10px !important; }
    /* 标准条目 */
    .standard-item { padding: 20px !important; }
    /* 时间线内容 */
    .timeline-content { padding: 20px !important; }
    /* 高亮块 */
    .data-highlight { padding: 16px 18px !important; }
    .data-highlight p { font-size: 13px !important; }
    /* CTA与页内导航 */
    .page-nav { padding: 16px 18px !important; }
    .page-nav-btn { width: 100%; justify-content: center; padding: 12px 18px !important; }
    /* 沙箱流程箭头 */
    .sandbox-arrow { transform: rotate(90deg); }
}
@media (max-width: 480px) {
    /* 超小屏：Hero统计双列紧凑排布 */
    .em-hero-stats, .phishing-hero-stats { gap: 18px !important; }
    .em-hero-stats .stat-number, .phishing-hero-stats .stat-number { font-size: 28px !important; }
    .em-hero-stats .stat-label, .phishing-hero-stats .stat-label { font-size: 11px !important; }
    /* 数据卡片 */
    .data-card, .threat-card, .model-card, .multimodal-card, .sandbox-detail { padding: 18px !important; }
    .data-card .dc-number { font-size: 24px !important; }
}


/* ============================================================
   终审v4 — 修复Grid内容撑破列宽 & 长链接溢出（2026-09-14）
   ============================================================ */
/* 1. Grid子项最小宽度归零：根治"1fr被长英文串/长URL撑爆"问题 */
.content-grid > *,
.sandbox-detail-grid > *,
.model-card-grid > *,
.protocol-grid > *,
.attack-type-grid > *,
.data-card-grid > *,
.frontier-grid > *,
.threat-grid > *,
.subtopic-grid > *,
.output-grid > *,
.method-grid > *,
.glossary-grid > *,
.latest-items > *,
.standard-item,
.case-card,
.timeline-content,
.def-layer { min-width: 0; }

/* 2. 长不可断字符串（API名/路径/URL）允许任意位置折行 */
.content-block li, .content-block p,
.sandbox-detail li, .sandbox-detail p,
.protocol-card li, .protocol-card p,
.evo-content li, .evo-content p,
.case-card p, .case-card li,
.frontier-card li, .frontier-card p,
.multimodal-card li, .multimodal-card p,
.data-highlight p,
.tech-table td, .payload-table td, .tech-compare td,
.std-content p { overflow-wrap: anywhere; }

/* 3. 参考文献长链接强制断行（修复"链接顶出去"） */
.ref-list-compact li { overflow-wrap: anywhere; }
.ref-list-compact li a { word-break: break-all; }

/* 4. 沙箱流程步骤卡片：盒模型与最小宽度兜底 */
.sandbox-step { box-sizing: border-box; }
@media (max-width: 768px) {
    .sandbox-flow { align-items: stretch !important; }
    .sandbox-step { min-width: 0 !important; width: 100%; }
    .sandbox-detail { padding: 16px !important; }
    .ref-section { padding: 18px 14px !important; }
    .ref-list-compact { padding-left: 18px !important; margin: 0; }
    .ref-list-compact li { font-size: 12px !important; }
    .ref-section h4 { font-size: 14px !important; }
}


/* ============================================================
   终审v5 — 卡片居底对齐 & 参考文献链接防溢出（2026-09-14）
   ============================================================ */

/* 1. 威胁全景卡片：来源行居底对齐（卡片等高时底部整齐） */
.threat-grid { align-items: stretch; }
.threat-card { display: flex; flex-direction: column; }
.threat-card .threat-source { margin-top: auto; }

/* 2. 子课题卡片：标签区居底对齐 */
.subtopic-grid { align-items: stretch; }
.subtopic-card { display: flex; flex-direction: column; }
.subtopic-card .subtopic-meta { margin-top: auto; }
/* 箭头为绝对定位，居底后无需保留底部占位 */
.subtopic-card .subtopic-arrow { bottom: 20px; }

/* 3. 参考文献长URL：任意位置断行，根治移动端撑破页面 */
.ref-list ol li,
.ref-list ol li a { overflow-wrap: anywhere; word-break: break-all; }
@media (max-width: 768px) {
    .ref-list { padding: 18px 14px; }
    .ref-list h4 { font-size: 14px; }
    .ref-list ol { padding-left: 16px; }
    .ref-list ol li { font-size: 12px; line-height: 1.8; }
    /* URL独占一行显示，与文献正文错层，不再横向挤压 */
    .ref-list ol li a { display: block; margin-top: 3px; font-size: 11.5px; }
}
