/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    color: #202124;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e8eaed;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-section i {
    font-size: 24px;
    color: #01875f;
}

.logo-text {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
}

.nav-menu {
    display: flex;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: #5f6368;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #01875f;
}

.header-actions {
    display: flex;
    gap: 16px;
}

.search-btn, .help-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #5f6368;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.search-btn:hover, .help-btn:hover {
    background-color: #f1f3f4;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

.app-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* App Header Section */
.app-header {
    padding: 24px;
    border-bottom: 1px solid #e8eaed;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.app-info {
    display: flex;
    gap: 16px;
    flex: 1;
}

.app-icon {
    flex-shrink: 0;
}

.icon-img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
}

.app-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-title {
    font-size: 24px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 4px;
}

.app-developer {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 8px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #fbbc04;
    font-size: 16px;
}

.rating-text {
    font-weight: 500;
    color: #202124;
}

.reviews-count {
    color: #5f6368;
    font-size: 14px;
}

.app-stats {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: #5f6368;
}

.app-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.install-btn, .share-btn, .wishlist-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.install-btn {
    background-color: #01875f;
    color: white;
}

.install-btn:hover {
    background-color: #016d4f;
}

.share-btn, .wishlist-btn {
    background-color: #f1f3f4;
    color: #202124;
}

.share-btn:hover, .wishlist-btn:hover {
    background-color: #e8eaed;
}

/* App Screenshots */
.app-screenshots {
    padding: 24px;
    border-bottom: 1px solid #e8eaed;
}

.screenshots-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.screenshot {
    width: 200px;
    height: 400px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e8eaed;
}

/* Sections */
.section-title {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 16px;
    padding: 24px 24px 0 24px;
}

/* About App Section */
.about-app {
    padding: 0 24px 24px 24px;
    border-bottom: 1px solid #e8eaed;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-description {
    font-size: 14px;
    color: #202124;
    line-height: 1.6;
}

.feature-title {
    font-size: 16px;
    font-weight: 500;
    color: #202124;
    margin-top: 16px;
}

.feature-section {
    margin-top: 16px;
}

.feature-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 14px;
    color: #202124;
    margin-bottom: 8px;
}

.feature-list {
    list-style: none;
    padding-left: 16px;
}

.feature-list li {
    font-size: 14px;
    color: #202124;
    margin-bottom: 8px;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: #01875f;
    font-weight: bold;
    position: absolute;
    left: -16px;
}

/* Data Security Section */
.data-security {
    padding: 0 24px 24px 24px;
    border-bottom: 1px solid #e8eaed;
}

.security-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-text {
    font-size: 14px;
    color: #202124;
}

.security-icons {
    display: flex;
    gap: 24px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5f6368;
}

.security-item i {
    color: #01875f;
    font-size: 16px;
}

/* Ratings and Reviews */
.ratings-reviews {
    padding: 0 24px 24px 24px;
    border-bottom: 1px solid #e8eaed;
}

