/* style/g.css */

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

.page-g {
    color: var(--text-main);
    background-color: var(--background-color);
    font-family: 'Arial', sans-serif;
}

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

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

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

.page-g__light-bg {
    background-color: #11271B; /* Using card-bg for lighter section background */
    color: var(--text-main);
}

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

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

.page-g__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
}

.page-g__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-g__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: -150px; /* Pull content up over the image slightly */
    padding: 40px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text block */
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.page-g__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-g__hero-description {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-g__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-g__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-g__paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-g__image-content {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-g__btn-primary,
.page-g__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 300px;
    width: 100%; /* Ensure full width on smaller screens */
}

.page-g__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-g__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-g__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-g__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-g__btn-full-width {
    max-width: 400px;
    margin: 40px auto 0 auto;
    display: block;
}

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

.page-g__card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.page-g__feature-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-g__feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

.page-g__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid var(--border-color);
    position: relative;
    padding-left: 70px; /* Space for step number */
}

.page-g__step-item::before {
    content: attr(data-step);
    position: absolute;
    left: 20px;
    top: 30px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.page-g__step-item:nth-child(1)::before { content: '1'; }
.page-g__step-item:nth-child(2)::before { content: '2'; }
.page-g__step-item:nth-child(3)::before { content: '3'; }
.page-g__step-item:nth-child(4)::before { content: '4'; }

.page-g__step-title {
    font-size: 1.35rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-g__step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-g__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-g__list-item {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-g__list-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-g__list-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-g__strategy-list .page-g__list-item {
    position: relative;
    padding-left: 40px;
}

.page-g__strategy-list .page-g__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 25px;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

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

.page-g__promotion-card {
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.page-g__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

.page-g__promotion-card .page-g__card-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-g__promotion-card .page-g__card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 25px;
    padding: 0 20px;
}

.page-g__promotion-card .page-g__btn-secondary {
    display: block;
    width: calc(100% - 40px);
    margin: 0 auto 20px auto;
    max-width: none;
}

.page-g__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    text-align: left;
}

.page-g__feature-item-small {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-g__feature-title-small {
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-g__feature-description-small {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-g__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-g__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-g__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider-color);
}

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

.page-g__faq-question::marker {
    display: none;
}

.page-g__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 15px;
}

.page-g__faq-item[open] .page-g__faq-question {
    border-bottom: 1px solid var(--primary-color);
}

.page-g__faq-item[open] .page-g__faq-toggle {
    content: '−';
}

.page-g__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: #11271B; /* Slightly different background for answer */
}

.page-g__cta-section {
    padding: 80px 0;
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-g__cta-content {
    max-width: 900px;
    text-align: center;
}

.page-g__cta-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 25px;
}

.page-g__cta-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-g__hero-content {
        margin-top: -100px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-g__container {
        padding: 0 15px;
    }

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

    .page-g__hero-content {
        margin-top: -80px;
        padding: 25px;
        width: calc(100% - 30px);
    }

    .page-g__main-title {
        font-size: 2rem;
    }

    .page-g__hero-description {
        font-size: 1rem;
    }

    .page-g__section-title {
        font-size: 1.8rem;
    }

    .page-g__paragraph {
        font-size: 1rem;
    }

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

    .page-g__btn-primary,
    .page-g__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-g__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

    .page-g img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-g__section,
    .page-g__card,
    .page-g__container,
    .page-g__hero-section,
    .page-g__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-g__hero-section {
        padding-top: 10px !important;
    }
    
    .page-g__cta-section {
        padding: 50px 15px;
    }

    .page-g__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-g__faq-answer {
        padding: 15px 20px;
    }

    .page-g__cta-title {
        font-size: 1.8rem;
    }

    .page-g__cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-g__hero-content {
        margin-top: -60px;
        padding: 20px;
    }

    .page-g__main-title {
        font-size: 1.7rem;
    }

    .page-g__section-title {
        font-size: 1.6rem;
    }

    .page-g__feature-title,
    .page-g__step-title,
    .page-g__list-title,
    .page-g__promotion-card .page-g__card-title,
    .page-g__feature-title-small {
        font-size: 1.2rem;
    }

    .page-g__hero-description,
    .page-g__paragraph,
    .page-g__feature-description,
    .page-g__step-description,
    .page-g__list-description,
    .page-g__promotion-card .page-g__card-description,
    .page-g__feature-description-small {
        font-size: 0.9rem;
    }
}