* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /*background: linear-gradient(180deg, #D6F0FF 0%, #E8F6FF 100%);*/
    min-height: 100vh;
}

/* 顶部导航栏 */
.navbar {
    background: linear-gradient(90deg, #2BB3F5 0%, #1E9FE8 100%);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 6px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2BB3F5;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.login-btn {
    background: white;
    color: #FF6B4A;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 5px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* 主下载区域 */
.download-hero {
    min-height: 100vh;
    padding: 120px 20px 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.download-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.download-left {
    flex: 1;
    max-width: 600px;
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-title {
    font-size: 56px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.2;
}

.app-desc {
    font-size: 20px;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.8;
}

.qr-code-section {
    margin-bottom: 40px;
}

.qr-code-box {
    width: 220px;
    height: 220px;
    background: white;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    display: inline-block;
    transition: all 0.3s;
}

.qr-code-box:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.qr-code-box img {
    width: 100%;
    height: 100%;
    display: block;
}

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

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 40px;
    border: 2px solid #E0E0E0;
    border-radius: 50px;
    background: white;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #2BB3F5;
}

.btn-icon {
    font-size: 24px;
}

.btn-text {
    font-size: 18px;
}

.ios-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.android-btn:hover {
    background: linear-gradient(135deg, #3cba92 0%, #0ba360 100%);
    color: white;
    border-color: #3cba92;
}

/* 右侧手机展示 */
.download-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

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

.phone-mockup {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 40px;
    /*overflow: hidden;*/
    /*box-shadow: 0 20px 60px rgba(0,0,0,0.3);*/
    /*border: 12px solid #2BB3F5;*/
    /*background: #fff;*/
}

.phone-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(43, 179, 245, 0.1) 100%);
    pointer-events: none;
}

/* 右侧悬浮按钮 */
.floating-sidebar {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 75px;
    background: white;
    color: #2BB3F5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(43, 179, 245, 0.2);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(43, 179, 245, 0.4);
    background: linear-gradient(135deg, #2BB3F5 0%, #1E9FE8 100%);
    color: white;
}

.floating-btn .icon {
    font-size: 28px;
    margin-bottom: 5px;
}

.floating-btn .label {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* Toast 消息 */
#toast-container {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
}

.toast-message {
    background: linear-gradient(135deg, #2BB3F5 0%, #1E9FE8 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 25px rgba(43, 179, 245, 0.4);
    font-size: 15px;
    font-weight: 600;
    animation: toastSlideIn 0.3s ease;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .download-container {
        gap: 50px;
    }

    .app-title {
        font-size: 48px;
    }

    .phone-mockup {
        width: 300px;
        height: 600px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 56px;
        left: -100%;
        width: 100%;
        background: linear-gradient(135deg, #2BB3F5 0%, #1E9FE8 100%);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 18px;
        padding: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .mobile-menu-btn {
        display: block;
    }

    .download-hero {
        padding: 100px 20px 60px;
    }

    .download-container {
        flex-direction: column;
        gap: 50px;
    }

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

    .app-title {
        font-size: 36px;
    }

    .app-desc {
        font-size: 16px;
    }

    .qr-code-box {
        width: 180px;
        height: 180px;
    }

    .download-buttons {
        max-width: 400px;
        margin: 0 auto;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

    .floating-sidebar {
        right: 15px;
        gap: 10px;
    }

    .floating-btn {
        width: 65px;
        padding: 10px 6px;
    }

    .floating-btn .icon {
        font-size: 24px;
    }

    .floating-btn .label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }

    .logo {
        font-size: 16px;
    }

    .logo-icon {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .login-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .app-title {
        font-size: 28px;
    }

    .app-desc {
        font-size: 14px;
    }

    .qr-code-box {
        width: 150px;
        height: 150px;
    }

    .download-btn {
        padding: 15px 30px;
        font-size: 16px;
    }

    .btn-icon {
        font-size: 20px;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .floating-btn {
        width: 60px;
        padding: 8px 5px;
    }

    .floating-btn .icon {
        font-size: 20px;
    }

    .floating-btn .label {
        font-size: 9px;
    }
}

/* 加载动画 */
.fade-in {
    animation: fadeIn 0.6s ease;
}

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

/* 滚动动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* 功能特色区域 */
.features-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 统计区域 */
.stats-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #2BB3F5 0%, #1E9FE8 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stats-section .stat-item {
    padding: 20px;
}

.stats-section .stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.stats-section .stat-label {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #ccc;
    font-size: 16px;
}

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

.link-group h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.link-group a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.3s;
}

.link-group a:hover {
    color: #2BB3F5;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* 响应式 - 功能特色区域 */
@media (max-width: 768px) {
    .features-section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        font-size: 40px;
    }
    
    .feature-card h3 {
        font-size: 20px;
    }
    
    .stats-section {
        padding: 60px 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stats-section .stat-number {
        font-size: 36px;
    }
    
    .stats-section .stat-label {
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
}

/* 二维码图标样式 */
.qr-icon-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.qr-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.qr-icon svg {
    transition: all 0.3s ease;
}

.qr-icon:hover svg {
    transform: scale(1.1);
}

/* 二维码弹窗样式 */
.qr-popup {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 200px;
}

.qr-icon-container:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.qr-popup-content {
    padding: 20px;
    text-align: center;
}

.qr-popup-content h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.qr-code {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.qr-popup-content p {
    margin: 15px 0 0 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* 弹窗箭头 */
.qr-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .qr-icon-container {
        margin-left: 10px;
    }
    
    .qr-icon {
        width: 36px;
        height: 36px;
    }
    
    .qr-popup {
        right: -50px;
        min-width: 180px;
    }
    
    .qr-popup::before {
        right: 60px;
    }
    
    .qr-popup-content {
        padding: 15px;
    }
    
    .qr-code svg {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .qr-popup {
        right: -80px;
        min-width: 160px;
    }
    
    .qr-popup::before {
        right: 90px;
    }
    
    .qr-code svg {
         width: 80px;
         height: 80px;
     }
 }

/* 下载卡片样式 */
.download-cards {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
}

.download-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    width: calc(50% - 10px);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.card-content {
    padding-top: 20px;
}

.device-icons {
    gap: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.device-icons img {
    width: 200px;
}

.device-icon {
    width: 48px;
    height: 48px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid #e0e0e0;
}

.download-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.system-requirement {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
}

.download-btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.ios-btn {
    background: #4A90E2;
    color: white;
}

.ios-btn:hover {
    background: #357ABD;
    transform: translateY(-2px);
}

.android-btn {
    background: #4A90E2;
    color: white;
}

.android-btn:hover {
    background: #357ABD;
    transform: translateY(-2px);
}

.version-info {
    text-align: center;
}

.version-info span {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .download-cards {
        gap: 16px;
    }
    
    .download-card {
        width: calc(50% - 8px);
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .download-cards {
        gap: 12px;
        margin-top: 30px;
    }
    
    .download-card {
        width: calc(50% - 6px);
        padding: 18px;
    }
    
    .device-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .download-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .download-cards {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .download-card {
        width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .download-card {
        padding: 20px;
    }
    
    .card-icon {
        top: 15px;
        right: 15px;
    }
    
    .device-icons {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .device-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* Case.png 右下角定位样式 */
.case-bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: auto;
    border-radius: 20px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* 禁用所有动画效果 */
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .case-bottom-right {
        width: 150px;
        bottom: 15px;
        right: 15px;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .case-bottom-right {
        width: 120px;
        bottom: 10px;
        right: 10px;
        border-radius: 12px;
    }
}


