/* ===========================================
   BLOG & ARTICLES STYLING
   Dark & Light theme support
   =========================================== */

/* Blog Page Styles */
.blog-page {
    margin-bottom: 60px;
}

.blog-hero {
    text-align: center;
    padding: 60px 20px 40px;
    margin-bottom: 48px;
    position: relative;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #a5b4fc;
    margin-bottom: 24px;
}

.blog-badge svg {
    color: #818cf8;
}

.blog-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 20px;
    background: linear-gradient(135deg, #e5e7eb 0%, #818cf8 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.blog-hero-subtitle {
    font-size: 18px;
    color: #9ca3af;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
}

/* Articles Grid */
.articles-section {
    margin-bottom: 60px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.article-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.3) 100%);
    border: 1px solid #1f2937;
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover::before {
    opacity: 1;
}

.article-card:hover {
    border-color: #4f46e5;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
}

.article-card-header {
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.article-category {
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-read-time {
    font-size: 12px;
    color: #9ca3af;
}

.article-card-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.article-card-title a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-card-title a:hover {
    color: #818cf8;
}

.article-card-excerpt {
    flex-grow: 1;
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0 0 20px;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.article-author-date {
    font-size: 13px;
    color: #6b7280;
}

.article-date {
    color: #9ca3af;
}

.article-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #818cf8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-card-link:hover {
    color: #a5b4fc;
    gap: 10px;
}

.article-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.article-card-link:hover svg {
    transform: translateX(4px);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.article-tag {
    padding: 4px 10px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 999px;
    font-size: 11px;
    color: #9ca3af;
}

/* Article Detail Page */
.article-page {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
}

.breadcrumb-link {
    color: #818cf8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #a5b4fc;
}

.breadcrumb-separator {
    color: #6b7280;
}

.breadcrumb-current {
    color: #9ca3af;
}

.article-header {
    margin-bottom: 48px;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.article-category-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-reading-meta {
    font-size: 14px;
    color: #9ca3af;
}

.article-title {
    font-size: 42px;
    font-weight: 800;
    color: #e5e7eb;
    line-height: 1.2;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #9ca3af;
}

.article-author-info,
.article-date-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-author-label,
.article-published-label {
    font-weight: 600;
}

.article-author-name {
    color: #818cf8;
}

.article-updated {
    color: #6b7280;
    font-size: 13px;
}

/* Article Content */
.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #d1d5db;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #e5e7eb;
    margin: 48px 0 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 36px 0 16px;
    line-height: 1.4;
}

.article-content p {
    margin: 0 0 24px;
    color: #d1d5db;
}

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

.article-content li {
    margin-bottom: 12px;
    color: #d1d5db;
    line-height: 1.7;
}

.article-content li strong {
    color: #e5e7eb;
    font-weight: 600;
}

.article-content a {
    color: #818cf8;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: #a5b4fc;
}

.article-content pre {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    overflow-x: auto;
}

.article-content code {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 15px;
    color: #a5b4fc;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.article-content th,
.article-content td {
    padding: 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content th {
    background: rgba(79, 70, 229, 0.1);
    font-weight: 600;
    color: #e5e7eb;
}

.article-content td {
    color: #d1d5db;
}

.article-content td strong {
    color: #e5e7eb;
}

/* FAQ Section */
.article-faq-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(99, 102, 241, 0.03) 100%);
    border-radius: 16px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    color: #e5e7eb;
    margin: 0 0 32px;
    text-align: center;
    background: linear-gradient(135deg, #818cf8 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
}

.faq-question {
    font-size: 20px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 12px;
    line-height: 1.4;
}

.faq-answer {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0 0 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Article Footer */
.article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #1f2937;
}

.article-tags-section {
    margin-bottom: 32px;
}

.article-tags-label {
    font-weight: 600;
    color: #e5e7eb;
    margin-right: 12px;
}

.article-back-link {
    text-align: center;
}

.btn-back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 999px;
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-back-to-blog:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(99, 102, 241, 0.15));
    border-color: rgba(79, 70, 229, 0.5);
    color: #a5b4fc;
    transform: translateY(-2px);
}

/* Related Articles */
.related-articles-section {
    margin-top: 60px;
}

.related-articles-title {
    font-size: 28px;
    font-weight: 700;
    color: #e5e7eb;
    margin: 0 0 32px;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-article-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.related-article-card:hover {
    border-color: rgba(79, 70, 229, 0.5);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(15, 23, 42, 0.3) 100%);
    transform: translateY(-4px);
}

.related-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.related-article-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
}

.related-article-title a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-article-title a:hover {
    color: #818cf8;
}

.related-article-excerpt {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0 0 16px;
}

.related-article-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #818cf8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-article-link:hover {
    color: #a5b4fc;
    gap: 8px;
}

