/* ============================================
   全局样式和CSS变量
   ============================================ */

:root {
    --primary-color: #0f172a;
    --accent-color: #7c3aed;
    --accent-light: #a78bfa;
    --accent-lighter: #ede9fe;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* ============================================
   排版
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-lighter);
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   容器和布局
   ============================================ */

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

/* ============================================
   导航栏
   ============================================ */

.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ============================================
   英雄区域
   ============================================ */

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ede9fe 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 35px -5px rgba(124, 58, 237, 0.3);
    text-decoration: none;
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-lighter);
    text-decoration: none;
}

.quantum-sphere {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.8), rgba(124, 58, 237, 0.2));
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.3);
    animation: float 6s ease-in-out infinite;
}

.quantum-sphere::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.quantum-sphere::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px solid rgba(167, 139, 250, 0.2);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation: rotate -15s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 响应式英雄区域 */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .quantum-sphere {
        width: 300px;
        height: 300px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ============================================
   目录导引部分
   ============================================ */

.toc-section {
    padding: 4rem 2rem;
    background: var(--bg-white);
}

.toc-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.toc-item {
    background: linear-gradient(135deg, var(--accent-lighter), #f3e8ff);
    padding: 2rem;
    border-radius: 1rem;
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
    cursor: pointer;
}

.toc-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.toc-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.toc-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.toc-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ============================================
   内容区域
   ============================================ */

.section {
    padding: 5rem 2rem;
}

.section-alt {
    background: var(--bg-light);
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.content-block {
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 比较框 */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.comparison-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-lighter), #f3e8ff);
    border-radius: 0.75rem;
    border-left: 4px solid var(--accent-color);
}

.comparison-item h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.comparison-item ul {
    margin-left: 1.5rem;
}

.comparison-item li {
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .comparison-box {
        grid-template-columns: 1fr;
    }
}

/* 原理卡片 */
.principle-card {
    background: var(--bg-white);
    padding: 2rem;
    margin: 1.5rem 0;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.principle-card:hover {
    box-shadow: var(--shadow-md);
}

.principle-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.example {
    background: var(--accent-lighter);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent-color);
}

/* 密码学基础 */
.crypto-foundation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.crypto-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    transition: var(--transition);
}

.crypto-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.crypto-item h4 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.crypto-item p {
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.crypto-item ul {
    margin-left: 1.5rem;
}

.crypto-item li {
    margin-bottom: 0.5rem;
}

/* 比特币密码学 */
.bitcoin-crypto {
    background: linear-gradient(135deg, var(--accent-lighter), #f3e8ff);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--accent-color);
}

.bitcoin-crypto ol {
    margin-left: 2rem;
}

.bitcoin-crypto li {
    margin-bottom: 1rem;
}

/* ============================================
   威胁分析
   ============================================ */

.threat-detail {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
    border: 1px solid #ffecb3;
    border-left: 4px solid #ffc107;
}

.threat-detail h4 {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.shor-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.shor-item {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #ffc107;
}

.shor-item h5 {
    color: #d39e00;
    margin-bottom: 0.75rem;
}

.shor-item p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .shor-comparison {
        grid-template-columns: 1fr;
    }
}

/* 算法框 */
.algorithm-box {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 2rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
    border-left: 4px solid #2196f3;
}

.algorithm-box h4 {
    color: #1976d2;
    margin-bottom: 1rem;
}

.algorithm-box ol {
    margin-left: 2rem;
}

.algorithm-box li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

/* 威胁层级 */
.threat-layers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.threat-layer {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #ffebee;
    border-left: 4px solid var(--danger-color);
    transition: var(--transition);
}

.threat-layer:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.1);
    transform: translateY(-5px);
}

.layer-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.threat-layer h4 {
    color: var(--danger-color);
    margin-bottom: 0.75rem;
}

.threat-example {
    background: #ffcdd2;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    border-left: 3px solid var(--danger-color);
    font-size: 0.95rem;
    color: #c62828;
}

/* 收割攻击 */
.harvest-attack {
    background: #fff3e0;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--warning-color);
    margin: 2rem 0;
}

.harvest-attack ol {
    margin-left: 2rem;
}

.harvest-attack li {
    margin-bottom: 1rem;
}

/* 威胁规模统计 */
.threat-scale {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 35px -5px rgba(124, 58, 237, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.75rem;
}

.stat-desc {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* ============================================
   时间线
   ============================================ */

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-color), transparent);
}

.timeline-item {
    margin-bottom: 3rem;
    margin-left: 100px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -80px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--accent-color);
}

.timeline-date {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 3px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.timeline-content p {
    margin-bottom: 0.75rem;
}

.timeline-content ul {
    margin-left: 1.5rem;
}

.timeline-item-warning::before {
    background: var(--warning-color);
    box-shadow: 0 0 0 3px var(--warning-color);
}

.timeline-item-warning .timeline-date {
    color: var(--warning-color);
}

.timeline-item-warning .timeline-content {
    border-left-color: var(--warning-color);
    background: #fff8e1;
}

/* 关键观察 */
.key-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.insight {
    display: flex;
    gap: 1.5rem;
    background: var(--accent-lighter);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--accent-color);
}

