:root {
    --color-bg: #0A0F1E;
    --color-primary: #08D4D4;
    --color-secondary: #22d3ee;
    --color-text: #E0E0E0;
    --color-dark-blue: #0D1A32;
    --font-sans: 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
}

.hero-bg {
    --hero-opacity: 1;
    position: relative;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://r2.flowith.net/files/o/1756459625153-tech_future_neural_network_visual_index_0@1024x1024.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: var(--hero-opacity);
    z-index: -1;
    transition: opacity 0.1s ease-out;
}

/* 添加遮罩层用于渐隐效果 */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 15, 30, 0.3) 70%, rgba(10, 15, 30, 0.8) 90%, rgba(10, 15, 30, 1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* 确保后续内容在hero section之上 */
body > main > section:not(.hero-bg) {
    position: relative;
    z-index: 100;
    background-color: var(--color-bg);
}

/* Z-index层级定义 */
/* 
  Layer hierarchy:
  - Header: z-index 1000 (最高，始终可见)
  - Content sections: z-index 100 (内容区域)
  - Hero overlay: z-index 2 (hero section遮罩)
  - Hero background: z-index 1 (hero section背景)
  - Hero background image: z-index -1 (背景图片)
*/

/* 确保header始终在最上层 */
header {
    z-index: 1000 !important;
}

/* hero section内容层级 */
.hero-bg > div {
    position: relative;
    z-index: 10;
}

.nav-link {
    color: #d1d5db;
    transition-property: color;
    transition-duration: 300ms;
}

.nav-link:hover {
    color: #22d3ee;
}

.nav-link-ext {
    color: #d1d5db;
    transition-property: color;
    transition-duration: 300ms;
}

.nav-link-ext:hover {
    color: #22d3ee;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition-property: transform;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-0.25rem);
}

.btn-primary {
    color: white;
    background-color: #0891b2;
    box-shadow: 0 0 15px rgba(8, 212, 212, 0.4), 0 0 25px rgba(8, 212, 212, 0.2), inset 0 0 5px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background-color: #0e7490;
}

.btn-secondary {
    color: #67e8f9;
    background-color: rgba(17, 24, 39, 0.5);
    border-color: rgba(34, 211, 238, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(31, 41, 55, 0.8);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-hero-primary.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Hero区域专用按钮样式 - 白色边框透明胶囊形状 */
.btn-hero {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    backdrop-filter: blur(10px);
    border-radius: 50px;  /* 胶囊形状：使用大圆角让短边变成半圆 */
    padding: 14px 28px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;  /* 确保文本不换行 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.02);  /* 增加轻微缩放效果 */
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-hero:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Hero按钮特定变体样式 */
.btn-hero-primary {
    background: transparent;
    border: 2px solid rgba(6, 182, 212, 0.8);
    color: #06B6D4;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    border-color: #06B6D4;
    background: rgba(6, 182, 212, 0.15);
    color: #67E8F9;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(6, 182, 212, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-hero-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-hero-secondary {
    border-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.9);
}

.btn-hero-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* 确保按钮在各种背景下的可见性 */
@media (prefers-contrast: high) {
    .btn-hero {
        border-width: 3px;
        border-color: white;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .btn-hero-primary {
        border-color: #06B6D4;
        color: #06B6D4;
        background: rgba(0, 0, 0, 0.9);
    }
}

/* 移动端按钮优化 - 保持胶囊形状和水平布局 */
@media (max-width: 640px) {
    .btn-hero {
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 50px;  /* 保持胶囊形状 */
        min-width: 140px;
        justify-content: center;
    }
    
    /* 移动端保持水平布局，但缩小间距 */
    .hero-bg .flex.gap-6 {
        gap: 1rem;
        flex-wrap: wrap;
    }
}

/* 按钮聚焦状态 - 可访问性 */
.btn-hero:focus {
    outline: none;
    border-color: #06B6D4;
    box-shadow: 
        0 0 0 3px rgba(6, 182, 212, 0.4),
        0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero:focus:not(:focus-visible) {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.6);
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #22d3ee, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    letter-spacing: -0.025em;
    position: relative;
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 4rem;
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #06B6D4, transparent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 12px;
    color: rgba(224, 224, 224, 0.85);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-top: 12px;
    text-align: center;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.875rem;
    }
}

.feature-card {
    background-color: rgba(17, 24, 39, 0.7);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    backdrop-filter: blur(12px);
    transition-property: all;
    transition-duration: 400ms;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 30px rgba(8, 212, 212, 0.3);
    transform: translateY(-0.5rem);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    background-color: rgba(22, 78, 99, 0.5);
    color: #22d3ee;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon > i {
    width: 1.75rem;
    height: 1.75rem;
}

.quick-start-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1f2937;
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 9999px;
    color: #22d3ee;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #9ca3af;
}

pre {
    background-color: #111827;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
}

code {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875rem;
    color: #d1d5db;
}

.language-shell::before {
    content: '$ ';
    color: #888;
}

pre.mermaid {
    background: transparent;
    border: none;
    padding: 0;
    text-align: center;
}

pre.mermaid svg {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background-color: rgba(17, 24, 39, 0.6);
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 211, 238, 0.1);
}

.workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(34, 211, 238, 0.5);
}

