/* style/register.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-register {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-register__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-register__section-intro {
  font-size: clamp(16px, 2vw, 20px);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #0a0a0a; /* Ensure dark background for consistency */
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-register__hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.page-register__hero-title {
  font-size: clamp(32px, 4.5vw, 56px); /* Use clamp for H1 */
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Primary Button */
.page-register__btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #26A9E0 0%, #34C7F4 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(38, 169, 224, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary:hover {
  background: linear-gradient(90deg, #34C7F4 0%, #26A9E0 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 169, 224, 0.6);
}

/* Secondary Button */
.page-register__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
}

/* Tertiary Button */
.page-register__btn-tertiary {
  display: inline-block;
  background: transparent;
  color: #26A9E0;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid #26A9E0;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-tertiary:hover {
  background: #26A9E0;
  color: #ffffff;
}

/* Why Choose Section */
.page-register__why-choose-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

.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: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  color: #ffffff;
}

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

.page-register__feature-icon {
  width: 200px; /* Minimum size */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

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

.page-register__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.page-register__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 20px;
}

.page-register__step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 5px rgba(38, 169, 224, 0.3);
}

.page-register__step-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-register__step-text {
  font-size: 18px;
  color: #f0f0f0;
  max-width: 700px;
  margin-bottom: 25px;
}

.page-register__step-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-register__cta-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

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

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

.page-register__bonus-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
  color: #ffffff;
}

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

.page-register__bonus-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-register__bonus-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-register__bonus-text {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

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

.page-register__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background 0.3s ease;
  color: #ffffff;
}

.page-register__faq-item[open] {
  background: rgba(255, 255, 255, 0.1);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  transition: color 0.3s ease;
}

.page-register__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-register__faq-question:hover {
  color: #26A9E0;
}

.page-register__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-register__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  margin-left: 15px;
  width: 24px; /* Fixed width to prevent layout shift */
  text-align: center;
}

.page-register__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: #f0f0f0;
  text-align: left;
}

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

.page-register__btn-large {
  padding: 18px 40px;
  font-size: 20px;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: clamp(28px, 4vw, 48px);
  }
  .page-register__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-register__feature-icon {
    width: 180px;
  }
  .page-register__feature-title {
    font-size: 22px;
  }
  .page-register__step-title {
    font-size: 26px;
  }
  .page-register__bonus-title {
    font-size: 20px;
  }
  .page-register__faq-question {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-register__container {
    padding: 0 15px !important;
  }
  .page-register__hero-section {
    padding: 10px 0 40px 0 !important;
  }
  .page-register__hero-title {
    font-size: clamp(24px, 7vw, 36px) !important; /* Smaller for mobile */
  }
  .page-register__hero-description {
    font-size: clamp(15px, 4vw, 18px) !important;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register__btn-tertiary,
  .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-bottom {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  /* Image responsive adjustments */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register__hero-image-wrapper,
  .page-register__feature-card,
  .page-register__step-item,
  .page-register__bonus-card,
  .page-register__faq-item,
  .page-register__container,
  .page-register__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-register__section-title {
    font-size: clamp(24px, 6vw, 36px) !important;
  }
  .page-register__section-intro {
    font-size: clamp(15px, 4vw, 18px) !important;
  }
  .page-register__feature-icon {
    width: 150px !important;
  }
  .page-register__feature-title {
    font-size: 20px !important;
  }
  .page-register__step-title {
    font-size: 24px !important;
  }
  .page-register__bonus-title {
    font-size: 18px !important;
  }
  .page-register__faq-question {
    font-size: 16px !important;
    padding: 15px;
  }
  .page-register__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-register__btn-large {
    padding: 15px 30px !important;
    font-size: 18px !important;
  }
  .page-register__why-choose-section,
  .page-register__steps-section,
  .page-register__bonuses-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    padding: 60px 0 !important;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: clamp(20px, 8vw, 32px) !important;
  }
  .page-register__hero-description {
    font-size: clamp(14px, 4.5vw, 16px) !important;
  }
  .page-register__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .page-register__section-title {
    font-size: clamp(20px, 7vw, 32px) !important;
  }
  .page-register__section-intro {
    font-size: clamp(14px, 4.5vw, 16px) !important;
  }
}