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

/* 跳转目标样式 - 避免被导航栏遮挡 */
h2[id], h3[id], h4[id] {
    scroll-margin-top: 80px; /* 导航栏高度(60px) + 额外间距(20px) */
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #2c3e50;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 主布局 */
.app {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ffffff;
    position: relative;
}

/* 侧边栏左边的背景区域 */
.app::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: calc((100vw - 1400px) / 2);
    height: 100vh;
    background-color: #f8fafc;
    z-index: -1;
}

/* 侧边栏样式 */
.sidebar {
    width: 280px;
    background-color: #f8fafc;
    border-right: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 1.5rem 1.5rem 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin: 0;
}

/* 导航样式 */
.nav {
    padding: 1rem 0;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem 1.5rem;
}

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

.nav-link {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    color: #3b82f6;
    background-color: #f1f5f9;
}

.nav-link.active {
    color: #3b82f6;
    background-color: #eff6ff;
    border-left-color: #3b82f6;
    font-weight: 500;
}

/* 主内容区域 */
.main {
    flex: 1;
    background-color: #ffffff;
    padding-top: 60px; /* 为固定导航栏留出空间 */
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* 标题样式 */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2.5rem 0 1rem 0;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 0.75rem 0;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 1.5rem 0 0.5rem 0;
    line-height: 1.4;
}

/* 段落和文本 */
p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
    color: #475569;
}

ul, ol {
    margin: 0 0 1rem 1.5rem;
    color: #475569;
}

li {
    margin: 0.25rem 0;
    line-height: 1.6;
}

/* 代码样式 */
code {
    background-color: #f1f5f9;
    color: #e11d48;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

/* 代码块样式 */
.code-block {
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #ffffff;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.code-lang {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 代码块头部的复制按钮样式 */
.code-header .copy-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
    position: static;
    display: inline-block;
}

.code-header .copy-btn:hover {
    background-color: #e2e8f0;
    color: #475569;
}

.code-block pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
    background-color: #ffffff;
}

