/* 智剪大师 - 统一样式文件 */

/* === 基础配置 === */
:root {
    /* 主色调 */
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #a5b4fc;
    
    /* 背景色 */
    --bg-primary: #0A0A0A;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2d2d2d;
    
    /* 文字颜色 */
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-white: #FFFFFF;
    
    /* 边框颜色 */
    --border-primary: rgba(255, 255, 255, 0.1);
    --border-secondary: rgba(255, 255, 255, 0.05);
    
    /* 成功色 */
    --success-color: #10b981;
    --success-hover: #059669;
    
    /* 字体 */
    --font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

/* 隐藏所有滚动条但保持滚动功能 */
body::-webkit-scrollbar,
html::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
}

/* 对于Firefox */
html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 确保所有容器都不显示滚动条 */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* === 程序界面3D推上来效果 === */
.simple-image-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
}

.main-screenshot {
    width: 85%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 0 auto;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(100px) rotateX(15deg) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-screenshot.animate-up {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
}

.main-screenshot:hover {
    transform: translateY(-5px) rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .main-screenshot {
        width: 95%;
        transform: translateY(80px) rotateX(10deg) scale(0.95);
    }
    
    .main-screenshot:hover {
        transform: translateY(-3px) rotateX(0deg) scale(1.01);
    }
}

/* === 简洁卡片效果 === */
.glass-morphism {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-morphism:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 订阅计划卡片样式优化 */
#pricing .glass-morphism {
    min-height: 480px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

#pricing .glass-morphism ul {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#pricing .glass-morphism button {
    margin-top: auto;
}

/* 确保订阅区域不被遮挡 */
#pricing {
    position: relative;
    z-index: 10;
    overflow: visible;
}

/* 响应式调整订阅卡片 */
@media (max-width: 1024px) {
    #pricing .glass-morphism {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    #pricing .glass-morphism {
        min-height: 350px;
    }
}

/* 首屏滚动锁定样式 */
body.scroll-locked,
html.scroll-locked {
    overflow: hidden !important;
    height: 100% !important;
}

/* 锁定状态下的视觉提示 - 但不影响初始动画 */
.scroll-locked .modern-scroll-button.animation-completed {
    animation: scroll-hint 2s infinite;
}

@keyframes scroll-hint {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(5px); opacity: 0.8; }
}

/* === 渐变文字 === */
.gradient-text {
    background: linear-gradient(90deg, var(--text-white) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* === 辉光按钮效果 === */
.glow-button {
    position: relative;
}

/* === 自定义滚动条 === */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* === 统一的头部导航 === */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--border-primary);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-light);
}

.cta-button {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* === 移动端菜单 === */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-button:active {
    transform: scale(0.95);
}

.mobile-menu {
    display: none;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-primary);
    background: rgba(15, 23, 42, 0.95);
}

.mobile-menu.active {
    display: flex;
    flex-wrap: nowrap; /* 禁止换行 */
    justify-content: flex-start; /* 从左边开始排列 */
    gap: 1rem;
    animation: slideDown 0.3s ease-out;
    overflow-x: auto; /* 允许横向滚动 */
}

.mobile-menu a {
    display: block;
    padding: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 0.8rem; /* 减小字体 */
    background: transparent;
    white-space: nowrap; /* 禁止换行 */
}

.mobile-menu a:hover {
    color: var(--text-white);
    background: transparent;
}

.mobile-menu a.cta-button {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    order: 99; /* 确保下载按钮在最后 */
    white-space: nowrap; /* 禁止换行 */
    flex-shrink: 0; /* 防止按钮收缩 */
    display: none; /* 在移动端隐藏 */
}

.mobile-menu a.cta-button:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

/* 移动端菜单动画 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === 统一的底部 === */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    padding: 2.5rem 0;
    margin-top: 4rem;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* === 内容容器 === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* === 卡片组件 === */
.card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
    transform: translateY(-0.5rem);
    background: rgba(255, 255, 255, 0.08);
}

/* === 按钮组件 === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.btn-success {
    background: var(--success-color);
    color: var(--text-white);
}

.btn-success:hover {
    background: var(--success-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* === 表单元素 === */
.form-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    color: var(--text-white);
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* === 桌面端换行控制 === */
@media (min-width: 769px) {
    .mobile-break {
        display: none;
    }
}

