/* ========================================
   Superpowers 技能用户指南 - 样式表
   现代科技风格 · 响应式设计
   ======================================== */

/* CSS 变量 - 设计系统 */
:root {
    /* 主色调 - 科技蓝紫渐变 */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    /* 强调色 - 紫色 */
    --accent-400: #a78bfa;
    --accent-500: #8b5cf6;
    --accent-600: #7c3aed;
    
    /* 中性色 */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* 语义色 */
    --success-500: #10b981;
    --success-100: #d1fae5;
    --success-50: #ecfdf5;
    --warning-500: #f59e0b;
    --warning-100: #fef3c7;
    --error-500: #ef4444;
    --error-100: #fee2e2;
    --error-50: #fef2f2;
    
    /* 分类色 */
    --foundation-500: #6366f1;
    --design-500: #ec4899;
    --planning-500: #3b82f6;
    --execution-500: #f59e0b;
    --quality-500: #10b981;
    --collaboration-500: #8b5cf6;
    --completion-500: #ef4444;
    --meta-500: #6b7280;
    
    /* 字体 */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* 间距 */
    --sidebar-width: 280px;
    --content-max-width: 1400px;
    --section-gap: 80px;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
    min-height: 100vh;
}

/* 布局 */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
}

.main-content {
    margin-left: var(--sidebar-width);
    padding: 40px 60px;
    max-width: var(--content-max-width);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.logo-icon {
    font-size: 32px;
    animation: float 3s ease-in-out infinite;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-subtitle {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 32px;
}

/* 导航 */
.nav-section {
    flex: 1;
}

.nav-section-title {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.nav-list {
    list-style: none;
}

.nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--gray-300);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(4px);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-600) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.sidebar-footer {
    padding-top: 24px;
    border-top: 1px solid var(--gray-700);
}

.version, .reading-time {
    font-size: 12px;
    color: var(--gray-500);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--gray-900);
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: white;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* 内容区块 */
.content-section {
    margin-bottom: var(--section-gap);
    scroll-margin-top: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--accent-100, #f3e8ff) 100%);
    color: var(--primary-700);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Card */
.hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: linear-gradient(135deg, white 0%, var(--primary-50) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-xl);
    margin-bottom: 40px;
    border: 1px solid var(--gray-200);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: var(--gray-800);
}

.hero-description strong {
    color: var(--primary-600);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-animation {
    position: relative;
    width: 200px;
    height: 200px;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.node-center {
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.node-1 { left: 0; top: 0; animation-delay: 0s; }
.node-2 { right: 0; top: 0; animation-delay: 0.3s; }
.node-3 { left: 0; bottom: 0; animation-delay: 0.6s; }
.node-4 { right: 0; bottom: 0; animation-delay: 0.9s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.connections {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connections line {
    stroke: var(--primary-300);
    stroke-width: 2;
    stroke-dasharray: 5 5;
    animation: dash 3s linear infinite;
}

@keyframes dash {
    to { stroke-dashoffset: -20; }
}

/* 核心理念 */
.core-principle {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-600) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: var(--shadow-xl);
}

.principle-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.core-principle h3 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.core-principle blockquote {
    font-size: 28px;
    font-weight: 600;
    color: white;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

/* 价值卡片 */
.value-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.value-benefit {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--accent-100, #f3e8ff) 100%);
    color: var(--primary-700);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* 场景卡片 */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.scenario-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.scenario-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.scenario-header {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-600) 100%);
    padding: 24px 32px;
    position: relative;
    overflow: hidden;
}

.scenario-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.scenario-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
}

.scenario-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
}

.scenario-content {
    padding: 32px;
}

.scenario-user-quote {
    background: var(--gray-50);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.scenario-user-quote p {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-800);
    font-style: italic;
}

.scenario-skills-used h4,
.scenario-workflow h4,
.scenario-benefits h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.skills-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.skill-chip {
    display: inline-block;
    padding: 6px 12px;
    background: var(--gray-900);
    color: var(--accent-400);
    font-family: var(--font-mono);
    font-size: 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.skill-arrow {
    color: var(--gray-400);
    font-size: 14px;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.workflow-step {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-500);
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--primary-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: var(--gray-600);
}

.sub-steps {
    list-style: none;
    margin-top: 8px;
    padding-left: 0;
}

.sub-steps li {
    font-size: 13px;
    color: var(--gray-600);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.sub-steps li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-500);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-700);
}

/* 技能分类标签 */
.skills-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    justify-content: center;
}

.tab-btn {
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    border-color: var(--primary-400);
    color: var(--primary-600);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-600) 100%);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-md);
}

/* 技能详情卡片 */
.skill-detail-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.skill-detail-card.featured {
    border-color: var(--primary-500);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--gray-200);
}

.skill-icon-large {
    font-size: 48px;
}

.skill-title-group {
    flex: 1;
}

