/* App Store Style - Clean & Minimal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007AFF;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f7;
    --text-dark: #1d1d1f;
    --text-gray: #6e6e73;
    --text-light: #86868b;
    --border-color: #d2d2d7;
    --gold: #d4af37;
    --green: #34c759;
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container-narrow {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* App Header */
.app-header {
    background: var(--bg-white);
    padding: 40px 0 20px;
    border-bottom: 1px solid var(--border-color);
}

.app-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.icon-img {
    width: 120px;
    height: 120px;
    border-radius: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-details {
    flex: 1;
}

.app-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.app-subtitle {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.meta-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
}

.app-actions {
    margin-top: 20px;
}

.btn-download {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 32px;
    border-radius: 20px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-download:hover {
    opacity: 0.8;
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 10px 0;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stars-small {
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 2px;
}

.stars-small .half {
    opacity: 0.5;
}

.stat-icon {
    width: 24px;
    height: 24px;
}

/* Screenshots */
.screenshots {
    background: var(--bg-white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.screenshots-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshots-scroll::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex-shrink: 0;
    scroll-snap-align: start;
}

.screenshot-item img {
    height: 520px;
    width: auto;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Offer */
.hero-offer {
    background: linear-gradient(135deg, var(--gold), #c9a227);
    padding: 60px 0;
    text-align: center;
}

.offer-box {
    max-width: 600px;
    margin: 0 auto;
}

.offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-title {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.1;
}

.offer-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
}

.btn-primary-large {
    background: white;
    color: var(--gold);
    border: none;
    padding: 14px 40px;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary-large:hover {
    transform: scale(1.05);
}

/* Description */
.description {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.description-content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
}

.features-list {
    list-style: none;
    margin: 20px 0;
}

.features-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.features-list li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--text-gray);
}

.subsection-title {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 16px;
    color: var(--text-dark);
}

.disclaimer {
    background: var(--bg-gray);
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 30px;
}

.disclaimer p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Ratings & Reviews */
.ratings-reviews {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.see-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 17px;
}

.rating-summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: var(--radius);
}

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

.score-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.score-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 4px;
}

.rating-bars {
    flex: 1;
}

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

.bar-label {
    font-size: 13px;
    color: var(--text-gray);
    width: 24px;
}

.bar {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gold);
}

.rating-count {
    font-size: 14px;
    color: var(--text-gray);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

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

.review-stars {
    color: var(--gold);
    font-size: 14px;
}

.review-date {
    font-size: 13px;
    color: var(--text-light);
}

.review-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.review-text {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.6;
}

.review-author {
    font-size: 13px;
    color: var(--text-gray);
}

/* What's New */
.whats-new {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.version-info {
    padding: 20px;
    background: var(--bg-gray);
    border-radius: var(--radius);
}

.version-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.version-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.version-date {
    font-size: 13px;
    color: var(--text-gray);
}

.version-notes {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Information */
.information {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 15px;
    color: var(--text-gray);
}

.info-value {
    font-size: 15px;
    color: var(--text-dark);
    text-align: right;
}

/* More Apps */
.more-apps {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.apps-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: background 0.2s;
}

.app-item:hover {
    background: var(--bg-gray);
}

.app-item-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    flex-shrink: 0;
}

.app-item-info {
    flex: 1;
}

.app-item-info h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.app-item-info p {
    font-size: 13px;
    color: var(--text-gray);
}

.btn-get {
    background: var(--bg-gray);
    border: none;
    padding: 8px 20px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-get:hover {
    background: var(--border-color);
}

/* Footer */
.footer {
    background: var(--bg-gray);
    padding: 40px 0;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
}

.footer-disclaimer {
    text-align: center;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.footer-copyright {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .app-title {
        font-size: 24px;
    }
    
    .icon-img {
        width: 100px;
        height: 100px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .screenshot-item img {
        height: 400px;
    }
    
    .offer-title {
        font-size: 32px;
    }
    
    .rating-summary {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .rating-bars {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .app-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshot-item img {
        height: 320px;
    }
    
    .offer-title {
        font-size: 28px;
    }
    
    .section-heading {
        font-size: 20px;
    }
}
