/* =========================================
   NexS VPN - Tech Streamline UI
   ========================================= */

:root {
    /* 品牌色 */
    --primary: #6366f1;       /* Indigo 500 */
    --primary-hover: #4f46e5; /* Indigo 600 */
    --secondary: #a855f7;     /* Purple 500 */
    --accent: #ec4899;        /* Pink 500 */

    /* 中性色 (Light Mode) */
    --bg-body: #ffffff;
    --bg-light: #f8fafc;      /* Slate 50 */
    --text-main: #0f172a;     /* Slate 900 */
    --text-muted: #64748b;    /* Slate 500 */
    --border-light: #e2e8f0;  /* Slate 200 */

    /* 深色模式变量 (用于 Hero/Footer) */
    --bg-dark: #0f172a;       /* Slate 900 */
    --bg-dark-lighter: #1e293b; /* Slate 800 */
    --text-dark-main: #f8fafc;
    --text-dark-muted: #94a3b8;

    /* 渐变 */
    --gradient-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-dark: linear-gradient(to bottom, #0f172a, #1e293b);
    --gradient-glow: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

    /* 阴影 & 圆角 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-neon: 0 0 20px rgba(99, 102, 241, 0.5);
    
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* 重置与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent; /* 移除移动端点击高亮 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* 防止横向滚动 */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

button, .forever-btn, .platform-btn, .login-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation; /* 优化触摸响应 */
}

ul {
    list-style: none;
}

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

/* 辅助类 */
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

/* =========================================
   Navbar (Glassmorphism)
   ========================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 16px 0;
    transition: all 0.3s ease;
}

/* 当页面滚动时，Navbar 可以变深色 (可选 JS 配合，这里保持浅色清爽) */

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo-icon {
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

/* Dropdown Menu (QR Code) */
.nav-item-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    width: 160px;
    text-align: center;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.qr-code-img {
    width: 128px;
    height: 128px;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.dropdown-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.login-btn {
    background: var(--bg-light);
    color: var(--text-main) !important;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.login-btn:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary) !important;
    box-shadow: var(--shadow-sm);
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
}

/* =========================================
   Hero Section (Dark Tech Theme)
   ========================================= */
.forever-vpn-section {
    background: var(--bg-dark);
    color: var(--text-dark-main);
    padding: 120px 0 160px; /* 底部留出空间给波浪 */
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* 背景光效 */
.forever-vpn-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.forever-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 1;
}

.forever-subtitle {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-dark-muted);
    backdrop-filter: blur(4px);
}

.stats-circle-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.stat-circle {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary); /* 使用品牌色点缀 */
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.stat-unit {
    font-size: 1.5rem;
    color: var(--text-dark-muted);
}

.stat-label {
    color: var(--text-dark-muted);
    font-size: 1rem;
}

/* Download Buttons */
.forever-download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.forever-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
}

.primary-btn {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.primary-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.outline-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.outline-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* 波浪分隔符 */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 80px;
}

.wave-separator .shape-fill {
    fill: #FFFFFF; /* 衔接下一部分的白色背景 */
}

/* =========================================
   Section 2: Apps Showcase (Circular Layout)
   ========================================= */
.apps-section {
    padding: 100px 0;
    overflow: hidden;
}

.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

