/* Category Page Styles */

/* Hero Section */
.category-hero {
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.95), rgba(131, 56, 236, 0.95)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    min-height: 40vh;
    padding: 5rem 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    overflow: hidden;
}

.category-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-hero .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    /* animation removida para fundo estático */
}

.category-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.category-hero .hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.category-hero .hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.category-hero .hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.category-hero .hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: none !important;
    transform: none !important;
}

.category-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Section */
.category-section {
    padding: 4rem 0;
    background: #f8fafc;
}

/* Category Info */
.category-info {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: all 0.3s ease;
}

.category-info:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12),
        0 25px 70px rgba(0, 0, 0, 0.1),
        0 2px 5px rgba(0, 0, 0, 0.06);
}

.category-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.info-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    padding-bottom: 1rem;
}

.info-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3182ce, #667eea);
    border-radius: 2px;
}

.info-header h2 i {
    color: #3182ce;
    font-size: 2rem;
}

.category-description p {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 85px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05),
                0 1px 3px rgba(0, 0, 0, 0.03);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4),
                0 4px 15px rgba(118, 75, 162, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-item:active {
    transform: translateY(-2px) scale(1.01);
}

.feature-item i {
    font-size: 1.75rem;
    color: #667eea;
    display: inline-block;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.2));
}

.feature-item:hover i {
    color: white;
    transform: rotate(5deg) scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.feature-item span {
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.feature-item:hover span {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Posts Section */
.posts-section {
    margin-top: 4rem;
}

/* Category Search */
.category-search-container {
    margin: 2rem 0 3rem;
}

.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.category-search-form {
    position: relative;
}


.search-input-wrapper {
    position: relative;
    background: white;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid #667eea;
    transition: all 0.3s ease;
}


/* Mantém o box-shadow de foco para realce extra, mas borda sempre ativa */
.search-input-wrapper:focus-within {
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
    font-size: 1.1rem;
    z-index: 2;
}

.category-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background: transparent;
    outline: none;
    color: #2d3748;
}

.category-search-input::placeholder {
    color: #a0aec0;
}

.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
}

.suggestion-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f7fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f7fafc;
    transform: translateX(5px);
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.suggestion-description {
    font-size: 0.875rem;
    color: #718096;
}

.no-suggestions {
    padding: 1.5rem;
    text-align: center;
    color: #718096;
    font-style: italic;
}

.suggestion-item.highlighted {
    background: #f7fafc !important;
    transform: translateX(5px) !important;
}

.posts-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    padding-bottom: 1rem;
}

.posts-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3182ce, #667eea);
    border-radius: 2px;
}

.posts-header h2 i {
    color: #3182ce;
    font-size: 2rem;
}

.posts-header p {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 3rem;
    text-align: center;
}

/* Modern Posts Grid */
.modern-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.modern-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.modern-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.post-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-post-card:hover .post-image-container img {
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-post-card:hover .post-overlay {
    opacity: 1;
}

.post-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: white;
}

.post-content {
    padding: 1.5rem;
    overflow: visible;
}

.post-meta {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #718096;
    width: 100%;
    overflow: visible !important;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-stats {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
}

.post-stats .post-stat-item {
    display: inline-flex !important;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex-direction: row !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: relative !important;
    transform: none !important;
    min-width: auto !important;
    max-width: none !important;
    width: auto !important;
    height: auto !important;
}

.post-stats .post-stat-item:nth-child(2) {
    color: #e53e3e !important;
    font-weight: bold !important;
}

.post-stats .post-stat-item i {
    color: #667eea;
    font-size: 0.9rem;
    display: inline-block !important;
}

.post-title {
    margin-bottom: 0.75rem;
}

.post-title a {
    color: #2d3748;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #667eea;
}

.post-excerpt {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* Pagination */
.pagination-wrapper {
    margin: 3rem 0;
}

.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.pagination-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.pagination-info {
    color: #718096;
    font-weight: 600;
}

/* Load More */
.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

.btn-load-more {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
}

.btn-load-more:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.no-results-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 3rem;
}

.no-results h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.no-results p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
.category-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: visible; /* Permitir que elementos filhos ultrapassem o container */
}

.cta-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}



.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


/* ========================================
   ALL CATEGORIES PAGE STYLES
   ======================================== */

/* No Categories Message */
.no-categories {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.no-categories i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.no-categories p {
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.1), rgba(131, 56, 236, 0.1));
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-content .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
}

.cta-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 134, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-hero .hero-title {
        font-size: 2.5rem;
    }

    .category-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .category-info {
        padding: 2rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .modern-posts-grid {
        grid-template-columns: 1fr;
    }

    .pagination-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .category-cta {
        padding: 2rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Category Card Modern - Para página de categorias */
.category-card-modern {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card-modern .category-card-icon {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem 1rem 0 0;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-modern .category-card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.category-card-modern:hover .category-card-icon {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(58, 134, 255, 0.3);
}

.category-card-modern .post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.category-card-modern .post-title {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.category-card-modern .post-excerpt {
    flex: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #64748b;
}

.category-card-modern .post-footer {
    margin-top: auto;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Category Stats - Para página de categorias */
.category-stats {
    margin: 3rem 0;
    padding: 2rem 0;
}

.category-stats .stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.category-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(58, 134, 255, 0.15);
}

.category-stats .stat-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, #3a86ff, #8338ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.category-stats .stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.5rem 0;
}

.category-stats .stat-card p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Feature Modal Styles */
.feature-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.feature-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 10% auto;
    padding: 0;
    border: none;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    position: relative;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.feature-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3a86ff, #8338ec, #ff006e);
}

.feature-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #64748b;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.feature-modal-close:hover,
.feature-modal-close:focus {
    color: #ff006e;
    transform: rotate(90deg);
    background: rgba(255, 0, 110, 0.1);
}

.feature-modal-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.05), rgba(131, 56, 236, 0.05));
}

.feature-modal-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, #3a86ff, #8338ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.feature-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    background: linear-gradient(135deg, #1e293b, #3a86ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-modal-body {
    padding: 2rem;
}

.feature-modal-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    text-align: justify;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-modal-content {
        margin: 20% auto;
        width: 95%;
    }

    .feature-modal-header {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .feature-modal-icon {
        font-size: 3rem;
    }

    .feature-modal-title {
        font-size: 1.5rem;
    }

    .feature-modal-body {
        padding: 1.5rem;
    }

    .feature-modal-text {
        font-size: 1rem;
    }
}
