/* 全局CSS变量 - 更新为红黑配色 */
:root {
    /* 基础颜色 */
    --primary: #FF4D4D;
    --primary-dark: #E53E3E;
    --primary-light: #FF7676;
    --primary-transparent: rgba(255, 77, 77, 0.15);
    --secondary: #1E1E2E;
    --secondary-hover: #2C2C3E;
    
    /* 界面颜色 */
    --background: #121212;
    --foreground: #F5F5F5;
    --border: #333333;
    --card-bg: #1A1A1A;
    --card-hover: #252525;
    
    /* 阴影效果 */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    
    /* 动画时间 */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
    
    /* 尺寸 */
    --container-width: 1300px;
    --header-height: 70px;
    --border-radius: 8px;
    
    /* 字体 */
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    /* 启用平滑滚动 */
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
    margin-bottom: 1rem;
    }
    
h1 {
    font-size: 2.5rem;
    }

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast) ease;
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    transition: transform var(--transition-normal) ease;
    }
    
button, .btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    transition: all var(--transition-fast) ease;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    }

.btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.secondary-btn:hover {
    background-color: var(--primary-transparent);
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* 导航菜单 */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient(to right, rgba(18, 18, 18, 0.97), rgba(30, 30, 46, 0.97));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal) ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, rgba(18, 18, 18, 0.98), rgba(30, 30, 46, 0.98));
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--foreground);
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 0.75rem;
    filter: drop-shadow(0 2px 4px rgba(255, 77, 77, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40px;
    align-items: center;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        #FF7676 25%, 
        #FFEDED 50%, 
        #FF7676 75%, 
        var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: light-effect 5s linear infinite;
    text-shadow: 0 0 5px rgba(255, 77, 77, 0.3);
    will-change: background-position;
    transform: translateZ(0);
}

.website {
    font-size: 1rem;
    color: var(--primary-light);
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;  /* Uniform gap */
    flex-wrap: nowrap;
    overflow-x: auto;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all var(--transition-fast) ease;
    }

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    }
    
/* 垂直滑块布局 */
.vertical-slider {
    height: 100vh;
    overflow-y: auto;
    /* 移除了 scroll-snap-type: y mandatory; 以消除磁吸效果 */
    scroll-behavior: smooth;
    scrollbar-width: none; /* 隐藏Firefox滚动条 */
    -ms-overflow-style: none; /* 隐藏IE滚动条 */
}

.vertical-slider::-webkit-scrollbar {
    display: none; /* 隐藏Chrome/Safari滚动条 */
}

.section {
    position: relative;
    min-height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 移除了 scroll-snap-align: start; 以消除磁吸效果 */
    padding: var(--header-height) 2rem 4rem 2rem;
}

.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-down-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 2;
    color: var(--primary);
    /*animation: bounce 2s infinite;*/
    transition: all var(--transition-fast) ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
}
}

/* 页面导航指示器 */
.page-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.indicator-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.indicator-container::after {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
    z-index: -1;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast) ease;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.indicator-dot::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(30, 30, 46, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast) ease;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

.indicator-dot:hover::before {
    opacity: 1;
    visibility: visible;
}

.indicator-dot:hover,
.indicator-dot.active {
    background-color: var(--primary);
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: opacity var(--transition-normal) ease;
    z-index: 10;
}

.scroll-indicator.hidden {
    opacity: 0;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--foreground);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 6px;
    height: 10px;
    background-color: var(--foreground);
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s infinite;
}

@keyframes wheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
    }
    
.scroll-text {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: var(--foreground);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
        justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: all var(--transition-fast) ease;
    color: var(--foreground);
    border: none;
    }
    
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    }

.back-to-top:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-5px);
}

/* 英雄区域 */
    .hero {
    display: flex;
    min-height: 100vh;
    align-items: center;
    background: linear-gradient(120deg, #1A1A1A, #121212); /* 主要背景渐变 */
}

.hero .section-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    }
    
.hero-content {
    flex: 1;
    max-width: 550px;
    }
    
.software-title {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.software-title h1 {
    color: var(--primary);
    margin-bottom: 0;
    line-height: 1;
}
    
.software-icon {
    width: 48px;
    height: 48px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
    
.product-description {
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
    display: flex;
        gap: 1rem;
    margin-top: 2rem;
    }
    
    .hero-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 700px;
    }
    
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transform: none;
    transition: all var(--transition-normal) ease;
    width: 100%;
}

.image-wrapper:hover {
    transform: none;
}

.watermarked {
        display: block;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    transition: transform var(--transition-normal) ease;
}

/* 功能特点区域 */
.features {
    background: linear-gradient(120deg, #1A1A1A, #121212); /* 统一使用主背景渐变 */
}

.features .section-container {
    padding: 4rem 2rem;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    position: relative;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: transform var(--transition-normal) ease, box-shadow var(--transition-normal) ease;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform var(--transition-normal) ease;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* 视频演示区域 */
.video-section {
    background: linear-gradient(120deg, #1A1A1A, #121212); /* 统一使用主背景渐变 */
}

/* 视频加载指示器 */
.video-loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 5;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    color: white;
    font-size: 1rem;
    text-align: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
    }
    
.video-container-full {
    position: relative;
        width: 100%;
    margin: 0 auto;
    height: 0;
    padding-bottom: 56.25%; /* 16:9宽高比 */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.8); /* 深色背景 */
    transition: background-color var(--transition-normal) ease;
}

.video-placeholder:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.play-button {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 77, 77, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: var(--shadow);
    transition: transform var(--transition-fast) ease, background-color var(--transition-fast) ease;
}

.play-button:hover {
    transform: scale(1.1);
    background-color: var(--primary);
}

.play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 常见问题区域 */
.faq {
    background: linear-gradient(120deg, #1A1A1A, #121212); /* 统一使用主背景渐变 */
    padding: 4rem 0;
}

.faq-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition-normal) ease, box-shadow var(--transition-normal) ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: background-color var(--transition-fast) ease;
    }
    
