.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

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

.page-register__section-title {
  font-size: clamp(24px, 4vw, 38px);
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-register__section-description {
  font-size: clamp(16px, 2.5vw, 18px);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808;
  color: #FFFF00;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(195, 8, 8, 0.4);
}

.page-register__cta-button:hover {
  background: #a30707;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(195, 8, 8, 0.6);
}

.page-register__btn-primary {
  background: #017439;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-register__btn-primary:hover {
  background: #005a2e;
  transform: translateY(-2px);
}

.page-register__btn-secondary {
  background: #FFFFFF;
  color: #017439;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
}

.page-register__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  border-color: #005a2e;
}

/* 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: 10px; /* Small top padding, body handles header offset */
  background-color: #f8f8f8;
}

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

.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;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-register__hero-content h1 {
  color: #017439;
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__hero-content p {
  font-size: clamp(17px, 2.8vw, 22px);
  color: #555555;
  max-width: 700px;
  margin: 0 auto 20px auto;
}

.page-register__cta-button--hero {
  margin-top: 20px;
}

/* Form Section */
.page-register__form-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-register__registration-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-register__form-group {
  margin-bottom: 20px;
}

.page-register__form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333333;
  font-size: 16px;
}

.page-register__form-group input[type="text"],
.page-register__form-group input[type="password"],
.page-register__form-group input[type="email"],
.page-register__form-group input[type="tel"],
.page-register__form-group input[type="date"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-register__form-group input[type="text"]:focus,
.page-register__form-group input[type="password"]:focus,
.page-register__form-group input[type="email"]:focus,
.page-register__form-group input[type="tel"]:focus,
.page-register__form-group input[type="date"]:focus {
  border-color: #017439;
  box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
  outline: none;
}

.page-register__form-checkbox {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.page-register__form-checkbox input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
  accent-color: #017439;
}

.page-register__form-checkbox label {
  font-size: 15px;
  color: #555555;
}

.page-register__form-checkbox label a {
  color: #017439;
  text-decoration: none;
  font-weight: 600;
}

.page-register__form-checkbox label a:hover {
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
  background: #C30808;
  color: #FFFF00;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(195, 8, 8, 0.4);
}

.page-register__submit-button:hover {
  background: #a30707;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(195, 8, 8, 0.6);
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-register__benefits-section .page-register__section-title,
.page-register__benefits-section .page-register__section-description {
  color: #FFFFFF;
}

.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: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-register__benefit-card h3 {
  color: #FFFF00;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-register__benefit-card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* How-To Section */
.page-register__how-to-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-register__step-card {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-register__step-number {
  font-size: 48px;
  font-weight: bold;
  color: rgba(1, 116, 57, 0.1);
  position: absolute;
  top: 10px;
  left: 15px;
  z-index: 0;
}

.page-register__step-card h3 {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.page-register__step-card p {
  font-size: 16px;
  color: #555555;
  position: relative;
  z-index: 1;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-register__security-section .page-register__section-title,
.page-register__security-section .page-register__section-description {
  color: #FFFFFF;
}

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

.page-register__security-text {
  flex: 1;
}

.page-register__security-text p {
  font-size: 17px;
  margin-bottom: 25px;
  color: #f0f0f0;
}

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

.page-register__security-text ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFFF00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-register__security-text ul li strong {
  color: #FFFF00;
}

.page-register__security-image {
  flex: 1;
  text-align: center;
}

.page-register__security-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Promotions Section */
.page-register__promotions-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

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

.page-register__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-register__promotion-card h3 {
  color: #017439;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-register__promotion-card p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
}

.page-register__promotion-cta {
  margin-top: 60px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(45deg, #017439, #005a2e);
  border-radius: 12px;
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__promotion-cta img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__promotion-cta p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-register__promotion-cta .page-register__cta-button {
  background: #C30808;
  color: #FFFF00;
}

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

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

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

details.page-register__faq-item summary.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-register__faq-item summary.page-register__faq-question:hover {
  background: #f5f5f5;
}

.page-register__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-register__faq-item .page-register__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  color: #555555;
  font-size: 16px;
}

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

/* Final CTA Section */
.page-register__cta-final-section {
  padding: 80px 0;
  background-color: #017439;
  text-align: center;
  color: #FFFFFF;
}

.page-register__cta-final-section .page-register__section-title,
.page-register__cta-final-section .page-register__section-description {
  color: #FFFFFF;
}

.page-register__cta-button--final {
  background: #C30808;
  color: #FFFF00;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__security-content {
    flex-direction: column;
  }
  .page-register__security-text, .page-register__security-image {
    flex: none;
    width: 100%;
  }
  .page-register__security-image img {
    max-width: 80%;
  }
}

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

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

  .page-register__hero-image img {
    border-radius: 4px;
  }

  .page-register__hero-content h1 {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-register__hero-content p {
    font-size: clamp(15px, 3.5vw, 18px);
  }

  .page-register__cta-button, .page-register__submit-button {
    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;
  }

  .page-register__form-section, .page-register__benefits-section, .page-register__how-to-section, .page-register__security-section, .page-register__promotions-section, .page-register__faq-section, .page-register__cta-final-section {
    padding: 50px 0;
  }

  .page-register__registration-form {
    padding: 25px;
  }

  .page-register__section-title {
    font-size: clamp(22px, 5vw, 30px);
  }

  .page-register__section-description {
    font-size: clamp(15px, 3.5vw, 17px);
  }

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

  .page-register__benefit-card, .page-register__step-card, .page-register__promotion-card {
    padding: 25px;
  }

  .page-register__benefit-card h3, .page-register__step-card h3, .page-register__promotion-card h3 {
    font-size: 20px;
  }

  .page-register__security-text ul li {
    font-size: 15px;
  }

  .page-register__security-image img {
    max-width: 100%;
  }

  .page-register__promotion-cta {
    padding: 30px 20px;
  }

  .page-register__promotion-cta p {
    font-size: 16px;
  }

  details.page-register__faq-item summary.page-register__faq-question {
    padding: 15px;
  }

  .page-register__faq-qtext {
    font-size: 15px;
  }

  .page-register__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-register__faq-item .page-register__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* Image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-register__section, .page-register__card, .page-register__container, .page-register__registration-form, .page-register__form-group, .page-register__benefits-grid, .page-register__steps-grid, .page-register__promotions-grid, .page-register__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button container responsiveness */
  .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;
  }

  .page-register__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-register__hero-content h1 {
    font-size: clamp(22px, 8vw, 32px);
  }
  .page-register__hero-content p {
    font-size: clamp(14px, 4vw, 16px);
  }
  .page-register__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-register__registration-form {
    padding: 20px;
  }
  .page-register__form-group label {
    font-size: 15px;
  }
  .page-register__form-group input {
    font-size: 15px;
    padding: 10px 12px;
  }
  .page-register__submit-button {
    font-size: 16px;
    padding: 12px;
  }
  .page-register__benefit-card h3, .page-register__step-card h3, .page-register__promotion-card h3 {
    font-size: 18px;
  }
  .page-register__benefit-card p, .page-register__step-card p, .page-register__promotion-card p {
    font-size: 14px;
  }
  .page-register__security-text p, .page-register__security-text ul li {
    font-size: 14px;
  }
  .page-register__promotion-cta p {
    font-size: 15px;
  }
  .page-register__faq-qtext {
    font-size: 14px;
  }
  details.page-register__faq-item .page-register__faq-answer {
    font-size: 14px;
  }
}