/* style/payment-methods.css */

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

.page-payment-methods {
    font-family: Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--body-bg);
}

.page-payment-methods__section {
    padding: 60px 20px;
    text-align: center;
}

.page-payment-methods__dark-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-payment-methods__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: -0.02em;
}

.page-payment-methods__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-payment-methods__intro-description,
.page-payment-methods__section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
}

/* Hero Section */
.page-payment-methods__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0; /* Handled by body padding-top in shared.css */
    padding-bottom: 60px;
    background-color: var(--deep-green);
    position: relative;
    overflow: hidden;
}

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

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

.page-payment-methods__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 15px;
    max-width: 900px;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.page-payment-methods__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(42, 209, 111, 0.3);
}

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

.page-payment-methods__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--gold-color);
    color: var(--body-bg);
    box-shadow: 0 8px 15px rgba(242, 193, 78, 0.3);
}

/* Payment Grid */
.page-payment-methods__payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__payment-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-payment-methods__payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__payment-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: grayscale(10%); /* Subtle filter, not changing color */
}

.page-payment-methods__card-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-payment-methods__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Guide Layout */
.page-payment-methods__guide-layout {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    text-align: left;
}

.page-payment-methods__guide-layout--reverse {
    flex-direction: row-reverse;
}

.page-payment-methods__guide-steps {
    flex: 1;
}

.page-payment-methods__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.page-payment-methods__step-number {
    background: var(--button-gradient);
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.3);
}

.page-payment-methods__step-title {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 5px;
    font-weight: 600;
}

.page-payment-methods__step-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.page-payment-methods__guide-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

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

.page-payment-methods__cta-center {
    margin-top: 40px;
    text-align: center;
}

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

.page-payment-methods__feature-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__feature-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Subtle brightness, not changing color */
}

.page-payment-methods__feature-title {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-payment-methods__feature-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* FAQ Section */
.page-payment-methods__faq-list {
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-payment-methods__faq-item[open] {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-payment-methods__faq-question:hover {
    background-color: var(--deep-green);
}

.page-payment-methods__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5rem;
    color: var(--gold-color);
    font-weight: bold;
    width: 25px;
    text-align: center;
    flex-shrink: 0;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
    color: var(--secondary-color);
}

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

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

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

.page-payment-methods__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-payment-methods__faq-answer a:hover {
    text-decoration: underline;
}

/* Bottom CTA */
.page-payment-methods__cta-bottom {
    padding: 80px 20px;
}

.page-payment-methods__cta-content {
    max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-payment-methods__main-title {
        font-size: 2.8rem;
    }
    .page-payment-methods__section-title {
        font-size: 2.2rem;
    }
    .page-payment-methods__hero-image-wrapper {
        max-height: 400px;
    }
    .page-payment-methods__guide-layout {
        flex-direction: column;
        text-align: center;
    }
    .page-payment-methods__guide-layout--reverse {
        flex-direction: column;
    }
    .page-payment-methods__guide-image-wrapper {
        order: -1; /* Image appears above text on mobile */
        margin-bottom: 30px;
    }
    .page-payment-methods__guide-steps {
        width: 100%;
    }
    .page-payment-methods__step-item {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__section {
        padding: 40px 15px;
    }
    .page-payment-methods__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .page-payment-methods__section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .page-payment-methods__intro-description,
    .page-payment-methods__section-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    /* Hero Section */
    .page-payment-methods__hero-section {
        padding-top: 0 !important; /* Ensure no extra padding from body */
        padding-bottom: 40px;
    }
    .page-payment-methods__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }
    .page-payment-methods__hero-content {
        padding: 0 10px;
    }

    /* CTA Buttons */
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Payment Grid */
    .page-payment-methods__payment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-payment-methods__payment-card {
        padding: 20px;
    }
    .page-payment-methods__payment-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    /* Guide Layout */
    .page-payment-methods__guide-layout,
    .page-payment-methods__guide-layout--reverse {
        flex-direction: column;
        gap: 20px;
    }
    .page-payment-methods__guide-image-wrapper {
        order: -1; /* Image above text for both layouts */
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-payment-methods__guide-image {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-payment-methods__step-item {
        margin-bottom: 20px;
    }
    .page-payment-methods__step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        margin-right: 15px;
    }
    .page-payment-methods__step-title {
        font-size: 1.2rem;
    }
    .page-payment-methods__step-text {
        font-size: 0.9rem;
    }
    .page-payment-methods__cta-center {
        margin-top: 30px;
    }

    /* Security Features */
    .page-payment-methods__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-payment-methods__feature-item {
        padding: 20px;
    }
    .page-payment-methods__feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    /* FAQ Section */
    .page-payment-methods__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-payment-methods__faq-toggle {
        font-size: 1.3rem;
        width: 20px;
    }
    .page-payment-methods__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }

    /* General Image Responsiveness */
    .page-payment-methods img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Exclude specific images from general img rules if needed, e.g., for object-fit */
    .page-payment-methods__payment-icon,
    .page-payment-methods__feature-icon {
        width: auto !important; /* Let content control specific small icons */
        height: auto !important;
         /* Max size for these icons */
        
    }

    /* Containers for mobile */
    .page-payment-methods__container,
    .page-payment-methods__payment-card,
    .page-payment-methods__feature-item,
    .page-payment-methods__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right are handled by .page-payment-methods__section for overall content */
    }

    /* Bottom CTA */
    .page-payment-methods__cta-bottom {
        padding: 60px 15px;
    }
    .page-payment-methods__cta-content {
        padding: 0;
    }
}