/* ============================================
   BLOG TECH & CURSOS - ESTILOS
   ============================================ */

/* Blog Hero Section */
.blog-hero {
    padding: 150px 0 100px;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.blog-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.blog-hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Blog Categories Filter */
.blog-categories {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.category-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.category-btn .coming-soon-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.3rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.95); }
}

.category-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    color: #fff;
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Blog Posts Section */
.blog-posts {
    padding: 80px 0;
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Blog Card */
.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.blog-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card-meta i {
    color: #6366f1;
}

.blog-card-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.4;
}

.blog-card-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.blog-card-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #6366f1;
}

.blog-card-author-info {
    display: flex;
    flex-direction: column;
}

.blog-card-author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.blog-card-author-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.blog-card-read-more {
    color: #6366f1;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-card-read-more:hover {
    color: #a855f7;
    gap: 0.8rem;
}

/* Blog Loading State */
.blog-loading {
    text-align: center;
    padding: 4rem 0;
    grid-column: 1 / -1;
}

.blog-loading i {
    font-size: 3rem;
    color: #6366f1;
    margin-bottom: 1rem;
}

.blog-loading p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* Blog Empty State */
.blog-empty {
    text-align: center;
    padding: 4rem 0;
}

.blog-empty i {
    font-size: 4rem;
    color: rgba(99, 102, 241, 0.3);
    margin-bottom: 1.5rem;
}

.blog-empty h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.blog-empty p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 2.5rem;
    }

    .blog-hero-content p {
        font-size: 1rem;
    }

    .blog-categories {
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-card-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-hero-content h1 {
        font-size: 2rem;
    }

    .blog-categories {
        flex-direction: column;
    }

    .category-btn {
        width: 100%;
        justify-content: center;
    }

    .blog-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Active Navigation Link */
.nav-links a.active {
    color: #6366f1;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
}

/* Login Button Styles */
.nav-links .btn-login {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.nav-links .btn-login::after {
    display: none;
}
