/* Enhanced Blog Styles - Human Touch & Engagement */

/* Author Bio Section */
.author-bio {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid #bae6fd;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0 0 0.5rem 0;
    color: #1e40af;
    font-size: 1.1rem;
}

.author-info .author-title {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.author-info p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Social Sharing */
.social-share {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 2rem 0;
}

.social-share-label {
    font-weight: 600;
    color: #475569;
    margin-right: 0.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.2rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn.twitter { background: #1DA1F2; color: white; }
.share-btn.facebook { background: #4267B2; color: white; }
.share-btn.linkedin { background: #0077B5; color: white; }
.share-btn.whatsapp { background: #25D366; color: white; }
.share-btn.email { background: #EA4335; color: white; }
.share-btn.copy-link { background: #6366f1; color: white; }

/* Was This Helpful Section */
.feedback-section {
    background: #fafafa;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
    border: 1px solid #e5e7eb;
}

.feedback-section h4 {
    margin: 0 0 1rem 0;
    color: #374151;
}

.feedback-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.feedback-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.feedback-btn:hover {
    border-color: #1e40af;
    background: #f0f9ff;
}

.feedback-btn.selected-yes {
    border-color: #22c55e;
    background: #dcfce7;
    color: #166534;
}

.feedback-btn.selected-no {
    border-color: #ef4444;
    background: #fee2e2;
    color: #991b1b;
}

.feedback-thanks {
    color: #22c55e;
    font-weight: 600;
    display: none;
}

/* Related Articles */
.related-articles {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
}

.related-articles h3 {
    color: #1e40af;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dbeafe;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #1e40af;
}

.related-card h4 {
    color: #1e40af;
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
}

.related-card p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    z-index: 9999;
    transition: width 0.1s;
}

/* Last Updated Notice */
.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0fdf4;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Personal Story Box */
.personal-story {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    font-style: italic;
}

.personal-story::before {
    content: "💡 Personal Experience:";
    display: block;
    font-style: normal;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.5rem;
}

/* Key Takeaway Box */
.key-takeaway {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.key-takeaway h4 {
    color: #166534;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.key-takeaway h4::before {
    content: "✅";
}

/* Newsletter Signup Enhanced */
.newsletter-box {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.newsletter-box h3 {
    color: white;
    margin: 0 0 0.75rem 0;
}

.newsletter-box p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.875rem 1.5rem;
    background: #fbbf24;
    color: #1e3a8a;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter-form button:hover {
    background: #fcd34d;
    transform: scale(1.02);
}

/* Statistics Box */
.stat-highlight {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .social-share {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}
