/* Apps Page - Professional Design */

/* Page Header Spacer */
.page-header-spacer {
    height: 80px;
}

/* Hero Section for Apps */
.apps-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.apps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0d47a1 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    z-index: 0;
}

.apps-section .container {
    position: relative;
    z-index: 1;
}

/* Section Header - White Text on Dark Background */
.apps-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.apps-section .section-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.apps-section .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.apps-section .section-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

/* App Card - Professional Style */
.app-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.08),
        0 24px 60px rgba(0, 0, 0, 0.12);
}

/* Card Header with Gradient */
.app-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 32px 28px 24px;
    position: relative;
}

.app-card:nth-child(1) .app-card-header {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
}

.app-card:nth-child(2) .app-card-header {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
}

.app-card:nth-child(3) .app-card-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.app-card:nth-child(4) .app-card-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* App Icon */
.app-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Badge */
.app-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

/* App Title in Header */
.app-card-header .app-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

/* Card Content */
.app-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Price Section */
.app-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.price-main {
    font-size: 2rem;
    font-weight: 800;
    color: #0066cc;
    letter-spacing: -0.5px;
}

.price-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.price-divider {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

.price-monthly {
    font-size: 1.125rem;
    font-weight: 700;
    color: #334155;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

/* Description */
.app-description {
    margin-bottom: 20px;
}

.app-description p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.app-description p:first-child {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.0625rem;
}

/* Features List */
.app-features {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.app-features li {
    padding: 10px 16px;
    padding-right: 44px;
    position: relative;
    color: #334155;
    font-size: 0.9375rem;
    font-weight: 500;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.app-features li:hover {
    background: #f1f5f9;
    transform: translateX(-4px);
}

.app-features li::before {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
}

.app-features li::after {
    content: '✓';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-weight: bold;
    font-size: 0.75rem;
}

/* CTA Button */
.app-cta-wrapper {
    margin-top: auto;
}

.app-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.app-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.app-cta-button:hover::before {
    left: 100%;
}

.app-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.35);
}

.app-cta-button .main-text {
    font-size: 1rem;
    color: #ffffff;
}

/* Active nav link */
.nav-links a.active {
    color: #0066cc;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .apps-section .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .apps-section {
        padding: 80px 0 60px;
    }
    
    .apps-section::before {
        height: 350px;
    }
    
    .apps-section .section-title {
        font-size: 2rem;
    }
    
    .apps-section .section-desc {
        font-size: 1rem;
    }
    
    .app-card {
        border-radius: 20px;
    }
    
    .app-card-header {
        padding: 24px 20px 20px;
    }
    
    .app-content {
        padding: 20px;
    }
    
    .app-card-header .app-title {
        font-size: 1.25rem;
    }
    
    .price-main {
        font-size: 1.5rem;
    }
    
    .app-features li {
        padding: 8px 12px;
        padding-right: 40px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .app-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .price-divider {
        display: none;
    }
}