.skill-title-group h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.skill-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-badge.foundation { background: var(--foundation-500); color: white; }
.skill-badge.design { background: var(--design-500); color: white; }
.skill-badge.planning { background: var(--planning-500); color: white; }
.skill-badge.execution { background: var(--execution-500); color: white; }
.skill-badge.quality { background: var(--quality-500); color: white; }
.skill-badge.collaboration { background: var(--collaboration-500); color: white; }
.skill-badge.completion { background: var(--completion-500); color: white; }
.skill-badge.meta { background: var(--meta-500); color: white; }

.skill-principle {
    margin-bottom: 32px;
}

.principle-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.skill-principle blockquote {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-600) 100%);
    color: white;
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
}

.skill-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.skill-section ul,
.skill-section ol {
    list-style: none;
    padding-left: 0;
}

.skill-section li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-700);
    font-size: 14px;
}

.skill-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
}

.skill-section ol li {
    counter-increment: step;
}

.skill-section ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.skill-section.full-width {
    grid-column: 1 / -1;
}

.user-effect-box {
    background: var(--gray-900);
    border-radius: var(--radius-md);
    padding: 20px;
    overflow-x: auto;
}

.user-effect-box pre {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-300);
    white-space: pre-wrap;
}

.user-effect-box.error {
    background: var(--error-50);
    border-left: 4px solid var(--error-500);
}

.user-effect-box.success {
    background: var(--success-50);
    border-left: 4px solid var(--success-500);
}

.anti-patterns li::before {
    content: '❌ ';
    color: var(--error-500);
}

.best-practices li::before {
    content: '✅ ';
    color: var(--success-500);
}

/* TDD 循环 */
.tdd-cycle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.cycle-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    min-width: 200px;
    justify-content: center;
}

.cycle-step.red {
    border-left: 4px solid var(--error-500);
}

.cycle-step.green {
    border-left: 4px solid var(--success-500);
}

.cycle-step.refactor {
    border-left: 4px solid var(--primary-500);
}

.cycle-icon {
    font-size: 20px;
}

.cycle-step strong {
    font-size: 14px;
    color: var(--gray-900);
}

.cycle-step span:last-child {
    font-size: 13px;
    color: var(--gray-600);
}

.cycle-arrow {
    font-size: 20px;
    color: var(--gray-400);
}

/* 验证步骤 */
.verification-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.verify-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
}

.verify-step.highlight {
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--accent-100, #f3e8ff) 100%);
    border: 2px solid var(--primary-500);
}

.step-badge {
    width: 28px;
    height: 28px;
    background: var(--primary-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.verify-arrow {
    font-size: 18px;
    color: var(--gray-400);
}

/* 技能分类网格 */
.skills-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.skill-detail-card.compact {
    padding: 24px;
}

/* 选项网格 */
.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.option-card {
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.option-card:hover {
    border-color: var(--primary-400);
    background: var(--primary-50);
}

.option-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.option-card strong {
    display: block;
    font-size: 13px;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.option-card span {
    display: block;
    font-size: 11px;
    color: var(--gray-500);
}

/* 组合模式 */
.patterns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pattern-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.pattern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pattern-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.pattern-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.pattern-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pattern-flow code {
    background: var(--gray-900);
    color: var(--accent-400);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 11px;
}

.pattern-desc {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.pattern-time {
    font-size: 12px;
    color: var(--gray-500);
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

/* 参考表格 */
.reference-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.reference-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.reference-table th,
.reference-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.reference-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-900);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reference-table td {
    font-size: 14px;
    color: var(--gray-700);
}

.reference-table code {
    background: var(--gray-100);
    color: var(--primary-600);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 12px;
}

.reference-table tr:hover {
    background: var(--gray-50);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    font-family: var(--font-sans);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-icon {
    font-size: 20px;
    color: var(--primary-500);
    font-weight: 300;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
}

.faq-answer code {
    background: var(--gray-100);
    color: var(--primary-600);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
}

/* 最终消息 */
.final-message {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-600) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: var(--shadow-xl);
}

.message-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.message-text {
    font-size: 20px;
    line-height: 1.7;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

/* 资源链接 */
.resources-section {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.resources-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 24px;
}

.resources-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-200);
}

.resource-link:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.link-icon {
    font-size: 18px;
}

/* 页脚 */
.page-footer {
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--gray-200);
    margin-top: 40px;
}

.footer-meta p {
    font-size: 13px;
    color: var(--gray-500);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .value-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .patterns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-card {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-category-grid {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 40px 24px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .value-cards,
    .summary-points,
    .patterns-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-content-grid {
        grid-template-columns: 1fr;
    }
    
    .core-principle blockquote {
        font-size: 20px;
    }
}

/* 打印样式 */
@media print {
    .sidebar,
    .mobile-menu-btn,
    .hero-visual {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .skill-detail-card,
    .scenario-card,
    .pattern-card {
        break-inside: avoid;
    }
}
