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

:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --accent: #06B6D4;
    --background: #F0FDF4;
    --background-light: #DCFCE7;
    --foreground: #1F2937;
    --muted: #6B7280;
    --card-bg: #F9FAFB;
    --border: #D1D5DB;
    --white: #FFFFFF;
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--foreground);
    background: #FFFFFF;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    max-width: 100%;
    padding: 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--primary);
}

.logo img {
    width: 40px;
    height: 40px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.nav-menu {
    display: none;
    gap: 0.5rem;
    margin-left: auto;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #1f2937;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9375rem;
    border: 1px solid rgba(229, 231, 235, 0.6);
    background: rgba(255, 255, 255, 0.5);
}

.nav-item:hover {
    background: rgba(240, 253, 244, 0.8);
    color: var(--primary);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.nav-item.active {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 8px;
    line-height: 1;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s;
}

/* 移动端菜单展开状态 */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
}

/* Hero 区域 */
.hero {
    padding: 6rem 0 4rem;
    background: #FFFFFF;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero-image {
    position: relative;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(13, 159, 110, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: var(--radius);
    border: 2px solid rgba(13, 159, 110, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.play-icon {
    width: 80px;
    height: 80px;
    color: var(--primary);
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 159, 110, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

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

.btn-white:hover {
    background: #FFFFFF;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

/* 区块样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted);
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

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

.grid-3 {
    grid-template-columns: 1fr;
}

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

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

.grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 卡片 */
.card {
    background: #FFFFFF;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(13, 159, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--muted);
    line-height: 1.6;
}

/* 场景区块 */
.scenarios {
    padding: 4rem 0;
    background: #FFFFFF;
}

/* 功能区块 */
.features {
    padding: 4rem 0;
    background: var(--card-bg);
}

/* 合作伙伴 */
.partners {
    padding: 4rem 0;
    background: #FFFFFF;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.partner-card {
    position: relative;
    background: var(--white);
    border: 2px solid;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.partner-card .badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.border-pink { border-color: #EC4899; }
.border-blue { border-color: #3B82F6; }
.border-orange { border-color: #F97316; }
.border-green { border-color: #10B981; }
.border-red { border-color: #EF4444; }
.border-cyan { border-color: #06B6D4; }

/* 用户评价 */
.testimonials {
    padding: 4rem 0;
    background: var(--card-bg);
}

.testimonial-card {
    background: #FFFFFF;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar {
    width: 48px;
    height: 48px;
    background: rgba(13, 159, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.role {
    font-size: 0.875rem;
    color: var(--muted);
}

blockquote {
    font-style: italic;
    color: var(--muted);
    line-height: 1.8;
}

/* CTA 区域 */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

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

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

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

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

.footer-info p {
    margin: 0.25rem 0;
}

/* 页面标题 */
.page-header {
    padding: 6rem 0 3rem;
    text-align: center;
    background: #FFFFFF;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--muted);
}

/* 下载页面 */
.download-section {
    padding: 4rem 0;
}

.download-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.download-icon {
    width: 64px;
    height: 64px;
    background: rgba(13, 159, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.download-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.download-card h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.version {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.description {
    text-align: center;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.file-info {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 1rem;
}

.code-block {
    background: var(--foreground);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.system-requirements {
    margin-top: 4rem;
}

.system-requirements h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.requirement-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.requirement-card h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.requirement-card ul {
    list-style: none;
}

.requirement-card li {
    padding: 0.25rem 0;
    color: var(--muted);
}

/* 教程页面 */
.tutorial-section {
    padding: 4rem 0;
}

.tutorial-block {
    margin-bottom: 4rem;
}

.tutorial-block h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--muted);
    line-height: 1.6;
}

.step-content a {
    color: var(--primary);
    text-decoration: none;
}

.step-content a:hover {
    text-decoration: underline;
}

/* 手风琴 */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #FFFFFF;
}

.accordion-header h3 {
    font-size: 1.125rem;
    margin: 0;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.accordion-content {
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    margin-bottom: 1rem;
}

.accordion-content ul,
.accordion-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.accordion-content li {
    margin: 0.5rem 0;
    color: var(--muted);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.faq-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.faq-item p {
    color: var(--muted);
    line-height: 1.6;
}

/* 支持盒子 */
.support-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.support-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.support-box p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.support-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* 模板页面 */
.templates-section {
    padding: 4rem 0;
}

.template-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.template-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.template-icon {
    width: 48px;
    height: 48px;
    background: rgba(13, 159, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.template-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.template-content {
    flex: 1;
}

.template-desc {
    color: var(--muted);
    margin-bottom: 1rem;
}

.template-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.template-content ul {
    list-style: none;
    margin-bottom: 1rem;
}

.template-content li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--muted);
    font-size: 0.875rem;
}

.template-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.template-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.custom-template-box {
    background: #FFFFFF;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.custom-template-box h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.custom-template-box p {
    color: var(--muted);
    margin-bottom: 2rem;
}

/* 视频页面 */
.videos-section {
    padding: 4rem 0;
}

.video-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(13, 159, 110, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.video-thumbnail:hover {
    background: linear-gradient(135deg, rgba(13, 159, 110, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.play-btn {
    width: 64px;
    height: 64px;
    color: var(--primary);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.video-duration {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* 联系页面 */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(13, 159, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--muted);
    margin: 0.25rem 0;
}

.text-sm {
    font-size: 0.875rem;
}

/* 表单 */
.contact-form-wrapper,
.feedback-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-form-wrapper h2,
.feedback-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-hint {
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

/* 反馈页面 */
.feedback-section {
    padding: 4rem 0;
}

.feedback-intro {
    margin-bottom: 2rem;
}

.feedback-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feedback-intro p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.feedback-tips {
    list-style: none;
    margin: 1rem 0;
}

.feedback-tips li {
    padding: 0.5rem 0;
    color: var(--muted);
}

.common-feedback {
    margin-top: 4rem;
}

.common-feedback h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.feedback-stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: var(--muted);
    font-size: 0.875rem;
}

.recent-feedback {
    margin-top: 3rem;
}

.recent-feedback h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feedback-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.timeline-date {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--primary);
}

.timeline-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--muted);
}

/* 动画 */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 下载页面大卡片 */
.download-main {
    max-width: 800px;
    margin: 0 auto;
}

.download-card-large {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
}

.download-card-large h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.download-card-large .feature-section {
    text-align: left;
    margin: 2rem 0;
}

.download-card-large .feature-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.installation-guide {
    margin-top: 4rem;
}

.installation-guide h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-section {
    margin-top: 4rem;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* 教程页面增强样式 */
.info-box {
    background: #FFFFFF;
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: var(--radius);
}

.info-box p {
    margin-bottom: 1rem;
}

.requirement-list {
    list-style: none;
    margin: 1rem 0;
}

.requirement-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.requirement-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.note-box {
    background: #FFF7ED;
    border-left: 4px solid #F97316;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--radius);
}

.note-box h4 {
    color: #F97316;
    margin-bottom: 0.75rem;
}

.note-box ul {
    margin-left: 1.5rem;
}

.note-box li {
    margin: 0.5rem 0;
}

.warning-box {
    background: #FEF2F2;
    border-left: 4px solid #EF4444;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--radius);
}

.warning-box h4 {
    color: #EF4444;
    margin-bottom: 0.75rem;
}

.feature-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.feature-box h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.config-list {
    list-style: none;
    margin: 1rem 0;
}

.config-list li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.config-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
}

.code-example {
    background: var(--foreground);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.code-example code {
    color: #10B981;
}

.config-detail {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--radius);
}

.config-detail h6 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.config-detail ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.config-detail li {
    margin: 0.5rem 0;
    color: var(--muted);
}

.prompt-template {
    margin: 1.5rem 0;
}

.prompt-template h6 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.prompt-template pre {
    background: var(--foreground);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    line-height: 1.6;
}

.prompt-template code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.save-tip {
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    margin: 2rem 0;
}

/* FFmpeg 下载区域样式 */
.ffmpeg-section {
    margin-top: 3rem;
}

.ffmpeg-card {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.ffmpeg-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ffmpeg-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.ffmpeg-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--foreground);
}

.ffmpeg-subtitle {
    color: var(--muted);
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
}

.ffmpeg-info {
    margin-bottom: 1.5rem;
}

.ffmpeg-info p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.ffmpeg-status {
    background: #FFFFFF;
    border-left: 4px solid #F59E0B;
    padding: 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ffmpeg-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.ffmpeg-buttons .btn {
    flex: 1;
    min-width: 200px;
}

.ffmpeg-progress {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
    margin: 0;
}

.ffmpeg-manual {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.ffmpeg-manual details {
    cursor: pointer;
}

.ffmpeg-manual summary {
    font-weight: 600;
    color: var(--primary);
    padding: 0.5rem 0;
    user-select: none;
}

.ffmpeg-manual summary:hover {
    color: var(--primary-dark);
}

.manual-content {
    padding: 1rem 0;
    color: var(--muted);
}

.manual-content h4 {
    color: var(--foreground);
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1rem;
}

.manual-content h4:first-child {
    margin-top: 0.5rem;
}

.manual-content ol {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
}

.manual-content li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.manual-content code {
    background: var(--foreground);
    color: #10B981;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.manual-content a {
    color: var(--primary);
    text-decoration: none;
}

.manual-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .ffmpeg-header {
        flex-direction: column;
        text-align: center;
    }
    
    .ffmpeg-buttons {
        flex-direction: column;
    }
    
    .ffmpeg-buttons .btn {
        width: 100%;
    }
}

/* 社交媒体链接样式 */
.footer-brand {
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 0.5rem 0;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    color: #10b981;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #10b981;
    color: white;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-tip {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

/* 页脚完整样式 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-section p {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary);
}
