/* ========== CONTEUDOS PAGE ========== */
.ct-hero {
    padding: 140px 0 60px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.ct-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102,126,234,.12) 0%, transparent 70%);
    pointer-events: none;
}

.ct-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.ct-hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.ct-hero-content h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ct-hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.ct-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.ct-stat {
    text-align: center;
}

.ct-stat-num {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ct-stat-label {
    font-size: .85rem;
    color: var(--text-muted);
}

/* ========== CATEGORIES ========== */
.ct-categories {
    padding: 60px 0 100px;
}

.ct-category {
    margin-bottom: 64px;
}

.ct-cat-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.ct-cat-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ct-cat-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.ct-cat-header > div:nth-child(2) p {
    font-size: .9rem;
    color: var(--text-muted);
}

.ct-cat-count {
    margin-left: auto;
    padding: 6px 16px;
    background: rgba(102,126,234,.1);
    border: 1px solid rgba(102,126,234,.2);
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.ct-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.ct-items-grid.ct-templates {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.ct-item {
    background: var(--dark-lighter);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    padding: 20px;
    transition: all .3s ease;
}

.ct-item:hover {
    transform: translateY(-3px);
    border-color: rgba(102,126,234,.25);
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

.ct-item-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.ct-item h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.ct-item p {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.5;
}

/* ========== NEWS SECTIONS ========== */
.ct-news-section {
    margin-bottom: 32px;
}

.ct-news-cat-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding: 12px 20px;
    background: rgba(255,255,255,.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.05);
}

.ct-news-cat-title span {
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 8px;
}

.ct-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.ct-news-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--dark-lighter);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 12px;
    transition: all .3s;
}

.ct-news-item:hover {
    border-color: rgba(102,126,234,.2);
    transform: translateY(-2px);
}

.ct-ni-icon {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.ct-news-item strong {
    font-size: .88rem;
    font-weight: 600;
    display: block;
}

.ct-news-item span {
    font-size: .75rem;
    color: var(--text-muted);
}

/* ========== HOW TO ========== */
.ct-howto {
    padding: 80px 0;
    background: var(--dark-lighter);
}

.ct-howto-header {
    text-align: center;
    margin-bottom: 48px;
}

.ct-howto-header .section-subtitle {
    margin: 0 auto;
}

.ct-howto-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.ct-howto-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 16px;
}

.ct-howto-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: 0 6px 20px rgba(102,126,234,.3);
}

.ct-howto-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ct-howto-step p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .ct-cat-header {
        flex-wrap: wrap;
    }
    .ct-cat-count {
        margin-left: 0;
    }
    .ct-howto-steps {
        grid-template-columns: 1fr;
    }
    .ct-stats {
        gap: 24px;
    }
    .ct-items-grid {
        grid-template-columns: 1fr;
    }
    .ct-news-grid {
        grid-template-columns: 1fr;
    }
}
