/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #AB74AD 0%, #764ba2 100%);
    min-height: 100vh;
}

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


/* Main Content */
.main-content {
    padding: 3rem 0 2rem 0;
}

/* Download Section */
.download-section {
    margin-bottom: 3rem;
}

.download-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #AB74AD, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.download-icon i {
    font-size: 2rem;
    color: white;
}

.download-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.download-card p {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-btn {
    background: linear-gradient(135deg, #AB74AD, #764ba2);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(124, 104, 125, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 104, 125, 0.6);
}

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

/* Tutorial Section */
.tutorial-section {
    margin-bottom: 3rem;
}

.tutorial-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tutorial-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tutorial-content h2 i {
    color: #764ba2;
}

.steps {
    display: flex;
    flex-direction: column;
    /* gap: 2rem; */
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #AB74AD, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.step-content p {
    color: #718096;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.step-image {
    background: #f7fafc;
    border-radius: 12px;
    text-align: center;
    /* margin-top: 1rem; */
    margin-bottom: 2rem;
    padding:0 2rem 0 2rem;
}

.step-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.ios-image {
 margin-bottom: 2rem;
}

.ios-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {

    text-align: center;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    
    .download-card {
        padding: 2rem 1.5rem;
    }
    
    .download-card h2 {
        font-size: 1.6rem;
    }
    
    .download-card p {
        font-size: 1rem;
    }
    
    .tutorial-content {
        padding: 1.5rem;
    }
    
    .tutorial-content h2 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-content h3 {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .step-number {
        align-self: flex-start;
        margin-bottom: 1rem;
    }
    
    /* 手机版步骤数字和标题在同一行 */
    #mobile-tutorial .step {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }
    
    #mobile-tutorial .step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    #mobile-tutorial .step-content h3 {
        display: block;
        margin-bottom: 0.5rem;
    }
    
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem 0;
    }
    
    .download-card {
        padding: 1.5rem 1rem;
    }
    
    .download-icon {
        width: 60px;
        height: 60px;
    }
    
    .download-icon i {
        font-size: 1.5rem;
    }
    
    .download-card h2 {
        font-size: 1.4rem;
    }
    
    .tutorial-content {
        padding: 1rem;
    }
    
    .help-card {
        padding: 1.5rem 1rem;
    }
}

/* Device-specific visibility */
.tutorial-content {
    display: none;
}

.tutorial-content.active {
    display: block;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-card,
.tutorial-content,
.help-card {
    animation: fadeInUp 0.6s ease-out;
}

.step {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

b {
    color: #764ba2;
}