/* ========== 全局样式 ========== */
:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --gray-text: #666;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: var(--dark-text);
    position: relative;
    overflow-x: hidden;
}

/* 确保html和body占据全部高度，防止底部白色 */
html {
    min-height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ========== 视频背景 (PC端 + 移动端智能切换) ========== */
.video-background {
    display: block !important; /* 强制显示，用于调试 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* 视频元素基础样式 */
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* 视频加载状态 */
.video-background video.loading {
    opacity: 0;
}

.video-background video.loaded {
    opacity: 1;
    transition: opacity 1s ease-in;
}

/* PC端视频样式 */
@media (min-width: 769px) {
    .video-background {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }
    
    /* PC端横屏视频 */
    body.device-desktop .video-background video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }
    
    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2); /* 深色半透明遮罩 */
    }
    
    body {
        background: transparent !important; /* PC端使用视频背景 */
    }
}

/* 移动端视频样式 */
@media (max-width: 768px) {
    .video-background {
        display: block !important;
    }
    
    /* 移动端竖屏视频 */
    body.device-mobile .video-background video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: auto;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        object-position: center center;
    }
    
    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3); /* 移动端稍深的遮罩 */
    }
    
    body {
        background: transparent !important; /* 移动端也使用视频背景 */
    }
}

/* 强制移除body的渐变背景（调试用） */
body {
    background: transparent !important;
}

.download-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========== Hero Section ========== */
.hero-section {
    text-align: center;
    padding: 40px 0;
    color: white;
}

.app-icon-wrapper {
    margin-bottom: 15px;  /* 减小间距：20px → 15px */
}

.app-icon {
    width: 140px;    /* 缩小：180px → 140px */
    height: 140px;   /* 缩小：180px → 140px */
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    background: transparent;
    filter: none;
}

.app-icon:hover {
    transform: scale(1.05);
}

/* 文字Logo样式（备用方案） */
.text-logo {
    width: 128px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    font-size: 48px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.text-logo:hover {
    transform: scale(1.05);
}

.app-title {
    font-size: 2rem;  /* 缩小字体：2.5rem → 2rem */
    font-weight: 700;
    margin: 15px 0 8px;  /* 减小间距 */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 20px;
}

/* 移动端下载按钮（在hero-section中） */
.mobile-download-btn {
    display: none;  /* PC端默认隐藏 */
    margin: 5px auto 0;  /* 顶部5px，底部0px，确保无额外间距 */
    padding: 8px 24px;  /* 再次缩小：10px 28px → 8px 24px ⭐ */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 13px;  /* 再次缩小：14px → 13px ⭐ */
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    align-items: center;
    gap: 5px;  /* 再次缩小：6px → 5px ⭐ */
}

.mobile-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.mobile-download-btn i {
    font-size: 13px;  /* 再次缩小：14px → 13px ⭐ */
}

/* ========== Version Card ========== */
.version-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.version-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.version-card.highlight {
    border: 2px solid var(--primary-color);
}

.version-header {
    margin-bottom: 20px;
}

.version-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.platform-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 10px 0;
}

.version-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ========== Version Info ========== */
.version-info {
    margin: 25px 0;
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.info-item .label {
    color: var(--gray-text);
    font-weight: 500;
    font-size: 0.9rem;
}

.info-item .label i {
    margin-right: 6px;
    color: var(--primary-color);
}

.info-item .value {
    color: var(--dark-text);
    font-weight: 600;
}

.info-item .value.small {
    font-size: 0.85rem;
    font-family: monospace;
}

/* ========== Update Notes ========== */
.update-notes {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 4px solid var(--info-color);
}

.update-notes h3 {
    margin: 0 0 15px 0;
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 600;
}

.update-notes h3 i {
    color: var(--info-color);
    margin-right: 8px;
}

.notes-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
    color: var(--gray-text);
}

/* ========== Download Actions ========== */
.download-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    justify-content: center;  /* 按钮居中对齐 */
}