/* Recent Articles on Home Page */

/* Recent Articles Section - Enhanced */

/* ========================================
   MODERN RECENT ARTICLES SECTION
   ======================================== */

.recent-articles-section {
    margin: 100px 0;
    padding: 80px 20px;
    position: relative;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(192, 132, 252, 0.03) 100%);
    border-radius: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.recent-articles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(192, 132, 252, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.recent-articles-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.recent-articles-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #818cf8 0%, #c084fc 100%);
    margin: 24px auto 0;
    border-radius: 2px;
}

.recent-articles-section .section-title-main {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #e879f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

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

.recent-article-card {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.recent-article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #818cf8 0%, #c084fc 50%, #e879f9 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.recent-article-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.recent-article-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(129, 140, 248, 0.4);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(30, 41, 59, 0.6) 100%);
    box-shadow: 
        0 20px 40px rgba(79, 70, 229, 0.2),
        0 15px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.recent-article-card:hover::before {
    opacity: 1;
}

.recent-article-card:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.recent-article-card > * {
    position: relative;
    z-index: 1;
}

.recent-article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-category {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.25) 0%, rgba(192, 132, 252, 0.25) 100%);
    border: 1px solid rgba(129, 140, 248, 0.3);
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    color: #c4b5fd;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.recent-article-card:hover .article-category {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.4) 0%, rgba(192, 132, 252, 0.4) 100%);
    border-color: rgba(129, 140, 248, 0.5);
    color: #e9d5ff;
    transform: translateY(-2px);
}

.article-read-time {
    font-size: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.article-read-time::before {
    content: '⏱';
    font-size: 16px;
    filter: grayscale(0.3);
}

.recent-article-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.recent-article-title a {
    color: #f8fafc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recent-article-title a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #818cf8 0%, #c084fc 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.recent-article-card:hover .recent-article-title a {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recent-article-card:hover .recent-article-title a::after {
    width: 100%;
}

.recent-article-excerpt {
    flex-grow: 1;
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.8;
    margin: 0 0 24px;
    font-weight: 400;
}

.recent-article-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #818cf8;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-article-link svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 2.5;
}

.recent-article-card:hover .recent-article-link {
    color: #c084fc;
    gap: 14px;
}

.recent-article-card:hover .recent-article-link svg {
    transform: translateX(6px);
}

.view-all-articles-wrapper {
    text-align: center;
    margin-top: 60px;
}

.btn-view-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(192, 132, 252, 0.2) 100%);
    border: 2px solid rgba(129, 140, 248, 0.4);
    border-radius: 50px;
    color: #f3f4f6;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(79, 70, 229, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-view-all-articles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-view-all-articles svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-width: 2.5;
    position: relative;
    z-index: 1;
}