.ratings-overview {
    margin-bottom: 24px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.score {
    font-size: 48px;
    font-weight: 300;
    color: #202124;
}

.total-reviews {
    font-size: 14px;
    color: #5f6368;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding: 16px;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reviewer-name {
    font-weight: 500;
    color: #202124;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars i {
    color: #fbbc04;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    color: #202124;
    margin-bottom: 8px;
    line-height: 1.5;
}

.review-date {
    font-size: 12px;
    color: #5f6368;
}

/* What's New */
.whats-new {
    padding: 0 24px 24px 24px;
    border-bottom: 1px solid #e8eaed;
}

.update-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.update-text {
    font-size: 14px;
    color: #202124;
    line-height: 1.6;
}

/* App Support */
.app-support {
    padding: 0 24px 24px 24px;
    border-bottom: 1px solid #e8eaed;
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #01875f;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.2s;
}

.support-link:hover {
    color: #016d4f;
}

.support-link i {
    width: 16px;
    text-align: center;
}

/* Developer Info */
.developer-info {
    padding: 0 24px 24px 24px;
}

.developer-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.developer-name {
    font-size: 16px;
    font-weight: 500;
    color: #202124;
}

.developer-email, .developer-address, .developer-phone {
    font-size: 14px;
    color: #5f6368;
}

/* Footer */
.footer {
    background-color: #fff;
    border-top: 1px solid #e8eaed;
    margin-top: 24px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    text-decoration: none;
    color: #5f6368;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #01875f;
}

.footer-location {
    font-size: 14px;
    color: #5f6368;
}

/* Apps Semelhantes */
.similar-apps {
    padding: 0 24px 24px 24px;
    border-bottom: 1px solid #e8eaed;
}
.similar-apps-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-top: 8px;
}
.similar-app {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 8px 8px 8px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
.similar-app:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.similar-app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    background: #f1f3f4;
    flex-shrink: 0;
    border: 1px solid #e8eaed;
}
.similar-app-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.similar-app-title {
    font-size: 15px;
    font-weight: 500;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.similar-app-dev {
    font-size: 13px;
    color: #5f6368;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.similar-app-rating {
    font-size: 13px;
    color: #5f6368;
    margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 12px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .main-content {
        padding: 16px 12px;
    }
    
    .app-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .app-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .app-actions {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
    
    .install-btn, .share-btn, .wishlist-btn {
        flex: 1;
        justify-content: center;
    }
    
    .screenshots-container {
        gap: 12px;
    }
    
    .screenshot {
        width: 160px;
        height: 320px;
    }
    
    .security-icons {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .similar-apps-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 20px;
    }
    
    .icon-img {
        width: 100px;
        height: 100px;
    }
    
    .app-actions {
        flex-direction: column;
    }
    
    .screenshot {
        width: 140px;
        height: 280px;
    }
    
    .section-title {
        font-size: 18px;
    }
} 

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e3f2fd;
    color: #1976d2;
    font-size: 15px;
    font-weight: 500;
    border-radius: 16px;
    padding: 4px 12px 4px 8px;
    margin: 6px 0 2px 0;
    box-shadow: 0 1px 3px rgba(25, 118, 210, 0.08);
}
.verified-badge i {
    color: #1976d2;
    font-size: 18px;
} 

.app-stats-new {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
    margin: 18px 0 18px 0;
}
.app-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}
.app-stat-value {
    font-size: 18px;
    font-weight: 500;
    color: #137333;
    margin-bottom: 2px;
}
.app-stat-label {
    font-size: 13px;
    color: #5f6368;
    font-weight: 400;
    text-align: center;
}
.app-stat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1db954;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    margin-bottom: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .app-stats-new {
        gap: 18px;
    }
    .app-stat {
        min-width: 70px;
    }
} 

/* Barra de progresso substituindo o botão */
.install-progress-bar-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.install-progress-bar {
    height: 40px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.10);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-progress-bar-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, #4CAF50 0%, #43e97b 100%);
    transition: width 0.25s cubic-bezier(.4,0,.2,1);
    border-radius: 4px;
    z-index: 1;
}

.install-progress-bar-text {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: #137333; /* verde escuro para contraste */
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    user-select: none;
    /* Remover text-shadow */
} 

.install-actions-btns {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}
.install-actions-btns .open-app-btn,
.install-actions-btns .uninstall-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-align: center;
    box-sizing: border-box;
}
.install-actions-btns .open-app-btn {
    background: #137333;
    color: #fff;
    border: none;
    margin-right: 0;
}
.install-actions-btns .open-app-btn:hover {
    background: #0e5c28;
}
.install-actions-btns .uninstall-btn {
    background: #fff;
    color: #137333;
    border: 2px solid #137333;
    margin-left: 0;
}
.install-actions-btns .uninstall-btn:hover {
    background: #e8f5e9;
}
@media (max-width: 600px) {
    .install-actions-btns .open-app-btn,
    .install-actions-btns .uninstall-btn {
        font-size: 14px;
        padding: 10px 0;
    }
} 

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e3f7fd;
    color: #009ee3;
    font-size: 15px;
    font-weight: 500;
    border-radius: 16px;
    padding: 4px 12px 4px 8px;
    margin: 6px 0 2px 0;
    box-shadow: 0 1px 3px rgba(0, 158, 227, 0.08);
}
.partner-badge i {
    color: #009ee3;
    font-size: 18px;
} 