/* Blog Page Styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
}

.blog-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: #f9fafb;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #2563EB;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #6B7280;
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-title {
    margin: 0 0 16px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: #2563EB;
}

.blog-excerpt {
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: #EFF6FF;
    color: #1E40AF;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.blog-read-more {
    color: #2563EB;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.blog-read-more:hover {
    gap: 10px;
}

/* Blog CTA Section */
.blog-cta {
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}

.blog-cta-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-cta-content p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 32px;
}

.blog-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-cta .btn-primary {
    background: white;
    color: #2563EB;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.blog-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.blog-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Blog Article Page Styles */
.blog-article-header {
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    padding: 100px 0 60px;
    color: white;
}

.blog-article-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 15px;
    opacity: 0.95;
}

.blog-article-header h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
}

.blog-article-intro {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 800px;
}

.blog-article-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-article-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 48px 0 24px;
    line-height: 1.3;
}

.blog-article-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1F2937;
    margin: 36px 0 20px;
}

.blog-article-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 24px;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 24px 0;
    padding-left: 28px;
}

.blog-article-content li {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 12px;
}

.blog-article-content strong {
    color: #111827;
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-left: 4px solid #2563EB;
    padding: 24px 28px;
    border-radius: 8px;
    margin: 32px 0;
}

.highlight-box h4 {
    color: #1E40AF;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.highlight-box p {
    color: #1E40AF;
    margin-bottom: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.feature-item {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #2563EB;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.feature-item h4 {
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-item p {
    color: #4B5563;
    font-size: 16px;
    margin-bottom: 0;
}

.blog-article-cta {
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    color: white;
    padding: 48px 40px;
    border-radius: 16px;
    text-align: center;
    margin: 60px 0;
}

.blog-article-cta h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.blog-article-cta p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 28px;
    color: white;
}

.blog-article-cta .btn-primary {
    background: white;
    color: #2563EB;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.blog-article-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 36px;
    }

    .blog-hero p {
        font-size: 18px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-article-header h1 {
        font-size: 32px;
    }

    .blog-article-intro {
        font-size: 18px;
    }

    .blog-article-content h2 {
        font-size: 26px;
    }

    .blog-article-content h3 {
        font-size: 20px;
    }

    .blog-article-content p,
    .blog-article-content li {
        font-size: 17px;
    }

    .blog-cta-content h3 {
        font-size: 26px;
    }

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

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 60px 0 40px;
    }

    .blog-section {
        padding: 40px 0;
    }

    .blog-cta {
        padding: 40px 24px;
    }
}