.btn-view-all-articles:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.35) 0%, rgba(192, 132, 252, 0.35) 100%);
    border-color: rgba(129, 140, 248, 0.7);
    transform: translateY(-4px);
    box-shadow: 
        0 12px 30px rgba(79, 70, 229, 0.35),
        0 6px 15px rgba(192, 132, 252, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-view-all-articles:hover::before {
    width: 300px;
    height: 300px;
}

.btn-view-all-articles:hover svg {
    transform: translateX(6px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .recent-articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .recent-articles-section {
        margin: 60px 0;
        padding: 60px 16px;
        border-radius: 24px;
    }
    
    .recent-articles-section .section-title-main {
        font-size: 36px;
    }
    
    .recent-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .recent-article-card {
        padding: 24px;
    }
    
    .recent-article-title {
        font-size: 20px;
    }
    
    .btn-view-all-articles {
        padding: 16px 36px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .recent-articles-section {
        padding: 40px 12px;
    }
    
    .recent-articles-section .section-title-main {
        font-size: 28px;
    }
    
    .recent-article-card {
        padding: 20px;
    }
}


.article-category {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(192, 132, 252, 0.2) 100%);
    border: 1px solid rgba(129, 140, 248, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-read-time {
    font-size: 13px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-read-time::before {
    content: '⏱';
    font-size: 14px;
}

.recent-article-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.4;
}

.recent-article-title a {
    color: #f3f4f6;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    background-position: 0% 50%;
}

.recent-article-title a:hover {
    background-position: 100% 50%;
}

.recent-article-excerpt {
    flex-grow: 1;
    font-size: 15px;
    color: #d1d5db;
    line-height: 1.7;
    margin: 0 0 20px;
}

.recent-article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #818cf8;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 10px 0;
}

.recent-article-link svg {
    transition: transform 0.3s ease;
}

.recent-article-link:hover {
    color: #c084fc;
}

.recent-article-link:hover svg {
    transform: translateX(4px);
}

.view-all-articles-wrapper {
    text-align: center;
    margin-top: 48px;
}

.btn-view-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(192, 132, 252, 0.2) 100%);
    border: 2px solid rgba(129, 140, 248, 0.4);
    border-radius: 50px;
    color: #e5e7eb;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-view-all-articles svg {
    transition: transform 0.3s ease;
}

.btn-view-all-articles:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.3) 0%, rgba(192, 132, 252, 0.3) 100%);
    border-color: rgba(129, 140, 248, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.btn-view-all-articles:hover svg {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .recent-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .recent-articles-section {
        margin: 60px 0;
    }
    
    .section-title-main {
        font-size: 28px;
    }
}



.btn-view-all-articles svg {
    transition: transform 0.2s ease;
}

.btn-view-all-articles:hover svg {
    transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-hero-title,
    .article-title {
        font-size: 32px;
    }

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

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

    .articles-grid,
    .recent-articles-grid {
        grid-template-columns: 1fr;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   LIGHT THEME SUPPORT
   =========================================== */

/* ===========================================
   LIGHT THEME SUPPORT
   =========================================== */

/* Light Theme Overrides - Original Minimal Version */
[data-theme="light"] .article-page {
    color: #111827;
}

[data-theme="light"] .blog-hero::before {
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .blog-hero-title,
[data-theme="light"] .article-title {
    background: linear-gradient(135deg, #111827 0%, #4f46e5 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .blog-hero-subtitle {
    color: #6b7280;
}

[data-theme="light"] .blog-badge {
    background: rgba(79, 70, 229, 0.05);
    border-color: rgba(79, 70, 229, 0.2);
    color: #4f46e5;
}

[data-theme="light"] .blog-badge svg {
    color: #6366f1;
}

[data-theme="light"] .article-card,
[data-theme="light"] .related-article-card {
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.9) 0%, rgba(243, 244, 246, 0.8) 100%);
    border-color: #e5e7eb;
}

[data-theme="light"] .article-card:hover,
[data-theme="light"] .related-article-card:hover {
    border-color: #4f46e5;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.04) 0%, rgba(249, 250, 251, 0.9) 100%);
}

[data-theme="light"] .article-category,
[data-theme="light"] .article-tag {
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.2);
    color: #4f46e5;
}

[data-theme="light"] .article-card-title a,
[data-theme="light"] .related-article-title a,
[data-theme="light"] .article-header h1 {
    color: #111827;
}

[data-theme="light"] .article-card-title a:hover,
[data-theme="light"] .related-article-title a:hover {
    color: #4f46e5;
}

[data-theme="light"] .article-card-excerpt,
[data-theme="light"] .related-article-excerpt,
[data-theme="light"] .article-read-time,
[data-theme="light"] .article-author-date,
[data-theme="light"] .article-date,
[data-theme="light"] .breadcrumb-current {
    color: #6b7280;
}

[data-theme="light"] .article-card-footer,
[data-theme="light"] .article-tags {
    border-top-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .article-card-link,
[data-theme="light"] .related-article-link,
[data-theme="light"] .breadcrumb-link {
    color: #4f46e5;
}

[data-theme="light"] .article-card-link:hover,
[data-theme="light"] .related-article-link:hover,
[data-theme="light"] .breadcrumb-link:hover {
    color: #6366f1;
}

[data-theme="light"] .breadcrumb-separator {
    color: #9ca3af;
}

[data-theme="light"] .article-content,
[data-theme="light"] .article-content p,
[data-theme="light"] .article-content li {
    color: #374151;
}

[data-theme="light"] .article-content h2,
[data-theme="light"] .article-content h3,
[data-theme="light"] .article-content li strong,
[data-theme="light"] .related-articles-title,
[data-theme="light"] .article-meta-info {
    color: #111827;
}

[data-theme="light"] .article-content a {
    color: #4f46e5;
}

[data-theme="light"] .article-content a:hover {
    color: #6366f1;
}

/* Code blocks - Light Theme */
[data-theme="light"] .article-content pre {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .article-content code {
    color: #6366f1;
}

[data-theme="light"] .article-content pre code {
    color: #1e293b;
}

/* Tables - Light Theme */
[data-theme="light"] .article-content table {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .article-content th {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #1e293b;
    border: 1px solid #c7d2fe;
}

[data-theme="light"] .article-content td {
    color: #374151;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .article-content td strong {
    color: #111827;
}

[data-theme="light"] .article-content tr:hover td {
    background: rgba(79, 70, 229, 0.03);
}

[data-theme="light"] .article-footer {
    border-top-color: #e5e7eb;
}

[data-theme="light"] .article-author-name {
    color: #4f46e5;
}

[data-theme="light"] .article-updated {
    color: #9ca3af;
}

/* FAQ Section - Light Theme */
[data-theme="light"] .article-faq-section {
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.6) 0%, rgba(224, 231, 255, 0.4) 100%);
    border-color: rgba(79, 70, 229, 0.25);
}

[data-theme="light"] .faq-title {
    color: #111827;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .faq-item {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .faq-item:hover {
    background: rgba(249, 250, 251, 0.95);
    border-color: rgba(79, 70, 229, 0.4);
}

[data-theme="light"] .faq-question {
    color: #111827;
}

[data-theme="light"] .faq-answer {
    color: #374151;
}


[data-theme="light"] .recent-articles-section {
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.5) 0%, rgba(250, 245, 255, 0.5) 100%);
}

[data-theme="light"] .recent-articles-section::before {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(147, 51, 234, 0.15));
}

