/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --vh: 1vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

.container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* 侧边栏样式 */
.sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid #e1e4e8;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.logo {
    padding: 20px;
    border-bottom: 1px solid #e1e4e8;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2328;
}

.logo i {
    font-size: 24px;
    color: #0969da;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

.search-box {
    padding: 16px 20px;
    border-bottom: 1px solid #e1e4e8;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: #656d76;
    font-size: 14px;
}

.search-box input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-size: 14px;
    background: #f6f8fa;
    transition: all 0.2s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #0969da;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
}

.nav-menu {
    list-style: none;
    padding: 8px 0;
    flex: 1;
}

.nav-item {
    margin: 2px 12px;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    color: #656d76;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.nav-item a:hover {
    background: #f6f8fa;
    color: #1f2328;
}

.nav-item.active a {
    background: #dbeafe;
    color: #0969da;
    font-weight: 500;
}

.nav-item i {
    width: 16px;
    text-align: center;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 0;
    background: #f8f9fa;
}

.page-header {
    background: #fff;
    padding: 32px 40px;
    border-bottom: 1px solid #e1e4e8;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
    color: #656d76;
}

/* 欢迎区域 */
.welcome-section {
    padding: 40px;
}

.hero-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

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

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

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

.hero-icon {
    font-size: 120px;
    opacity: 0.3;
}

.hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* 快速链接 */
.quick-links {
    padding: 0 40px 40px;
}

.quick-links h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 24px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.link-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.link-card:hover {
    border-color: #0969da;
    box-shadow: 0 4px 12px rgba(9, 105, 218, 0.1);
    transform: translateY(-2px);
}

.link-icon {
    width: 48px;
    height: 48px;
    background: #f6f8fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-icon i {
    font-size: 20px;
    color: #0969da;
}

.link-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 4px;
}

.link-content p {
    font-size: 14px;
    color: #656d76;
}

/* 最近更新 */
.recent-updates {
    padding: 0 40px 40px;
}

.recent-updates h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 24px;
}

.update-list {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    overflow: hidden;
}

.update-item {
    display: flex;
    padding: 20px 24px;
    border-bottom: 1px solid #e1e4e8;
}

.update-item:last-child {
    border-bottom: none;
}

.update-date {
    width: 100px;
    font-size: 12px;
    color: #656d76;
    font-weight: 500;
    flex-shrink: 0;
}

.update-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 4px;
}

.update-content p {
    font-size: 14px;
    color: #656d76;
}

/* 内容页面样式 */
.content-page {
    padding: 40px;
    max-width: 800px;
}

.content-page h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 16px;
}

.content-page h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2328;
    margin: 32px 0 16px;
}

.content-page p {
    font-size: 16px;
    color: #656d76;
    margin-bottom: 16px;
}

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

.content-page li {
    font-size: 16px;
    color: #656d76;
    margin-bottom: 8px;
}

/* 代码块样式 */
.code-block {
    background: #f6f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 16px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 14px;
    color: #1f2328;
    margin: 16px 0;
    overflow-x: auto;
}

/* 警告框样式 */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    border-left: 4px solid;
}