.apps-showcase {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-icons-circle {
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-logo {
    z-index: 10;
    position: relative;
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 30%;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { width: 100px; height: 100px; opacity: 0.8; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

.app-icon {
    position: absolute;
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--border-light);
}

.app-icon:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: var(--shadow-xl);
    z-index: 20;
    border-color: var(--primary);
}

/* 环形布局定位 (手动计算或使用 nth-child) */
.app-icon-1 { top: 5%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.app-icon-2 { top: 15%; right: 15%; animation-delay: 1s; }
.app-icon-3 { top: 40%; right: 0; animation-delay: 2s; }
.app-icon-4 { bottom: 15%; right: 15%; animation-delay: 3s; }
.app-icon-5 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 4s; }
.app-icon-6 { bottom: 15%; left: 15%; animation-delay: 5s; }
.app-icon-7 { top: 40%; left: 0; animation-delay: 1.5s; }
.app-icon-8 { top: 15%; left: 15%; animation-delay: 2.5s; }
.app-icon-9 { top: 25%; right: 25%; width: 48px; height: 48px; opacity: 0.8; animation-delay: 3.5s; }
.app-icon-10 { bottom: 25%; left: 25%; width: 48px; height: 48px; opacity: 0.8; animation-delay: 4.5s; }

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

/* =========================================
   Feature Sections (Left/Right Layout)
   ========================================= */
section {
    padding: 100px 0;
}

.smooth-layout, .hero-layout, .security-layout, 
.flexible-layout, .multiplatform-layout, .support-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.badge-hot {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
    line-height: 1.2;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.illustration-card {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: white;
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

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

.feature-list {
    margin-top: 24px;
}

.feature-list li {
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-main);
}

.check {
    color: #10b981;
    font-weight: bold;
    margin-right: 8px;
}

/* =========================================
   Reviews (Cards)
   ========================================= */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.review-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.stars {
    margin-bottom: 16px;
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.6;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.gradient-1 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
.gradient-2 { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); }
.gradient-3 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }

.reviewer-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.reviewer-source {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   Free Trial (CTA)
   ========================================= */
.free-trial-section {
    background: var(--gradient-brand);
    color: white;
    text-align: center;
}

.free-trial-section h2 {
    color: white;
}

.platform-download-buttons.center-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

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

/* =========================================
   Footer (Dark)
   ========================================= */
.footer {
    background: var(--bg-dark);
    color: var(--text-dark-muted);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark-main);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark-main);
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    flex: 2;
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--text-dark-main);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-column a {
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

/* 客服按钮 */
.customer-service-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-neon);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s;
}

