/* Palette Refresh for Premium page */
:root{
    --brand-primary:#7c3aed;
    --brand-accent:#10b981;
    --text-primary:#111827;
    --text-secondary:#4b5563;
    --border-light:#e5e7eb;
    --bg-card:#ffffff;
    --shadow-soft:0 10px 30px rgba(0,0,0,.08);
}

.premium-header .page-title{color:#ffffff}
.gradient-text{background:none;-webkit-background-clip:initial;-webkit-text-fill-color:initial;background-clip:initial;color:#fffbeb}
.page-description{color:#f1f5f9}

.benefit-card{background:linear-gradient(135deg,#f9fafb,#fff);border:1px solid var(--border-light);border-radius:1rem;box-shadow:var(--shadow-soft);padding:1.25rem}
.apps-grid-premium .app-card-premium{border:1px solid var(--border-light);border-radius:1rem;box-shadow:var(--shadow-soft);background:#fff}
.app-link-btn{background:var(--brand-primary);color:#fff;border:none;border-radius:.75rem;padding:.6rem 1rem}
.app-link-btn:hover{opacity:.92}

.section-title{color:var(--text-primary)}
.section-description{color:var(--text-secondary)}
/* Premium Page Styles */

.premium-page {
    background: #fff;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.premium-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.page-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    color: #fffbeb; /* soft warm accent for contrast on purple */
}

.page-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    color: #e5e7eb;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 2rem;
    background: #f9fafb;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Apps Section */
.apps-section-premium {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.apps-count {
    font-size: 1rem;
    color: #8b5cf6;
    font-weight: 600;
}

/* Filters */
.filters-premium {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.filter-btn.active {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: white;
}

/* Apps Grid */
.apps-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.app-card-premium {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.app-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #8b5cf6;
}

.app-tier-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
}

.tier-premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.tier-professional {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.app-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.app-status-badge.active {
    background: #10b981;
    color: white;
}

.app-status-badge.coming-soon {
    background: #f59e0b;
    color: white;
}

.app-image-premium {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-image-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.placeholder-icon {
    font-size: 4rem;
}

.app-content-premium {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.app-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.app-description {
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.app-footer-premium {
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.app-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.app-link-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateX(4px);
}

.app-link-btn.disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.app-link-btn.disabled:hover {
    transform: none;
}

/* CTA Section */
.cta-section-premium {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-large {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.btn-primary-large:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.btn-secondary-large {
    background: white;
    color: #1f2937;
}

.btn-secondary-large:hover {
    background: #f3f4f6;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.empty-state p {
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .apps-grid-premium {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
