.page-register {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1, #0d0d0d);
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('[GALLERY:bg_hero:1920x1080:abstract_dark_background,geometric_patterns,tech_theme,subtle_glow]');
    background-size: cover;
    background-position: center;
}

.page-register__hero-section .page-register__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-register__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 800px;
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin-top: 30px;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section Titles & Descriptions */
.page-register__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    color: inherit;
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
    color: inherit;
}

/* 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: 40px;
}

.page-register__benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-register__benefit-card:hover {
    transform: translateY(-10px);
}

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

/* Guide Section */
.page-register__guide-section {
    padding: 80px 0;
}

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

.page-register__step-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.page-register__step-number {
    font-size: 3em;
    font-weight: bold;
    color: #26A9E0;
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0.2;
    z-index: 0;
}

.page-register__step-card .page-register__card-title {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

/* Security Section */
.page-register__security-section {
    padding: 80px 0;
}

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

.page-register__security-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-register__security-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

/* Why Us Section */
.page-register__why-us-section {
    padding: 80px 0;
}

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

.page-register__why-us-list li {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid #26A9E0;
    border-radius: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-register__why-us-list li strong {
    color: #26A9E0;
}

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

.page-register__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-register__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-register__faq-item summary {
    list-style: none; /* Standard for details/summary */
}

.page-register__faq-question:hover {
    background-color: #eef;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    color: #555555;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.page-register__faq-answer p {
    margin: 0;
    color: #555555;
}

/* Call to Action Final Section */
.page-register__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

/* General Card Styles */
.page-register__card {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-register__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for titles */
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-register__btn-primary {
    background: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-register__btn-primary:hover {
    background: #1e87b7;
    border-color: #1e87b7;
    transform: translateY(-3px);
}

.page-register__btn-secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 20px;
}

.page-register__btn-secondary:hover {
    background: #f0f0f0;
    color: #1e87b7;
    border-color: #1e87b7;
    transform: translateY(-3px);
}

.page-register__btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-register__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* For mobile */
}

/* Utility Classes */
.page-register__dark-section {
    background-color: #1a1a1a; /* Dark background for sections */
    color: #ffffff;
}

.page-register__light-bg {
    background-color: #f8f8f8; /* Light background for sections */
    color: #333333;
}

.page-register__light-bg .page-register__section-title,
.page-register__light-bg .page-register__section-description {
    color: #333333;
}

.page-register__mt-30 {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__main-title {
        font-size: 2.8em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section .page-register__container {
        flex-direction: column;
        gap: 20px;
    }
    .page-register__main-title {
        font-size: 2.2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-description {
        font-size: 1em;
    }
    .page-register__benefits-grid,
    .page-register__guide-steps,
    .page-register__security-grid {
        grid-template-columns: 1fr;
    }
    .page-register__btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-register__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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;
    }
    .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;
      gap: 10px;
    }

    /* Images and Videos Responsive */
    .page-register img {
      max-width: 100% !important;
      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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    /* Ensure padding-top for hero/video section on mobile too */
    .page-register__hero-section {
      padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-register__main-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__btn-primary,
    .page-register__btn-secondary {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-register__btn-large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
}

/* Color Contrast Enforcement */
/* Assuming --dark-bg-1 is dark, general page text should be light */
.page-register {
  color: #ffffff; /* Default for dark body background */
}

.page-register__dark-section {
  background-color: #1a1a1a; /* Custom dark background */
  color: #ffffff;
}

.page-register__light-bg {
  background-color: #f8f8f8; /* Custom light background */
  color: #333333;
}

.page-register__light-bg .page-register__section-title,
.page-register__light-bg .page-register__section-description {
  color: #333333;
}

.page-register__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-register__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-register__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-register__faq-question {
  color: #333333;
  background-color: #f8f8f8;
}

.page-register__faq-answer {
  color: #555555;
  background-color: #ffffff;
}