/* 重置样式 */
* {
    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;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.logo h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-top: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 主要内容区域 */
.main-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

/* 应用介绍区域 */
.app-intro {
    text-align: center;
    margin-bottom: 60px;
}

.app-icon img {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.app-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.app-desc {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    font-weight: 500;
}

.app-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #555;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.3rem;
}

/* 下载区域 */
.download-section {
    margin-bottom: 60px;
}

.download-section h3 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    min-width: 280px;
    position: relative;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.download-btn:active {
    transform: translateY(-2px);
}

.btn-icon img {
    width: 50px;
    height: 50px;
}

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

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 8px;
}

.platform {
    font-size: 1.2rem;
    font-weight: 600;
}

.version {
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-status {
    font-size: 0.9rem;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 500;
}

.download-arrow {
    font-size: 1.5rem;
    opacity: 0.8;
}

.android-btn {
    background: linear-gradient(135deg, #32de84 0%, #00c896 100%);
    box-shadow: 0 10px 30px rgba(50, 222, 132, 0.3);
}

.android-btn:hover {
    box-shadow: 0 15px 40px rgba(50, 222, 132, 0.4);
}

.ios-btn {
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
    cursor: pointer;
}

.ios-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 122, 255, 0.4);
}

.coming-soon {
    background: rgba(255, 193, 7, 0.9);
    color: #856404;
}

/* 下载提示 */
.download-tips {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #666;
    border-left: 4px solid #667eea;
}

.tip-icon {
    font-size: 1.1rem;
}

/* 二维码下载 */
.qr-download {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
    margin-bottom: 20px;
}

.qr-download h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 25px;
}

.qr-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.qr-code img {
    width: 150px;
    height: 150px;
    border: 3px solid white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.qr-info {
    text-align: left;
}

.qr-info p {
    margin-bottom: 5px;
    color: #666;
}

.qr-info p strong {
    color: #333;
    font-size: 1.1rem;
}

/* 特性展示 */
.features-showcase {
    margin-bottom: 40px;
}

.features-showcase h3 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.feature-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* 页脚 */
.footer {
    text-align: center;
    color: white;
    padding: 30px 20px;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 10px;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
    flex-wrap: wrap;
}

/* 语言切换器 */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-options {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 65px;
    justify-content: center;
}

.lang-option:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: translateY(-1px);
}

.lang-option.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.lang-option .flag {
    font-size: 1rem;
    line-height: 1;
}

