/* Blog Styles */

.blog-hero {
    background: linear-gradient(135deg, #744BFF 0%, #3503FC 100%);
    padding: 80px 20px 60px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.blog-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

/* Blog List */
.blog-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.blog-list h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(116, 75, 255, 0.15);
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #744BFF 0%, #3503FC 100%);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-content {
    padding: 25px;
}

.post-card-category {
    display: inline-block;
    background: #B1FD07;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.post-card-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 12px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
    line-height: 1.3;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: #744BFF;
}

.post-card-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.post-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #999;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.post-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-card-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #744BFF;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.read-more-link:hover {
    color: #3503FC;
    gap: 12px;
}

/* Article Page */
.article-hero {
    background: linear-gradient(135deg, #744BFF 0%, #3503FC 100%);
    padding: 100px 20px 60px;
    text-align: center;
}

.article-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    background: #B1FD07;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.article-hero h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin: 40px 0 20px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.article-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 30px 0 15px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.article-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 10px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.article-content blockquote {
    border-left: 4px solid #744BFF;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f7ff;
    border-radius: 0 12px 12px 0;
}

.article-content blockquote p {
    font-size: 1.15rem;
    color: #555;
    font-style: italic;
    margin: 0;
}

.article-content strong {
    color: #333;
}

.article-content a {
    color: #744BFF;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #3503FC;
}

/* Exceção para botões CTA - não aplicar estilo de link */
.article-content a.btn-cta,
.article-content a.btn-cta:hover {
    color: #fff;
    text-decoration: none;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #744BFF 0%, #3503FC 100%);
    padding: 30px;
    border-radius: 16px;
    margin: 40px 0;
}

.highlight-box h3 {
    color: #fff;
    margin-top: 0;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.95);
}

.highlight-box strong {
    color: #B1FD07;
}

.highlight-box a {
    color: #B1FD07;
}

.highlight-box a:hover {
    color: #d4fe6b;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
}

.highlight-box li {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 25px;
    position: relative;
}

.highlight-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #B1FD07;
    font-weight: bold;
}

/* CTA Box */
.article-cta {
    background: #f8f7ff;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 50px 0;
}

.article-cta h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.article-cta p {
    color: #666;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-article {
    display: inline-block;
    background-color: #3503FC;
    color: #fff;
    padding: 1.25rem 3rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Product Sans Regular', Arial, sans-serif;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(53, 3, 252, 0.2);
}

.btn-cta-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-cta-article:hover::before {
    left: 100%;
}

.btn-cta-article:hover {
    background-color: #2a02c9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(53, 3, 252, 0.4);
}

.btn-cta-article:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(53, 3, 252, 0.3);
}

/* Breadcrumb */
.breadcrumb {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 0;
    font-size: 0.9rem;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.breadcrumb a {
    color: #744BFF;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
    margin: 0 8px;
}

/* Related Posts */
.related-posts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    border-top: 1px solid #eee;
}

.related-posts h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

/* Back to Blog */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #744BFF;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    font-family: 'Product Sans Regular', Arial, sans-serif;
}

.back-to-blog:hover {
    color: #3503FC;
    gap: 12px;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-family: 'Product Sans Regular', Arial, sans-serif;
    font-size: 0.95rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table thead tr {
    background: linear-gradient(135deg, #744BFF 0%, #3503FC 100%);
    color: #fff;
}

.comparison-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: bold;
    font-size: 1rem;
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #F6F3FF;
}

.comparison-table tbody tr:hover {
    background-color: #E8E0FF;
}

.comparison-table td:first-child {
    color: #333;
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .article-hero h1 {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-cta {
        padding: 30px 20px;
    }
}
