/* style/register.css */

:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #003366;
}

.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff; /* Default body background is white */
}

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

.page-register__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-register__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-dark);
}

.page-register__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-register__dark-bg .page-register__section-title {
    color: var(--secondary-color);
}

.page-register__dark-bg .page-register__section-description {
    color: var(--text-light);
}

.page-register__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-register__light-bg .page-register__section-title {
    color: var(--primary-color);
}

.page-register__light-bg .page-register__section-description {
    color: var(--text-dark);
}

/* Buttons */
.page-register__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-register__cta-group--center {
    justify-content: center;
}

.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-register__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

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

.page-register__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.page-register__hero-section {
    padding: 80px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-register__hero-section .page-register__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    z-index: 1;
}

.page-register__hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-register__hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-light);
}

.page-register__hero-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #e0e0e0;
    max-width: 600px;
}

.page-register__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 0;
}

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

.page-register__benefit-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-register__benefit-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-register__benefit-text {
    font-size: 1rem;
    color: var(--text-dark);
}

/* Steps Section */
.page-register__steps-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-register__step-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-register__step-item:hover {
    transform: translateY(-10px);
}

.page-register__step-icon-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-register__step-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

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

.page-register__step-text {
    font-size: 1rem;
    color: var(--text-dark);
}

/* Video Section */
.page-register__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-register__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-register__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
}

.page-register__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 50px;
}

.page-register__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.page-register__faq-question h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
}

.page-register__faq-toggle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    user-select: none;
}

.page-register__faq-item.active .page-register__faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important; /* Important for JS toggle */
    padding: 15px 25px 20px;
}

.page-register__faq-answer p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

/* App Download Section */
.page-register__app-download-section {
    padding: 80px 0;
}

.page-register__app-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-register__app-text {
    flex: 1;
    min-width: 300px;
}

.page-register__app-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-register__app-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-register__app-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 25px;
}

.page-register__app-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.page-register__app-guide-text {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.page-register__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Final CTA Section */
.page-register__final-cta-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 3rem;
    }
    .page-register__section-title {
        font-size: 2.2rem;
    }
    .page-register__hero-section .page-register__container {
        flex-direction: column;
    }
    .page-register__hero-content,
    .page-register__hero-image-wrapper {
        flex: none;
        width: 100%;
    }
    .page-register__app-content {
        flex-direction: column;
    }
    .page-register__app-text,
    .page-register__app-image-wrapper {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 0;
    }
    .page-register__hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    .page-register__hero-description {
        font-size: 1.1rem;
        text-align: center;
    }
    .page-register__section-title {
        font-size: 1.8rem;
    }
    .page-register__section-description {
        font-size: 1rem;
    }
    .page-register__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-register__btn-primary,
    .page-register__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-register__container {
        padding: 0 15px;
    }
    .page-register__benefits-section,
    .page-register__steps-section,
    .page-register__video-section,
    .page-register__faq-section,
    .page-register__app-download-section,
    .page-register__final-cta-section {
        padding: 40px 0;
    }
    .page-register img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-register__section,
    .page-register__card,
    .page-register__container,
    .page-register__video-section,
    .page-register__video-container,
    .page-register__video-wrapper,
    .page-register__app-content,
    .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;
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-register__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-register__faq-question {
        padding: 15px 20px;
    }
    .page-register__faq-question h3 {
        font-size: 1rem;
    }
    .page-register__faq-toggle {
        font-size: 1.5rem;
    }
    .page-register__faq-item.active .page-register__faq-answer {
        padding: 10px 20px 15px;
    }
}