/* 微信提示遮罩层 */
.wechat-tip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tip-content {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    max-width: 380px;
    width: 100%;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tip-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.tip-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.tip-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.tip-arrow {
    position: absolute;
    top: -20px;
    right: 20px;
}

.tip-arrow img {
    width: 40px;
    height: 40px;
}

.close-tip {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.close-tip:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .main-content {
        padding: 25px 20px;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .app-intro h2 {
        font-size: 2rem;
    }

    .app-features {
        gap: 15px;
    }

    .feature {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 320px;
        justify-content: flex-start;
    }

    .download-tips {
        flex-direction: column;
        align-items: center;
    }

    .tip-item {
        max-width: 300px;
        text-align: center;
    }

    .qr-container {
        flex-direction: column;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tip-content {
        margin: 20px;
        padding: 30px 20px;
    }

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

    .language-switcher {
        top: 15px;
        right: 15px;
    }

    .lang-option {
        padding: 6px 8px;
        font-size: 0.8rem;
        min-width: 55px;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        gap: 10px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    .app-icon img {
        width: 100px;
        height: 100px;
    }

    .download-btn {
        padding: 20px;
        min-width: auto;
        gap: 15px;
    }

    .btn-icon img {
        width: 40px;
        height: 40px;
    }

    .qr-code img {
        width: 120px;
        height: 120px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
    }

    .lang-options {
        padding: 3px;
    }

    .lang-option {
        padding: 4px 6px;
        font-size: 0.75rem;
        min-width: 45px;
        gap: 3px;
    }

    .lang-option .flag {
        font-size: 0.9rem;
    }
}

/* 骑手端入口链接样式 */
.rider-app-link {
    margin-top: 15px;
    text-align: center;
}

.rider-app-link a {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.rider-app-link a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 骑手端橙色主题样式 */
.rider-theme {
    background: linear-gradient(135deg, #ff7f00 0%, #ff4500 100%);
}

.rider-theme .download-btn {
    background: linear-gradient(135deg, #ff7f00 0%, #ff4500 100%);
    box-shadow: 0 10px 30px rgba(255, 127, 0, 0.3);
}

.rider-theme .download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 127, 0, 0.4);
}

.rider-theme .android-btn {
    background: linear-gradient(135deg, #ff7f00 0%, #ff4500 100%);
    box-shadow: 0 10px 30px rgba(255, 127, 0, 0.3);
}

.rider-theme .android-btn:hover {
    box-shadow: 0 15px 40px rgba(255, 127, 0, 0.4);
}

.rider-theme .feature {
    background: linear-gradient(135deg, #fff2e6 0%, #ffe5cc 100%);
    border: 1px solid rgba(255, 127, 0, 0.2);
}

.rider-theme .feature:hover {
    background: linear-gradient(135deg, #ffe5cc 0%, #ffd9b3 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.2);
}

.rider-theme .feature-card {
    border: 1px solid rgba(255, 127, 0, 0.1);
    background: linear-gradient(135deg, #fff8f2 0%, #fff2e6 100%);
}

.rider-theme .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 127, 0, 0.2);
    border-color: rgba(255, 127, 0, 0.3);
}

.rider-theme .feature-card-icon {
    background: linear-gradient(135deg, #ff7f00 0%, #ff4500 100%) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
    font-size: 1.5rem !important;
    box-shadow: 0 8px 20px rgba(255, 127, 0, 0.3) !important;
}

.rider-theme .feature-card h4 {
    color: #d63900;
    font-weight: 700;
}

.rider-theme .download-section h3 {
    color: #d63900;
    background: linear-gradient(135deg, #ff7f00 0%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rider-theme .features-showcase h3 {
    color: #d63900;
    background: linear-gradient(135deg, #ff7f00 0%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rider-theme .app-intro h2 {
    color: #d63900;
    background: linear-gradient(135deg, #ff7f00 0%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rider-theme .language-switcher .lang-option.active {
    background: rgba(255, 127, 0, 0.9);
    color: white;
}

.rider-theme .language-switcher .lang-option:hover {
    background: rgba(255, 127, 0, 0.7);
    color: white;
}

.rider-theme .qr-download h4 {
    color: #d63900;
}

.rider-theme .tip-item .tip-icon {
    color: #ff7f00;
}

.rider-theme .close-tip {
    background: linear-gradient(135deg, #ff7f00 0%, #ff4500 100%);
}

.rider-theme .close-tip:hover {
    background: linear-gradient(135deg, #ff6600 0%, #e63e00 100%);
}

.rider-theme .rider-app-link a {
    background: rgba(255, 127, 0, 0.2);
    border: 1px solid rgba(255, 127, 0, 0.3);
}

.rider-theme .rider-app-link a:hover {
    background: rgba(255, 127, 0, 0.3);
    border-color: rgba(255, 127, 0, 0.5);
}

.rider-theme .ios-btn.disabled {
    background: linear-gradient(135deg, #ffb366 0%, #ff8533 100%) !important;
    opacity: 0.7 !important;
}

.rider-theme .ios-btn.disabled:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(255, 133, 51, 0.3) !important;
}

.rider-theme .app-desc {
    background: linear-gradient(135deg, #ff7f00 0%, #ff4500 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 600 !important;
}

.rider-theme .btn-status {
    background: rgba(255, 255, 255, 0.3) !important;
}

.rider-theme .main-content {
    box-shadow: 0 20px 40px rgba(255, 127, 0, 0.1) !important;
}

/* 为骑手端添加特殊动画效果 */
.rider-theme .app-icon img {
    transition: all 0.3s ease;
}

.rider-theme .app-icon img:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 127, 0, 0.3);
}

.rider-theme .download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 20px;
    pointer-events: none;
}

/* 橙色主题的二维码区域优化 */
.rider-theme .qr-container {
    background: linear-gradient(135deg, #fff8f2 0%, #fff2e6 100%);
    border: 2px solid rgba(255, 127, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
}

.rider-theme .qr-code img {
    border: 3px solid #ff7f00;
    border-radius: 10px;
}

/* 商家端绿色主题样式 */
.merchant-theme {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.merchant-theme .download-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

.merchant-theme .download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.4);
}

.merchant-theme .android-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

.merchant-theme .android-btn:hover {
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.4);
}

.merchant-theme .language-switcher .lang-option:hover {
    background: rgba(46, 204, 113, 0.7);
    color: white;
}

.merchant-theme .qr-download h4 {
    color: #27ae60;
}

.merchant-theme .tip-item .tip-icon {
    color: #2ecc71;
}

.merchant-theme .close-tip {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.merchant-theme .close-tip:hover {
    background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
}

.merchant-theme .rider-app-link a {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.merchant-theme .rider-app-link a:hover {
    background: rgba(46, 204, 113, 0.3);
    border-color: rgba(46, 204, 113, 0.5);
}

.merchant-theme .ios-btn.disabled {
    background: linear-gradient(135deg, #7bed9f 0%, #2ecc71 100%) !important;
    opacity: 0.7 !important;
}

.merchant-theme .ios-btn.disabled:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3) !important;
}

.merchant-theme .app-desc {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 600 !important;
}

.merchant-theme .btn-status {
    background: rgba(255, 255, 255, 0.3) !important;
}

.merchant-theme .main-content {
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.1) !important;
}

/* 为商家端添加特殊动画效果 */
.merchant-theme .app-icon img {
    transition: all 0.3s ease;
}

.merchant-theme .app-icon img:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.3);
}

.merchant-theme .download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 20px;
    pointer-events: none;
}

/* 商家端的二维码区域优化 */
.merchant-theme .qr-code img {
    border: 3px solid #2ecc71;
}

.merchant-theme .feature-card:hover {
    border-color: #2ecc71;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
}

.merchant-theme .tip-item {
    border-left: 4px solid #2ecc71;
}

.merchant-theme .divider {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
}