.btn-download {
    flex: 1;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-outline-secondary {
    background: white;
    color: var(--gray-text);
    border: 2px solid var(--border-color);
}

.btn-outline-secondary:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ========== QR Code Section ========== */
.qr-code-section {
    margin-top: 25px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.qr-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--light-bg);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--dark-text);
}

.qr-toggle:hover {
    background: #e9ecef;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.qr-code-content {
    text-align: center;
    padding: 20px;
    margin-top: 15px;
}

#qrcode {
    display: inline-block;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-hint {
    margin-top: 15px;
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* ========== Install Tips ========== */
.install-tips {
    background: #fff3cd;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--warning-color);
    margin-bottom: 30px;
}

.install-tips h3 {
    margin: 0 0 15px 0;
    color: #856404;
    font-size: 1.1rem;
    font-weight: 600;
}

.install-tips h3 i {
    margin-right: 8px;
}

.install-tips ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.install-tips li {
    margin: 10px 0;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 10px;
}

.install-tips li i {
    color: var(--success-color);
}

/* ========== Page Navigation ========== */
.page-nav {
    margin-bottom: 20px;
}

.page-header {
    text-align: center;
    color: white;
    padding: 30px 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========== History Section ========== */
.history-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.history-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.version-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.version-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.version-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.version-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.version-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-title h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-text);
}