.customer-service-btn:hover {
    transform: scale(1.1);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .forever-title { font-size: 3rem; }
    
    .smooth-layout, .hero-layout, .security-layout, 
    .flexible-layout, .multiplatform-layout, .support-layout {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .reverse-layout-mobile {
        flex-direction: column-reverse; /* 图片在上，文字在下 (或相反) */
    }
    
    p { margin-left: auto; margin-right: auto; }

    .app-icons-circle { width: 100%; max-width: 400px; height: 400px; }
    .app-icon { transform: scale(0.8); } /* 缩小图标 */
    .app-icon:hover { transform: scale(1); }

    /* 重新定位移动端图标位置 (简化) */
    .app-icon-1 { top: 0; }
    .app-icon-5 { bottom: 0; }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-light);
        z-index: 999;
    }

    .nav-menu.active { display: flex; }

    .nav-menu li {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu li:last-child { border-bottom: none; }

    .nav-menu a {
        display: block;
        padding: 8px 0;
        font-size: 1.05rem;
    }

    .nav-item-dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: 12px;
        box-shadow: none;
        border: none;
        background: var(--bg-light);
    }

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

    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--text-main);
        transition: all 0.3s;
        border-radius: 2px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero Section Mobile */
    .forever-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .stats-circle-container {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-circle {
        flex: 1;
        min-width: 100px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .forever-download-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .forever-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 1rem;
    }

    /* Section Titles */
    .section-title-center {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .badge-hot {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    /* Apps Showcase Mobile */
    .apps-section {
        padding: 60px 0;
    }

    .apps-showcase {
        height: 400px;
    }

    .app-icons-circle {
        width: 100%;
        max-width: 350px;
        height: 350px;
    }

    .app-icon {
        width: 48px;
        height: 48px;
    }

    .app-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Feature Sections Mobile */
    section {
        padding: 60px 0;
    }

    .smooth-layout, .hero-layout, .security-layout,
    .flexible-layout, .multiplatform-layout, .support-layout {
        gap: 30px;
    }

    .illustration-card {
        max-width: 100%;
        padding: 15px;
    }

    /* Reviews Mobile */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 20px;
    }

    /* Download Grid Mobile */
    .download-grid {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
    }

    .download-item {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mini-mockup-wrapper {
        height: 180px;
        margin: 0 auto;
    }

    .laptop-mini {
        width: 200px;
        margin: 0 auto;
    }

    .laptop-mini .screen-content-area {
        height: 110px;
    }

    .phone-mini {
        width: 80px;
        margin: 0 auto;
    }

    .download-item .platform-btn {
        font-size: 0.95rem;
        padding: 14px 20px;
        text-align: center;
    }

    /* Footer Mobile */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-layout {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    /* Customer Service Button Mobile */
    .customer-service-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .customer-service-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* =========================================
   Extra Small Screens (< 480px)
   ========================================= */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .forever-vpn-section {
        padding: 80px 0 120px;
    }

    .forever-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .badge-pill {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .stats-circle-container {
        gap: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-unit {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .forever-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .section-title-center {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    p {
        font-size: 0.95rem;
    }

    .apps-section {
        padding: 50px 0;
    }

    .apps-showcase {
        height: 320px;
    }

    .app-icons-circle {
        max-width: 300px;
        height: 300px;
    }

    .app-icon {
        width: 40px;
        height: 40px;
    }

    .app-icon svg {
        width: 20px;
        height: 20px;
    }

    section {
        padding: 50px 0;
    }

    .review-card {
        padding: 16px;
    }

    .review-text {
        font-size: 0.9rem;
    }

    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .reviewer-name {
        font-size: 0.9rem;
    }

    .download-grid {
        padding: 0 16px;
    }

    .download-item {
        max-width: 240px;
        margin: 0 auto;
    }

    .mini-mockup-wrapper {
        height: 160px;
        margin: 0 auto;
    }

    .laptop-mini {
        width: 180px;
        margin: 0 auto;
    }

    .laptop-mini .screen-content-area {
        height: 100px;
    }

    .phone-mini {
        width: 70px;
        margin: 0 auto;
    }

    .download-item .platform-btn {
        font-size: 0.9rem;
        padding: 12px 18px;
        text-align: center;
    }

    .footer {
        padding: 50px 0 25px;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-column h4 {
        font-size: 1rem;
    }

    .customer-service-btn {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }
}

/* =========================================
   Device Mockups (Laptop + Phone)
   ========================================= */
.devices-mockup-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* --- Laptop Mockup --- */
.laptop-wrapper {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-40%); /* Shift right slightly to make room for phone */
    width: 600px;
    z-index: 1;
}

.laptop-screen-frame {
    background: #1e293b;
    border-radius: 20px 20px 0 0;
    padding: 12px 12px 0 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    border: 1px solid #334155;
}

.laptop-camera {
    width: 8px;
    height: 8px;
    background: #0f172a;
    border-radius: 50%;
    margin: 0 auto 10px;
    box-shadow: inset 0 0 2px rgba(255,255,255,0.2);
}

.laptop-screen-frame .screen-content-area {
    width: 100%;
    height: 360px;
    background: #0f172a;
    overflow: hidden;
    position: relative;
    border-radius: 4px 4px 0 0;
}

.laptop-base {
    height: 24px;
    background: #334155;
    border-radius: 0 0 20px 20px;
    position: relative;
    width: 110%;
    left: -5%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.laptop-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 40%;
    width: 20%;
    height: 4px;
    background: #475569;
    border-radius: 0 0 4px 4px;
}

/* --- Phone Mockup --- */
.phone-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-140%) translateY(20px) rotate(-5deg); /* Position to the left */
    width: 200px;
    z-index: 10;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    animation: float-phone 6s ease-in-out infinite;
}

.phone-frame {
    background: #1e293b;
    border-radius: 36px;
    padding: 10px;
    border: 2px solid #334155;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #1e293b;
    border-radius: 0 0 12px 12px;
    z-index: 20;
}

.phone-frame .screen-content-area {
    width: 100%;
    aspect-ratio: 9/19.5;
    background: #0f172a;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

/* --- Shared Image Styles --- */
.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes float-phone {
    0%, 100% { transform: translateX(-140%) translateY(20px) rotate(-5deg); }
    50% { transform: translateX(-140%) translateY(10px) rotate(-5deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .devices-mockup-container {
        display: none; /* 移动端隐藏设备模拟器 */
    }
}

/* =========================================
   Hero Split Layout (Left: Text/Buttons, Right: Image)
   ========================================= */
.hero-split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left; /* Ensure text aligns left */
    padding-top: 40px;
}

.hero-left-content {
    flex: 1;
    max-width: 550px;
    z-index: 2;
}

.hero-right-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Override previous centered styles for the split layout */
.hero-split-layout .forever-title {
    font-size: 3.5rem;
    text-align: left;
    margin-bottom: 20px;
}

.hero-split-layout .forever-subtitle {
    text-align: left;
    margin-bottom: 40px;
}

/* Adjust Stats Container for Left alignment */
.hero-split-layout .stats-circle-container {
    justify-content: flex-start; /* Align left */
    gap: 40px;
    margin-bottom: 50px;
}

.hero-split-layout .stat-circle {
    text-align: left;
}

.hero-split-layout .stat-number {
    font-size: 2.5rem; /* Slightly smaller for compact layout */
}

/* Adjust Buttons for Left alignment */
.hero-split-layout .forever-download-buttons {
    justify-content: flex-start; /* Align left */
}

/* Adjust Mockup Container to fit in right column */
.hero-split-layout .devices-mockup-container {
    margin: 0; /* Remove bottom margin */
    transform: scale(0.9); /* Scale down slightly to fit */
    transform-origin: center right;
}

/* Responsive: Stack on smaller screens */
@media (max-width: 1024px) {
    .hero-split-layout {
        flex-direction: column-reverse; /* Image on top, text on bottom (or normal column) */
        text-align: center;
        padding-top: 0;
    }

    .hero-left-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-split-layout .forever-title,
    .hero-split-layout .forever-subtitle,
    .hero-split-layout .stat-circle {
        text-align: center;
    }

    .hero-split-layout .stats-circle-container {
        justify-content: center;
    }

    .hero-split-layout .forever-download-buttons {
        justify-content: center;
    }
    
    .hero-split-layout .devices-mockup-container {
        transform: scale(0.8);
        transform-origin: center;
        margin-bottom: 40px;
    }
}

/* =========================================
   Bottom Download Grid (3 Columns)
   ========================================= */
.download-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
    align-items: flex-end; /* Ensure bottoms align */
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 240px; /* Fixed width for consistent spacing */
}

/* Mini Mockups - Fixed Height Container for Alignment */
.mini-mockup-wrapper {
    position: relative;
    margin-bottom: 5px;
    transition: transform 0.3s;
    height: 200px; /* Fixed height to align buttons */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align mockups to bottom */
    align-items: center;
}

.mini-mockup-wrapper:hover {
    transform: translateY(-5px);
}

.laptop-mini {
    width: 220px; /* Larger width */
}

.laptop-mini .laptop-screen-frame {
    padding: 4px 4px 0 4px; /* Reduced top padding for thinner bezel */
    border-radius: 12px 12px 0 0;
}

.laptop-mini .laptop-camera {
    width: 4px;
    height: 4px;
    margin: 0 auto 4px; /* Reduced margin */
}

.laptop-mini .screen-content-area {
    height: 130px; /* Proportional height */
    border-radius: 4px 4px 0 0;
}

.laptop-mini .laptop-base {
    height: 12px;
    border-radius: 0 0 12px 12px;
}

.laptop-mini .laptop-base::after {
    height: 4px; 
}

.phone-mini {
    width: 90px; /* Larger width */
}

.phone-mini .phone-frame {
    padding: 5px;
    border-radius: 18px;
    border-width: 2px;
}

.phone-mini .phone-notch {
    width: 35px;
    height: 10px;
    border-radius: 0 0 6px 6px;
}

.phone-mini .screen-content-area {
    border-radius: 12px;
}

/* Button tweaks for grid */
.download-item .platform-btn {
    font-size: 1rem; 
    padding: 12px 24px;
    width: 100%; /* Full width of the item */
    justify-content: center;
}
