/* ========================================
   趣闲赚官网样式文件
   ======================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #1e2a3a;
    line-height: 1.5;
}

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

/* 头部导航 */
.header {
    padding: 20px 0;
    border-bottom: 1px solid #eef2f6;
    background: white;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    background: #f7b32b;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #1e2a3a;
}
.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
}
.logo-text span {
    font-size: 0.7rem;
    font-weight: normal;
    color: #6c86a0;
}

/* 按钮样式 */
.btn-download {
    background: #f7b32b;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    color: #1e2a3a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(247,179,43,0.3);
}
.btn-download:hover {
    background: #e09d1c;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1px solid #d0dfec;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.btn-outline:hover {
    border-color: #f7b32b;
    background: #fffaf0;
}

/* Hero 区域 */
.hero {
    padding: 50px 0 40px;
}
.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.hero-content {
    flex: 1.2;
}
.hero-image {
    flex: 0.8;
    padding: 20px;
    text-align: center;
}
.hero-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0f293e;
}
.hero-highlight {
    color: #f7b32b;
}
.hero-desc {
    font-size: 1rem;
    color: #4a627a;
    margin-bottom: 28px;
    max-width: 90%;
}
.stats {
    display: flex;
    gap: 32px;
    margin: 24px 0 28px;
}
.stats div h3 {
    font-size: 1.7rem;
    font-weight: 800;
}
.stats div p {
    font-size: 0.8rem;
    color: #6c86a0;
}
.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.qr-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 5px 16px 5px 12px;
    border-radius: 50px;
    border: 1px solid #eef2f6;
    cursor: pointer;
    transition: 0.2s;
}
.qr-hint:hover {
    background: #fff8eb;
    border-color: #f7b32b;
}
.phone-simple {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
}
.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
}

/* 通用区块 */
.section {
    padding: 60px 0;
}
.section-gray {
    background: #f9fafc;
}
.section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.section-sub {
    text-align: center;
    color: #5a6e85;
    margin-bottom: 40px;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}
.card {
    background: white;
    border-radius: 24px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.card i {
    font-size: 42px;
    color: #f7b32b;
    margin-bottom: 16px;
}
.card h4 {
    margin-bottom: 10px;
}

/* 任务标签 */
.task-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}
.task-tag {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
}
.task-tag i {
    margin-right: 6px;
    color: #f7b32b;
}

/* 三步流程 */
.steps-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    background: white;
    padding: 28px 16px;
    border-radius: 28px;
    border: 1px solid #edf2f7;
}
.step-num {
    width: 48px;
    height: 48px;
    background: #f7b32b;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 auto 16px;
    color: #1e2a3a;
}

/* 下载横幅 */
.download-banner {
    background: #1e2a3a;
    color: white;
    border-radius: 36px;
    padding: 40px 30px;
    text-align: center;
    margin: 40px 0 50px;
}
.btn-white {
    background: white;
    color: #1e2a3a;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}
.btn-white:hover {
    background: #f7b32b;
    color: #1e2a3a;
}

/* 页脚 */
.footer {
    border-top: 1px solid #eef2f6;
    padding: 40px 0 30px;
    text-align: center;
    font-size: 0.8rem;
    color: #7c8ea0;
}

/* 模态框弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
.modal-content {
    background: white;
    padding: 30px 25px 35px;
    border-radius: 32px;
    text-align: center;
    max-width: 300px;
    width: 85%;
    box-shadow: 0 25px 40px rgba(0,0,0,0.2);
    animation: fadeInUp 0.2s ease;
}
.modal-content h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: #1e2a3a;
}
.modal-qr {
    background: #fef5e6;
    padding: 20px;
    border-radius: 28px;
    margin: 15px 0;
    display: inline-block;
}
.qr-simulate {
    width: 160px;
    height: 160px;
    border-radius: 24px;
    margin: 0 auto;
    background-color: #2c3e50;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23f7b32b" d="M20,20 L30,20 L30,30 L20,30 Z M40,20 L50,20 L50,30 L40,30 Z M60,20 L70,20 L70,30 L60,30 Z M80,20 L90,20 L90,30 L80,30 Z M20,40 L30,40 L30,50 L20,50 Z M40,40 L50,40 L50,50 L40,50 Z M60,40 L70,40 L70,50 L60,50 Z M80,40 L90,40 L90,50 L80,50 Z M20,60 L30,60 L30,70 L20,70 Z M40,60 L50,60 L50,70 L40,70 Z M60,60 L70,60 L70,70 L60,70 Z M80,60 L90,60 L90,70 L80,70 Z M20,80 L30,80 L30,90 L20,90 Z M40,80 L50,80 L50,90 L40,90 Z M60,80 L70,80 L70,90 L60,90 Z M80,80 L90,80 L90,90 L80,90 Z"/><rect fill="white" x="35" y="35" width="30" height="30"/></svg>');
    background-size: cover;
    background-position: center;
}
.modal-content p {
    font-size: 0.8rem;
    color: #5a6e85;
    margin-top: 16px;
}
.close-modal {
    background: #f0f2f5;
    border: none;
    padding: 8px 24px;
    border-radius: 40px;
    margin-top: 16px;
    font-weight: 600;
    cursor: pointer;
}
.close-modal:hover {
    background: #e4e7ec;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 手机屏幕响应式 ========== */
@media (max-width: 700px) {
    .hero-content h1 { 
        font-size: 1.9rem; 
    }
    .section { 
        padding: 40px 0; 
    }
    
    .hero-grid {
        flex-direction: column;
    }
    
    .hero-content {
        order: 1;
        width: 100%;
    }
    
    .hero-image {
        order: 2;
        margin-top: 20px;
        width: 100%;
    }
    
    .stats {
        display: none;
    }
    
    .qr-hint {
        display: none !important;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1.05rem;
    }
    
    .download-actions {
        width: 100%;
    }
    
    .hero-desc {
        max-width: 100%;
        margin-bottom: 24px;
    }
}