/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    min-height: 100vh;
}

/* Header Section */
.app-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    gap: 30px;
}

.app-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

/* App Icon */
.app-icon {
    flex-shrink: 0;
}

.app-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.app-logo:hover {
    transform: scale(1.05);
}

/* App Details */
.app-details {
    flex: 1;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.app-tagline {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

.app-metrics {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-score {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffc107;
    font-size: 1.1rem;
}

.review-count {
    color: #666;
    font-size: 0.9rem;
}

.downloads {
    color: #666;
    font-size: 0.9rem;
}

.ranking {
    background-color: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Install Section */
.install-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.install-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 18px 100px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 400px;
    justify-content: center;
    white-space: nowrap;
    margin-left: 140px;
}

.install-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.install-button:active {
    transform: translateY(0);
}

.install-button i {
    font-size: 1.2rem;
}

/* Screenshots Section */
.screenshots-section {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 300px;
}

.screenshot-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.screenshot-caption {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-align: center;
    margin-top: 5px;
}

/* About App Section */
.about-app {
    margin-bottom: 40px;
}

.about-app h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.app-description {
    margin-bottom: 30px;
}

.highlight {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 15px;
}

.pioneer {
    font-size: 1.1rem;
    color: #28a745;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.core-features {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.app-description p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

/* Feature Categories */
.feature-categories {
    margin-bottom: 30px;
}

 .feature-category {
     margin-bottom: 25px;
     padding: 25px;
     background-color: #f8f9fa;
     border-radius: 15px;
     border-left: 5px solid #28a745;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .feature-category:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
 }

.feature-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.feature-category ul {
    list-style: none;
    padding-left: 0;
}

.feature-category li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.feature-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Note Section */
.note {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.note h4 {
    color: #856404;
    font-weight: 600;
    margin-bottom: 10px;
}

.note p {
    color: #856404;
    margin: 0;
}

/* Ratings and Reviews Section */
.ratings-reviews {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.ratings-reviews h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.verification-note {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.rating-overview {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
}

.rating-summary {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex: 1;
}

.average-rating {
    text-align: center;
    flex-shrink: 0;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
}

.stars-large {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 5px;
}

.stars-large i {
    color: #ffc107;
    font-size: 1.5rem;
}

.rating-distribution {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.stars-label {
    width: 50px;
    font-size: 0.9rem;
    color: #666;
}

.bar-container {
    flex: 1;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: linear-gradient(90deg, #ffc107 0%, #ffdb4d 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.bar-5 { width: 85%; }
.bar-4 { width: 10%; }
.bar-3 { width: 3%; }
.bar-2 { width: 1%; }
.bar-1 { width: 1%; }

.total-reviews {
    text-align: center;
    flex-shrink: 0;
}

.total-reviews span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* User Reviews */
.user-reviews {
    display: grid;
    gap: 20px;
}

.review {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #28a745;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.reviewer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 600;
    color: #1a1a1a;
}

.review-stars {
    display: flex;
    gap: 2px;
}

 .review-stars i {
     color: #ffc107;
     font-size: 1rem;
 }

 .review-stars .far.fa-star {
     color: #e0e0e0;
 }

.review-text {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        margin: 0;
        max-width: 100%;
    }

    .app-header {
        padding: 15px 0;
        gap: 15px;
        margin-bottom: 20px;
        align-items: center;
        text-align: center;
    }

    .app-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .app-logo {
        width: 80px;
        height: 80px;
        border-radius: 15px;
    }

    .app-title {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    .app-tagline {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .app-metrics {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .rating {
        gap: 5px;
    }

    .rating-score {
        font-size: 1.4rem;
    }

    .stars i {
        font-size: 0.9rem;
    }

    .review-count, .download-count {
        font-size: 0.8rem;
    }

    .ranking {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .install-section {
        width: 100%;
        justify-content: center;
    }

    .install-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        margin-left: 0;
        min-width: auto;
        padding: 16px 40px;
        font-size: 1.1rem;
        border-radius: 25px;
    }

    .screenshots-section {
        gap: 8px;
        margin-top: 20px;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 5px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .screenshots-section::-webkit-scrollbar {
        display: none;
    }

    .screenshot {
        max-width: 160px;
        min-width: 160px;
        gap: 6px;
        flex-shrink: 0;
    }

    .screenshot-img {
        max-width: 140px;
        width: 140px;
        height: auto;
        border-radius: 12px;
        border: 2px solid #e0e0e0;
    }

    .screenshot-caption {
        font-size: 0.85rem;
        text-align: center;
    }

    .about-app {
        padding: 20px 0;
    }

    .about-app h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .app-description {
        gap: 12px;
    }

    .highlight {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .pioneer {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .core-features {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .app-description p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .feature-categories {
        gap: 15px;
    }

    .feature-category {
        padding: 15px;
        gap: 10px;
    }

    .feature-category h3 {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .feature-category li {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .note {
        padding: 12px;
        margin-top: 15px;
    }

    .note h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .note p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .ratings-reviews {
        padding: 20px 0;
    }

    .ratings-reviews h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .verification-note {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .rating-overview {
        flex-direction: column;
        gap: 15px;
    }

    .rating-summary {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .average-rating {
        gap: 8px;
    }

    .rating-number {
        font-size: 2.2rem;
    }

    .stars-large i {
        font-size: 1.4rem;
    }

    .rating-distribution {
        width: 100%;
        max-width: 300px;
    }

    .rating-bar {
        gap: 8px;
        margin-bottom: 6px;
    }

    .stars-label {
        font-size: 0.8rem;
        min-width: 40px;
    }

    .bar-container {
        height: 8px;
    }

    .total-reviews {
        text-align: center;
    }

    .total-reviews span {
        font-size: 1.1rem;
    }

    .user-reviews {
        gap: 15px;
    }

    .review {
        padding: 15px;
        gap: 10px;
    }

    .reviewer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .reviewer-name {
        font-size: 0.9rem;
    }

    .review-stars i {
        font-size: 0.8rem;
    }

    .review-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 8px;
    }

    .app-header {
        padding: 12px 0;
        gap: 12px;
    }

    .app-logo {
        width: 70px;
        height: 70px;
    }

    .app-title {
        font-size: 1.6rem;
    }

    .app-tagline {
        font-size: 0.9rem;
    }

    .rating-score {
        font-size: 1.3rem;
    }

    .rating-number {
        font-size: 2rem;
    }

    .install-button {
        padding: 14px 30px;
        font-size: 1rem;
        max-width: 280px;
    }

    .screenshot {
        max-width: 140px;
        min-width: 140px;
    }

    .screenshot-img {
        max-width: 120px;
        width: 120px;
    }

    .about-app h2 {
        font-size: 1.4rem;
    }

    .highlight {
        font-size: 1rem;
    }

    .feature-category h3 {
        font-size: 0.9rem;
    }

    .feature-category li {
        font-size: 0.8rem;
    }

    .ratings-reviews h2 {
        font-size: 1.4rem;
    }

    .rating-number {
        font-size: 1.8rem;
    }

    .review {
        padding: 12px;
    }

    .reviewer-name {
        font-size: 0.85rem;
    }

    .review-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .app-title {
        font-size: 1.4rem;
    }

    .app-logo {
        width: 60px;
        height: 60px;
    }

    .install-button {
        padding: 12px 25px;
        font-size: 0.95rem;
        max-width: 250px;
    }

    .screenshot {
        max-width: 120px;
        min-width: 120px;
    }

    .screenshot-img {
        max-width: 100px;
        width: 100px;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-header,
.about-app,
.ratings-reviews {
    animation: fadeInUp 0.6s ease-out;
}



.review {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Loading Animation for Install Button */
.install-button.loading {
    position: relative;
    pointer-events: none;
}

.install-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
} 