.alert-info {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.alert-warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-error {
    background: #fee2e2;
    border-color: #ef4444;
    color: #dc2626;
}

.alert-success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

/* 步骤样式 */
.step {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
    position: relative;
}

.step-number {
    position: absolute;
    left: -12px;
    top: 20px;
    width: 24px;
    height: 24px;
    background: #0969da;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.step h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 8px;
    margin-left: 16px;
}

.step p {
    margin-left: 16px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: #0969da;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(9, 105, 218, 0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}


/* 移动端强制重置 */
@media screen and (max-width: 768px) {
    /* 强制所有元素不超出屏幕 */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    html {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* 强制移动端样式 */
@media screen and (max-width: 768px) {
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    
    html, body {
        width: 100% !important;
        height: 100% !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        position: relative !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
        position: fixed !important;
        top: 15px !important;
        left: 15px !important;
        z-index: 9999 !important;
        background: #0969da !important;
        color: white !important;
        border: none !important;
        padding: 12px !important;
        border-radius: 8px !important;
        font-size: 18px !important;
        cursor: pointer !important;
        box-shadow: 0 4px 12px rgba(9, 105, 218, 0.3) !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
    
    .sidebar {
        width: 100% !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        height: 100vh !important;
        height: calc(var(--vh, 1vh) * 100) !important;
        z-index: 1000 !important;
        transition: left 0.3s ease !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: #fff !important;
    }
    
    .sidebar.open {
        left: 0 !important;
    }
    
    .main-content {
        margin-left: 0 !important;
        padding: 20px !important;
        padding-top: 80px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        min-height: 100vh !important;
        position: relative !important;
    }
    
    .page-header {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
    }
    
    .welcome-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
    }
    
    .quick-links {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
    }
    
    .link-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .link-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    /* 首页专用移动端修复 */
    .hero-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .hero-actions {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-actions .btn {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
    }
    
    .hero-image {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .hero-logo {
        width: 120px !important;
        height: 120px !important;
        max-width: 100% !important;
    }
    
    /* 首页侧边栏强制修复 */
    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        height: calc(var(--vh, 1vh) * 100) !important;
        z-index: 1000 !important;
        background: #fff !important;
        transition: left 0.3s ease !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .sidebar.open {
        left: 0 !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
        position: fixed !important;
        top: 15px !important;
        left: 15px !important;
        z-index: 9999 !important;
        background: #0969da !important;
        color: white !important;
        border: none !important;
        padding: 12px !important;
        border-radius: 8px !important;
        font-size: 18px !important;
        cursor: pointer !important;
        box-shadow: 0 4px 12px rgba(9, 105, 218, 0.3) !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
    
    .hero-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .logo-img {
        width: 24px;
        height: 24px;
    }
    
    .link-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .page-header {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .welcome-section,
    .quick-links,
    .recent-updates {
        padding: 20px;
    }
    
    .content-page {
        padding: 20px;
    }
    
    /* FAQ 移动端优化 */
    .faq-categories {
        flex-direction: column;
        gap: 8px;
    }
    
    .category-btn {
        width: 100%;
        text-align: center;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .faq-answer {
        padding: 16px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    .faq-answer ul, .faq-answer ol {
        padding-left: 20px;
    }
    
    .faq-answer li {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    /* 弹窗移动端优化 */
    .modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 16px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body p {
        font-size: 14px;
    }
    
    .modal-footer .btn {
        width: 100%;
        padding: 14px;
    }
    
    /* 搜索模态框移动端优化 */
    .search-modal {
        margin: 20px;
        max-height: 80vh;
    }
    
    .search-result-item {
        padding: 12px 16px;
    }
    
    .search-result-title {
        font-size: 14px;
    }
    
    .search-result-content {
        font-size: 12px;
    }
}

/* 搜索高亮 */
.search-highlight {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* 功能卡片样式 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: #0969da;
    box-shadow: 0 4px 12px rgba(9, 105, 218, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #f6f8fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon i {
    font-size: 20px;
    color: #0969da;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: #656d76;
    margin-bottom: 12px;
}

.feature-card ul {
    margin: 0;
    padding-left: 16px;
}

.feature-card li {
    font-size: 14px;
    color: #656d76;
    margin-bottom: 4px;
}

/* 疑难杂症样式 */
.troubleshoot-section {
    margin: 32px 0;
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    overflow: hidden;
}

.troubleshoot-section h3 {
    background: #f6f8fa;
    padding: 16px 24px;
    margin: 0;
    border-bottom: 1px solid #e1e4e8;
    font-size: 18px;
    color: #1f2328;
}

.problem-solution {
    padding: 24px;
}

.problem {
    margin-bottom: 20px;
}

.problem h4 {
    font-size: 16px;
    font-weight: 600;
    color: #d73a49;
    margin-bottom: 8px;
}

.solution h4 {
    font-size: 16px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 12px;
}

.solution ol {
    margin: 0;
    padding-left: 20px;
}

.solution li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #656d76;
}

.solution ul {
    margin: 8px 0;
    padding-left: 16px;
}

.error-codes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.error-item {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 16px;
}

.error-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #d73a49;
    margin-bottom: 8px;
}

.error-item p {
    font-size: 14px;
    color: #656d76;
    margin-bottom: 4px;
}

/* FAQ样式 */
.faq-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 16px;
    border: 1px solid #d0d7de;
    background: #fff;
    color: #656d76;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.category-btn:hover {
    background: #f6f8fa;
    border-color: #0969da;
}

.category-btn.active {
    background: #0969da;
    color: #fff;
    border-color: #0969da;
}

.faq-list {
    margin: 24px 0;
}

.faq-item {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #0969da;
    box-shadow: 0 2px 8px rgba(9, 105, 218, 0.1);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f6f8fa;
    border-bottom: 1px solid #e1e4e8;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #f1f8ff;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2328;
    margin: 0;
}

.faq-question i {
    color: #656d76;
    transition: transform 0.2s ease;
}

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

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 24px;
    max-height: 1000px;
}

.faq-answer p {
    font-size: 14px;
    color: #656d76;
    margin-bottom: 12px;
}

.faq-answer ul, .faq-answer ol {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer li {
    font-size: 14px;
    color: #656d76;
    margin-bottom: 6px;
}

.faq-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e1e4e8;
}

/* 搜索功能样式 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
    max-height: 70vh;
    overflow: hidden;
}

.search-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e1e4e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2328;
    margin: 0;
}

.close-search {
    background: none;
    border: none;
    color: #656d76;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-search:hover {
    background: #f6f8fa;
    color: #1f2328;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: block;
    padding: 16px 24px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f6f8fa;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background: #f6f8fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 4px;
}

.search-result-content {
    font-size: 14px;
    color: #656d76;
}

.no-results {
    padding: 40px 24px;
    text-align: center;
}

.no-results-icon {
    font-size: 48px;
    color: #d0d7de;
    margin-bottom: 16px;
}

.no-results-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 8px;
}

.no-results-text p {
    font-size: 14px;
    color: #656d76;
    margin-bottom: 4px;
}

/* 页面隐藏状态 */
.page-hidden * {
    animation-play-state: paused !important;
}

/* 影视APP页面样式 */
.app-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 32px 0;
    color: white;
}

.app-hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.app-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.app-tagline {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.app-features {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.feature-item i {
    font-size: 16px;
}

.download-buttons {
    display: flex;
    gap: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.download-btn i {
    font-size: 24px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-title {
    font-weight: 600;
    font-size: 14px;
}

.btn-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.tv-mockup {
    position: relative;
    width: 400px;
    height: 250px;
    background: #333;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tv-screen {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.app-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-display {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    padding: 20px;
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 截图轮播样式 */
.screenshots-section {
    margin: 48px 0;
}

.screenshots-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 32px;
    text-align: center;
}

.screenshot-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
}

.screenshot-slide {
    min-width: 100%;
    position: relative;
    display: none;
}

.screenshot-slide.active {
    display: block;
}

.screenshot-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    min-height: 400px;
    object-fit: contain;
    border-radius: 16px;
    background: #f8f9fa;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border-radius: 0 0 16px 16px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #1f2328;
    transition: all 0.2s ease;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d7de;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    background: #0969da;
    transform: scale(1.2);
}

.dot:hover {
    background: #656d76;
}

.features-section {
    margin: 48px 0;
}

.features-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 32px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.reviews-section {
    margin: 48px 0;
}

.reviews-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 32px;
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.review-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.review-card:hover {
    border-color: #0969da;
    box-shadow: 0 4px 12px rgba(9, 105, 218, 0.1);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2328;
    margin: 0 0 4px 0;
}

.rating {
    display: flex;
    gap: 2px;
}

.rating i {
    color: #ffc107;
    font-size: 14px;
}

.rating i.far {
    color: #d0d7de;
}

.review-text {
    font-size: 14px;
    color: #656d76;
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-date {
    font-size: 12px;
    color: #8b949e;
}

.download-section {
    background: #f6f8fa;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 48px 0;
}

.download-section h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 12px;
}

.download-section p {
    font-size: 16px;
    color: #656d76;
    margin-bottom: 32px;
}

.download-buttons-large {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.download-btn-large {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    background: #fff;
    border: 2px solid #e1e4e8;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    min-width: 200px;
}

.download-btn-large:hover {
    border-color: #0969da;
    box-shadow: 0 8px 24px rgba(9, 105, 218, 0.15);
    transform: translateY(-2px);
}

.download-btn-large.android:hover {
    border-color: #3ddc84;
}

.download-btn-large.ios:hover {
    border-color: #007aff;
}

.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.download-btn-large.android .btn-icon {
    background: #3ddc84;
    color: white;
}

.download-btn-large.ios .btn-icon {
    background: #007aff;
    color: white;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-content .btn-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 4px;
}

.btn-content .btn-subtitle {
    font-size: 12px;
    color: #656d76;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .app-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .app-features {
        justify-content: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .tv-mockup {
        width: 300px;
        height: 180px;
    }
    
    .logo-display {
        width: 150px;
        height: 150px;
        padding: 15px;
    }
    
    .screenshot-slide img {
        max-height: 300px;
        min-height: 200px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons-large {
        flex-direction: column;
        align-items: center;
    }
}

/* Telegram和VPN教程页面样式 */
.tutorial-section {
    margin: 48px 0;
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 32px;
}

.tutorial-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tutorial-section h2 i {
    color: #0969da;
}

.platform-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e1e4e8;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #656d76;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #1f2328;
    background: #f6f8fa;
}

.tab-btn.active {
    color: #0969da;
    border-bottom-color: #0969da;
    background: #f6f8fa;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.vpn-app-card {
    background: #f6f8fa;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.vpn-app-card:hover {
    border-color: #0969da;
    box-shadow: 0 4px 12px rgba(9, 105, 218, 0.1);
    transform: translateY(-2px);
}

.app-icon {
    width: 64px;
    height: 64px;
    background: #0969da;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: white;
}

.vpn-app-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 8px;
}

.vpn-app-card p {
    font-size: 14px;
    color: #656d76;
    margin-bottom: 16px;
    line-height: 1.5;
}

.app-features {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.feature-tag {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.download-link {
    display: inline-block;
    background: #0969da;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.download-link:hover {
    background: #0860ca;
    transform: translateY(-1px);
}

/* 购买卡片样式 */
.purchase-section {
    margin: 20px 0;
}

.purchase-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    color: white;
    text-align: center;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.purchase-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.purchase-header i {
    font-size: 24px;
    color: white;
}

.purchase-header h5 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.purchase-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.purchase-features .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.purchase-features .feature-item i {
    color: #4ade80;
    font-size: 16px;
}

.purchase-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.purchase-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tutorial-section {
        padding: 20px;
        margin: 24px 0;
    }
    
    .platform-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .tab-btn {
        border-bottom: 1px solid #e1e4e8;
        border-radius: 0;
    }
    
    .tab-btn.active {
        border-bottom-color: #0969da;
    }
    
    .vpn-apps {
        grid-template-columns: 1fr;
    }
    
    .app-features {
        justify-content: center;
    }
    
    .purchase-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .purchase-card {
        padding: 20px;
    }
    
    .purchase-header {
        flex-direction: column;
        gap: 8px;
    }
}

/* 步骤式介绍样式 */
.steps-intro {
    margin: 40px 0;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.steps-intro h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 12px;
    text-align: center;
}

.steps-intro > p {
    font-size: 16px;
    color: #656d76;
    text-align: center;
    margin-bottom: 40px;
}

.step-section {
    margin: 48px 0;
}

.step-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-section h3 i {
    color: #0969da;
    font-size: 20px;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.step-card {
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #0969da;
}

.step-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.step-card:hover .step-image img {
    transform: scale(1.05);
}

.step-content {
    padding: 20px;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2328;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: #656d76;
    line-height: 1.5;
    margin: 0;
}

/* 步骤编号样式 */
.step-card::before {
    content: attr(data-step);
    position: absolute;
    top: 16px;
    left: 16px;
    background: #0969da;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

/* 步骤连接线 */
.step-section::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #0969da, transparent);
    transform: translateX(-50%);
}

.step-section:last-child::after {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .steps-intro {
        padding: 20px;
        margin: 20px 0;
    }
    
    .steps-intro h2 {
        font-size: 24px;
    }
    
    .step-section h3 {
        font-size: 20px;
    }
    
    .step-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .step-image {
        height: 150px;
    }
    
    .step-content {
        padding: 16px;
    }
}

/* 准则弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e1e4e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f6f8fa;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2328;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #656d76;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 18px;
}

.modal-close:hover {
    background: #e1e4e8;
    color: #1f2328;
}

.modal-body {
    padding: 24px;
    max-height: 50vh;
    overflow-y: auto;
}

.modal-body p {
    font-size: 16px;
    color: #656d76;
    line-height: 1.6;
    margin-bottom: 16px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid #e1e4e8;
    background: #f6f8fa;
    text-align: center;
}

.modal-footer .btn {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
}

.modal-footer .btn-primary {
    background: #0969da;
    color: white;
    border: 1px solid #0969da;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-footer .btn-primary:hover {
    background: #0860ca;
    border-color: #0860ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(9, 105, 218, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body p {
        font-size: 14px;
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 小屏幕设备优化 */
@media (max-width: 480px) {
    .mobile-menu-btn {
        top: 15px;
        left: 15px;
        padding: 10px;
        font-size: 16px;
    }
    
    .page-header h1 {
        font-size: 20px;
    }
    
    .hero-card {
        padding: 16px;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .modal-content {
        margin: 5px;
    }
    
    .faq-question h3 {
        font-size: 14px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
    
    .sidebar {
        padding-top: 60px;
    }
    
    .main-content {
        padding-top: 80px;
    }
    
}