.workflow-arrow > i {
    width: 2.5rem;
    height: 2.5rem;
}

.workflow-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    background-color: rgba(22, 78, 99, 0.5);
    color: #22d3ee;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-icon > i {
    width: 2rem;
    height: 2rem;
}

.workflow-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.workflow-description {
    font-size: 0.875rem;
    color: #9ca3af;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.anim-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.shadow-cyan-glow {
    box-shadow: 0 0 30px rgba(8, 212, 212, 0.3);
}

/* ============ New Component Styles ============ */

/* Use Case Cards */
.use-case-card {
    background-color: rgba(17, 24, 39, 0.7);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    backdrop-filter: blur(12px);
    transition-property: all;
    transition-duration: 400ms;
    transform: translateY(0);
}

.use-case-card:hover {
    border-color: rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 30px rgba(8, 212, 212, 0.3);
    transform: translateY(-0.5rem);
}

.use-case-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom right, rgba(22, 78, 99, 0.5), rgba(30, 58, 138, 0.5));
    color: #22d3ee;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-icon > i {
    width: 1.5rem;
    height: 1.5rem;
}

.use-case-scenario {
    background-color: rgba(31, 41, 55, 0.5);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.use-case-benefit {
    display: flex;
    justify-content: flex-start;
}

/* Tool Cards */
.tool-card {
    background-color: rgba(17, 24, 39, 0.6);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    backdrop-filter: blur(8px);
    transition-property: all;
    transition-duration: 400ms;
}

.tool-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    background-color: rgba(17, 24, 39, 0.8);
}

.tool-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.tool-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    background-color: rgba(22, 78, 99, 0.4);
    color: #22d3ee;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-icon > i {
    width: 1.25rem;
    height: 1.25rem;
}

.tool-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.tool-subtitle {
    font-size: 0.875rem;
    color: #22d3ee;
}

.tool-content {
    margin-left: 3.5rem;
}

.tool-params ul li {
    display: flex;
    align-items: center;
}

.tool-params ul li code {
    background-color: rgba(31, 41, 55, 0.6);
    color: #67e8f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, monospace;
    margin-right: 0.5rem;
}

.tool-feature {
    display: flex;
    justify-content: flex-start;
}

/* Compatibility Cards */
.compatibility-card {
    background-color: rgba(17, 24, 39, 0.4);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(55, 65, 81, 0.5);
    transition-property: all;
    transition-duration: 300ms;
}

.compatibility-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    background-color: rgba(17, 24, 39, 0.6);
}

.requirement-card {
    background-color: rgba(17, 24, 39, 0.4);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(55, 65, 81, 0.5);
}

/* FAQ Styles */
.faq-item {
    background-color: rgba(17, 24, 39, 0.6);
    border-radius: 0.75rem;
    border: 1px solid rgba(55, 65, 81, 0.5);
    overflow: hidden;
    transition-property: all;
    transition-duration: 300ms;
}

.faq-question {
    padding: 1.5rem;
    transition-property: background-color;
    transition-duration: 300ms;
}

.faq-question:hover {
    background-color: rgba(17, 24, 39, 0.8);
}

