/* style/register-tutorial.css */

/* Custom Colors */
:root {
  --page-register-tutorial-bg: #08160F;
  --page-register-tutorial-card-bg: #11271B;
  --page-register-tutorial-text-main: #F2FFF6;
  --page-register-tutorial-text-secondary: #A7D9B8;
  --page-register-tutorial-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-register-tutorial-glow: #57E38D;
  --page-register-tutorial-gold: #F2C14E;
  --page-register-tutorial-divider: #1E3A2A;
  --page-register-tutorial-deep-green: #0A4B2C;
  --page-register-tutorial-border: #2E7A4E;
}

.page-register-tutorial {
  background-color: var(--page-register-tutorial-bg);
  color: var(--page-register-tutorial-text-main); /* Ensure light text on dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-register-tutorial__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-register-tutorial-text-main);
  line-height: 1.2;
}

.page-register-tutorial__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--page-register-tutorial-text-secondary);
}

.page-register-tutorial__text-main {
  color: var(--page-register-tutorial-text-main);
}

.page-register-tutorial__text-secondary {
  color: var(--page-register-tutorial-text-secondary);
}

/* Hero Section */
.page-register-tutorial__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  min-height: 500px;
}

.page-register-tutorial__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Darken image for text readability */
}

.page-register-tutorial__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--page-register-tutorial-text-main);
}

.page-register-tutorial__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-register-tutorial-gold);
}

.page-register-tutorial__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 30px;
  color: var(--page-register-tutorial-text-main);
}

.page-register-tutorial__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-register-tutorial__btn-primary,
.page-register-tutorial__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-register-tutorial__btn-primary {
  background: var(--page-register-tutorial-btn-gradient);
  color: var(--page-register-tutorial-text-main);
  border: 2px solid transparent;
}

.page-register-tutorial__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--page-register-tutorial-glow), 0.4);
}

.page-register-tutorial__btn-secondary {
  background: transparent;
  color: var(--page-register-tutorial-gold);
  border: 2px solid var(--page-register-tutorial-gold);
}

.page-register-tutorial__btn-secondary:hover {
  background: var(--page-register-tutorial-gold);
  color: var(--page-register-tutorial-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--page-register-tutorial-gold), 0.4);
}

/* Introduction Section */
.page-register-tutorial__introduction-section {
  padding: 60px 0;
  background-color: #f2fff6; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
}

.page-register-tutorial__introduction-section .page-register-tutorial__section-title,
.page-register-tutorial__introduction-section .page-register-tutorial__text-block {
  color: #333333;
}

/* Steps Section */
.page-register-tutorial__steps-section {
  padding: 60px 0;
  background-color: var(--page-register-tutorial-bg);
}

.page-register-tutorial__step-card {
  background-color: var(--page-register-tutorial-card-bg);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-register-tutorial-border);
}

.page-register-tutorial__step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--page-register-tutorial-btn-gradient);
  color: var(--page-register-tutorial-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px var(--page-register-tutorial-glow);
}

.page-register-tutorial__step-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-register-tutorial-gold);
}

.page-register-tutorial__step-description {
  font-size: 17px;
  margin-bottom: 25px;
  color: var(--page-register-tutorial-text-secondary);
}

.page-register-tutorial__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid var(--page-register-tutorial-border);
  display: block;
}

.page-register-tutorial__step-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
  width: 100%;
}

.page-register-tutorial__step-list li {
  background-color: var(--page-register-tutorial-deep-green);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 17px;
  color: var(--page-register-tutorial-text-main);
  border-left: 5px solid var(--page-register-tutorial-glow);
}

.page-register-tutorial__step-list li strong {
  color: var(--page-register-tutorial-gold);
}

.page-register-tutorial__step-button {
  margin-top: 15px;
  width: fit-content;
}

/* Benefits Section */
.page-register-tutorial__benefits-section {
  padding: 60px 0;
  background-color: #f2fff6; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
}

.page-register-tutorial__benefits-section .page-register-tutorial__section-title {
  color: #333333;
}

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

.page-register-tutorial__benefit-card {
  background-color: var(--page-register-tutorial-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-register-tutorial-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-register-tutorial__benefit-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--page-register-tutorial-gold);
}

