/**
 * Estilos Frontend (Público) - GeoSEO & AI Post Booster
 */

/* ==========================================================================
   1. ÍNDICE DE CONTENIDOS (TOC)
   ========================================================================== */

.geo-seo-toc-container {
    margin: 28px 0 32px 0;
    padding: 20px 24px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    box-sizing: border-box;
}

/* Tema Claro / Minimalista */
.geo-seo-theme-light {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* Tema Tarjeta con Sombra */
.geo-seo-theme-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Tema Acento de Marca */
.geo-seo-theme-brand {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
}

.geo-seo-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.geo-seo-toc-header .geo-seo-toc-icon {
    font-size: 18px;
    margin-right: 8px;
}

.geo-seo-toc-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1e293b;
    flex-grow: 1;
}

.geo-seo-toc-toggle {
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.geo-seo-toc-toggle:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.geo-seo-toc-list {
    margin: 0 0 0 18px !important;
    padding: 0 !important;
    list-style-type: decimal !important;
}

.geo-seo-toc-sublist {
    margin: 6px 0 6px 18px !important;
    padding: 0 !important;
    list-style-type: lower-latin !important;
}

.geo-seo-toc-item {
    margin-bottom: 8px;
    line-height: 1.4;
}

.geo-seo-toc-item a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.15s ease;
}

.geo-seo-toc-item a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.geo-seo-toc-item.active > a {
    font-weight: 700;
    color: #0f172a;
}

/* ==========================================================================
   2. BADGE DE TIEMPO DE LECTURA
   ========================================================================== */

.geo-seo-reading-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    color: #475569;
    margin: 14px 0 22px 0;
}

.geo-seo-reading-icon {
    font-size: 15px;
}

.geo-seo-reading-text strong {
    color: #0f172a;
}

.geo-seo-reading-words {
    color: #94a3b8;
    font-size: 12px;
}

/* ==========================================================================
   3. CAJA DE LLAMADA A LA ACCIÓN (CTA)
   ========================================================================== */

.geo-seo-cta-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 26px 30px;
    border-radius: 10px;
    margin: 36px 0;
    text-align: center;
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.25);
}

.geo-seo-cta-box h3,
.geo-seo-cta-box h4 {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0 !important;
}

.geo-seo-cta-box p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.geo-seo-cta-btn {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.geo-seo-cta-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* ==========================================================================
   4. ACORDEÓN DE PREGUNTAS FRECUENTES (FAQS)
   ========================================================================== */

.geo-seo-faq-section {
    margin: 36px 0;
    border-top: 2px solid #e2e8f0;
    padding-top: 24px;
}

.geo-seo-faq-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #0f172a;
}

.geo-seo-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #ffffff;
    overflow: hidden;
}

.geo-seo-faq-question {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 14px 18px;
    cursor: pointer;
    background: #f8fafc;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.geo-seo-faq-question:hover {
    background: #f1f5f9;
}

.geo-seo-faq-question::after {
    content: '＋';
    font-size: 18px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.geo-seo-faq-item.active .geo-seo-faq-question::after {
    content: '−';
}

.geo-seo-faq-answer {
    padding: 16px 18px;
    border-top: 1px solid #e2e8f0;
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
}
