/* style/blog-rr99-platform-deep-dive.css */

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

.page-blog-rr99-platform-deep-dive {
  background-color: var(--rr99-bg-color);
  color: var(--rr99-text-main); /* Body background is dark, so main text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-rr99-platform-deep-dive__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 40px 0; /* body handles header offset, small top padding for aesthetic */
  background-color: var(--rr99-deep-green-color);
}

.page-blog-rr99-platform-deep-dive__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-blog-rr99-platform-deep-dive__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog-rr99-platform-deep-dive__hero-content {
  max-width: 1000px;
  width: 100%; /* Ensure it takes full width within max-width */
  padding: 30px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-blog-rr99-platform-deep-dive__main-title {
  color: var(--rr99-gold-color);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-blog-rr99-platform-deep-dive__hero-description {
  font-size: 1.1rem;
  color: var(--rr99-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-rr99-platform-deep-dive__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-rr99-platform-deep-dive__btn-primary,
.page-blog-rr99-platform-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-blog-rr99-platform-deep-dive__btn-primary {
  background: var(--rr99-button-gradient);
  color: #ffffff; /* Button text always white for primary */
  border: 2px solid transparent;
}

.page-blog-rr99-platform-deep-dive__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-blog-rr99-platform-deep-dive__btn-secondary {
  background-color: transparent;
  color: var(--rr99-gold-color);
  border: 2px solid var(--rr99-gold-color);
}

.page-blog-rr99-platform-deep-dive__btn-secondary:hover {
  background-color: var(--rr99-gold-color);
  color: var(--rr99-bg-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-rr99-platform-deep-dive__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-blog-rr99-platform-deep-dive__section-title {
  color: var(--rr99-primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-blog-rr99-platform-deep-dive__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--rr99-gold-color);
  border-radius: 2px;
}

.page-blog-rr99-platform-deep-dive__text-block {
  font-size: 1.1rem;
  color: var(--rr99-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-rr99-platform-deep-dive__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-blog-rr99-platform-deep-dive__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

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

.page-blog-rr99-platform-deep-dive__card-title {
  font-size: 1.8rem;
  color: var(--rr99-gold-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-rr99-platform-deep-dive__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-blog-rr99-platform-deep-dive__card-title a:hover {
  text-decoration: underline;
}

.page-blog-rr99-platform-deep-dive__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-rr99-platform-deep-dive__card-description {
  color: var(--rr99-text-secondary);
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-blog-rr99-platform-deep-dive__btn-text {
  display: inline-block;
  padding: 10px 20px;
  background: var(--rr99-button-gradient);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.page-blog-rr99-platform-deep-dive__btn-text:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-blog-rr99-platform-deep-dive__dark-section {
  background-color: var(--rr99-deep-green-color);
  color: var(--rr99-text-main);
  padding: 60px 20px;
  border-top: 1px solid var(--rr99-divider-color);
  border-bottom: 1px solid var(--rr99-divider-color);
}

.page-blog-rr99-platform-deep-dive__dark-section .page-blog-rr99-platform-deep-dive__section-title {
  color: var(--rr99-text-main);
}

.page-blog-rr99-platform-deep-dive__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-rr99-platform-deep-dive__feature-item {
  background-color: var(--rr99-card-bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--rr99-border-color);
}

.page-blog-rr99-platform-deep-dive__feature-title {
  font-size: 1.5rem;
  color: var(--rr99-gold-color);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.page-blog-rr99-platform-deep-dive__feature-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--rr99-secondary-color);
  border-radius: 1.5px;
}

.page-blog-rr99-platform-deep-dive__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-blog-rr99-platform-deep-dive__promotion-list li {
  background-color: var(--rr99-card-bg);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid var(--rr99-primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-blog-rr99-platform-deep-dive__promotion-item-title {
  font-size: 1.4rem;
  color: var(--rr99-primary-color);
  margin-bottom: 10px;
}

.page-blog-rr99-platform-deep-dive__register-steps {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-blog-rr99-platform-deep-dive__register-steps li {
  background-color: var(--rr99-card-bg);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--rr99-border-color);
}

.page-blog-rr99-platform-deep-dive__register-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background: var(--rr99-button-gradient);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.page-blog-rr99-platform-deep-dive__step-title {
  font-size: 1.6rem;
  color: var(--rr99-gold-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-blog-rr99-platform-deep-dive__faq-list {
  margin-top: 30px;
}

.page-blog-rr99-platform-deep-dive__faq-item {
  background-color: var(--rr99-card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--rr99-border-color);
}

.page-blog-rr99-platform-deep-dive__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--rr99-text-main);
  background-color: var(--rr99-deep-green-color);
  border-bottom: 1px solid var(--rr99-divider-color);
}

.page-blog-rr99-platform-deep-dive__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-rr99-platform-deep-dive__faq-qtext {
  flex-grow: 1;
  color: var(--rr99-text-main);
}

.page-blog-rr99-platform-deep-dive__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--rr99-gold-color);
}

.page-blog-rr99-platform-deep-dive__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--rr99-text-secondary);
  text-align: justify;
}

.page-blog-rr99-platform-deep-dive__faq-answer p {
  margin-bottom: 0;
}

.page-blog-rr99-platform-deep-dive__section-conclusion {
  text-align: center;
  padding-bottom: 60px;
}

.page-blog-rr99-platform-deep-dive__section-conclusion .page-blog-rr99-platform-deep-dive__text-block {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-rr99-platform-deep-dive__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-blog-rr99-platform-deep-dive__section-title {
    font-size: 2rem;
  }
  .page-blog-rr99-platform-deep-dive__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-blog-rr99-platform-deep-dive {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-rr99-platform-deep-dive__hero-section {
    padding: 10px 0 30px 0;
  }

  .page-blog-rr99-platform-deep-dive__hero-image-wrapper {
    max-height: 300px;
  }

  .page-blog-rr99-platform-deep-dive__hero-content {
    padding: 20px 15px;
  }

  .page-blog-rr99-platform-deep-dive__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-rr99-platform-deep-dive__hero-description {
    font-size: 1rem;
  }

  .page-blog-rr99-platform-deep-dive__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog-rr99-platform-deep-dive__btn-primary,
  .page-blog-rr99-platform-deep-dive__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-blog-rr99-platform-deep-dive__content-area {
    padding: 30px 15px;
  }

  .page-blog-rr99-platform-deep-dive__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-blog-rr99-platform-deep-dive__text-block {
    font-size: 1rem;
  }

  .page-blog-rr99-platform-deep-dive__content-image {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-blog-rr99-platform-deep-dive__product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-rr99-platform-deep-dive__product-card {
    padding: 20px;
  }

  .page-blog-rr99-platform-deep-dive__card-title {
    font-size: 1.5rem;
  }

  .page-blog-rr99-platform-deep-dive__card-image {
    height: 180px;
    min-width: 200px !important;
    min-height: 180px !important;
    max-width: 100% !important;
  }

  .page-blog-rr99-platform-deep-dive__dark-section {
    padding: 40px 15px;
  }

  .page-blog-rr99-platform-deep-dive__feature-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-rr99-platform-deep-dive__feature-title {
    font-size: 1.3rem;
  }

  .page-blog-rr99-platform-deep-dive__promotion-list li,
  .page-blog-rr99-platform-deep-dive__register-steps li {
    padding: 15px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-blog-rr99-platform-deep-dive__register-steps li::before {
    margin-bottom: 10px;
  }

  .page-blog-rr99-platform-deep-dive__step-title {
    font-size: 1.4rem;
  }

  .page-blog-rr99-platform-deep-dive__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-blog-rr99-platform-deep-dive__faq-toggle {
    font-size: 1.5rem;
  }

  .page-blog-rr99-platform-deep-dive__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-blog-rr99-platform-deep-dive__section-introduction,
  .page-blog-rr99-platform-deep-dive__section-products,
  .page-blog-rr99-platform-deep-dive__dark-section,
  .page-blog-rr99-platform-deep-dive__section-promotions,
  .page-blog-rr99-platform-deep-dive__section-register,
  .page-blog-rr99-platform-deep-dive__section-faq,
  .page-blog-rr99-platform-deep-dive__section-conclusion,
  .page-blog-rr99-platform-deep-dive__product-grid,
  .page-blog-rr99-platform-deep-dive__feature-list,
  .page-blog-rr99-platform-deep-dive__faq-list,
  .page-blog-rr99-platform-deep-dive__hero-image-wrapper,
  .page-blog-rr99-platform-deep-dive__video-container,
  .page-blog-rr99-platform-deep-dive__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-blog-rr99-platform-deep-dive__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-blog-rr99-platform-deep-dive__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-blog-rr99-platform-deep-dive__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-blog-rr99-platform-deep-dive__section-title {
    font-size: 1.5rem;
  }
  .page-blog-rr99-platform-deep-dive__hero-image-wrapper {
    max-height: 250px;
  }
}

/* Contrast Fixes (as per instructions) */
.page-blog-rr99-platform-deep-dive__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-blog-rr99-platform-deep-dive__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}