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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #202124;
    line-height: 1.6;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e8eaed;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 20px;
    font-weight: 400;
    color: #5f6368;
    letter-spacing: -0.5px;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* App Header Section */
.app-header {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.app-icon-wrapper {
    flex-shrink: 0;
}

.app-icon {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.app-info {
    flex: 1;
}

.app-title {
    font-size: 32px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 8px;
}

.app-developer {
    display: inline-flex;
    align-items: center;
    color: #01875f;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #01875f;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
    transition: background-color 0.2s;
}

.app-developer:hover {
    background-color: #e6f4ea;
}

.app-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
    color: #5f6368;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-number {
    font-size: 18px;
    font-weight: 500;
    color: #202124;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #fbbf24;
    font-size: 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f3f4;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
}

.material-icons {
    font-size: 18px;
    vertical-align: middle;
}

/* Install Button */
.install-button {
    background: #01875f;
    color: #ffffff;
    border: none;
    padding: 12px 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.install-button:hover {
    background: #016d4d;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.install-button:active {
    transform: scale(0.98);
}

/* Screenshots Section */
.screenshots-section {
    margin-bottom: 48px;
    overflow: hidden;
}

.screenshots-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: #dadce0 transparent;
}

.screenshots-container::-webkit-scrollbar {
    height: 8px;
}

.screenshots-container::-webkit-scrollbar-track {
    background: transparent;
}

.screenshots-container::-webkit-scrollbar-thumb {
    background: #dadce0;
    border-radius: 4px;
}

.screenshot {
    flex-shrink: 0;
    width: 200px;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.screenshot:hover {
    transform: scale(1.02);
}

/* Content Sections */
.section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-size: 24px;
    font-weight: 400;
    color: #202124;
}

.section-content {
    color: #5f6368;
    line-height: 1.8;
    font-size: 15px;
}

.section-content p {
    margin-bottom: 16px;
}

.section-content strong {
    color: #202124;
    font-weight: 500;
}

/* Features List */
.features-list {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #e8f5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #01875f;
}

.feature-content h3 {
    font-size: 16px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.6;
}

/* Tags */
.tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.tag-primary {
    background: #fce8e6;
    color: #c5221f;
}

.tag-secondary {
    background: #e8f0fe;
    color: #1967d2;
}

/* Data Safety Section */
.safety-items {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.safety-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.safety-icon {
    color: #5f6368;
    font-size: 24px;
}

.safety-text {
    font-size: 15px;
    color: #202124;
    font-weight: 400;
}

/* Ratings Section */
.ratings-overview {
    display: flex;
    gap: 48px;
    margin-bottom: 32px;
    align-items: center;
}

.rating-summary {
    text-align: center;
}

.rating-big {
    font-size: 56px;
    font-weight: 300;
    color: #202124;
    line-height: 1;
    margin-bottom: 8px;
}

.rating-count {
    font-size: 14px;
    color: #5f6368;
    margin-top: 8px;
}

.rating-bars {
    flex: 1;
    max-width: 400px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rating-label {
    width: 12px;
    font-size: 14px;
    color: #5f6368;
}

.rating-bar-bg {
    flex: 1;
    height: 10px;
    background: #e8eaed;
    border-radius: 5px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: #01875f;
    transition: width 0.3s;
}

/* Reviews */
.reviews-container {
    display: grid;
    gap: 24px;
}

.review-card {
    padding: 20px;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.review-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.review-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author-info {
    flex: 1;
}

.review-author {
    font-size: 15px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 4px;
}

.review-date {
    font-size: 13px;
    color: #5f6368;
}

.review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 14px;
    color: #202124;
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-helpful {
    font-size: 13px;
    color: #5f6368;
}

/* Info Banner */
.info-banner {
    background: #e8f0fe;
    border: 1px solid #d2e3fc;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.info-banner-icon {
    color: #1967d2;
}

.info-banner-text {
    font-size: 14px;
    color: #1967d2;
}

/* Update Info */
.update-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e8eaed;
}

.update-label {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 4px;
}

.update-value {
    font-size: 14px;
    color: #5f6368;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        gap: 24px;
    }

    .app-icon {
        width: 80px;
        height: 80px;
    }

    .app-title {
        font-size: 24px;
    }

    .app-stats {
        gap: 16px;
        font-size: 13px;
    }

    .ratings-overview {
        flex-direction: column;
        gap: 32px;
    }

    .section-title {
        font-size: 20px;
    }

    .install-button {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.4s ease-out;
}
