.page-g {
  color: #ffffff; /* Body background is #0a0a0a (dark), so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure page content background matches body */
}

.page-g__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  background-color: #0a0a0a;
  color: #ffffff;
  overflow: hidden;
}

.page-g__hero-image-container {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-g__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-g__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-g__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for emphasis */
}

.page-g__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-g__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-g__btn-primary, .page-g__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-g__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-g__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-g__btn-secondary {
  background-color: #EA7C07; /* Login color for secondary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-g__btn-secondary:hover {
  background-color: #c96a06;
  border-color: #c96a06;
}

.page-g__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #0a0a0a; /* Match body background */
  color: #ffffff; /* Light text for dark background */
}

.page-g__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-g__section-title--light {
  color: #ffffff;
}

.page-g__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-g__sub-title--light {
  color: #ffffff;
}

.page-g__text-block {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-g__text-block--light {
  color: #ffffff;
}

.page-g__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-g__image-content--right {
  float: right;
  margin-left: 30px;
  max-width: 50%;
  shape-outside: circle(50%);
}

.page-g__ordered-list, .page-g__unordered-list {
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-g__ordered-list li, .page-g__unordered-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-g__unordered-list--light li {
  color: #ffffff;
}

.page-g__section-highlight {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  padding: 60px 20px;
  color: #ffffff;
}

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

.page-g__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-g__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-g__feature-description {
  font-size: 0.95rem;
  color: #f0f0f0;
}

.page-g__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  background-color: #0a0a0a;
  color: #ffffff;
  text-align: center;
}

.page-g__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  margin: 40px auto;
  border-radius: 8px;
}

.page-g__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-g__video-link-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  cursor: pointer;
}

.page-g__cta-buttons--video {
  margin-top: 20px;
}

.page-g__faq-section {
  background-color: #1a1a1a;
  padding: 60px 20px;
  color: #ffffff;
  text-align: center;
}

.page-g__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-g__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-g__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
  list-style: none; /* For details/summary */
}

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

.page-g__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-g__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95rem;
  color: #f0f0f0;
}

.page-g__faq-answer p {
  margin-bottom: 0;
}

.page-g__image-content--faq {
  margin-top: 40px;
  max-width: 600px;
}

.page-g__cta-buttons--bottom {
  margin-top: 60px;
  margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-g__image-content--right {
    float: none;
    margin: 40px auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-g__hero-section,
  .page-g__content-area,
  .page-g__section-highlight,
  .page-g__video-section,
  .page-g__faq-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-g__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-g__hero-description {
    font-size: 1rem;
  }

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

  .page-g__btn-primary,
  .page-g__btn-secondary,
  .page-g a[class*="button"],
  .page-g a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-g__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-g__sub-title {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }

  .page-g__text-block {
    font-size: 0.95rem;
  }

  .page-g__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-g__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-g__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-g__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-g__faq-answer {
    font-size: 0.9rem;
    padding: 0 15px 15px 15px;
  }

  .page-g__video-section {
    padding-top: 10px !important; /* Body already handles header offset */
  }
}

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