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

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

/* Sections */
.page-register__hero-section,
.page-register__dark-section {
    background-color: var(--happyluke-background);
    color: var(--happyluke-text-main);
}

.page-register__light-bg {
    background-color: #f8f8f8; /* A very light background to contrast with dark sections */
    color: #333333; /* Dark text for light background */
}

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

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

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
    border-radius: 10px;
}

.page-register__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--happyluke-text-main);
}

.page-register__hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--happyluke-text-secondary);
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-primary {
    background: var(--happyluke-button-gradient);
    color: var(--happyluke-text-main);
    border: 2px solid transparent;
}

.page-register__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-register__btn-secondary {
    background: var(--happyluke-background);
    color: var(--happyluke-primary);
    border: 2px solid var(--happyluke-primary);
}

.page-register__btn-secondary:hover {
    background: var(--happyluke-primary);
    color: var(--happyluke-text-main);
}

.page-register__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: inherit; /* Inherit from section for contrast */
}

.page-register__section-description {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: inherit;
}

.page-register__benefits-section,
.page-register__how-to-section,
.page-register__promotions-section,
.page-register__trust-section,
.page-register__faq-section,
.page-register__final-cta-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

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

.page-register__benefit-item:hover {
    transform: translateY(-5px);
}

.page-register__benefit-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-register__benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--happyluke-primary);
}

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

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

.page-register__step-item {
    text-align: center;
    background-color: var(--happyluke-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--happyluke-border);
}

.page-register__step-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid var(--happyluke-border);
}

.page-register__step-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--happyluke-primary);
}

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

.page-register__notes-section {
    margin-top: 60px;
    padding: 30px;
    background-color: var(--happyluke-card-bg);
    border-radius: 10px;
    border: 1px solid var(--happyluke-border);
}

.page-register__notes-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--happyluke-gold);
    text-align: center;
}

.page-register__notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-register__notes-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--happyluke-text-main);
    display: flex;
    align-items: flex-start;
}

.page-register__list-icon {
    color: var(--happyluke-secondary);
    font-weight: 700;
    margin-right: 10px;
    font-size: 1.2em;
}

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

.page-register__promo-card {
    background-color: var(--happyluke-card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--happyluke-border);
}

.page-register__promo-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--happyluke-border);
}

.page-register__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--happyluke-primary);
}

.page-register__promo-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--happyluke-text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

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

.page-register__trust-item {
    background-color: var(--happyluke-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--happyluke-border);
}

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

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

.page-register__faq-list {
    margin-top: 40px;
}

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

.page-register__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--happyluke-primary);
    background-color: var(--happyluke-deep-green);
    border-bottom: 1px solid var(--happyluke-divider);
}

.page-register__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-register__faq-qtext {
    flex-grow: 1;
    color: var(--happyluke-text-main);
}

.page-register__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--happyluke-gold);
    transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--happyluke-text-secondary);
    background-color: var(--happyluke-card-bg);
}

.page-register__final-cta-section {
    text-align: center;
    background-color: var(--happyluke-deep-green);
    padding: 60px 20px;
    border-radius: 10px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-register {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-register__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-register__hero-content {
        padding: 15px;
    }

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

    .page-register__hero-description {
        font-size: 0.95rem;
    }

    .page-register__cta-button,
    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Add spacing for stacked buttons */
    }

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

    .page-register__section-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .page-register__benefits-section,
    .page-register__how-to-section,
    .page-register__promotions-section,
    .page-register__trust-section,
    .page-register__faq-section,
    .page-register__final-cta-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-register__benefits-grid,
    .page-register__steps-grid,
    .page-register__promotions-grid,
    .page-register__trust-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-register__benefit-item,
    .page-register__step-item,
    .page-register__promo-card,
    .page-register__trust-item,
    .page-register__faq-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-register__benefit-icon,
    .page-register__step-image,
    .page-register__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-register__notes-section {
        padding: 20px;
    }

    .page-register__notes-title {
        font-size: 1.5rem;
    }

    .page-register__notes-list li {
        font-size: 1rem;
    }

    .page-register__faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }

    .page-register__faq-answer {
        padding: 15px;
    }
    
    .page-register__cta-buttons,
    .page-register__button-group,
    .page-register__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important; /* Ensure buttons wrap if in a flex container */
      gap: 10px;
    }
    
    .page-register__final-cta-section {
        padding: 40px 15px;
    }
}