/* =============================================
   Coinflare SEO Section Styles
   Theme: White + #5cdc02
   ============================================= */

/* ---- Base Wrapper ---- */
.seo-wrapper {
    background-color: #f9fafb;
    padding: 60px 0;
    width: 100%;
    font-family: Inter-Regular, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    line-height: 1.75;
    font-size: 16px;
}

.seo-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Section Cards ---- */
.seo-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px 36px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ---- Typography ---- */
.seo-wrapper h1 {
    font-family: Inter-Medium, 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    color: #111111;
    margin: 0 0 20px;
}

.seo-wrapper h2 {
    font-family: Inter-Medium, 'Segoe UI', sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.35;
    color: #111111;
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5cdc02;
    display: inline-block;
}

.seo-wrapper h2:first-child {
    margin-top: 0;
}

.seo-wrapper h3 {
    font-family: Inter-Medium, 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #222222;
    margin: 28px 0 12px;
}

.seo-wrapper h4 {
    font-family: Inter-Medium, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: #333333;
    margin: 20px 0 10px;
}

.seo-wrapper h5 {
    font-family: Inter-Medium, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #444444;
    margin: 16px 0 8px;
}

.seo-wrapper h6 {
    font-family: Inter-Medium, 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #555555;
    margin: 12px 0 8px;
}

.seo-wrapper p {
    margin: 0 0 16px;
    color: #374151;
}

.seo-wrapper a {
    color: #059a00;
    text-decoration: none;
    transition: color 0.2s ease;
}

.seo-wrapper a:hover {
    color: #4cc902;
    text-decoration: underline;
}

/* ---- Table of Contents ---- */
.seo-toc {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #5cdc02;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.seo-toc-title {
    font-family: Inter-Medium, 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #111111;
    margin: 0 0 16px;
}

.seo-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 24px;
}

.seo-toc-list li {
    margin-bottom: 10px;
    break-inside: avoid;
}

.seo-toc-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 15px;
    padding: 6px 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.seo-toc-list li a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #5cdc02;
    border-radius: 50%;
    flex-shrink: 0;
}

.seo-toc-list li a:hover {
    color: #5cdc02;
    padding-left: 6px;
    text-decoration: none;
}

/* ---- Images ---- */
.seo-image {
    margin: 28px 0;
    text-align: center;
}

.seo-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.seo-image figcaption {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

/* ---- Ordered / Unordered Lists ---- */
.seo-wrapper ol,
.seo-wrapper ul {
    padding-left: 24px;
    margin: 12px 0 20px;
}

.seo-wrapper li {
    margin-bottom: 8px;
    color: #374151;
}

/* ---- Features Grid ---- */
.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.seo-feature-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px 22px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.seo-feature-card:hover {
    border-color: #5cdc02;
    box-shadow: 0 2px 10px rgba(92,220,2,0.08);
}

.seo-feature-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #5cdc02;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50%;
    margin-bottom: 10px;
}

.seo-feature-card h4,
.seo-feature-card .seo-feature-title {
    display: block;
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.seo-feature-card p {
    font-size: 14px;
    margin: 0;
    color: #4b5563;
}

/* ---- FAQ Accordion ---- */
.seo-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.seo-faq-item:hover {
    border-color: #5cdc02;
}

.seo-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    background: #ffffff;
    transition: background 0.2s ease;
    user-select: none;
}

.seo-faq-question:hover {
    background: #f9fafb;
}

.seo-faq-question h3,
.seo-faq-question .seo-faq-title {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    flex: 1;
    padding-right: 12px;
}

.seo-faq-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: #9ca3af;
}

.seo-faq-item.active .seo-faq-arrow {
    transform: rotate(180deg);
    color: #5cdc02;
}

.seo-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
    background: #fafbfc;
}

.seo-faq-item.active .seo-faq-answer {
    max-height: 500px;
    padding: 0 20px 16px;
}

.seo-faq-answer p {
    font-size: 14px;
    color: #4b5563;
    margin: 0;
    line-height: 1.7;
}

/* ---- Reviews ---- */
.seo-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.seo-review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    transition: box-shadow 0.2s ease;
}

.seo-review-card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.seo-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.seo-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #5cdc02;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.seo-review-name {
    font-size: 14px;
    font-weight: 500;
    color: #111;
}

.seo-review-date {
    font-size: 12px;
    color: #9ca3af;
}

.seo-review-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.seo-review-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ---- Links Section ---- */
.seo-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.seo-link-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s ease;
}

.seo-link-chip:hover {
    background: #ecfdf5;
    border-color: #5cdc02;
    color: #059a00;
    text-decoration: none;
}

/* ---- Social Share ---- */
.seo-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.seo-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
    border: none;
}

.seo-share-btn:hover {
    opacity: 0.85;
    text-decoration: none;
    color: #ffffff;
}

.seo-share-btn.twitter { background: #1da1f2; }
.seo-share-btn.facebook { background: #1877f2; }
.seo-share-btn.linkedin { background: #0a66c2; }
.seo-share-btn.telegram { background: #0088cc; }
.seo-share-btn.whatsapp { background: #25d366; }
.seo-share-btn.reddit { background: #ff4500; }
.seo-share-btn.pinterest { background: #bd081c; }
.seo-share-btn.email { background: #6b7280; }

/* ---- SEO Footer ---- */
.seo-footer {
    background: #111111;
    border-radius: 12px;
    padding: 40px 36px;
    margin-top: 32px;
    color: #d1d5db;
}

.seo-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 28px;
}

.seo-footer-col h5 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seo-footer-col p,
.seo-footer-col a {
    font-size: 14px;
    color: #9ca3af;
    margin: 0 0 8px;
    display: block;
}

.seo-footer-col a:hover {
    color: #5cdc02;
    text-decoration: none;
}

.seo-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.seo-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #d1d5db;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease;
    margin: 0;
}

.seo-footer-social a:hover {
    background: #5cdc02;
    color: #111111;
}

.seo-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

/* ---- Highlight Box ---- */
.seo-highlight {
    background: linear-gradient(135deg, #f0fdf0 0%, #ecfdf5 100%);
    border-left: 4px solid #5cdc02;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 20px 0;
}

.seo-highlight p {
    margin: 0;
    color: #166534;
    font-size: 15px;
}

/* ---- Steps List ---- */
.seo-steps {
    counter-reset: step;
    padding: 0;
    list-style: none;
}

.seo-steps li {
    counter-increment: step;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    padding: 14px 18px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}

.seo-steps li::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: #5cdc02;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- Responsive ---- */
@media screen and (max-width: 768px) {
    .seo-wrapper {
        padding: 40px 0;
    }

    .seo-section {
        padding: 28px 20px;
    }

    .seo-toc {
        padding: 20px 22px;
    }

    .seo-toc-list {
        columns: 1;
    }

    .seo-wrapper h1 {
        font-size: 26px;
    }

    .seo-wrapper h2 {
        font-size: 22px;
    }

    .seo-features-grid {
        grid-template-columns: 1fr;
    }

    .seo-reviews-grid {
        grid-template-columns: 1fr;
    }

    .seo-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media screen and (max-width: 480px) {
    .seo-container {
        padding: 0 16px;
    }

    .seo-section {
        padding: 24px 16px;
    }

    .seo-wrapper h1 {
        font-size: 22px;
    }

    .seo-wrapper h2 {
        font-size: 20px;
    }

    .seo-share {
        flex-direction: column;
    }

    .seo-share-btn {
        width: 100%;
        justify-content: center;
    }
}
