/* ==========================================
   穿梭VPN - 全局样式
   ========================================== */

/* --- CSS 变量 --- */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f28;
    --bg-card: #16163a;
    --bg-card-hover: #1e1e4a;
    --text-primary: #ffffff;
    --text-secondary: #a5a5c8;
    --text-tertiary: #6b6b8a;
    --accent: #4F46E5;
    --accent-light: #6366F1;
    --accent-glow: rgba(79, 70, 229, 0.3);
    --gradient-1: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-2: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
    --gradient-3: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- 导航栏 --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.06);
}

.nav-download-btn {
    background: var(--gradient-1);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 8px;
    transition: var(--transition);
}

.nav-download-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: heroFloat 8s ease-in-out infinite;
}

.gradient-1 {
    width: 600px;
    height: 600px;
    background: #4F46E5;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.gradient-2 {
    width: 400px;
    height: 400px;
    background: #EC4899;
    bottom: -100px;
    left: -50px;
    animation-delay: -4s;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: rgba(79, 70, 229, 0.12);
    border: 1px solid rgba(79, 70, 229, 0.25);
    border-radius: 50px;
    font-size: 14px;
    color: var(--accent-light);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 按钮 --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--gradient-1);
    color: white;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Hero Stats --- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 28px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 620px;
    margin: 0 auto 56px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.stat-item .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

/* --- Hero App Preview --- */
.hero-app-preview {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.preview-card {
    max-width: 360px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.preview-header {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 6px;
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }

.preview-body {
    padding: 20px 24px 24px;
}

.preview-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(40, 200, 64, 0.1);
    border: 1px solid rgba(40, 200, 64, 0.2);
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #28C840;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28C840;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(40,200,64,0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(40,200,64,0); }
}

.preview-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.preview-row {
    text-align: center;
}

.preview-row span {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.preview-row strong {
    font-size: 18px;
}

.preview-apps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.preview-app {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* --- Platforms --- */
.platforms {
    padding: 40px 0 60px;
    border-bottom: 1px solid var(--border-color);
}

.platform-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    transition: var(--transition);
    cursor: default;
}

.platform-item:hover {
    color: var(--text-primary);
}

.platform-circle {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(79, 70, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.platform-item:hover .platform-circle {
    background: rgba(79, 70, 229, 0.2);
    transform: translateY(-4px);
}

/* --- Section Common --- */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-light);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-title .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-badge {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 10px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-light);
    font-size: 12px;
    border-radius: 4px;
    font-weight: 500;
}

/* --- Scenarios Section --- */
.scenarios {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.scenario-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.scenario-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.3);
}

.scenario-img-wrapper {
    margin-bottom: 20px;
}

.scenario-img {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.live-bg { background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(236,72,153,0.05)); }
.video-bg { background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(59,130,246,0.05)); }
.music-bg { background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.05)); }
.game-bg { background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(6,182,212,0.05)); }

.scenario-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.scenario-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* --- Pricing Section --- */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    position: relative;
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.price-card.popular {
    border-color: rgba(79, 70, 229, 0.4);
    background: var(--bg-card-hover);
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.price-card:hover {
    border-color: rgba(79, 70, 229, 0.3);
}

.price-card.popular:hover {
    border-color: rgba(79, 70, 229, 0.6);
}

.price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.price-badge-popular {
    background: var(--gradient-1);
    color: white;
    border: none;
}

.price-header {
    text-align: center;
    margin-bottom: 28px;
}

.price-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.price-symbol {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 16px;
    color: var(--text-secondary);
}

.price-save {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #28C840;
}

.price-features {
    flex: 1;
    margin-bottom: 28px;
}

.price-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.price-features li:last-child {
    border-bottom: none;
}

.btn-price {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.btn-price:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-price-popular {
    background: var(--gradient-1);
    border: none;
    color: white;
}

.btn-price-popular:hover {
    box-shadow: var(--shadow-glow);
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(79, 70, 229, 0.3);
}

.testimonial-avatar {
    font-size: 40px;
    margin-bottom: 12px;
}

.testimonial-stars {
    font-size: 16px;
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 18px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-tertiary);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* --- FAQ Section --- */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(79, 70, 229, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    font-family: inherit;
}

.faq-question .faq-icon {
    font-size: 20px;
    color: var(--accent-light);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- CTA Section --- */
.cta {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0.06;
    filter: blur(60px);
}

.cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta h2 .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 16px 48px;
    font-size: 18px;
}

.btn-cta-outline {
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: var(--text-primary);
}

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ==========================================
   下载页专属样式
   ========================================== */

.download-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}

.download-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(79,70,229,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.download-platforms {
    padding: 40px 0 100px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--shadow-card);
}

.download-card-header {
    padding: 32px 28px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.download-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.download-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.download-version {
    font-size: 13px;
    color: var(--text-tertiary);
}

.download-card-body {
    padding: 28px;
    text-align: center;
}

.download-qr {
    margin-bottom: 20px;
}

.qr-placeholder {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.qr-code {
    text-align: center;
}

.qr-code span {
    font-size: 48px;
    display: block;
}

.qr-code p {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 10px;
}

.download-btns .download-btn:last-child {
    margin-bottom: 0;
}

.ios-download {
    background: #000;
    color: white;
}

.ios-download:hover {
    background: #1a1a1a;
}

.android-download {
    background: #00A86B;
    color: white;
}

.android-download:hover {
    background: #008F5B;
}

.android-apk {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.android-apk:hover {
    background: rgba(255, 255, 255, 0.1);
}

.windows-download {
    background: #0078D4;
    color: white;
}

.windows-download:hover {
    background: #0068BC;
}

.macos-download {
    background: #333;
    color: white;
}

.macos-download:hover {
    background: #444;
}

.router-download {
    background: #FF6B35;
    color: white;
}

.router-download:hover {
    background: #E55A2B;
}

.download-size {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* --- Install Steps --- */
.install-steps {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 240px;
    flex: 1;
    min-width: 180px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 auto 16px;
}

.step-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    font-size: 24px;
    color: var(--accent-light);
    flex-shrink: 0;
}

/* ==========================================
   响应式设计
   ========================================== */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .price-card.popular {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        background: rgba(15, 15, 40, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        display: block;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 10px;
    }

    .nav-download-btn {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .testimonials-slider {
        gap: 12px;
    }

    .testimonial-card {
        flex: 0 0 260px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.popular {
        transform: scale(1.02);
    }

    .error-actions-404 {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

    .cta {
        padding: 60px 0;
    }

    .download-card-header {
        padding: 24px 20px 16px;
    }

    .download-card-body {
        padding: 20px;
    }
}

/* --- 滚动动画 --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
