/* style/resources-how-to-choose-reliable-platform.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f8f8f8;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Base styles for the page content */
.page-resources-how-to-choose-reliable-platform {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-color-dark);
    background-color: var(--background-light);
}

.page-resources-how-to-choose-reliable-platform__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Sections */
.page-resources-how-to-choose-reliable-platform__intro-section,
.page-resources-how-to-choose-reliable-platform__criteria-section,
.page-resources-how-to-choose-reliable-platform__scam-detection-section,
.page-resources-how-to-choose-reliable-platform__benefits-section,
.page-resources-how-to-choose-reliable-platform__conclusion-section,
.page-resources-how-to-choose-reliable-platform__faq-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

/* Padding for fixed header */
.page-resources-how-to-choose-reliable-platform__intro-section {
    padding-top: 120px; /* Desktop padding for fixed header */
}

/* Headings */
.page-resources-how-to-choose-reliable-platform__main-title {
    font-size: 38px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-resources-how-to-choose-reliable-platform__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-resources-how-to-choose-reliable-platform__card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Paragraphs */
.page-resources-how-to-choose-reliable-platform__paragraph {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

/* Images */
.page-resources-how-to-choose-reliable-platform__main-image,
.page-resources-how-to-choose-reliable-platform__feature-image,
.page-resources-how-to-choose-reliable-platform__product-image,
.page-resources-how-to-choose-reliable-platform__scam-image,
.page-resources-how-to-choose-reliable-platform__benefits-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-color);
    object-fit: cover;
}

/* Criteria Cards */
.page-resources-how-to-choose-reliable-platform__criteria-card {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

/* Lists */
.page-resources-how-to-choose-reliable-platform__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.page-resources-how-to-choose-reliable-platform__list-item {
    font-size: 16px;
    margin-bottom: 10px;
}

/* CTA Button */
.page-resources-how-to-choose-reliable-platform__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-resources-how-to-choose-reliable-platform__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-resources-how-to-choose-reliable-platform__cta-button:hover {
    background: var(--secondary-color);
    color: var(--text-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-reliable-platform__cta-button--large {
    padding: 18px 45px;
    font-size: 20px;
}

/* FAQ Section Styles */
.page-resources-how-to-choose-reliable-platform__faq-section {
    background-color: var(--background-light);
    padding: 60px 0;
}

.page-resources-how-to-choose-reliable-platform__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.page-resources-how-to-choose-reliable-platform__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: var(--text-color-dark);
}

.page-resources-how-to-choose-reliable-platform__faq-item.active .page-resources-how-to-choose-reliable-platform__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-resources-how-to-choose-reliable-platform__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-background);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-how-to-choose-reliable-platform__faq-item.active .page-resources-how-to-choose-reliable-platform__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #d0d0d0;
}

.page-resources-how-to-choose-reliable-platform__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-how-to-choose-reliable-platform__faq-question:active {
    background: #eeeeee;
}

.page-resources-how-to-choose-reliable-platform__faq-question-title {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-resources-how-to-choose-reliable-platform__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-how-to-choose-reliable-platform__faq-item.active .page-resources-how-to-choose-reliable-platform__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-how-to-choose-reliable-platform__main-title {
        font-size: 32px;
    }
    .page-resources-how-to-choose-reliable-platform__section-title {
        font-size: 28px;
    }
    .page-resources-how-to-choose-reliable-platform__card-title {
        font-size: 22px;
    }
    .page-resources-how-to-choose-reliable-platform__paragraph,
    .page-resources-how-to-choose-reliable-platform__list-item {
        font-size: 15px;
    }
    .page-resources-how-to-choose-reliable-platform__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-resources-how-to-choose-reliable-platform__cta-button--large {
        padding: 15px 35px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-reliable-platform__intro-section {
        padding-top: 100px !important; /* Mobile padding for fixed header */
    }
    .page-resources-how-to-choose-reliable-platform__container {
        padding: 15px;
    }
    .page-resources-how-to-choose-reliable-platform__intro-section,
    .page-resources-how-to-choose-reliable-platform__criteria-section,
    .page-resources-how-to-choose-reliable-platform__scam-detection-section,
    .page-resources-how-to-choose-reliable-platform__benefits-section,
    .page-resources-how-to-choose-reliable-platform__conclusion-section,
    .page-resources-how-to-choose-reliable-platform__faq-section {
        padding: 40px 0;
    }
    .page-resources-how-to-choose-reliable-platform__main-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .page-resources-how-to-choose-reliable-platform__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-resources-how-to-choose-reliable-platform__card-title {
        font-size: 20px;
    }
    .page-resources-how-to-choose-reliable-platform__paragraph,
    .page-resources-how-to-choose-reliable-platform__list-item {
        font-size: 14px;
    }
    .page-resources-how-to-choose-reliable-platform__main-image,
    .page-resources-how-to-choose-reliable-platform__feature-image,
    .page-resources-how-to-choose-reliable-platform__product-image,
    .page-resources-how-to-choose-reliable-platform__scam-image,
    .page-resources-how-to-choose-reliable-platform__benefits-image {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-resources-how-to-choose-reliable-platform__criteria-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-resources-how-to-choose-reliable-platform__list {
        margin-left: 10px;
    }
    .page-resources-how-to-choose-reliable-platform__cta-button {
        padding: 10px 20px;
        font-size: 15px;
    }
    .page-resources-how-to-choose-reliable-platform__cta-button--large {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-resources-how-to-choose-reliable-platform__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-resources-how-to-choose-reliable-platform__faq-question-title {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-resources-how-to-choose-reliable-platform__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-resources-how-to-choose-reliable-platform__faq-answer {
        padding: 0 15px;
    }
    
    .page-resources-how-to-choose-reliable-platform__faq-item.active .page-resources-how-to-choose-reliable-platform__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-resources-how-to-choose-reliable-platform__main-title {
        font-size: 24px;
    }
    .page-resources-how-to-choose-reliable-platform__section-title {
        font-size: 20px;
    }
    .page-resources-how-to-choose-reliable-platform__card-title {
        font-size: 18px;
    }
    .page-resources-how-to-choose-reliable-platform__cta-button {
        font-size: 14px;
        padding: 8px 15px;
    }
    .page-resources-how-to-choose-reliable-platform__cta-button--large {
        font-size: 15px;
        padding: 10px 20px;
    }
}