/* style/resources-latest-version-install-guide.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #000000;
  --background-light: #f8f9fa;
  --login-color: #EA7C07;
}

.page-resources-latest-version-install-guide {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Ensure main content background matches body if not section-specific */
}

.page-resources-latest-version-install-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-latest-version-install-guide__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-latest-version-install-guide__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-latest-version-install-guide__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-resources-latest-version-install-guide__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #007bb6 100%);
  opacity: 0.8;
  z-index: 0;
}

.page-resources-latest-version-install-guide__hero-content {
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin-bottom: 40px;
}

.page-resources-latest-version-install-guide__hero-title {
  font-size: 3.5em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-latest-version-install-guide__hero-description {
  font-size: 1.2em;
  color: var(--secondary-color);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources-latest-version-install-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-latest-version-install-guide__btn-primary,
.page-resources-latest-version-install-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-latest-version-install-guide__btn-primary {
  background-color: var(--login-color); /* Using login color for primary CTA */
  color: var(--secondary-color);
  border: 2px solid var(--login-color);
}

.page-resources-latest-version-install-guide__btn-primary:hover {
  background-color: #c96700;
  border-color: #c96700;
}

.page-resources-latest-version-install-guide__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-latest-version-install-guide__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources-latest-version-install-guide__hero-image-wrapper {
  position: absolute;
  right: 10%;
  bottom: 0;
  z-index: 1;
  transform: translateY(20px);
}

.page-resources-latest-version-install-guide__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-latest-version-install-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources-latest-version-install-guide__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-resources-latest-version-install-guide__advantages-section,
.page-resources-latest-version-install-guide__download-guide-section,
.page-resources-latest-version-install-guide__features-section,
.page-resources-latest-version-install-guide__faq-section,
.page-resources-latest-version-install-guide__cta-final-section {
  padding: 80px 0;
}

.page-resources-latest-version-install-guide__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-resources-latest-version-install-guide__advantage-card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-resources-latest-version-install-guide__advantage-card:hover {
  transform: translateY(-10px);
}

.page-resources-latest-version-install-guide__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-latest-version-install-guide__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-latest-version-install-guide__card-title a:hover {
  text-decoration: underline;
}

.page-resources-latest-version-install-guide__advantage-card p {
  font-size: 1em;
  line-height: 1.6;
}

.page-resources-latest-version-install-guide__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-resources-latest-version-install-guide__guide-tabs {
  margin-bottom: 50px;
}

.page-resources-latest-version-install-guide__tab-header {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-latest-version-install-guide__tab-button {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-latest-version-install-guide__tab-button.active,
.page-resources-latest-version-install-guide__tab-button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-resources-latest-version-install-guide__tab-content {
  display: none;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-resources-latest-version-install-guide__tab-content.active {
  display: flex;
}

.page-resources-latest-version-install-guide__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 600px;
  width: 100%;
}

.page-resources-latest-version-install-guide__step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-resources-latest-version-install-guide__step-number {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
  flex-shrink: 0;
}

.page-resources-latest-version-install-guide__step-text h3 {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.page-resources-latest-version-install-guide__step-text p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
}

.page-resources-latest-version-install-guide__text-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-latest-version-install-guide__text-link:hover {
  text-decoration: underline;
}

.page-resources-latest-version-install-guide__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-latest-version-install-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-resources-latest-version-install-guide__feature-card {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-resources-latest-version-install-guide__feature-card:hover {
  transform: translateY(-10px);
}

.page-resources-latest-version-install-guide__feature-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-resources-latest-version-install-guide__faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-resources-latest-version-install-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-resources-latest-version-install-guide__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-latest-version-install-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-resources-latest-version-install-guide__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: var(--secondary-color);
}

.page-resources-latest-version-install-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-latest-version-install-guide__faq-item.active .page-resources-latest-version-install-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-latest-version-install-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
  font-size: 0.95em;
  line-height: 1.6;
}

.page-resources-latest-version-install-guide__faq-item.active .page-resources-latest-version-install-guide__faq-answer {
  max-height: 1000px !important; /* Ensure it expands */
  padding: 15px 25px;
}

.page-resources-latest-version-install-guide__cta-final-section .page-resources-latest-version-install-guide__section-title,
.page-resources-latest-version-install-guide__cta-final-section .page-resources-latest-version-install-guide__section-description {
  color: var(--text-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-latest-version-install-guide__hero-title {
    font-size: 3em;
  }

  .page-resources-latest-version-install-guide__hero-image-wrapper {
    right: 5%;
    width: 350px;
  }

  .page-resources-latest-version-install-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-version-install-guide__hero-section {
    flex-direction: column;
    text-align: center;
    padding-bottom: 300px; /* Make space for image */
  }

  .page-resources-latest-version-install-guide__hero-content {
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-resources-latest-version-install-guide__hero-title {
    font-size: 2.5em;
  }

  .page-resources-latest-version-install-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-latest-version-install-guide__hero-image-wrapper {
    position: static;
    transform: none;
    margin-top: 30px;
    width: 80%;
    max-width: 400px;
  }
}