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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand .navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.navbar-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navbar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-menu a:hover {
    color: var(--primary-color);
}

.navbar-download {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    line-height: 1.5;
}

.navbar-download:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.navbar-download::after {
    width: 100% !important;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 0 60px;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.hero-preview {
    position: relative;
    animation: fadeInRight 1s ease-out;
    perspective: 1500px;
}

/* 3D手机容器 */
.preview-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

/* 手机外壳 */
.phone-mockup {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 19;
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotateY(-10deg) rotateX(2deg) scale(1.02);
}

/* 刘海屏 */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background: #1e1e1e;
    border-radius: 0 0 20px 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-notch::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

.phone-notch::after {
    content: '';
    width: 60px;
    height: 6px;
    background: #2a2a2a;
    border-radius: 10px;
}

/* 屏幕 */
.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* 截图容器 */
.phone-screenshots {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
}

.phone-screenshots img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.phone-screenshots img.active {
    display: block;
    animation: fadeInScale 0.5s ease;
}

/* 音量键和电源键 */
.phone-mockup::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 25%;
    width: 4px;
    height: 50px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 2px 0 0 2px;
    box-shadow: inset -1px 0 2px rgba(0, 0, 0, 0.5);
}

.phone-mockup::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 30%;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 0 2px 2px 0;
    box-shadow: inset 1px 0 2px rgba(0, 0, 0, 0.5);
}

/* 背景装饰圆圈 */
.preview-decoration {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
}

.preview-decoration:nth-child(1) {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.preview-decoration:nth-child(2) {
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite 2s;
}

/* 占位符 */
.preview-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    padding: 40px;
}

.preview-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* APP预览图轮播 */
.preview-slider {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    height: 600px;
    overflow: hidden;
    border-radius: 35px;
    z-index: 1;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.1),
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: #000;
}

.preview-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.preview-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.preview-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: fadeIn 0.6s ease-in;
}

.preview-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.preview-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

/* ========================================
   功能卡片区域
   ======================================== */
