/* Blog Post Specific Styles */
.blog-container {
    padding-top: 8rem;
    padding-bottom: 5rem;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-date {
    color: #00D4FF;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.blog-h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: white;
}

.blog-hero-img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    margin-bottom: 3rem;
    border: 1px solid #27272a;
}

.blog-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #d4d4d8;
}

.blog-content img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 2.5rem 0;
    border: 1px solid #27272a;
}

.blog-intro {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    border-left: 4px solid #00D4FF;
    padding-left: 1.5rem;
}

.blog-h2 {
    font-size: 1.8rem;
    color: white;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.blog-h3 {
    font-size: 1.4rem;
    color: white;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.blog-p {
    margin-bottom: 1.5rem;
}

.blog-ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.blog-cta-box {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid #00D4FF;
    padding: 2rem;
    border-radius: 1rem;
    margin: 3rem 0;
    text-align: center;
}

.blog-cta-box h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    color: #a1a1aa;
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 600;
    transition: color 0.2s;
}

.blog-back-link:hover {
    color: #00D4FF;
}

.blog-faq-item {
    margin-bottom: 2rem;
    background: #18181b;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #27272a;
}

.blog-faq-q {
    color: #00D4FF;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.author-box {
    border-top: 1px solid #27272a;
    margin-top: 4rem;
    padding-top: 2rem;
    background: #111;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #27272a;
}

.author-name {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.author-role {
    color: #00D4FF;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

.author-bio {
    color: #d4d4d8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.author-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-link {
    color: #a1a1aa;
    transition: color 0.2s;
}

.author-link:hover {
    color: #00D4FF;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-container {
        padding-top: 6rem;
    }

    .blog-h1 {
        font-size: 2rem;
    }
}

/* =========================================
   Blog Animations (Fix 3)
   ========================================= */

/* 3a. Scroll Reveal Animation */
.blog-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.blog-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.blog-reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.blog-reveal:nth-child(3) {
    transition-delay: 0.2s;
}

/* 3b. Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00D4FF, #7C3AED);
    z-index: 10000;
    transition: width 0.1s linear;
    width: 0%;
}

/* 3c. Image Entrance */
.blog-content img,
.blog-hero-img {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.blog-content img.img-visible,
.blog-hero-img.img-visible {
    opacity: 1;
    transform: scale(1);
}

/* 3d. FAQ Hover Effect */
.blog-faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

/* 3e. Author Box Glow */
.author-box {
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.author-box:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

/* 3f. Related Card Lift */
.related-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
    background: #18181b;
    border: 1px solid #27272a;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* 3g. CTA Box Pulse */
.blog-cta-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-cta-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

/* 3h. Heading Underline Animation */
.blog-h2 {
    position: relative;
    display: inline-block;
}

.blog-h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00D4FF, #7C3AED);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.blog-h2.revealed::after {
    width: 60px;
}

/* =========================================
   Reading Time (Fix 5a)
   ========================================= */
.blog-reading-time {
    color: #a1a1aa;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

/* =========================================
   Share Buttons (Fix 5b)
   ========================================= */
.blog-share-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #18181b;
    border-radius: 1rem;
    border: 1px solid #27272a;
    flex-wrap: wrap;
}

.share-label {
    color: #a1a1aa;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #27272a;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.share-twitter:hover {
    background: #1DA1F2;
}

.share-linkedin:hover {
    background: #0A66C2;
}

.share-whatsapp:hover {
    background: #25D366;
}