/* style/register.css */

/* Base styles */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-register__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

/* Buttons */
.page-register__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-register__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-register__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-register__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 800;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
  line-height: 1.8;
}

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

.page-register__dark-section {
  background-color: #0A4B2C; /* Deep Green for contrast */
}

.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;
}

.page-register__benefit-icon {
  width: 100%; /* Ensure large image, not icon */
  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.6em;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-register__benefit-text {
  color: #A7D9B8;
  font-size: 0.95em;
}

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-register__step-item {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-register__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #11A84E; /* Primary color */
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #08160F;
  box-shadow: 0 0 0 5px #2E7A4E;
}

.page-register__step-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-register__step-text {
  color: #A7D9B8;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-register__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Bonuses Section */
.page-register__bonuses-section {
  padding: 80px 0;
}

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

.page-register__bonus-card {
  text-align: left;
}

.page-register__bonus-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-register__bonus-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-register__bonus-text {
  color: #A7D9B8;
  font-size: 0.9em;
  margin-bottom: 20px;
}

.page-register__bonus-link {
  color: #2AD16F; /* Lighter green for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__bonus-link:hover {
  color: #57E38D; /* Glow color on hover */
  text-decoration: underline;
}

.page-register__cta-full-promo {
  text-align: center;
  margin-top: 60px;
}

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

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

.page-register__faq-item {
  margin-bottom: 15px;
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-register__faq-question:hover {
  background-color: #1E3A2A; /* Divider color for hover */
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '−';
}

.page-register__faq-answer {
  padding: 20px 30px;
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.7;
  border-top: 1px solid #2E7A4E;
}

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

/* Floating Buttons */
.page-register__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-register__floating-btn {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  min-width: 100px;
  box-sizing: border-box;
}

.page-register__floating-btn:hover {
  transform: translateY(-3px);
}

.page-register__floating-btn--login {
  background: #2E7A4E; /* Border color for login */
}

.page-register__floating-btn--login:hover {
  background: #1E3A2A;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__hero-content {
    margin-top: 20px;
  }
}

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

  .page-register__container {
    padding: 0 15px !important;
  }

  .page-register__hero-section {
    padding-bottom: 40px;
  }

  .page-register__hero-image {
    max-height: 400px;
  }

  .page-register__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-register__hero-description {
    font-size: 1em;
  }

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

  .page-register__section-description {
    font-size: 0.95em;
  }

  .page-register__cta-button,
  .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: 12px 15px !important;
    font-size: 1em !important;
  }

  .page-register__cta-bottom,
  .page-register__cta-full-promo {
    padding: 0 15px;
  }

  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__bonuses-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 40px 0;
  }

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

  .page-register__benefit-icon,
  .page-register__step-image,
  .page-register__bonus-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-register__faq-answer {
    padding: 15px 20px;
  }

  .page-register__floating-buttons {
    bottom: 15px;
    right: 15px;
    flex-direction: row;
    gap: 8px;
  }

  .page-register__floating-btn {
    padding: 10px 15px;
    font-size: 0.9em;
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  .page-register__floating-buttons {
    width: calc(100% - 30px);
    left: 15px;
    right: 15px;
    flex-direction: row;
    justify-content: space-around;
  }
  .page-register__floating-btn {
    flex: 1;
  }
}

/* Ensure content area images are not too small */
.page-register img {
  min-width: 200px;
  min-height: 200px;
}

/* Override for specific smaller images if needed, but ensure they are still content images */
.page-register__benefit-icon, .page-register__step-image, .page-register__bonus-image {
  min-width: 200px; /* Enforce min size for content images */
  min-height: 150px; /* Adjust height for aspect ratio if needed, but keep it substantial */
}

/* Ensure no image filters */
.page-register img {
  filter: none !important;
}