[data-theme="light"] .recent-articles-section .section-title::after {
    background: linear-gradient(90deg, #4f46e5 0%, #9333ea 100%);
}

[data-theme="light"] .recent-articles-section .section-title-main {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .recent-article-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.03),
        0 10px 30px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .recent-article-card::before {
    background: linear-gradient(90deg, #4f46e5 0%, #9333ea 50%, #a855f7 100%);
}

[data-theme="light"] .recent-article-card::after {
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .recent-article-card:hover {
    border-color: rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    box-shadow: 
        0 20px 40px rgba(79, 70, 229, 0.12),
        0 15px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="light"] .article-category {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.25);
    color: #6366f1;
}

[data-theme="light"] .recent-article-card:hover .article-category {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
    border-color: rgba(79, 70, 229, 0.4);
    color: #4f46e5;
}

[data-theme="light"] .article-read-time {
    color: #64748b;
}

[data-theme="light"] .recent-article-title a {
    color: #1e293b;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .recent-article-title a::after {
    background: linear-gradient(90deg, #4f46e5 0%, #9333ea 100%);
}

[data-theme="light"] .recent-article-card:hover .recent-article-title a {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .recent-article-excerpt {
    color: #475569;
}

[data-theme="light"] .recent-article-link {
    color: #4f46e5;
}

[data-theme="light"] .recent-article-card:hover .recent-article-link {
    color: #7c3aed;
}

[data-theme="light"] .btn-view-all-articles {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 2px solid rgba(79, 70, 229, 0.3);
    color: #1e293b;
    box-shadow: 
        0 4px 15px rgba(79, 70, 229, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .btn-view-all-articles::before {
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .btn-view-all-articles:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
    border-color: rgba(79, 70, 229, 0.5);
    box-shadow: 
        0 12px 30px rgba(79, 70, 229, 0.2),
        0 6px 15px rgba(147, 51, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}