.faq-question h3 {
    margin: 0;
    }

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    overflow: hidden;
        opacity: 1;
    max-height: none;
    }

.faq-item.expanded .faq-answer {
    opacity: 1;
    max-height: none;
}

/* 确保常见问题区域与其他区域对齐 */
.faq .section-container {
    padding: 0 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 768px) {
    .faq .section-container {
        padding: 0 1rem;
}

    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
}
}

/* 页脚 */
.footer {
    padding: 2rem 0;
    background: linear-gradient(120deg, #1A1A1A, #121212); /* 统一使用主背景渐变 */
    margin-top: auto;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.copyright-line {
    color: #999;
    font-size: 0.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.copyright-line a {
    color: #999;
    transition: color var(--transition-fast) ease;
}

.copyright-line a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.separator {
    color: #444;
}

/* 动画效果 */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    }

.animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

[data-aos] {
        opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(0);
    }

[data-aos="fade-down"] {
        transform: translateY(0);
    }

[data-aos="fade-left"] {
        transform: translateX(0);
    }
    
[data-aos="fade-right"] {
    transform: translateX(0);
    }
    
[data-aos].aos-animate {
        opacity: 1;
    transform: translateX(0) translateY(0);
}

/* 模态窗口样式 */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1100;
    align-items: center;
    justify-content: center;
}

.download-modal-content {
    width: 90%;
    max-width: 550px;
    background-color: #1A1A1A;
    border-radius: var(--border-radius);
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.download-modal-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.download-modal-header h3 {
    font-size: 1.2rem;
    color: var(--foreground);
    font-weight: 600;
    margin: 0;
}

.download-modal-close {
    background: none;
    border: none;
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
}

.download-modal-close:hover {
    color: var(--foreground);
    background-color: rgba(255, 255, 255, 0.1);
}

.download-modal-body {
    padding: 2rem;
}

.download-modal-message {
    text-align: center;
    margin-bottom: 1.5rem;
    }

.download-modal-message p {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    }

.download-modal-tip {
    color: #999;
    font-size: 0.9rem;
    }
    
.download-modal-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 2rem 1rem;
    }

.download-modal-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.download-modal-download {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 77, 77, 0.3);
    }

.download-modal-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 77, 77, 0.4);
    background-color: var(--primary-dark);
}

.download-modal-tutorial {
    background-color: #2A2A3A;
    color: var(--foreground);
    border: 1px solid #444;
}

.download-modal-tutorial:hover {
    transform: translateY(-2px);
    background-color: #333344;
}

.download-modal-note {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0 2rem 1rem;
}

.download-modal-note p {
    font-size: 0.85rem;
    color: #777;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    :root {
        --container-width: 100%;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero .section-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content,
    .hero-image {
    width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 100%;
    }
    
    h1 {
        font-size: 2rem;
}

    h2 {
        font-size: 1.5rem;
}

    .section {
        min-height: auto;
    }
    
    .section-container {
        padding: 3rem 1.5rem;
}

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
}

    .hero-buttons .btn {
    width: 100%;
    }
    
    .website {
        display: none;
}

    /* 非首页区域上下间距调整 */
    .section:not(.hero) {
        min-height: auto;
        padding: 2rem 0;
}

    /* 确保所有区域在小屏幕上都是整屏显示 */
    .features .section-container {
        padding: 2rem 1rem;
    }
}

/* 性能优化 */
@supports (content-visibility: auto) {
    .section:not(.hero) {
        content-visibility: auto;
        contain-intrinsic-size: 1px 800px;
    }
}

/* 避免布局偏移 */
img, video {
    aspect-ratio: attr(width) / attr(height);
}

/* 减少GPU使用的高性能动画 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .vertical-slider {
        scroll-snap-type: none;
}
}

/* 视频加载指示器 */
.video-loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 5;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
    }
    
.loading-text {
    color: white;
    font-size: 1rem;
        text-align: center;
}

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

/* 光效动画关键帧 */
@keyframes light-effect {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Pricing Section */
.pricing {
    background: linear-gradient(120deg, #1A1A1A, #121212);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: linear-gradient(135deg, #1E1E2E, #121212);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;  /* Increased top/bottom padding */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 420px;  /* Increased height */
    border: 1px solid #333;  /* Added subtle border */
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255,77,77,0.3);  /* Stronger hover shadow */
}

.pricing-discount {
    font-size: 1.1rem;
    color: var(--primary-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.pricing-card:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,77,77,0.05), rgba(255,77,77,0));
    pointer-events: none;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #EF6C00;  /* Deep orange */
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.pricing-price .price-main {
    font-size: 2.2rem;
    color: var(--primary);
}

.pricing-features {
    text-align: center;  /* Center features */
    margin: 1.5rem 0;
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s ease;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;  /* Center list items */
    color: var(--foreground);
}

.pricing-features li:hover {
    background: rgba(255,255,255,0.05);
}

.check-icon {
    color: #4CAF50;
    font-weight: bold;
}

.pricing-btn {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;  /* Uniform gap */
    flex-wrap: nowrap;
    overflow-x: auto;
}

.side-nav-link {
    padding: 0.8rem 1.5rem;  /* Consistent size */
    white-space: nowrap;
}