.code-block code {
    background: none;
    color: #1e293b;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* 高亮样式 */
.highlight {
    background-color: #fef2f2;
    color: #dc2626;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* Vue.js风格的导航栏 */
.vue-nav {
    background: #fff;
    border-bottom: 1px solid #e1e5e9;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
}

.vue-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.vue-nav-brand {
    display: flex;
    align-items: center;
}

.vue-logo {
    text-decoration: none;
    color: #3b82f6;
    font-weight: 600;
    font-size: 1.25rem;
}

.vue-logo-text {
    color: #3b82f6;
}

.vue-nav-menu {
    display: flex;
    gap: 2rem;
}

.vue-nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.vue-nav-link:hover,
.vue-nav-link.active {
    color: #3b82f6;
}

/* Vue.js风格的主内容区 */
.vue-main {
    margin-top: 60px;
    min-height: calc(100vh - 60px);
}

/* 现代蓝色主题英雄区域 */
.vue-hero {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.vue-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vue-hero-content {
    text-align: left;
}

.vue-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: white;
}

.vue-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

.vue-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.vue-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.vue-hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
}

.vue-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.vue-card-dots {
    display: flex;
    gap: 0.5rem;
}

.vue-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.vue-dot-red { background-color: #ff5f57; }
.vue-dot-yellow { background-color: #ffbd2e; }
.vue-dot-green { background-color: #28ca42; }

.vue-card-title {
    color: white;
    font-weight: 600;
}

.vue-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vue-workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.vue-step-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.vue-step-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.vue-workflow-arrow {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-title-main {
    display: block;
    color: white;
}

.hero-title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.card-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f57; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #28ca42; }

.card-title {
    color: white;
    font-weight: 600;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.step-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.workflow-arrow {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
}

/* Vue.js风格的特性区域 */
.vue-features {
    padding: 4rem 2rem;
    background-color: #f8fafc;
}

.vue-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vue-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.vue-section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

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

.vue-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e1e5e9;
}

.vue-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vue-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vue-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.vue-feature-description {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Vue.js风格的提示词集区域 */
.vue-prompts {
    padding: 4rem 2rem;
    background: white;
}

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

.vue-prompt-category {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vue-prompt-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vue-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.vue-prompt-list {
    list-style: none;
    padding: 0;
}

.vue-prompt-list li {
    padding: 0.5rem 0;
    color: #7f8c8d;
    border-bottom: 1px solid #e1e5e9;
}

.vue-prompt-list li:last-child {
    border-bottom: none;
}

/* Vue.js风格的创作流程区域 */
.vue-workflow {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.vue-workflow-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.vue-workflow-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #1e40af);
}

.vue-timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.vue-timeline-marker {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
}

.vue-timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
}

.vue-timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.vue-timeline-content p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Vue.js风格的行动召唤区域 */
.vue-cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.vue-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.vue-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.vue-cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.vue-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Vue.js风格的按钮样式 */
.vue-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.vue-btn-primary {
    background-color: #3b82f6;
    color: white;
    border: 1px solid #3b82f6;
}

.vue-btn-primary:hover {
    background-color: #60a5fa;
    border-color: #60a5fa;
    color: white;
    transform: translateY(-1px);
}

.vue-btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.vue-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.vue-btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* 移动端汉堡菜单按钮样式 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Vue.js风格的响应式设计 */
@media (max-width: 480px) {
    .vue-prompts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vue-prompt-category {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .vue-nav-container {
        padding: 0 1rem;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .vue-nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #e1e5e9;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .vue-nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .vue-nav-link {
        display: block;
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.95rem;
    }
    
    .vue-nav-link:last-child {
        border-bottom: none;
    }
    
    .vue-nav-link:hover {
        background-color: #f8fafc;
    }
    
    .vue-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .vue-hero-content {
        text-align: center;
    }
    
    .vue-hero-title {
        font-size: 2.5rem;
    }
    
    .vue-features-grid,
    .vue-prompts-grid {
        grid-template-columns: 1fr;
    }
    
    .vue-workflow-timeline::before {
        left: 1.5rem;
    }
    
    .vue-timeline-marker {
        width: 3rem;
        height: 3rem;
        margin-right: 1rem;
    }
    
    .vue-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .vue-hero-actions {
        justify-content: center;
    }
}

/* 结果演示区域 */
.result-demo {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
}

.result-demo h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
}

.demo-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-button {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.demo-button:hover {
    background-color: #60a5fa;
    color: white;
}


/* 响应式设计 */
@media (max-width: 1024px) {
    .app {
        max-width: 100%;
        box-shadow: none;
    }
    
    .sidebar {
        position: fixed;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .main {
        width: 100%;
    }
    
    .content {
        padding: 1.5rem 1rem 3rem;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 1rem 0.75rem 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 链接样式 */
a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #374151;
}

tr:hover {
    background-color: #f8fafc;
}

/* 结果容器样式 */
.result-container {
    position: relative;
}

/* 结果容器中的复制按钮样式 */
.result-container .copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    z-index: 10;
}

.result-container .copy-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    color: white;
}

.result-container .copy-btn:active {
    transform: translateY(0);
}

.result-container .copy-btn.copied {
    background: #10b981;
}

.result-container .copy-btn svg {
    width: 14px;
    height: 14px;
}

/* 引用样式 */
blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border-left: 4px solid #3b82f6;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #475569;
}

/* 分割线 */
hr {
    margin: 2rem 0;
    border: none;
    height: 1px;
    background-color: #e2e8f0;
}

/* 二维码占位符样式 */
.qr-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-top: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* 加载动画样式 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .loading-spinner {
    margin-right: 8px;
}

/* 旧的吐司样式已移除，使用下方新的Toast提示样式 */

/* AI消痕页面样式 */
.humanize-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.humanize-form {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group textarea {
    width: 100%;
    min-height: 300px;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
}

#charCount.warning {
    color: #f59e0b;
}

#charCount.error {
    color: #ef4444;
}

.btn-humanize {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.btn-humanize:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-humanize:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Toast 提示样式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    pointer-events: none;
}

.toast {
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    pointer-events: auto;
    animation: slideInRight 0.3s ease-out;
    backdrop-filter: blur(10px);
}

.toast.hiding {
    animation: slideOutRight 0.3s ease-in forwards;
}

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

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

.toast-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.toast-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.toast-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.toast-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 0;
    color: inherit;
    flex-shrink: 0;
}

.toast-close:hover {
    opacity: 1;
}

/* 保留旧的alert样式以防兼容 */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: none; /* 默认隐藏，使用Toast代替 */
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.usage-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    color: #64748b;
}

.usage-count {
    font-weight: 600;
    color: #3b82f6;
}

.humanize-mode-selection {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.mode-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    font-size: 16px;
}

.mode-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.mode-option {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.mode-option:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.mode-option input[type="radio"] {
    display: none;
}

.mode-option input[type="radio"]:checked + .mode-name {
    color: #3b82f6;
    font-weight: 600;
}

.mode-option input[type="radio"]:checked {
    background: #3b82f6;
}

.mode-option:has(input[type="radio"]:checked) {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.mode-name {
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
    font-size: 14px;
}

.mode-desc {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .humanize-container {
        padding: 10px;
    }
}

/* 页脚样式 */
.vue-footer {
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.vue-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.vue-nav-user { display: flex; align-items: center; gap: 16px; margin-left: auto; padding-left: 16px; border-left: 1px solid #e2e8f0; }
.vue-nav-username { color: #1e293b; font-weight: 600; font-size: 0.9rem; }
.vue-nav-logout { color: #ef4444; text-decoration: none; font-size: 0.875rem; padding: 6px 16px; border-radius: 6px; transition: all 0.3s ease; }
.vue-nav-logout:hover { background: #fee2e2; color: #dc2626; }

/* 页面标题统一样式 */
.page-header {
    text-align: center;
    margin-bottom: 24px;
}

.page-header h1 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1.875rem;
}

.page-header p {
    color: #64748b;
    font-size: 0.95rem;
}
