/* Shared Page Styles - Used across Home, Articles, and ArticleDetail pages */

/* Common Article & Page Styles */
.articles-page, .article-detail-page {
    background-color: #f8f9fa;
}

/* Article Cards */
.articles-page .article-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.articles-page .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
}

.articles-page .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    font-weight: 500;
}

.articles-page .card-title a:hover {
    color: #0056b3 !important;
}

/* Article Detail Styles */
.article-title {
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

.article-tags .badge {
    font-size: 0.85rem;
    padding: 0.4em 0.8em;
    font-weight: 500;
    transition: transform 0.2s;
}

.article-tags .badge:hover {
    transform: translateY(-2px);
}

.article-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #495057;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: #212529;
    font-size: 1.75rem;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #343a40;
    font-size: 1.5rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body a {
    color: #007bff;
    text-decoration: underline;
}

.article-body a:hover {
    color: #0056b3;
}

.article-body blockquote {
    border-right: 4px solid #007bff;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: #f8f9fa;
    font-style: italic;
}

.article-body code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.95em;
    color: #e83e8c;
}

.article-body pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "?";
    padding: 0 0.5rem;
}

/* Pagination Styles */
.pagination .page-link {
    color: #007bff;
    border-radius: 0.25rem;
    margin: 0 0.2rem;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* Demo Features List */
.demo-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-features li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

.demo-features li i {
    color: rgba(255, 255, 255, 0.9);
}

/* Demo CTA Section */
.demo-cta {
    text-align: center;
}

.demo-cta .btn-light {
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.demo-cta .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.demo-cta .quick-credentials {
    display: inline-block;
}

.demo-cta .credential-quick {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-cta .credential-quick .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

/* About Us Section Styles */
.about-us {
    background: #ffffff;
}

.about-content .lead {
    color: #495057;
    line-height: 1.8;
}

.about-highlights .highlight-item {
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-highlights .highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.about-highlights .highlight-item i {
    display: block;
}

.about-highlights .highlight-item h5 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #212529;
}

.about-highlights .highlight-item p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .article-body {
        font-size: 1rem;
    }
    
    .article-title {
        font-size: 1.75rem !important;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-highlights .highlight-item {
        margin-bottom: 1rem;
    }
    
    .demo-features li {
        font-size: 0.9rem;
    }
    
    .demo-cta .btn-light {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .demo-cta .quick-credentials {
        margin-top: 1rem;
        width: 100%;
    }
}

/* Additional mobile responsiveness */
@media (max-width: 576px) {
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .demo-section .lead {
        font-size: 1rem;
    }
    
    .pricing-card {
        margin-bottom: 1.5rem;
    }
}
