/* style/index-how-to-register.css */

/* Custom Colors */
:root {
  --ok9-primary-color: #11A84E;
  --ok9-secondary-color: #22C768;
  --ok9-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --ok9-card-bg: #11271B;
  --ok9-background: #08160F;
  --ok9-text-main: #F2FFF6;
  --ok9-text-secondary: #A7D9B8;
  --ok9-border: #2E7A4E;
  --ok9-glow: #57E38D;
  --ok9-gold: #F2C14E;
  --ok9-divider: #1E3A2A;
  --ok9-deep-green: #0A4B2C;
}

.page-index-how-to-register {
  background-color: var(--ok9-background);
  color: var(--ok9-text-main); /* Dark background, use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-index-how-to-register__dark-bg {
  background-color: var(--ok9-background);
  color: var(--ok9-text-main);
}

.page-index-how-to-register__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-index-how-to-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-index-how-to-register__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

.page-index-how-to-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Subtle darkening for text readability, not color change */
}

.page-index-how-to-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  color: var(--ok9-text-main);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-how-to-register__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ok9-gold); /* Using gold for prominence */
}

.page-index-how-to-register__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
}

.page-index-how-to-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-index-how-to-register__btn-primary {
  background: var(--ok9-button-gradient);
  color: #ffffff;
  border: none;
}

.page-index-how-to-register__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-index-how-to-register__btn-secondary {
  background: none;
  color: var(--ok9-primary-color);
  border: 2px solid var(--ok9-primary-color);
}

.page-index-how-to-register__btn-secondary:hover {
  background-color: var(--ok9-primary-color);
  color: #ffffff;
}

.page-index-how-to-register__cta-button--wide {
  width: 100%;
  max-width: 300px;
  margin-top: 15px;
}

/* Section Titles */
.page-index-how-to-register__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  color: var(--ok9-gold);
}

.page-index-how-to-register__section-intro {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--ok9-text-secondary);
}

.page-index-how-to-register__sub-title {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--ok9-gold);
}

/* Why OK9 Section */
.page-index-how-to-register__why-ok9-section {
  padding: 80px 20px;
}

.page-index-how-to-register__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-index-how-to-register__feature-item {
  background-color: var(--ok9-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--ok9-text-main);
  border: 1px solid var(--ok9-border);
}

.page-index-how-to-register__feature-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--ok9-gold);
}

.page-index-how-to-register__feature-text {
  font-size: 1rem;
  color: var(--ok9-text-secondary);
}

/* Registration Guide Section */
.page-index-how-to-register__registration-guide-section {
  padding: 80px 20px;
}

.page-index-how-to-register__steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-index-how-to-register__step-item {
  background-color: var(--ok9-card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--ok9-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-how-to-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--ok9-button-gradient);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 0 15px var(--ok9-glow);
}

.page-index-how-to-register__step-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--ok9-gold);
}

.page-index-how-to-register__step-description {
  font-size: 1rem;
  color: var(--ok9-text-secondary);
}

/* Verification & Deposit Section */
.page-index-how-to-register__verification-deposit-section {
  padding: 80px 20px;
}

.page-index-how-to-register__column-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-index-how-to-register__column-item {
  flex: 1;
  min-width: 300px;
}

.page-index-how-to-register__column-item p {
  margin-bottom: 20px;
  color: #333333;
}

.page-index-how-to-register__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index-how-to-register__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #333333;
}

.page-index-how-to-register__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ok9-primary-color);
  font-weight: bold;
}

.page-index-how-to-register__list li a {
  color: var(--ok9-primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-how-to-register__list li a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-index-how-to-register__faq-section {
  padding: 80px 20px;
}

.page-index-how-to-register__faq-list {
  margin-top: 40px;
}

.page-index-how-to-register__faq-item {
  background-color: var(--ok9-card-bg);
  border: 1px solid var(--ok9-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--ok9-text-main);
}

.page-index-how-to-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--ok9-deep-green);
  color: var(--ok9-text-main);
  border-bottom: 1px solid var(--ok9-divider);
  list-style: none;
}

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

.page-index-how-to-register__faq-question:hover {
  background-color: var(--ok9-primary-color);
}

.page-index-how-to-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--ok9-gold);
}

.page-index-how-to-register__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1rem;
  color: var(--ok9-text-secondary);
}

.page-index-how-to-register__faq-answer p {
  margin-bottom: 10px;
}

/* CTA Bottom Section */
.page-index-how-to-register__cta-bottom-section {
  padding: 80px 20px;
  text-align: center;
}

.page-index-how-to-register__cta-bottom-section .page-index-how-to-register__cta-button {
  margin-left: 10px;
  margin-right: 10px;
}

/* Images */
.page-index-how-to-register__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-how-to-register__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-index-how-to-register__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  }

  .page-index-how-to-register__feature-list,
  .page-index-how-to-register__steps-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-how-to-register__hero-section {
    padding: 40px 15px;
  }

  .page-index-how-to-register__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 0;
    max-width: 100%;
    margin-top: 20px;
  }

  .page-index-how-to-register__hero-image-wrapper {
    max-height: 400px;
  }

  .page-index-how-to-register__section-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .page-index-how-to-register__section-intro {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-index-how-to-register__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 12px 20px;
  }

  .page-index-how-to-register__cta-bottom-section .page-index-how-to-register__cta-button {
    margin-bottom: 15px;
  }

  .page-index-how-to-register__feature-list,
  .page-index-how-to-register__steps-list {
    grid-template-columns: 1fr;
  }

  .page-index-how-to-register__column-wrapper {
    flex-direction: column;
  }

  .page-index-how-to-register__column-item {
    min-width: unset;
    width: 100%;
  }

  .page-index-how-to-register__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-index-how-to-register__faq-toggle {
    font-size: 1.2rem;
  }

  .page-index-how-to-register__faq-answer {
    padding: 15px;
  }

  /* Mobile image responsiveness */
  .page-index-how-to-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-how-to-register__section,
  .page-index-how-to-register__card,
  .page-index-how-to-register__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-how-to-register__hero-section,
  .page-index-how-to-register__why-ok9-section,
  .page-index-how-to-register__registration-guide-section,
  .page-index-how-to-register__verification-deposit-section,
  .page-index-how-to-register__faq-section,
  .page-index-how-to-register__cta-bottom-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-how-to-register__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for decorative spacing */
  }
}