.page-index {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index__hero {
  position: relative;
  background: linear-gradient(135deg, #007BFF, #4da3ff); /* Adjusted for contrast */
  color: #fff;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-index__hero .page-index__container {
  position: relative;
  z-index: 2;
}

.page-index__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-index__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-index__btn--primary {
  background-color: #FFC107; /* Auxiliary color */
  color: #000; /* High contrast for text */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background-color: #0056b3; /* Darker variant of primary for contrast */
  color: #fff;
  border: 2px solid #007BFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index__btn--secondary:hover {
  background-color: #004085;
  transform: translateY(-2px);
}

.page-index__btn--text {
  background: none;
  color: #007BFF;
  padding: 10px 0;
  font-size: 1em;
  border-radius: 0;
  border-bottom: 2px solid #007BFF;
}

.page-index__btn--text:hover {
  color: #0056b3;
  border-color: #0056b3;
  transform: translateY(0);
}

.page-index__section {
  padding: 60px 0;
  text-align: center;
}

.page-index__section:nth-of-type(even) {
  background-color: #e9ecef;
}

.page-index__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #007BFF; /* Primary color */
}

.page-index__section-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555;
}

.page-index__features-grid,
.page-index__type-grid,
.page-index__tips-grid,
.page-index__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index__feature-item,
.page-index__type-item,
.page-index__tip-item,
.page-index__info-item,
.page-index__article-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover,
.page-index__type-item:hover,
.page-index__tip-item:hover,
.page-index__info-item:hover,
.page-index__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index__feature-icon,
.page-index__type-image,
.page-index__tip-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index__feature-title,
.page-index__type-title,
.page-index__tip-title,
.page-index__info-title,
.page-index__article-title {
  font-size: 1.5em;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-index__article-title a {
  color: #007BFF;
  text-decoration: none;
}

.page-index__article-title a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-index__feature-description,
.page-index__type-description,
.page-index__tip-description,
.page-index__info-item p,
.page-index__article-description {
  font-size: 1em;
  color: #666;
}

.page-index__steps-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.page-index__steps-list li {
  background-color: #fff;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-index__steps-list li:last-child {
  margin-bottom: 0;
}

.page-index__step-title {
  font-size: 1.3em;
  color: #007BFF;
  margin-bottom: 10px;
}

.page-index__steps-list p {
  color: #555;
}

.page-index__steps-list a {
  color: #007BFF;
  text-decoration: underline;
}

.page-index__steps-list a:hover {
  color: #0056b3;
}

.page-index__responsible-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-index__responsible-item {
  flex: 1 1 300px;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-index__responsible-title {
  font-size: 1.4em;
  color: #007BFF;
  margin-bottom: 15px;
}

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

.page-index__floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-index__floating-promo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-index__floating-btn {
  background-color: #FFC107; /* Auxiliary color */
  color: #000; /* High contrast for text */
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__floating-btn:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-index__floating-icon {
  width: 30px;
  height: 30px;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    padding: 80px 0;
  }
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index__features-grid,
  .page-index__type-grid,
  .page-index__tips-grid,
  .page-index__info-grid,
  .page-index__article-list {
    grid-template-columns: 1fr;
  }
  .page-index__responsible-item {
    flex: 1 1 100%;
  }
  .page-index__floating-promo {
    bottom: 15px;
    right: 15px;
  }
  .page-index__floating-btn {
    padding: 12px 20px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-index__hero {
    padding: 60px 0;
  }
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-intro {
    font-size: 0.9em;
  }
  .page-index__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index__floating-btn span {
    display: none;
  }
  .page-index__floating-btn {
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    justify-content: center;
  }
  .page-index__floating-icon {
    width: 25px;
    height: 25px;
  }
}