/* === 响应式设计 === */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    
    /* === 移动端首屏优化 === */
    
    /* 首屏整体容器调整 */
    section.min-h-screen {
        min-height: 100vh;
        padding: 6rem 0 2rem 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    /* 移动端标题优化 */
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
        word-break: keep-all;
        hyphens: auto;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .hero-subtitle {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
        word-break: keep-all;
        hyphens: auto;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* 副标题文字调整 */
    .hero-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
        padding: 0 1rem;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
    }
    
    /* 移动端换行控制 - 在小屏幕显示换行 */
    .mobile-break {
        display: inline;
    }
    
    /* 下载按钮区域优化 */
    .hero-buttons {
        margin-top: 1rem !important;
        gap: 1rem !important;
        padding: 0 1rem;
    }
    
    /* 下载按钮样式调整 */
    .glow-button {
        font-size: 1rem !important;
        padding: 1rem 2rem !important;
        width: auto;
        max-width: 280px;
    }
    
    /* 版本信息优化 */
    .hero-buttons .text-center {
        margin-top: 2rem !important;
        padding: 0 1rem;
    }
    
    .hero-buttons .text-center p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.3rem !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    .hero-buttons .text-center p.text-xs {
        font-size: 0.7rem !important;
        margin-top: 0.5rem !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    /* 版本信息框优化 - 移动端自适应 */
    .download-info .flex span {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.4rem !important;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    
    .download-info .flex {
        gap: 0.5rem !important;
        flex-wrap: nowrap;
        overflow-x: hidden;
        padding: 0 0.5rem;
        justify-content: center;
        align-items: center;
    }
    
    /* 滚动按钮区域调整 */
    .absolute.bottom-12 {
        bottom: 6rem !important;
        position: relative !important;
        transform: none !important;
        left: auto !important;
        margin-top: 1rem;
    }
    
    .absolute.bottom-12 .text-slate-400 {
        font-size: 0.75rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* 确保容器不会横向溢出 */
    .hero-content {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* 背景效果在移动端的调整 */
    .absolute.top-0 {
        width: 120% !important;
        left: -10% !important;
        transform: none !important;
    }
}

/* === 全局强制移除边框线样式 === */
.text-center, .text-center p, .text-center div, 
.download-info, .download-info *, 
.hero-buttons .text-center, .hero-buttons .text-center *,
.hero-buttons > div, .hero-content div {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* === 防止移动端横向滚动 === */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 100%;
}

/* === 移动端触摸优化 === */
@media (max-width: 768px) {
    /* 增加触摸目标大小 */
    .mobile-menu a,
    .cta-button,
    .glow-button,
    .modern-scroll-button {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 移动端字体优化 */
    .hero-title,
    .hero-subtitle {
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
    }
    
    /* 移动端安全区域适配 */
    .main-header {
        padding-top: env(safe-area-inset-top);
    }
    
    section.min-h-screen {
        padding-top: calc(6rem + env(safe-area-inset-top));
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .main-footer {
        padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
    }
}

/* === 超小屏幕优化 (小于 480px) === */
@media (max-width: 480px) {
    /* 头部导航优化 */
    .header-content {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
        gap: 0.5rem;
    }
    
    .logo-image {
        width: 24px;
        height: 24px;
    }
    
    /* 首屏容器进一步优化 */
    section.min-h-screen {
        padding: 5rem 0 1rem 0;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    /* 超小屏幕标题 */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.75rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .hero-subtitle {
        font-size: 1.4rem !important;
        line-height: 1.15 !important;
        margin-bottom: 1rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* 副标题进一步调整 */
    .hero-content p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    /* 按钮区域调整 */
    .glow-button {
        font-size: 0.95rem !important;
        padding: 0.9rem 1.8rem !important;
        max-width: 260px;
    }
    
    /* 版本信息进一步优化 */
    .hero-buttons .text-center p {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.25rem !important;
    }
    
    .hero-buttons .text-center p.text-xs {
        font-size: 0.65rem !important;
    }
    
    /* 版本信息框优化 - 中等移动端 */
    .download-info .flex span {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    
    /* 滚动指示器调整 */
    .absolute.bottom-12 .text-slate-400 {
        font-size: 0.7rem !important;
    }
    
    .modern-scroll-button {
        transform: scale(0.85);
    }
}

/* === 横屏模式优化 === */
@media (max-width: 768px) and (orientation: landscape) {
    section.min-h-screen {
        min-height: 100vh;
        padding: 4rem 0 1rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        margin-bottom: 0.5rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .hero-subtitle {
        font-size: 1.6rem !important;
        margin-bottom: 1rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .hero-content p {
        margin-bottom: 1rem !important;
        font-size: 0.85rem !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.4 !important;
    }
    
    .hero-buttons {
        margin-top: 0.5rem !important;
    }
    
    .hero-buttons .text-center {
        margin-top: 1rem !important;
    }
    
    .absolute.bottom-12 {
        margin-top: 2rem;
        bottom: 5rem !important;
    }
}

/* === 特定页面样式 === */
/* 用户指南页面 */
.guide-navigation {
    height: fit-content;
    padding: 0;
}

.guide-nav-title {
    font-weight: 800;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-left: 1rem;
    position: relative;
}

.guide-nav-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.guide-nav-link {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    position: relative;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.guide-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
    border-radius: 0 0.5rem 0.5rem 0;
}

.guide-nav-link:hover {
    color: var(--text-white);
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--primary-color);
    transform: translateX(4px);
}

.guide-nav-link:hover::before {
    width: 3px;
}

.guide-nav-link.active {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.15);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.guide-nav-link.active::before {
    width: 3px;
}

.guide-nav-link i {
    transition: all 0.3s ease;
}

.guide-nav-link:hover i,
.guide-nav-link.active i {
    opacity: 1 !important;
    color: var(--primary-light);
}

/* 移动端导航样式 */
.mobile-guide-nav {
    display: none; /* 停用旧的移动端顶部导航 */
}

.mobile-nav-links {
    display: grid;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-nav-links.show {
    display: grid !important;
}

.mobile-guide-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-guide-link:hover {
    color: var(--text-white);
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--primary-color);
}

.mobile-guide-link.active {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.15);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.mobile-guide-link i {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.mobile-guide-link:hover i,
.mobile-guide-link.active i {
    opacity: 1;
    color: var(--primary-light);
}

.guide-content {
    padding-top: 6rem;
}

.guide-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-secondary);
}

.guide-section:last-child {
    border-bottom: none;
}

.guide-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-primary);
    color: var(--text-white);
}

/* === 快速上手步骤样式 === */
.quick-start-step {
    padding: 1.5rem 0;
}

.quick-start-step:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 2rem;
    width: 10px;
    height: 10px;
    background: rgba(34, 197, 94, 0.3);
    border-radius: 50%;
}

.quick-start-step:last-child {
    border-left: none;
}

.quick-start-step:last-child:before {
    display: none;
}

/* === 指南页面简洁样式 === */
.guide-content-box {
    padding: 1.5rem 0;
}

.guide-feature-section {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-feature-section:last-child {
    border-bottom: none;
}

.guide-image-wrapper {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.guide-image-wrapper img {
    border-radius: 0.5rem;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 8px 32px rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
}

.guide-image-wrapper img:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 12px 48px rgba(0, 212, 255, 0.25);
    transform: translateY(-2px);
}

.code-block {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.code-inline {
    background: var(--bg-tertiary);
    color: var(--success-color);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

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

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    color: var(--text-white);
    padding: 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
}

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

/* === 动画 === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* === 剪映风格的第二屏滚动锁定和渐进式动画 === */

/* 声波背景动画 */
@keyframes floatGentle {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translateY(-20px) scale(1.05);
        opacity: 0.6;
    }
}


/* 第二屏背景容器 */
#second-screen {
    position: relative;
    z-index: 1;
}

/* 移除复杂背景，使用透明设计 */

/* 简洁透明背景装饰 */
.simple-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(79, 70, 229, 0.08), 
        rgba(139, 92, 246, 0.05),
        transparent 70%);
    animation: floatGentle 8s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.floating-circle.delay-1 {
    top: 60%;
    right: 20%;
    width: 150px;
    height: 150px;
    animation-delay: 2.5s;
}

.floating-circle.delay-2 {
    bottom: 20%;
    left: 60%;
    width: 120px;
    height: 120px;
    animation-delay: 5s;
}

/* 简洁的渐进式动画元素 */
.second-screen-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.second-screen-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}




/* 滚动进度指示器 */
.scroll-progress-indicator {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-progress-indicator.active {
    opacity: 1;
    visibility: visible;
}

.progress-dots {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(15, 23, 42, 0.9);
    padding: 15px 10px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.progress-dot.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-color: #4f46e5;
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.6), 0 0 30px rgba(79, 70, 229, 0.3);
    transform: scale(1.3);
}

.progress-dot.completed {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
    transform: scale(1.1);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .scroll-progress-indicator {
        right: 15px;
        transform: translateY(-50%) scale(0.85);
    }
    
    .progress-dots {
        gap: 12px;
        padding: 12px 8px;
    }
    
    .progress-dot {
        width: 12px;
        height: 12px;
    }
    
    .progress-dot.active {
        transform: scale(1.2);
    }
    
    .progress-dot.completed {
        transform: scale(1.05);
    }
    
    /* 移动端动画调整 */
    .second-screen-element {
        transition-duration: 0.6s; /* 移动端更快的动画 */
    }
}



/* 动画完成状态 */
.animation-complete {
    filter: brightness(1.1);
    background: linear-gradient(135deg, 
        rgba(79, 70, 229, 0.05) 0%, 
        rgba(139, 92, 246, 0.08) 50%,
        rgba(79, 70, 229, 0.05) 100%);
    transition: all 0.5s ease;
}

/* === 首屏动画效果 - 剪映风格缩放进入 === */

/* 首屏内容初始状态 */
.hero-content {
    transform: scale(1.2);
    opacity: 0;
    animation: heroZoomIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* === 现代化滚动按钮样式 - 苹果/Google风格 === */

/* 现代滚动按钮 */
.modern-scroll-button {
    opacity: 0;
    transform: translateY(20px);
    animation: modernButtonAppear 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 2.2s;
    cursor: pointer;
}

.modern-scroll-button:hover {
    transform: translateY(-2px) scale(1.05);
}

.modern-scroll-button:active {
    transform: translateY(0) scale(0.98);
}

/* 提示文字动画 */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 1.8s;
}

/* 慢速ping动画 */
@keyframes animate-ping-slow {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.animate-ping-slow {
    animation: animate-ping-slow 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* 首屏缩放进入动画 */
@keyframes heroZoomIn {
    0% {
        transform: scale(1.2);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 现代按钮出现动画 */
@keyframes modernButtonAppear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 淡入上升动画 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 按钮轻柔脉冲动画 */
@keyframes gentle-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-3px);
    }
}

/* 动画重播状态 */
.hero-animation-reset {
    transform: scale(1.2) !important;
    opacity: 0 !important;
    animation: none !important;
}

.hero-animation-replay {
    animation: heroZoomIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

.scroll-indicator-reset {
    opacity: 0 !important;
    transform: translateX(-50%) translateY(20px) !important;
    animation: none !important;
}

.scroll-indicator-replay {
    animation: scrollIndicatorAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
    animation-delay: 2.2s !important;
}

/* 首屏个别元素动画 */
.hero-title {
    transform: translateY(40px);
    opacity: 0;
    animation: fadeInUpHero 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.3s;
    /* 全局文字不换行设置 */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hero-subtitle {
    transform: translateY(40px);
    opacity: 0;
    animation: fadeInUpHero 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.6s;
    /* 全局文字不换行设置 */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hero-buttons {
    transform: translateY(40px);
    opacity: 0;
    animation: fadeInUpHero 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.9s;
}

/* 版本信息动画 - 最后出现 */
.download-info-animated {
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUpHero 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 1.4s; /* 在按钮动画完成后0.5秒出现 */
}


@keyframes fadeInUpHero {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 现代按钮响应式设计 */
@media (max-width: 768px) {
    .modern-scroll-button {
        transform: translateY(15px) scale(0.9);
    }
    
    .modern-scroll-button:hover {
        transform: translateY(-1px) scale(0.95);
    }
    
    /* 移动端调整按钮位置 */
    .absolute.bottom-12 {
        bottom: 7rem;
    }
    
    /* 移动端提示文字 */
    .animate-fade-in-up {
        font-size: 0.8rem;
    }
    
    /* 版本信息框优化 - 大移动端 */
    .download-info .flex span {
        font-size: 0.7rem !important;
        padding: 0.35rem 0.7rem !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .download-info .flex {
        gap: 0.75rem !important;
        flex-wrap: nowrap;
        justify-content: center;
    }
}

/* 响应式适配 */
@media (max-width: 768px) {
    .scroll-progress-indicator {
        right: 15px;
        transform: translateY(-50%) scale(0.8);
    }
    
    .floating-circle {
        width: 120px;
        height: 120px;
    }
    
    .floating-circle.delay-1 {
        width: 100px;
        height: 100px;
    }
    
    .floating-circle.delay-2 {
        width: 80px;
        height: 80px;
    }
    
    /* 移动端首屏动画调整 */
    .hero-content {
        animation-duration: 1.2s;
    }
    
    .scroll-indicator {
        animation-delay: 1s; /* 移动端稍快一点 */
    }
}

/* === 现代化无边框视频播放器样式 === */
.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bg-tertiary);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 4px 16px rgba(0, 212, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 1rem 0;
}

.video-wrapper:hover {
    box-shadow: 
        0 32px 64px -12px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.modern-video-player {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    background: var(--bg-primary);
    border: none;
    outline: none;
    display: block;
    border-radius: 1rem;
}

/* 隐藏默认控件，使用自定义播放按钮 */
.modern-video-player::-webkit-media-controls {
    display: none !important;
}

.modern-video-player::-moz-media-controls {
    display: none !important;
}

.modern-video-player::-ms-media-controls {
    display: none !important;
}

/* 自定义播放覆盖层 */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 1rem;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* 当视频播放时隐藏覆盖层 */
.video-wrapper.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

/* 现代化播放按钮 */
.play-indicator {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 8px rgba(255, 255, 255, 0.1);
    position: relative;
}

.play-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: ripple 2s infinite ease-out;
}

.play-indicator:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 0 0 12px rgba(255, 255, 255, 0.15);
}

.play-indicator:active {
    transform: scale(0.95);
}

.play-indicator i {
    font-size: 2rem;
    margin-left: 4px; /* 稍微偏右，符合播放图标视觉平衡 */
}

/* 涟漪动画 */
@keyframes ripple {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

/* 视频加载状态 */
.video-wrapper.loading .video-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.video-wrapper.loading .play-indicator {
    animation: pulse 1.5s infinite ease-in-out;
}

/* 悬停时显示简洁控件 */
.video-wrapper:hover .modern-video-player {
    filter: brightness(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .play-indicator {
        width: 60px;
        height: 60px;
        box-shadow: 
            0 6px 24px rgba(0, 0, 0, 0.3),
            0 0 0 6px rgba(255, 255, 255, 0.1);
    }
    
    .play-indicator:hover {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.4),
            0 0 0 8px rgba(255, 255, 255, 0.15);
    }
    
    .play-indicator i {
        font-size: 1.5rem;
    }
}

/* 视频缩略图样式 */
.modern-video-player[poster] {
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

/* 播放状态指示器 */
.video-wrapper::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-wrapper.playing::after {
    opacity: 1;
    background: #22c55e;
}

/* 视频标题覆盖 */
.video-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 1rem 1rem;
}

.video-wrapper:hover .video-title-overlay {
    opacity: 1;
}

.video-title-overlay h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* === 第2屏标题断行控制 === */
/* 桌面端显示桌面版本，隐藏移动版本 */
@media (min-width: 768px) {
    .desktop-title,
    .desktop-subtitle {
        display: inline !important;
    }
    .mobile-title,
    .mobile-subtitle {
        display: none !important;
    }
}

/* 移动端显示移动版本，隐藏桌面版本 */
@media (max-width: 767px) {
    .desktop-title,
    .desktop-subtitle {
        display: none !important;
    }
    .mobile-title,
    .mobile-subtitle {
        display: inline !important;
    }
}

/* === 认证页面样式 === */
/* 表单切换动画 */
.auth-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.auth-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 导航栏登录链接样式 */
.nav-link.auth-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link.auth-link i {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-link.auth-link:hover i {
    opacity: 1;
}

/* 已登录用户信息显示 */
.user-menu {
    position: relative;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    padding: 0.5rem;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.user-menu:hover .user-dropdown,
.user-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a,
.user-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.user-dropdown .divider {
    height: 1px;
    background: var(--border-primary);
    margin: 0.5rem 0;
}
