/* style/support.css */

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

/* Base styles for the page content */
.page-support {
    font-family: 'Arial', sans-serif;
    color: var(--page-support-text-main); /* Default text color for dark background */
    background-color: var(--page-support-background);
}

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

.page-support__section {
    padding: 60px 0;
    text-align: center;
}

.page-support__dark-bg {
    background-color: var(--page-support-background);
    color: var(--page-support-text-main);
}

.page-support__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--page-support-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-support__section-description {
    font-size: 18px;
    color: var(--page-support-text-secondary);
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
}

.page-support__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
}

.page-support__main-title {
    font-size: clamp(36px, 5vw, 60px); /* Using clamp for H1 font-size */
    font-weight: 800;
    color: var(--page-support-gold);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-support__lead-text {
    font-size: 20px;
    color: var(--page-support-text-main);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-support__btn-primary {
    background: var(--page-support-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-support__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-support__btn-secondary:hover {
    background-color: var(--page-support-gold);
    color: var(--page-support-background);
    transform: translateY(-2px);
}

/* Card styles */
.page-support__card {
    background-color: var(--page-support-card-bg);
    border: 1px solid var(--page-support-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-support__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-support__card-title {
    font-size: 22px;
    color: var(--page-support-text-main);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-support__card-text {
    font-size: 16px;
    color: var(--page-support-text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__card-button,
.page-support__card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    background: var(--page-support-deep-green);
    color: var(--page-support-text-main);
    border: 1px solid var(--page-support-border);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__card-button:hover,
.page-support__card-link:hover {
    background-color: var(--page-support-primary-color);
    color: #ffffff;
}

/* Channels Section */
.page-support__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-support__channel-icon {
    width: 200px; /* Min size */
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

/* Account & Transaction Guide Sections */
.page-support__guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* FAQ Section */
.page-support__faq-list {
    max-width: 900px;
    margin: 50px auto 30px auto;
    text-align: left;
}

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--page-support-text-main);
    cursor: pointer;
    background-color: var(--page-support-deep-green);
    border-bottom: 1px solid var(--page-support-border);
    list-style: none; /* For details/summary */
}

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

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--page-support-gold);
    margin-left: 15px;
    width: 24px;
    text-align: center;
}

.page-support__faq-answer {
    padding: 15px 25px;
    font-size: 16px;
    color: var(--page-support-text-secondary);
    line-height: 1.6;
}

.page-support__faq-answer p {
    margin: 0;
}

.page-support__faq-answer a {
    color: var(--page-support-gold);
    text-decoration: none;
}

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

.page-support__faq-cta {
    margin-top: 40px;
}

/* Contact CTA Section */
.page-support__contact-cta {
    padding: 80px 0;
}

.page-support__contact-container {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-support__contact-content {
    flex: 1;
}

.page-support__contact-content .page-support__section-title {
    text-align: left;
}

.page-support__contact-content .page-support__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-support__contact-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-support__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* App Download Section */
.page-support__app-container {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
    flex-direction: row-reverse; /* Image on right */
}

.page-support__app-content {
    flex: 1;
}

.page-support__app-content .page-support__section-title {
    text-align: left;
}

.page-support__app-content .page-support__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-support__app-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-support__hero-content {
        padding: 30px 15px;
    }

    .page-support__main-title {
        font-size: clamp(30px, 4.5vw, 50px);
    }

    .page-support__lead-text {
        font-size: 18px;
    }

    .page-support__channels-grid,
    .page-support__guide-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .page-support__section-title {
        font-size: clamp(24px, 3.5vw, 38px);
    }

    .page-support__contact-container,
    .page-support__app-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .page-support__contact-content .page-support__section-title,
    .page-support__contact-content .page-support__section-description,
    .page-support__app-content .page-support__section-title,
    .page-support__app-content .page-support__section-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

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

    .page-support__section {
        padding: 40px 0;
    }

    .page-support__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-support__hero-section {
        padding-bottom: 40px;
    }

    .page-support__main-title {
        font-size: clamp(28px, 8vw, 40px) !important;
    }

    .page-support__lead-text {
        font-size: 16px;
    }

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important; /* Ensure button container takes full width */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }

    .page-support__channels-grid,
    .page-support__guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-support__card {
        padding: 25px;
    }

    .page-support__channel-icon {
        width: 150px;
    }

    .page-support__faq-list {
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-support__faq-question {
        font-size: 16px;
        padding: 18px 20px;
    }

    .page-support__faq-answer {
        padding: 12px 20px;
        font-size: 15px;
    }

    .page-support__contact-container,
    .page-support__app-container {
        padding: 0 15px;
    }

    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support__section,
    .page-support__card,
    .page-support__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-support__main-title {
        font-size: clamp(24px, 9vw, 36px) !important;
    }
    .page-support__section-title {
        font-size: clamp(22px, 7vw, 32px);
    }
    .page-support__lead-text {
        font-size: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        font-size: 15px !important;
    }
    .page-support__faq-question {
        font-size: 15px;
    }
    .page-support__faq-answer {
        font-size: 14px;
    }
}