.features-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.feature-category {
    margin-bottom: 80px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.category-icon {
    font-size: 36px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-icon {
    font-size: 48px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.feature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.meta-tag {
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-tag.auth {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.meta-tag.vpn {
    background: rgba(240, 147, 251, 0.1);
    color: var(--accent-color);
}

.meta-tag.badge {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: var(--white);
}

.meta-tag.status-released {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-tag.status-released::before {
    content: '✓';
    font-weight: bold;
    font-size: 14px;
}

.meta-tag.status-development {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-tag.status-development::before {
    content: '⟳';
    font-size: 14px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 15px;
}

/* ========================================
   主题预览区域
   ======================================== */
.showcase-section {
    padding: 100px 0;
    background: var(--white);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.showcase-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    background: #000;
    aspect-ratio: 9/16;
}

.showcase-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: var(--transition);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.showcase-image[src] {
    animation: fadeIn 0.5s ease-in;
}

.showcase-item:hover .showcase-image {
    transform: scale(1.05);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    padding: 40px 25px 25px;
    transform: translateY(calc(100% - 70px));
    transition: var(--transition);
    color: var(--white);
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 70%, rgba(0,0,0,0.3) 100%);
}

.showcase-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.showcase-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.showcase-item:hover .showcase-desc {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   版本对比区域
   ======================================== */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 3px solid var(--primary-color);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.07);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: var(--white);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.pricing-price small {
    font-size: 24px;
    color: var(--text-light);
}

.pricing-period {
    color: var(--text-light);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .icon {
    font-size: 18px;
}

.pricing-features .check {
    color: #10b981;
}

.pricing-features .cross {
    color: #ef4444;
}

.pricing-features .new {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.pricing-features .hot {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.pricing-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   更新日志区域
   ======================================== */
.changelog-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    position: relative;
    overflow: hidden;
}

.changelog-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.changelog-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

/* 时间线主线 */
.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
}

.changelog-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 80px;
    animation: fadeInUp 0.6s ease-out;
}

.changelog-item:last-child {
    margin-bottom: 0;
}

/* 版本节点 */
.changelog-dot {
    position: absolute;
    left: 15px;
    top: 8px;
    width: 33px;
    height: 33px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2), var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 2;
    transition: var(--transition);
}

.changelog-item:hover .changelog-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(102, 126, 234, 0.3), var(--shadow-lg);
}

/* 主要版本（大版本）特殊标记 */
.changelog-item.major .changelog-dot {
    border-color: #f093fb;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.changelog-item.major .version-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

/* 内容卡片 */
.changelog-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.changelog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.changelog-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
}

/* 版本头部 */
.changelog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    cursor: pointer;
    transition: var(--transition);
    padding: 10px;
    margin: -10px -10px 20px -10px;
    border-radius: 12px;
}

.changelog-header:hover {
    background: rgba(102, 126, 234, 0.05);
}

.changelog-header .header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    flex: 1;
}

.changelog-header .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.expand-hint {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    opacity: 0.7;
}

.toggle-icon {
    font-size: 16px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.changelog-item.expanded .toggle-icon {
    transform: rotate(180deg);
}

.changelog-item.collapsed .toggle-icon {
    transform: rotate(0deg);
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.version-badge.latest {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
}

.version-badge i {
    font-size: 16px;
}

.new-badge {
    display: inline-block;
    background: #ffd93d;
    color: #333;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.version-date {
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.version-date i {
    color: var(--primary-color);
}

.version-type {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.version-type.major {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: var(--white);
}

.version-type.minor {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: var(--white);
}

.version-type.patch {
    background: linear-gradient(135deg, #ffd93d, #f6c244);
    color: #333;
}

/* 折叠内容区域 */
.changelog-content {
    overflow: hidden;
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.changelog-item.collapsed .changelog-content {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.changelog-item.expanded .changelog-content {
    max-height: 2000px;
    opacity: 1;
    margin-top: 0;
}

.changelog-item.collapsed .changelog-header {
    margin-bottom: 0;
}

/* 版本标题 */
.changelog-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.changelog-description {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 25px;
}

/* 新功能列表 */
.changelog-features {
    margin-bottom: 20px;
}

.features-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.features-header i {
    color: #ffd93d;
    font-size: 18px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
    transform: translateX(5px);
}

.feature-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 修复列表 */
.changelog-fixes {
    margin-top: 20px;
}

.fixes-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fixes-title i {
    color: #10b981;
    font-size: 16px;
}

.fixes-list {
    list-style: none;
    padding: 0;
}

.fixes-list li {
    padding: 8px 0 8px 30px;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    line-height: 1.6;
}

.fixes-list li::before {
    content: '✓';
    position: absolute;
    left: 8px;
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}

/* 下载按钮 */
.changelog-download {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed rgba(102, 126, 234, 0.2);
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.download-latest-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.download-latest-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.download-latest-btn:hover::before {
    left: 100%;
}

.download-latest-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.download-size {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-left: auto;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* 查看更多按钮容器 */
.expand-all-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed rgba(102, 126, 234, 0.2);
}

.expand-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.expand-all-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.expand-all-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.expand-all-btn:hover i {
    transform: rotate(360deg);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .changelog-timeline::before {
        left: 20px;
    }
    
    .changelog-dot {
        left: 5px;
        width: 30px;
        height: 30px;
    }
    
    .changelog-item {
        padding-left: 60px;
        margin-bottom: 40px;
    }
    
    .changelog-card {
        padding: 20px;
    }
    
    .changelog-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .changelog-header .header-left {
        width: 100%;
    }
    
    .changelog-header .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .version-badge {
        font-size: 16px;
        padding: 6px 14px;
    }
    
    .changelog-title {
        font-size: 20px;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .changelog-download {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .download-latest-btn {
        width: 100%;
        justify-content: center;
    }
    
    .expand-all-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   统计数据区域
   ======================================== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #1a202c;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   下载区域
   ======================================== */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: var(--white);
    text-align: center;
}

.download-content {
    max-width: 1000px;
    margin: 0 auto;
}

.download-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.download-qrcode {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.download-qrcode:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.download-qrcode img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    display: block;
}

.download-hint {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 320px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.download-btn:active {
    transform: translateY(-1px) scale(1.01);
}

.download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.download-btn:disabled:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.download-btn i {
    font-size: 48px;
    transition: var(--transition);
}

.android-btn i {
    color: #3ddc84;
}

.ios-btn i {
    color: #555;
}

.download-btn:hover i {
    transform: scale(1.1) rotate(5deg);
}

.download-btn:disabled i {
    transform: none !important;
}

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

.btn-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.btn-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.coming-soon {
    color: #f59e0b;
    font-weight: 600;
    font-style: italic;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-slider {
        max-width: 280px;
        height: 550px;
    }
    
    .download-content-wrapper {
        gap: 40px;
    }
    
    .download-buttons {
        min-width: 280px;
    }
    
    .download-btn {
        padding: 16px 24px;
    }
    
    .download-btn i {
        font-size: 40px;
    }
    
    .btn-title {
        font-size: 18px;
    }
    
    .download-qrcode img {
        width: 200px;
        height: 200px;
    }
    
    .preview-card {
        padding: 20px;
        min-height: 450px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* ========================================
   加载动画
   ======================================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ========================================
   自定义弹窗样式
   ======================================== */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1;
}

.custom-modal.active .modal-content {
    transform: scale(1);
}

.modal-content.modal-large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(85vh - 100px);
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px;
}

.modal-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: #667eea;
}

.modal-body p {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.8;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body ul li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.8;
}

.modal-body a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal-body a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
        max-height: calc(90vh - 80px);
    }
}

