/* SEO Content Sections — Dark Theme */

/* Grid layouts */
.seo-grid {
    display: grid;
    gap: 20px;
    margin: 20px 6px;
}
.seo-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.seo-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Cards */
.seo-card {
    background: var(--field-bg-color, #242e38);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.2s ease;
}
.seo-card:hover {
    transform: translateY(-2px);
}
.seo-card-icon {
    margin-bottom: 12px;
    line-height: 1;
}
.seo-card-icon svg {
    display: block;
}
.seo-card-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--header-color, #fff);
    margin-bottom: 8px;
}
.seo-card-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color, #8794a1);
    margin: 0;
}

/* Steps */
.seo-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin: 20px 6px;
}
.seo-step {
    background: var(--field-bg-color, #242e38);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.seo-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--btn-primary-bg-color, rgb(36, 139, 218));
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

/* FAQ */
.seo-faq-list {
    margin: 15px 6px;
}
.seo-faq-item {
    background: var(--field-bg-color, #242e38);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}
.seo-faq-question {
    padding: 16px 44px 16px 20px;
    font-size: 15px;
    font-weight: bold;
    color: var(--header-color, #fff);
    cursor: pointer;
    list-style: none;
    position: relative;
}
.seo-faq-question::-webkit-details-marker {
    display: none;
}
.seo-faq-question::marker {
    display: none;
    content: '';
}
.seo-faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--accent-color, #4db2ff);
    transition: transform 0.2s ease;
}
details[open] > .seo-faq-question::after {
    content: '\2212';
}
.seo-faq-answer {
    padding: 0 20px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color, #8794a1);
}

/* Content text blocks */
.seo-content-text {
    padding: 0 6px;
}
.seo-content-text p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color, #8794a1);
    margin-bottom: 12px;
}

/* Native Reviews - Fragment.com style */
.seo-native-reviews-section {
    background: #212a33;
    border-radius: 16px;
    padding: 24px !important;
    margin: 10px 6px !important;
}
.seo-native-reviews-section .tm-section-header {
    padding-top: 0;
}
.seo-native-reviews-section .tm-section-header-text {
    color: #fff;
}
.seo-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 15px 0;
}
.seo-review-card {
    background: #242e38;
    border-radius: 14px;
    padding: 20px;
    transition: box-shadow 0.2s;
}
.seo-review-card:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.seo-review-stars {
    color: #FFD700;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.seo-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #8794a1;
    font-style: normal;
    margin: 0 0 14px;
}
.seo-review-author {
    font-size: 13px;
    color: #6d8394;
    font-weight: 500;
}

/* Section spacing overrides for SEO sections inside .tm-main */
.seo-why-section,
.seo-how-section,
.seo-faq-section,
.seo-native-reviews-section,
.seo-content-section {
    padding: 10px 10px 5px;
    margin-top: 10px;
}

/* CTA button alignment */
.seo-cta-center {
    text-align: center;
    margin-top: 20px;
}

/* Fragment-styled CTA button for reviews */
.seo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(77, 178, 255, 0.15);
    border: none;
    border-radius: 10px;
    color: #4db2ff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.seo-cta-btn:hover {
    background: rgba(77, 178, 255, 0.25);
    color: #4db2ff;
    text-decoration: none;
}
.seo-cta-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 767px) {
    .seo-grid-3 {
        grid-template-columns: 1fr;
    }
    .seo-grid-2 {
        grid-template-columns: 1fr;
    }
    .seo-steps {
        grid-template-columns: 1fr;
    }
    .seo-reviews-grid {
        grid-template-columns: 1fr;
    }
    .seo-card {
        padding: 18px;
    }
    .seo-step {
        padding: 18px;
    }
    .seo-faq-question {
        font-size: 14px;
        padding: 14px 38px 14px 16px;
    }
    .seo-faq-answer {
        padding: 0 16px 14px;
        font-size: 13px;
    }
}
