/* Remote Control App Detail Page CSS */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 76px;
}

/* App Header */
.app-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: -76px;
    padding-top: 100px !important;
}

.app-icon-large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.app-icon-large .material-icons {
    font-size: 4rem;
    color: white;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.app-developer {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.app-rating-large {
    margin-bottom: 1rem;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

.rating-text {
    font-size: 1rem;
    opacity: 0.9;
}

.app-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Download Card */
.download-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: #333;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item .material-icons {
    color: #667eea;
    font-size: 1.5rem;
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    color: #333;
}

.info-item small {
    color: #666;
    font-size: 0.9rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

/* Screenshots Section */
.screenshots-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.screenshots-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    justify-content: center;
}

.screenshot-item {
    flex: 0 0 320px;
    height: 500px;
}

.screenshot-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-placeholder:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot-placeholder:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h5 {
    margin-bottom: 8px;
    font-weight: 600;
}

.screenshot-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon .material-icons {
    font-size: 1.8rem;
    color: white;
}

.feature-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.step-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-icon {
    margin-bottom: 20px;
}

.step-icon .material-icons {
    font-size: 48px;
    color: #667eea;
}

.step-item h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-item p {
    color: #666;
    line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
    padding: 5rem 0;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.reviewer-avatar .material-icons {
    color: white;
    font-size: 24px;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.review-rating {
    color: #ffc107;
    font-size: 16px;
}

.review-text {
    color: #666;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 15px;
}

.review-date {
    color: #999;
    font-size: 12px;
}

/* App Info Section */
.app-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.info-grid {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #333;
    font-weight: 600;
}

.info-item span {
    color: #667eea;
    font-weight: 500;
}

/* Related Apps Section */
.related-apps-section {
    padding: 5rem 0;
}

.related-app-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.app-icon-small {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon-small .material-icons {
    font-size: 40px;
    color: white;
}

.app-details {
    flex: 1;
}

.app-details h5 {
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.app-details p {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-stars {
    color: #ffc107;
}

.rating-text {
    color: #333;
    font-weight: 600;
}

.badge-new-small {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-popular {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.app-actions {
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: #2c3e50 !important;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Custom Buttons */
.btn-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4);
}

.btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .screenshots-carousel {
        gap: 15px;
    }
    
    .screenshot-item {
        flex: 0 0 250px;
        height: 400px;
    }
    
    .step-item {
        padding: 30px 15px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .info-grid {
        padding: 30px 20px;
    }
    
    .related-app-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .app-icon-small {
        width: 60px;
        height: 60px;
    }
    
    .app-icon-small .material-icons {
        font-size: 30px;
    }
    
    .footer-links {
        align-items: flex-start;
        margin-top: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
} 