/* style/register.css */
/* Base styles for the page content, ensuring contrast with assumed light body background */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for assumed light body background */
    background-color: transparent; /* Inherit from body or shared.css */
}

/* Section styling */
.page-register__section {
    padding: 60px 20px;
    margin-bottom: 20px;
}

.page-register__section:nth-of-type(even) {
    background-color: #f9f9f9; /* Light grey for alternating sections */
}

.page-register__dark-section {
    background-color: #26A9E0; /* Primary brand color background */
    color: #ffffff; /* White text for dark background */
}

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

.page-register__section-title {
    font-size: 36px;
    color: #26A9E0; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__dark-section .page-register__section-title {
    color: #ffffff; /* White title for dark section */
}

.page-register__section-intro {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO Section */
.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: var(--header-offset, 120px); /* Ensure space below fixed header */
    background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Brand colors gradient */
    color: #ffffff;
}

.page-register__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-register__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-register__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: #ffffff; /* Ensure white text on gradient background */
}

.page-register__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff; /* White title for hero */
}

.page-register__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ffffff; /* White description for hero */
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__cta-button:hover {
    background: #D36C00; /* Darker shade of #EA7C07 */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button--large {
    padding: 20px 50px;
    font-size: 22px;
}

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

.page-register__feature-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__feature-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%; /* Ensure responsiveness */
    display: block;
}

.page-register__feature-title {
    font-size: 24px;
    color: #26A9E0; /* Primary brand color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__feature-text {
    font-size: 16px;
    color: #555555;
}

/* Registration Guide Steps */
.page-register__steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.page-register__step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.page-register__step-number {
    width: 60px;
    height: 60px;
    background: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.page-register__step-title {
    font-size: 28px;
    color: #26A9E0; /* Primary brand color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__step-description {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
}

.page-register__step-description ul {
    list-style-type: disc;
    text-align: left;
    margin: 15px auto;
    padding-left: 30px;
    color: #555555;
    max-width: 600px; /* Constrain list width */
}

.page-register__step-description ul li {
    margin-bottom: 8px;
}

.page-register__step-item img {
    width: 100%;
    height: auto;
    max-width: 600px; /* Max width for step images */
    border-radius: 8px;
    object-fit: cover;
    margin-top: 20px;
    display: block;
}

/* Terms &amp; Conditions List */
.page-register__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-register__terms-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__terms-subtitle {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__terms-item p {
    font-size: 16px;
    color: #555555;
}

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

.page-register__vip-card {
    background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on primary background */
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-register__vip-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.page-register__vip-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

.page-register__vip-title {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__vip-text {
    font-size: 16px;
    color: #f0f0f0;
}

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

.page-register__trouble-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-register__trouble-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__trouble-text {
    font-size: 16px;
    color: #555555;
}

/* CTA Bottom */
.page-register__cta-bottom {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-register__cta-bottom p {
    font-size: 20px;
    margin-bottom: 20px;
    width: 100%;
    color: #333333;
}

.page-register__dark-section .page-register__cta-bottom p {
    color: #ffffff;
}

.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: #ffffff;
    color: #26A9E0;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #26A9E0;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__btn-secondary:hover {
    background: #26A9E0;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-register__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 2000px !important; /* IMPORTANT for expand */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-register__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-register__faq-question:active {
  background: #eeeeee;
}

.page-register__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: #333333; /* Ensure dark text on light background */
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-register__faq-item.active .page-register__faq-toggle {
  color: #333;
}

/* Conclusion Section */
.page-register__conclusion {
    padding-bottom: 80px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 40px;
    }
    .page-register__section-title {
        font-size: 32px;
    }
    .page-register__feature-title,
    .page-register__vip-title,
    .page-register__trouble-title,
    .page-register__step-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-register__hero-title {
        font-size: 32px;
    }

    .page-register__hero-description {
        font-size: 18px;
    }

    .page-register__cta-button,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0;
        margin-right: 0;
    }
    
    .page-register__cta-bottom {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-register__section {
        padding: 40px 15px;
    }

    .page-register__section-title {
        font-size: 28px;
    }

    .page-register__section-intro {
        font-size: 16px;
    }

    .page-register__features-grid,
    .page-register__vip-grid,
    .page-register__trouble-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .page-register__feature-card img,
    .page-register__vip-card img,
    .page-register__step-item img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-register__container {
        padding: 0;
    }

    .page-register__feature-card,
    .page-register__vip-card,
    .page-register__trouble-card,
    .page-register__step-item,
    .page-register__terms-item,
    .page-register__faq-item {
        margin-left: 15px;
        margin-right: 15px;
        width: calc(100% - 30px); /* Adjust width to account for margins */
        box-sizing: border-box;
    }

    .page-register__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-register__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-register__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-register__faq-answer {
        padding: 0 15px;
    }
    
    .page-register__faq-item.active .page-register__faq-answer {
        padding: 15px !important;
    }
}

/* Ensure all images in content area are responsive and not too small */
.page-register img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Specific rule for content images to ensure min size if not explicitly set */
.page-register__feature-card img,
.page-register__vip-card img,
.page-register__step-item img {
    min-width: 200px;
    min-height: 200px;
}

/* Image container responsiveness */
.page-register__section,
.page-register__card,
.page-register__container,
.page-register__hero-image,
.page-register__feature-card,
.page-register__vip-card,
.page-register__trouble-card,
.page-register__step-item {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* No CSS filters for images */
.page-register img {
    filter: none; /* Ensure no image filters are applied */
}