.faq-question.active {
    background-color: rgba(17, 24, 39, 0.8);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(55, 65, 81, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    opacity: 0;
}

.faq-answer.show {
    max-height: 1000px;
    opacity: 1;
    display: block;
}

.faq-answer.hidden {
    max-height: 0;
    opacity: 0;
    display: none;
}

.faq-answer code {
    background-color: rgba(31, 41, 55, 0.8);
    color: #67e8f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

/* Enhanced Feature Cards */
.feature-card:hover {
    transform: translateY(-0.5rem) scale(1.05);
}

/* Enhanced Quick Start Steps */
.enhanced-step {
    background-color: rgba(17, 24, 39, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(55, 65, 81, 0.3);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.step-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-number-enhanced {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to bottom right, #06b6d4, #2563eb);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.step-number-enhanced i {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
}

.step-number-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    position: absolute;
    bottom: 0.25rem;
    right: 0.5rem;
}

.step-header-content {
    flex: 1;
}

.step-title-enhanced {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.step-description-enhanced {
    color: #9ca3af;
    font-size: 1.125rem;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .requirements-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(31, 41, 55, 0.5);
    border-radius: 0.75rem;
    border: 1px solid rgba(55, 65, 81, 0.3);
}

.requirement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: rgba(55, 65, 81, 0.5);
}

.requirement-details {
    flex: 1;
}

.requirement-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.requirement-version {
    font-size: 0.875rem;
    color: #9ca3af;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-required {
    background-color: rgba(127, 29, 29, 0.3);
    color: #f87171;
}

.status-recommended {
    background-color: rgba(20, 83, 45, 0.3);
    color: #4ade80;
}

.status-alternative {
    background-color: rgba(146, 64, 14, 0.3);
    color: #facc15;
}

/* Code Blocks Enhanced */
.code-block-enhanced {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(55, 65, 81, 0.5);
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: rgba(31, 41, 55, 0.8);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

.code-block-title {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #d1d5db;
    font-weight: 500;
}

.copy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background-color: rgba(55, 65, 81, 0.5);
    color: #9ca3af;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.copy-button:hover {
    color: white;
    background-color: rgba(75, 85, 99, 0.5);
}

.code-content {
    background-color: rgba(17, 24, 39, 0.8);
    color: #d1d5db;
    padding: 1rem;
    overflow-x: auto;
    margin: 0;
}

/* Step Tips */
.step-tips {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: rgba(30, 64, 175, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #93c5fd;
}

/* Command Options */
.command-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.command-option {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.command-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.command-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: rgba(55, 65, 81, 0.5);
    color: #d1d5db;
}

.command-badge-recommended {
    background-color: rgba(20, 83, 45, 0.3);
    color: #4ade80;
}

.copy-button-inline {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.25rem;
    background-color: rgba(55, 65, 81, 0.8);
    color: #9ca3af;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.copy-button-inline:hover {
    color: white;
    background-color: rgba(75, 85, 99, 0.8);
}

/* Config Instructions */
.config-instructions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.config-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.config-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background-color: rgba(21, 94, 117, 0.5);
    color: #22d3ee;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.config-step-content {
    flex: 1;
}

.config-step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.config-step-desc {
    color: #9ca3af;
}

.config-step-desc code {
    background-color: rgba(31, 41, 55, 0.8);
    color: #67e8f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

/* Step Warning */
.step-warning {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(146, 64, 14, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 0.75rem;
}

.warning-icon {
    flex-shrink: 0;
}

.warning-content {
    flex: 1;
}

.warning-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fcd34d;
    margin-bottom: 0.25rem;
}

.warning-text {
    color: rgba(254, 240, 138, 0.8);
}

/* Success Message */
.success-message {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(to right, rgba(20, 83, 45, 0.3), rgba(21, 94, 117, 0.3));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 1rem;
    margin-top: 3rem;
}

.success-icon {
    flex-shrink: 0;
}

.success-content {
    flex: 1;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.success-description {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
}

.action-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.action-link-primary {
    background-color: #0891b2;
    color: white;
}

.action-link-primary:hover {
    background-color: #0e7490;
}

.action-link-secondary {
    background-color: #374151;
    color: #d1d5db;
}

.action-link-secondary:hover {
    background-color: #4b5563;
    color: white;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        text-align: left;
        border-bottom: 1px solid rgba(31, 41, 55, 0.5);
    }
    
    .nav-link-ext {
        display: block;
        padding: 0.75rem 1rem;
        text-align: left;
    }
    
    .tool-card {
        padding: 1rem;
    }
    
    .tool-content {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .tool-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tool-icon {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

/* Enhanced Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.anim-slide-up {
    animation: slideInUp 0.8s ease-out forwards;
}

.anim-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.anim-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Enhanced Button Styles */
.btn:hover {
    transform: translateY(-0.25rem) scale(1.05);
    box-shadow: 0 0 25px rgba(8, 212, 212, 0.6), 0 0 40px rgba(8, 212, 212, 0.3);
}

.btn-primary:active {
    transform: scale(0.95);
}

/* Code Block Enhancements */
pre {
    position: relative;
}

/* 移除代码块的三个圆点装饰 */

pre code {
    display: block;
    line-height: 1.625;
}

/* Performance Metrics Cards */
.requirement-card .grid > div {
    transition-property: transform;
    transition-duration: 300ms;
}

.requirement-card .grid > div:hover {
    transform: scale(1.05);
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Accessibility Improvements */
.nav-link:focus,
.btn:focus,
.faq-question:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.5), 0 0 0 4px rgba(17, 24, 39, 1);
}

/* Print Styles */
@media print {
    .hero-bg {
        background-image: none !important;
        background-color: #1f2937 !important;
    }
    
    .btn,
    .faq-question {
        border: 1px solid #9ca3af !important;
    }
    
    .faq-answer {
        display: block !important;
        max-height: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .feature-card,
    .tool-card,
    .compatibility-card,
    .requirement-card,
    .faq-item {
        border-color: #22d3ee;
        background-color: #000000;
    }
    
    .text-gray-400 {
        color: #e5e7eb;
    }
    
    .text-gray-500 {
        color: #d1d5db;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .anim-on-scroll,
    .animate-fade-in,
    .anim-slide-up,
    .anim-slide-left,
    .anim-slide-right {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .transition-all,
    .transition-transform,
    .transition-colors {
        transition: none !important;
    }
}

html {
    scroll-behavior: smooth;
}