.version-code {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.version-date {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.version-item-body {
    padding-top: 15px;
    border-top: 1px solid var(--light-bg);
}

.version-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.meta-item {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.meta-item i {
    margin-right: 5px;
    color: var(--primary-color);
}

.version-notes {
    margin: 15px 0;
}

.version-notes details {
    cursor: pointer;
}

.version-notes summary {
    color: var(--primary-color);
    font-weight: 500;
    padding: 8px 0;
}

.version-notes summary:hover {
    color: var(--primary-dark);
}

.version-actions {
    margin-top: 15px;
}

/* ========== Footer ========== */
.download-footer {
    text-align: center;
    padding: 20px;
    color: white;
    opacity: 0.8;
}

.download-footer p {
    margin: 0;
}

.download-footer a {
    color: white;
    text-decoration: underline;
}

.download-footer a:hover {
    opacity: 0.8;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .version-card {
        padding: 20px;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .download-actions {
        flex-direction: column;
    }
    
    .btn-download {
        width: 100%;
    }
    
    .version-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .version-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .app-icon {
        width: 96px;
        height: 96px;
    }
    
    .app-title {
        font-size: 1.75rem;
    }
    
    .platform-title {
        font-size: 1.5rem;
    }
    
    .version-name {
        font-size: 1.25rem;
    }
}

/* ========== 动画效果 ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.version-card,
.install-tips,
.history-section {
    animation: fadeIn 0.5s ease-out;
}

/* ========== Alert样式 ========== */
.alert {
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-info i {
    margin-right: 8px;
}

/* ========== 右上角下载按钮 ========== */
.floating-download-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.floating-download-btn i {
    font-size: 18px;
}

/* ========== 下载模态框 ========== */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 半透明黑色遮罩 */
    backdrop-filter: blur(8px); /* 背景模糊效果 */
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: rgba(255, 255, 255, 0.30); /* 超级透明：0.45 → 0.30，透明70%！⭐⭐⭐ */
    backdrop-filter: blur(25px);  /* 增强模糊：20px → 25px ⭐ */
    -webkit-backdrop-filter: blur(25px);  /* iOS/Safari支持 ⭐ */
    border-radius: 24px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1rem;
}

/* ========== 平台下载卡片 ========== */
.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.35);  /* 超级透明：0.5 → 0.35，透明65%！⭐⭐⭐ */
    backdrop-filter: blur(20px);  /* 增强模糊：15px → 20px ⭐ */
    -webkit-backdrop-filter: blur(20px);  /* iOS/Safari支持 ⭐ */
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.platform-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 48px;
}

.platform-card:nth-child(1) .platform-icon {
    background: linear-gradient(135deg, #000, #333);
    color: white;
}

.platform-card:nth-child(2) .platform-icon {
    background: linear-gradient(135deg, #3ddc84, #2db56d);
    color: white;
}

.platform-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.platform-version {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
}

.platform-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none; /* 移除button默认边框 */
    cursor: pointer; /* 添加指针样式 */
}

.platform-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.platform-btn i {
    font-size: 20px;
}

.platform-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.platform-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ========== 动画 ========== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    /* 移动端隐藏右上角浮动按钮 */
    .floating-download-btn {
        display: none !important;
    }
    
    /* 移动端显示hero-section中的下载按钮 */
    .mobile-download-btn {
        display: inline-flex !important;
    }
    
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .download-platforms {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .platform-card {
        padding: 30px 20px;
    }
}

/* ========== 功能展示区域 ========== */
.features-showcase {
    display: flex;
    align-items: flex-start;  /* 改为顶部对齐，确保两个卡片高度一致时对齐 */
    justify-content: center;
    gap: 40px;
    max-width: 1300px;  /* 增加最大宽度 */
    margin: 20px auto 0;  /* 再次减小上边距：30px → 20px */
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* 左侧：毛玻璃文字卡片 */
.features-text-card {
    flex: 1;
    max-width: 600px;  /* 再次增大宽度：520px → 600px */
    height: 560px;  /* 设置固定高度，与手机外壳一致 */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);  /* Safari/iOS支持 ⭐ */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* 内容垂直居中 */
}

.features-text-card:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card-content {
    color: white;
}

.features-title {
    font-size: 1.75rem;  /* 缩小字体：2rem → 1.75rem */
    font-weight: 700;
    margin-bottom: 10px;  /* 减小间距 */
    background: linear-gradient(135deg, #fff 0%, #e0e0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    font-size: 0.95rem;  /* 缩小字体 */
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;  /* 减小间距：32px → 24px */
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;  /* 减小间距：20px → 14px */
    flex: 1;  /* 占据剩余空间，确保内容合理分布 */
    justify-content: center;  /* 垂直居中功能列表 */
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;  /* 减小间距 */
    padding: 12px;  /* 减小内边距：16px → 12px */
    border-radius: 14px;  /* 缩小圆角 */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);  /* Safari/iOS支持 ⭐ */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.feature-icon {
    width: 42px;  /* 缩小：48px → 42px */
    height: 42px;
    border-radius: 10px;  /* 缩小圆角 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.feature-icon i {
    font-size: 18px;  /* 缩小图标：20px → 18px */
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-name {
    font-size: 1rem;  /* 缩小字体：1.1rem → 1rem */
    font-weight: 600;
    color: white;
    margin-bottom: 3px;  /* 减小间距 */
}

.feature-desc {
    font-size: 0.85rem;  /* 缩小字体：0.9rem → 0.85rem */
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;  /* 压缩行高 */
}

/* 右侧：手机外壳展示 */
.app-showcase {
    flex: 1;
    max-width: 400px;
    height: 560px;  /* 设置固定高度，与左侧卡片一致 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 280px;  /* 缩小：320px → 280px */
    height: 560px;  /* 缩小：640px → 560px */
    background: linear-gradient(145deg, #2c3e50 0%, #34495e 100%);
    border-radius: 35px;  /* 缩小圆角 */
    padding: 10px;  /* 减小内边距 */
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.phone-mockup:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.15);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    z-index: 10;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.app-screenshot {
    display: block;  /* 移除img默认间隙 */
    width: 100%;
    height: 100%;
    min-height: 100%;  /* 确保最小高度 */
    object-fit: cover;  /* 覆盖填充，自动裁剪适配 */
    object-position: center center;  /* 居中定位 */
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    flex: 1;  /* flex填充父容器 */
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 32px;
    color: white;
    text-align: center;
}

.screenshot-placeholder i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.screenshot-placeholder p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .features-showcase {
        gap: 40px;
        margin-top: 60px;
        padding: 0 30px;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
}

@media (max-width: 767px) {
    /* 移动端紧凑布局优化（仅手机，平板768px+使用PC布局）⭐⭐⭐ */
    body {
        padding: 5px;  /* 极限缩小：10px → 5px ⭐ */
    }
    
    .hero-section {
        padding: 10px 0 0 0;  /* 上10px，下0px - 让按钮和卡片完全紧贴！⭐⭐⭐ */
    }
    
    .app-icon-wrapper {
        margin-bottom: 8px;  /* 进一步缩小：10px → 8px */
    }
    
    .app-icon {
        width: 80px;   /* 缩小：140px → 80px */
        height: 80px;  /* 缩小：140px → 80px */
    }
    
    .app-title {
        font-size: 1.5rem;  /* 缩小：2rem → 1.5rem */
        margin: 6px 0 4px;  /* 进一步缩小间距：8px 0 5px → 6px 0 4px */
    }
    
    .subtitle {
        font-size: 0.95rem;  /* 缩小：1.2rem → 0.95rem */
        margin-bottom: 5px;  /* 进一步缩小：10px → 5px，靠近按钮 */
    }
    
    .features-showcase {
        flex-direction: column;
        align-items: center;  /* 居中对齐 ⭐⭐⭐ */
        gap: 20px;  /* 缩小：40px → 20px */
        margin-top: -25px;  /* 极限紧凑：-15px → -25px，完全贴合！⭐⭐⭐ */
        padding: 0 10px;  /* 缩小：0 20px → 0 10px */
    }
    
    .features-text-card {
        max-width: 100%;
        width: 100%;  /* 全宽显示 ⭐ */
        margin: 0 auto;  /* 居中显示 ⭐⭐⭐ */
        height: auto;
        padding: 12px;  /* 终极缩小：15px → 12px ⭐⭐ */
        backdrop-filter: blur(8px);  /* 再次减少模糊：10px → 8px，更清晰！⭐⭐⭐ */
        -webkit-backdrop-filter: blur(8px);  /* iOS支持 ⭐ */
        background: rgba(255, 255, 255, 0.12);  /* 再次降低：0.15 → 0.12，视频超清晰！⭐⭐⭐ */
    }
    
    .features-title {
        font-size: 1.3rem;  /* 缩小：1.6rem → 1.3rem */
        margin-bottom: 3px;  /* 终极缩小：5px → 3px ⭐⭐ */
    }
    
    .features-subtitle {
        font-size: 0.85rem;  /* 缩小 */
        margin-bottom: 8px;  /* 终极缩小：10px → 8px ⭐⭐ */
    }
    
    .feature-list {
        gap: 6px;  /* 终极缩小：8px → 6px ⭐⭐ */
    }
    
    .feature-item {
        padding: 6px;  /* 终极缩小：8px → 6px ⭐⭐ */
        gap: 6px;  /* 终极缩小：8px → 6px ⭐⭐ */
    }
    
    .feature-icon {
        width: 32px;   /* 极限缩小：36px → 32px ⭐ */
        height: 32px;
        font-size: 16px;  /* 缩小图标：18px → 16px ⭐ */
    }
    
    .feature-name {
        font-size: 1rem;  /* 缩小 */
        margin-bottom: 2px;  /* 终极缩小：3px → 2px ⭐⭐ */
    }
    
    .feature-desc {
        font-size: 0.8rem;  /* 缩小 */
        line-height: 1.4;  /* 紧凑行高 */
    }
    
    /* 移动端隐藏手机壳展示 */
    .app-showcase {
        display: none !important;  /* 移动端不显示手机壳 */
    }
    
    .phone-mockup {
        width: 260px;
        height: 520px;
    }
    
    /* ========== 移动端下载弹窗优化（一页显示+毛玻璃）⭐⭐⭐ ========== */
    .modal-content {
        padding: 15px 12px;  /* 再次缩小：20px 15px → 15px 12px ⭐ */
        max-height: 95vh;  /* 最大高度：90vh → 95vh */
        overflow-y: auto;  /* 允许滚动，但尽量避免 */
        background: rgba(255, 255, 255, 0.30) !important;  /* 超级透明：0.45 → 0.30！⭐⭐⭐ */
        backdrop-filter: blur(25px) !important;  /* 增强模糊：20px → 25px ⭐⭐⭐ */
        -webkit-backdrop-filter: blur(25px) !important;  /* iOS/Safari支持 ⭐ */
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);  /* 增强阴影 ⭐ */
    }
    
    .modal-title {
        font-size: 1.3rem;  /* 再次缩小：1.5rem → 1.3rem ⭐ */
        margin-bottom: 3px;  /* 再次缩小：5px → 3px ⭐ */
    }
    
    .modal-subtitle {
        font-size: 0.8rem;  /* 再次缩小：0.85rem → 0.8rem ⭐ */
        margin-bottom: 15px;  /* 再次缩小：20px → 15px ⭐ */
    }
    
    .download-platforms {
        gap: 12px;  /* 再次缩小：15px → 12px ⭐ */
        grid-template-columns: 1fr;  /* 单列显示 */
        margin-top: 10px;  /* 缩小顶部间距 ⭐ */
    }
    
    .platform-card {
        padding: 15px 12px;  /* 再次缩小：20px 15px → 15px 12px ⭐ */
        background: rgba(255, 255, 255, 0.35) !important;  /* 超级透明：0.5 → 0.35！⭐⭐⭐ */
        backdrop-filter: blur(20px) !important;  /* 增强模糊：15px → 20px ⭐ */
        -webkit-backdrop-filter: blur(20px) !important;  /* iOS支持 ⭐ */
    }
    
    .platform-icon {
        width: 45px;  /* 再次缩小：50px → 45px ⭐ */
        height: 45px;
        margin: 0 auto 8px;  /* 再次缩小：10px → 8px ⭐ */
        font-size: 26px;  /* 再次缩小：30px → 26px ⭐ */
    }
    
    .platform-name {
        font-size: 1rem;  /* 再次缩小：1.1rem → 1rem ⭐ */
        margin-bottom: 3px;  /* 再次缩小：5px → 3px ⭐ */
    }
    
    .platform-version {
        font-size: 0.75rem;  /* 再次缩小：0.8rem → 0.75rem ⭐ */
        margin-bottom: 5px;  /* 再次缩小：8px → 5px ⭐ */
    }
    
    .platform-desc {
        font-size: 0.8rem;  /* 再次缩小：0.85rem → 0.8rem ⭐ */
        margin-bottom: 12px;  /* 再次缩小：15px → 12px ⭐ */
    }
    
    .platform-btn {
        padding: 8px 20px;  /* 再次缩小：10px 24px → 8px 20px ⭐ */
        font-size: 0.85rem;  /* 再次缩小：0.9rem → 0.85rem ⭐ */
    }
    
    .modal-close {
        width: 30px;  /* 缩小：40px → 30px */
        height: 30px;
        top: 10px;  /* 缩小：20px → 10px */
        right: 10px;
        font-size: 16px;  /* 缩小：20px → 16px */
    }
}

@media (max-width: 480px) {
    .features-showcase {
        margin-top: 30px;
        padding: 0 15px;
    }
    
    .features-text-card {
        padding: 24px;
    }
    
    .features-title {
        font-size: 1.4rem;
    }
    
    .features-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon i {
        font-size: 18px;
    }
    
    .feature-name {
        font-size: 1rem;
    }
    
    .feature-desc {
        font-size: 0.85rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}