.insight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.insight p {
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   解决方案
   ============================================ */

.pqc-intro {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--success-color);
    margin: 2rem 0;
}

.pqc-intro h4 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.pqc-intro ul {
    margin-left: 1.5rem;
}

.nist-standards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.standard-category {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--success-color);
    transition: var(--transition);
}

.standard-category:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.standard-category h4 {
    color: var(--success-color);
    margin-bottom: 0.75rem;
}

.standard-detail {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.standard-detail p {
    margin-bottom: 0.5rem;
}

.standard-detail ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.standard-detail li {
    margin-bottom: 0.25rem;
}

/* 比特币解决方案 */
.bitcoin-solutions {
    display: grid;
    gap: 2rem;
}

.solution-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--success-color);
    transition: var(--transition);
}

.solution-item:hover {
    box-shadow: var(--shadow-md);
}

.solution-item h4 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.solution-description {
    margin-top: 1rem;
}

.solution-description p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.solution-description ul {
    margin-left: 1.5rem;
}

.solution-description li {
    margin-bottom: 0.5rem;
}

/* 用户防护建议 */
.user-protection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.protection-level {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.protection-level:nth-child(1) {
    border-top: 4px solid #4caf50;
}

.protection-level:nth-child(2) {
    border-top: 4px solid #ff9800;
}

.protection-level:nth-child(3) {
    border-top: 4px solid #f44336;
}

.protection-level:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.protection-level h4 {
    margin-bottom: 1rem;
}

.protection-level ul {
    margin-left: 1.5rem;
}

.protection-level li {
    margin-bottom: 0.75rem;
}

/* 机构防护 */
.institutional-protection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.inst-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--success-color);
}

.inst-item h4 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.inst-item ul {
    margin-left: 1.5rem;
}

.inst-item li {
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .institutional-protection {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   未来展望
   ============================================ */

.upgrade-paths {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.path {
    background: linear-gradient(135deg, var(--accent-lighter), #f3e8ff);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--accent-color);
    position: relative;
    padding-left: 3rem;
}

.path h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.path ul {
    margin-left: 1.5rem;
}

.path li {
    margin-bottom: 0.5rem;
}

/* 加密货币策略 */
.crypto-strategies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.crypto-strategy {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.crypto-strategy:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.crypto-strategy h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.crypto-strategy ul {
    margin-left: 1.5rem;
}

.crypto-strategy li {
    margin-bottom: 0.5rem;
}

/* 广泛影响 */
.broader-impact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.impact-area {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
}

.impact-area h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.impact-area ul {
    margin-left: 1.5rem;
}

.impact-area li {
    margin-bottom: 0.5rem;
}

/* 行动项目 */
.action-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.action-timeline {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
}

.action-timeline h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.action-list {
    display: grid;
    gap: 1.25rem;
}

.action {
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-lighter);
    position: relative;
}

.action-priority {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.action p {
    margin: 0;
    color: var(--text-secondary);
}

/* 结论 */
.conclusion {
    background: linear-gradient(135deg, var(--accent-lighter), #f3e8ff);
    padding: 3rem;
    border-radius: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.conclusion-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.point {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 3px solid var(--accent-color);
    transition: var(--transition);
}

.point:hover {
    box-shadow: var(--shadow-md);
}

.point h4 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.point p {
    margin: 0;
    font-size: 0.95rem;
}

.content-block-final {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* ============================================
   常见问题
   ============================================ */

.faq {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.faq-question {
    cursor: pointer;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-answer {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   资源和参考
   ============================================ */

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.resource-category {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.resource-category:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.resource-category h3 {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-lighter);
    padding-bottom: 1rem;
}

.resource-category ul {
    list-style: none;
    margin-left: 0;
}

.resource-category li {
    margin-bottom: 1rem;
}

.resource-category a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.resource-category a:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

/* ============================================
   页脚
   ============================================ */

.footer {
    background: var(--primary-color);
    color: #e5e7eb;
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #d1d5db;
    margin: 0;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: #9ca3af;
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .nav-menu {
        display: none;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .comparison-box,
    .crypto-foundation,
    .threat-layers,
    .threat-scale,
    .user-protection,
    .nist-standards,
    .crypto-strategies,
    .broader-impact,
    .action-items,
    .conclusion-points,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        margin-left: 50px;
    }

    .timeline-item::before {
        left: -43px;
    }

    .shor-comparison {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    h4 {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .nav-container {
        padding: 1rem;
    }

    .logo-text {
        display: none;
    }
}

/* ============================================
   工具类
   ============================================ */

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-2 { padding: 1rem 0; }
.py-3 { padding: 1.5rem 0; }
.py-4 { padding: 2rem 0; }

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 焦点状态（键盘导航） */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}
