/* style/resources-platform-security.css */

/* Base styles for the page content */
.page-resources-platform-security {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from shared.css, set here for clarity */
}

.page-resources-platform-security__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-platform-security__section {
    padding: 60px 0;
}

.page-resources-platform-security__section--intro,
.page-resources-platform-security__section--technology,
.page-resources-platform-security__section--transactions,
.page-resources-platform-security__section--reviews {
    background-color: #ffffff; /* Light background for these sections */
    color: #333333; /* Dark text for light background */
}

.page-resources-platform-security__section--license,
.page-resources-platform-security__section--fairplay,
.page-resources-platform-security__section--support,
.page-resources-platform-security__section--faq,
.page-resources-platform-security__section--conclusion {
    background-color: #0A2342; /* Dark background for these sections (primary color) */
    color: #ffffff; /* Light text for dark background */
}

.page-resources-platform-security__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #0A2342; /* Default for light sections */
}

.page-resources-platform-security__section--license .page-resources-platform-security__section-title,
.page-resources-platform-security__section--fairplay .page-resources-platform-security__section-title,
.page-resources-platform-security__section--support .page-resources-platform-security__section-title,
.page-resources-platform-security__section--faq .page-resources-platform-security__section-title,
.page-resources-platform-security__section--conclusion .page-resources-platform-security__section-title {
    color: #FFD700; /* Gold for titles in dark sections */
}

.page-resources-platform-security__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-resources-platform-security__highlight {
    color: #FFD700; /* Gold highlight in dark sections */
}

.page-resources-platform-security__section--intro .page-resources-platform-security__highlight,
.page-resources-platform-security__section--technology .page-resources-platform-security__highlight,
.page-resources-platform-security__section--transactions .page-resources-platform-security__highlight,
.page-resources-platform-security__section--reviews .page-resources-platform-security__highlight {
    color: #0A2342; /* Dark highlight in light sections */
}

.page-resources-platform-security__inline-link {
    color: #FFD700;
    text-decoration: underline;
}

.page-resources-platform-security__inline-link:hover {
    color: #fff;
    text-decoration: none;
}

.page-resources-platform-security__section--intro .page-resources-platform-security__inline-link,
.page-resources-platform-security__section--technology .page-resources-platform-security__inline-link,
.page-resources-platform-security__section--transactions .page-resources-platform-security__inline-link,
.page-resources-platform-security__section--reviews .page-resources-platform-security__inline-link {
    color: #0A2342;
}
.page-resources-platform-security__section--intro .page-resources-platform-security__inline-link:hover,
.page-resources-platform-security__section--technology .page-resources-platform-security__inline-link:hover,
.page-resources-platform-security__section--transactions .page-resources-platform-security__inline-link:hover,
.page-resources-platform-security__section--reviews .page-resources-platform-security__inline-link:hover {
    color: #FFD700;
}


/* HERO Section */
.page-resources-platform-security__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, #0A2342, #1a1a1a); /* Dark gradient for hero */
    color: #ffffff;
}

.page-resources-platform-security__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-platform-security__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-platform-security__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-platform-security__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-platform-security__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    line-height: 1.2;
}

.page-resources-platform-security__subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-platform-security__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-platform-security__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
}

.page-resources-platform-security__cta-button--primary {
    background: #FFD700;
    color: #0A2342;
    border: 2px solid #FFD700;
}

.page-resources-platform-security__cta-button--primary:hover {
    background: transparent;
    color: #FFD700;
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-resources-platform-security__cta-button--secondary {
    background: #0A2342;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-resources-platform-security__cta-button--secondary:hover {
    background: #FFD700;
    color: #0A2342;
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-resources-platform-security__cta-group--bottom {
    margin-top: 60px;
}

/* Content Grid for text and image */
.page-resources-platform-security__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-resources-platform-security__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-resources-platform-security__text-block {
    flex: 1;
}

.page-resources-platform-security__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-platform-security__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Feature List */
.page-resources-platform-security__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources-platform-security__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: inherit;
}

.page-resources-platform-security__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFD700; /* Gold checkmark */
}

.page-resources-platform-security__section--intro .page-resources-platform-security__list-item::before,
.page-resources-platform-security__section--technology .page-resources-platform-security__list-item::before,
.page-resources-platform-security__section--transactions .page-resources-platform-security__list-item::before,
.page-resources-platform-security__section--reviews .page-resources-platform-security__list-item::before {
    color: #0A2342; /* Dark checkmark in light sections */
}

/* Testimonials */
.page-resources-platform-security__testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.page-resources-platform-security__testimonial-card {
    background-color: #f9f9f9;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-platform-security__testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-resources-platform-security__testimonial-author {
    font-weight: bold;
    text-align: right;
    display: block;
    color: #0A2342;
}

/* FAQ Section */
.page-resources-platform-security__faq-list {
    margin-top: 40px;
}

.page-resources-platform-security__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #1a1a1a; /* Ensure good contrast on dark section */
}

.page-resources-platform-security__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 15px;
    opacity: 0;
}

.page-resources-platform-security__faq-item.active .page-resources-platform-security__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.1); /* Slightly lighter background for answer */
    border-radius: 0 0 5px 5px;
    color: #f0f0f0; /* Light text for dark answer background */
}

.page-resources-platform-security__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #0A2342; /* Primary color for question background */
    border: 1px solid #FFD700; /* Gold border */
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #ffffff; /* White text for question */
}

.page-resources-platform-security__faq-question:hover {
    background: #1a3a63; /* Slightly lighter primary color on hover */
    border-color: #FFD700;
}

.page-resources-platform-security__faq-question:active {
    background: #06152B; /* Slightly darker primary color on active */
}

.page-resources-platform-security__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #ffffff; /* White text for question title */
}

.page-resources-platform-security__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold for toggle icon */
    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-platform-security__faq-item.active .page-resources-platform-security__faq-toggle {
    color: #ffffff; /* White for toggle icon when active */
    transform: rotate(45deg); /* Rotate for 'x' effect */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-platform-security__main-title {
        font-size: 3em;
    }
    .page-resources-platform-security__subtitle {
        font-size: 1.2em;
    }
    .page-resources-platform-security__section-title {
        font-size: 2em;
    }
    .page-resources-platform-security__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-resources-platform-security__content-grid {
        flex-direction: column;
        gap: 30px;
    }
    .page-resources-platform-security__content-grid--reverse {
        flex-direction: column; /* Consistent for smaller screens */
    }
    .page-resources-platform-security__testimonial-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-resources-platform-security {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-platform-security__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-platform-security__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-resources-platform-security__subtitle {
        font-size: 1.1em;
        margin-bottom: 20px;
    }
    .page-resources-platform-security__cta-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container */
    }
    .page-resources-platform-security__cta-button {
        width: 100% !important; /* Force full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-platform-security__section {
        padding: 40px 0;
    }
    .page-resources-platform-security__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-platform-security__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness */
    .page-resources-platform-security img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-resources-platform-security__image-block {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* FAQ Mobile */
    .page-resources-platform-security__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-resources-platform-security__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-resources-platform-security__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-resources-platform-security__faq-answer {
        padding: 0 15px;
    }
    .page-resources-platform-security__faq-item.active .page-resources-platform-security__faq-answer {
        padding: 15px !important;
    }
    .page-resources-platform-security__testimonial-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-resources-platform-security__main-title {
        font-size: 1.8em;
    }
    .page-resources-platform-security__subtitle {
        font-size: 1em;
    }
    .page-resources-platform-security__section-title {
        font-size: 1.5em;
    }
    .page-resources-platform-security__paragraph {
        font-size: 1em;
    }
}