/* Blog-specific styles */

/* Blog Header */
.blog-hero {
    padding: 140px 0 60px;
    background: var(--bg-alt);
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.blog-hero p {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Grid (listing page) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    padding: 80px 0;
}

.blog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-card-image.green {
    background: var(--gradient-secondary);
}

.blog-card-body {
    padding: 24px;
}

.blog-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--text);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Article Page */
.article-hero {
    padding: 140px 0 40px;
    background: var(--bg-alt);
}

.article-breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.article-breadcrumb a {
    color: var(--primary);
}

.article-meta {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.article-content h2 {
    font-size: 1.75rem;
    margin: 48px 0 20px;
    color: var(--text);
}

.article-content h3 {
    font-size: 1.35rem;
    margin: 36px 0 16px;
    color: var(--text);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    margin: 32px 0;
    padding: 16px 24px;
    background: var(--bg-alt);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-light);
}

.article-content strong {
    color: var(--text);
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

.article-content .highlight-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius);
    padding: 24px;
    margin: 32px 0;
}

.article-content .highlight-box h3 {
    margin-top: 0;
    color: var(--primary);
}

/* Article CTA */
.article-cta {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.article-cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: white;
}

.article-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.article-cta .btn-primary {
    background: white;
    color: var(--primary);
    font-size: 1.1rem;
    padding: 16px 32px;
}

.article-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.article-cta .cta-note {
    margin-top: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Pricing page specific */
.pricing-hero {
    padding: 140px 0 20px;
    background: var(--bg-alt);
    text-align: center;
}

.pricing-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.pricing-hero p {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* FAQ page specific */
.faq-hero {
    padding: 140px 0 20px;
    background: var(--bg-alt);
    text-align: center;
}

.faq-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.faq-hero p {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-hero h1, .article-hero h1, .pricing-hero h1, .faq-hero h1 {
        font-size: 2rem;
    }
    .article-content {
        padding: 40px 16px 60px;
    }
}
