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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

/* Hero Section */
.hero-section {
    margin-bottom: 2rem;
}

.app-header {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.app-details h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.developer {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metadata {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.metadata span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.rating {
    color: #f5a623;
    font-weight: 600;
}

.rating i {
    color: #f5a623;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #e8f5e9;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #2e7d32;
    font-weight: 600;
}

.app-preview {
    background: linear-gradient(135deg, #2196f3, #1565c0);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

.tagline h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tagline p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.download-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.download-btn.primary {
    background: #2196f3;
    color: white;
}

.download-btn.primary:hover {
    background: #1976d2;
}

.download-btn.secondary {
    background: #2196f3;
    color: white;
}

.download-btn.secondary:hover {
    background: #1976d2;
}

.download-btn i {
    font-size: 1.2rem;
}

/* Modal Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 990;
    display: none;
    backdrop-filter: blur(3px);
}

.overlay.active {
    display: block;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 600px;
    width: 90%;
}

.modal.active {
    display: block;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h3 i {
    color: #2196f3;
}

.close-btn {
    background: none;
    border: none;
    color: #777;
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.download-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-app-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.download-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.download-details p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.security-text {
    color: #2e7d32 !important;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem !important;
}

.download-progress {
    margin-bottom: 1.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #2196f3, #64b5f6);
    width: 0%;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.download-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.action-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.9rem;
}

.cancel-btn {
    background: #f5f5f5;
    color: #666;
    border: none;
}

.cancel-btn:hover {
    background: #e0e0e0;
}

.download-now-btn {
    background: #2196f3;
    color: white;
    border: none;
    display: none;
}

.download-now-btn:hover {
    background: #1976d2;
}

.download-instructions {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1.25rem;
}

.download-instructions h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-instructions ol {
    padding-left: 1.25rem;
}

.download-instructions li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

/* Section Styles */
.about-section,
.trending-section,
.testimonials-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header i {
    font-size: 1.5rem;
    color: #2196f3;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    width: 313px;
    margin-left: -23px;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2196f3;
    font-size: 1.2rem;
}

.feature-content {
    flex: 1;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

/* Trending Section */
.trending-apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.trending-app {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.trending-app:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

.trending-badge {
    background: #ff5722;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 1.5rem;
    text-align: center;
}

.app-icon-small {
    color: #2196f3;
    font-size: 1.2rem;
}

.app-name {
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    margin-left: -20px;
    width: 308px;
}

.testimonial:hover {
    background: #e3f2fd;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.user-rating {
    color: #f5a623;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #333;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #555;
}

.user-info i {
    font-size: 1.2rem;
    color: #2196f3;
}

/* Footer */
.footer {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #2196f3;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f7fa;
    color: #2196f3;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #2196f3;
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .app-header {
        flex-direction: column;
        text-align: center;
    }

    .app-info {
        flex-direction: column;
    }

    .metadata {
        justify-content: center;
        flex-wrap: wrap;
    }

    .security-badge {
        margin-top: 1rem;
    }

    .download-section {
        flex-direction: column;
    }

    .download-btn {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Windows Download Modal Specific Styles */
#windows-download-modal .modal-header i.fa-windows {
    color: #00A4EF;
    margin-right: 8px;
}

#windows-download-modal .download-instructions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

#windows-download-modal .download-instructions ol {
    margin: 15px 0 0 20px;
    padding: 0;
}

#windows-download-modal .download-instructions li {
    margin-bottom: 12px;
    line-height: 1.4;
    color: #4a4a4a;
}

#windows-download-modal .download-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

#windows-download-modal .download-now-btn {
    background: #00A4EF;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

#windows-download-modal .download-now-btn:hover {
    background: #0089c9;
}