.page-register-tutorial__benefit-description {
  font-size: 16px;
  color: var(--page-register-tutorial-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-register-tutorial__btn-text {
  color: var(--page-register-tutorial-glow);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.page-register-tutorial__btn-text:hover {
  color: var(--page-register-tutorial-gold);
}

.page-register-tutorial__benefits-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 40px auto 0 auto;
  border: 1px solid var(--page-register-tutorial-border);
}

/* Tips Section */
.page-register-tutorial__tips-section {
  padding: 60px 0;
  background-color: var(--page-register-tutorial-bg);
}

.page-register-tutorial__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-register-tutorial__tips-list li {
  background-color: var(--page-register-tutorial-deep-green);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  font-size: 17px;
  color: var(--page-register-tutorial-text-main);
  border-left: 5px solid var(--page-register-tutorial-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register-tutorial__tips-list li strong {
  color: var(--page-register-tutorial-gold);
}

/* FAQ Section */
.page-register-tutorial__faq-section {
  padding: 60px 0;
  background-color: #f2fff6; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register-tutorial__faq-section .page-register-tutorial__section-title {
  color: #333333;
}

.page-register-tutorial__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
  display: block;
  border: 1px solid #e0e0e0;
}

.page-register-tutorial__faq-list {
  width: 100%;
  max-width: 900px;
}

.page-register-tutorial__faq-item {
  background-color: var(--page-register-tutorial-card-bg);
  border: 1px solid var(--page-register-tutorial-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-register-tutorial__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-register-tutorial-text-main);
  cursor: pointer;
  background-color: var(--page-register-tutorial-deep-green);
  border-bottom: 1px solid var(--page-register-tutorial-divider);
}

.page-register-tutorial__faq-question:hover {
  background-color: var(--page-register-tutorial-deep-green);
}

.page-register-tutorial__faq-qtext {
  flex-grow: 1;
  color: var(--page-register-tutorial-gold);
}

.page-register-tutorial__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: var(--page-register-tutorial-glow);
}

.page-register-tutorial__faq-answer {
  padding: 0 20px;
  font-size: 16px;
  color: var(--page-register-tutorial-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register-tutorial__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
}

/* For <details> tag, default open state */
.page-register-tutorial__faq-item[open] .page-register-tutorial__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 20px;
}

/* Remove default details marker */
.page-register-tutorial__faq-item summary {
  list-style: none;
}

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

/* Final CTA Section */
.page-register-tutorial__cta-final-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--page-register-tutorial-deep-green);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register-tutorial__hero-content {
    max-width: 700px;
  }
  .page-register-tutorial__section-title {
    font-size: 36px;
  }
  .page-register-tutorial__main-title {
    font-size: 48px;
  }
  .page-register-tutorial__hero-description {
    font-size: 20px;
  }
}

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

  .page-register-tutorial__hero-section,
  .page-register-tutorial__introduction-section,
  .page-register-tutorial__steps-section,
  .page-register-tutorial__benefits-section,
  .page-register-tutorial__tips-section,
  .page-register-tutorial__faq-section,
  .page-register-tutorial__cta-final-section {
    padding: 40px 0;
  }

  .page-register-tutorial__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-register-tutorial__main-title {
    font-size: 36px;
  }

  .page-register-tutorial__hero-description {
    font-size: 16px;
  }

  .page-register-tutorial__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-register-tutorial__btn-primary,
  .page-register-tutorial__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register-tutorial__step-card,
  .page-register-tutorial__benefit-card,
  .page-register-tutorial__faq-item {
    padding: 20px;
    margin-bottom: 25px;
  }

  .page-register-tutorial__step-title {
    font-size: 22px;
  }

  .page-register-tutorial__benefits-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile image adaptations */
  .page-register-tutorial img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register-tutorial__hero-image,
  .page-register-tutorial__step-image,
  .page-register-tutorial__benefits-image,
  .page-register-tutorial__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-register-tutorial__section,
  .page-register-tutorial__card,
  .page-register-tutorial__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video section specific top padding */
  .page-register-tutorial__video-section {
    padding-top: 10px !important;
  }
}