/* 页面容器和导航 */
#app {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.page.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 页面通用样式 */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #FFF9F5;
}

.page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 107, 74, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 48px;
    height: 80px;
}

.page-header .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.page-header .logo-section:hover {
    transform: scale(1.05);
}

.page-header .logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.page-header .logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
}

.page-header .language-switcher {
    position: relative;
}

/* 页面内容区域 */
.page-content {
    flex: 1;
    padding: 48px 0;
    display: flex;
    justify-content: center;
}

.content-wrapper {
    width: 100%;
    max-width: 1000px;
    padding: 0 48px;
}

.content-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.content-header {
    padding: 40px 48px 0;
    border-bottom: 2px solid #FFF9F5;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FF6B4A, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4A4A4A;
    margin-bottom: 32px;
}

.breadcrumb a {
    color: #FF6B4A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #CC4D30;
}

.separator {
    color: #4A4A4A;
}

.content-body {
    padding: 32px 48px 48px;
}

/* 内容样式 */
.content-body h1,
.content-body h2,
.content-body h3 {
    color: #1A1A1A;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
}

.content-body h1 {
    font-size: 28px;
    color: #FF6B4A;
}

.content-body h2 {
    font-size: 24px;
}

.content-body h3 {
    font-size: 20px;
    color: #6C5CE7;
}

.content-body p {
    line-height: 1.8;
    color: #4A4A4A;
    margin-bottom: 16px;
    font-size: 16px;
}

.content-body ul,
.content-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content-body li {
    line-height: 1.8;
    color: #4A4A4A;
    margin-bottom: 8px;
}

.content-body strong {
    color: #1A1A1A;
    font-weight: 600;
}

.content-body em {
    color: #6C5CE7;
    font-style: italic;
}

/* 页面底部 */
.page-footer {
    background: #1A1A1A;
    padding: 24px 48px;
    color: #FFFFFF;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.icp-info span {
    font-size: 13px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B4A;
}

.footer-links .separator {
    color: #4A4A4A;
}

/* 主页按钮已删除 */

/* 页面过渡动画 */
.page-enter {
    transform: translateX(100px);
    opacity: 0;
}

.page-enter-active {
    transform: translateX(0);
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-exit {
    transform: translateX(0);
    opacity: 1;
}

.page-exit-active {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 16px 20px;
    }
    
    .content-wrapper {
        padding: 0 20px;
    }
    
    .content-header {
        padding: 24px 20px 0;
    }
    
    .content-body {
        padding: 24px 20px 32px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-links {
        gap: 12px;
    }
}

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

.page::-webkit-scrollbar-track {
    background: #F0F0F0;
}

.page::-webkit-scrollbar-thumb {
    background: #FF6B4A;
    border-radius: 4px;
}

.page::-webkit-scrollbar-thumb:hover {
    background: #CC4D30;
}

/* 加载动画 */
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 107, 74, 0.3);
    border-radius: 50%;
    border-top-color: #FF6B4A;
    animation: loading 1s ease-in-out infinite;
}

/* 工具提示 */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* 特殊内容样式 */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.1), rgba(255, 217, 61, 0.1));
    border: 1px solid rgba(255, 107, 74, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #FFC107;
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.info-box {
    background: rgba(108, 92, 231, 0.1);
    border-left: 4px solid #6C5CE7;
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}