/* doNow页面专用样式 */
@import url('main.css');

/* app Section for App Details */
.app-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.app-section .container {
    position: relative;
    z-index: 2;
}

/* App Icon Large */
.app-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.app-icon-large i {
    font-size: 4rem;
    background: linear-gradient(45deg, #1976d2, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* App Meta Information */
.app-meta {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    font-size: 1.2rem;
}

.meta-item .fw-bold {
    font-size: 1.1rem;
}

/* Download Buttons */
.download-buttons .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.download-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Screenshot Carousel */
.app-screenshots {
    text-align: center;
}

.screenshot-carousel {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.screenshot-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    max-width: 280px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.screenshot-carousel img.active {
    opacity: 1;
    position: relative;
}

.screenshot-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-card h4 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Screenshot Gallery */
.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshot-item img {
    transition: all 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.screenshot-overlay p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Step Cards */
.step-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h4 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.review-card .stars {
    display: flex;
    gap: 2px;
}

.review-card .stars i {
    font-size: 1.2rem;
}

.review-card p {
    color: #333;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.reviewer {
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.reviewer strong {
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
}

.reviewer small {
    color: #666;
}

/* CTA Section */
.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Navigation Active State */
.navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-section {
        padding: 100px 0 60px;
    }
    
    .app-icon-large {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }
    
    .app-icon-large i {
        font-size: 2.5rem;
    }
    
    .app-meta {
        padding: 1rem;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .download-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .screenshot-carousel {
        max-width: 250px;
    }
    
    .screenshot-carousel img {
        max-width: 230px;
    }
    
    .feature-card,
    .step-card,
    .review-card {
        padding: 1.5rem;
    }
    
    .feature-card .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-card .feature-icon i {
        font-size: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .app-section {
        padding: 80px 0 40px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .app-icon-large {
        width: 70px;
        height: 70px;
        border-radius: 15px;
    }
    
    .app-icon-large i {
        font-size: 2rem;
    }
    
    .screenshot-carousel {
        max-width: 200px;
    }
    
    .screenshot-carousel img {
        max-width: 180px;
    }
    
    .meta-item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .app-meta .row {
        text-align: center;
    }
}

/* Share Button Animation */
#shareBtn {
    position: relative;
    overflow: hidden;
}

#shareBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

#shareBtn:hover::before {
    left: 100%;
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .download-buttons,
    footer {
        display: none !important;
    }
    
    .app-section {
        background: none !important;
        color: #333 !important;
        padding: 2rem 0 !important;
    }
    
    .app-section::before {
        display: none;
    }
    
    .container {
        max-width: none !important;
    }
} 