/* Featured app */
.app-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.app-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.app-title {
    flex: 1;
    min-width: 220px;
}

.app-title h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin: 0 0 6px 0;
}

.app-tagline {
    margin: 0;
    color: #555;
}

.store-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.store-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.app-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.badge {
    background: #f1f3f4;
    color: #495057;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
    border: 1px solid #adb5bd;
}

/* Screenshots */
.screenshots {
    display: flex;
    gap: 16px;
    margin: 25px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.screenshot {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    text-align: center;
}

.screenshot img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.screenshot img:hover {
    transform: scale(1.03);
}

.screenshot figcaption {
    margin-top: 8px;
    font-size: 0.85em;
    color: #666;
}

.app-note {
    margin: 25px 0 0 0;
    padding-left: 16px;
    border-left: 3px solid var(--primary-color);
    color: #444;
}

/* Build details */
.build-list {
    margin: 15px 0;
    padding-left: 20px;
}

.build-list li {
    margin-bottom: 8px;
}

/* Certificates */
.cert-list {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.cert-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    flex-wrap: wrap;
}

.cert-list li:last-child {
    border-bottom: none;
}

.cert-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.cert-list a:hover {
    text-decoration: underline;
}

.cert-meta {
    color: #6c757d;
    font-size: 0.9em;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .screenshots {
        gap: 10px;
    }

    .cert-list li {
        flex-direction: column;
        gap: 4px;
    }

    .container {
        padding: 20px 10px;
    }

    .content {
        padding: 20px;
    }
}
