/* style/payment-methods.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --bg-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-payment-methods {
    background-color: var(--bg-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 0; /* Handled by body padding-top in shared.css */
}

.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-payment-methods__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin-bottom: 40px;
    padding-top: 0; /* Ensure no extra top padding, body handles header offset */
}

.page-payment-methods__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.page-payment-methods__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-payment-methods__hero-content {
    padding: 40px 20px;
    background-color: var(--deep-green-color);
    width: 100%;
    box-sizing: border-box;
}

.page-payment-methods__main-title {
    font-size: clamp(2.2em, 3.5vw, 3em);
    font-weight: 700;
    color: var(--text-main-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary,
.page-payment-methods__btn-small {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-payment-methods__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main-color);
    border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--glow-color), 0.4);
}

.page-payment-methods__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-payment-methods__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--secondary-color), 0.4);
}

.page-payment-methods__btn-small {
    background: var(--btn-gradient);
    color: var(--text-main-color);
    border: none;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
}

.page-payment-methods__btn-small:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.page-payment-methods__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

.page-payment-methods__section:last-of-type {
    border-bottom: none;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-payment-methods__text-block {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    text-align: justify;
}

.page-payment-methods__highlight {
    color: var(--glow-color);
    font-weight: bold;
}

.page-payment-methods__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-payment-methods__method-card,
.page-payment-methods__security-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__method-icon,
.page-payment-methods__security-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-payment-methods__method-title,
.page-payment-methods__feature-title {
    font-size: 1.5em;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-payment-methods__method-description,
.page-payment-methods__feature-description {
    font-size: 1em;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-payment-methods__method-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.page-payment-methods__method-features li {
    color: var(--text-secondary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-payment-methods__feature-icon {
    color: var(--glow-color);
    font-weight: bold;
}

.page-payment-methods__layout-two-col {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.page-payment-methods__layout-two-col--reverse {
    flex-direction: row-reverse;
}

.page-payment-methods__content-block {
    flex: 1;
}

.page-payment-methods__image-block {
    flex: 1;
    min-width: 300px; /* Ensure images don't shrink too much */
}

.page-payment-methods__illustration-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__sub-title {
    font-size: 1.8em;
    color: var(--text-main-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-payment-methods__numbered-list,
.page-payment-methods__bullet-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-payment-methods__numbered-list li,
.page-payment-methods__bullet-list li {
    margin-bottom: 15px;
    color: var(--text-secondary-color);
    font-size: 1.05em;
    line-height: 1.5;
    padding-left: 25px;
    position: relative;
}

.page-payment-methods__numbered-list li::before {
    content: counter(list-item) ". ";
    counter-increment: list-item;
    color: var(--glow-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.page-payment-methods__bullet-list li::before {
    content: "•";
    color: var(--glow-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-payment-methods__security-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-payment-methods__inline-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-payment-methods__inline-link:hover {
    text-decoration: underline;
    color: var(--glow-color);
}

.page-payment-methods__faq-list {
    margin-top: 30px;
}

.page-payment-methods__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-secondary-color);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-main-color);
    cursor: pointer;
    list-style: none;
    position: relative;
}

.page-payment-methods__faq-question::-webkit-details-marker {
    display: none;
}

.page-payment-methods__faq-question::marker {
    display: none;
}

.page-payment-methods__faq-qtext {
    flex-grow: 1;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    color: var(--glow-color);
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-payment-methods__faq-answer p {
    margin-bottom: 0;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-payment-methods__container {
        padding: 15px;
    }

    .page-payment-methods__hero-section {
        margin-bottom: 20px;
    }

    .page-payment-methods__hero-content {
        padding: 25px 15px;
    }

    .page-payment-methods__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-payment-methods__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary,
    .page-payment-methods__btn-small,
    .page-payment-methods a[class*="button"],
    .page-payment-methods a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-payment-methods__section {
        padding: 40px 0;
    }

    .page-payment-methods__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-payment-methods__text-block {
        font-size: 1em;
    }

    .page-payment-methods__methods-grid,
    .page-payment-methods__security-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-payment-methods__method-card,
    .page-payment-methods__security-card {
        padding: 20px;
    }

    .page-payment-methods__method-icon,
    .page-payment-methods__security-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .page-payment-methods__method-title,
    .page-payment-methods__feature-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    .page-payment-methods__method-description,
    .page-payment-methods__feature-description {
        font-size: 0.95em;
    }

    .page-payment-methods__layout-two-col {
        flex-direction: column;
        gap: 30px;
    }

    .page-payment-methods__layout-two-col--reverse {
        flex-direction: column;
    }

    .page-payment-methods__image-block {
        order: -1; /* For reverse layout on mobile, image comes first */
    }

    .page-payment-methods__illustration-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-payment-methods__sub-title {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .page-payment-methods__numbered-list li,
    .page-payment-methods__bullet-list li {
        font-size: 1em;
        margin-bottom: 10px;
    }

    .page-payment-methods__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-payment-methods__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    /* General image and container responsiveness */
    .page-payment-methods img:not(.page-payment-methods__logo-item) {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__content-block,
    .page-payment-methods__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right handled by container */
    }

    /* LOGO carousel item (if any) must maintain fixed size. This page does not have a logo carousel. */
    /* If it did, it would be like: */
    /*
    .page-payment-methods__logo-item {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        box-sizing: border-box;
    }
    */
}

/* --- Desktop/Tablet Responsive Styles (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .page-payment-methods__container {
        padding: 20px;
    }

    .page-payment-methods__hero-content {
        padding: 30px 20px;
    }

    .page-payment-methods__main-title {
        font-size: clamp(2em, 4.5vw, 2.8em);
    }

    .page-payment-methods__hero-description {
        font-size: 1.05em;
    }

    .page-payment-methods__section-title {
        font-size: 2.2em;
    }

    .page-payment-methods__methods-grid,
    .page-payment-methods__security-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .page-payment-methods__layout-two-col {
        flex-direction: column;
        gap: 40px;
    }

    .page-payment-methods__layout-two-col--reverse {
        flex-direction: column;
    }

    .page-payment-methods__image-block {
        order: -1; /* For reverse layout on tablet, image comes first */
    }
}