/* style/index-platform-advantages-features.css */

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

.page-index-platform-advantages-features {
  background-color: var(--bty523-bg-dark);
  color: var(--bty523-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-index-platform-advantages-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-index-platform-advantages-features__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

.page-index-platform-advantages-features__hero-image {
  width: 100%;
  height: 675px; /* Aspect ratio for 1200x675 */
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.page-index-platform-advantages-features__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-index-platform-advantages-features__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--bty523-text-main);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-platform-advantages-features__description {
  font-size: 1.2rem;
  color: var(--bty523-text-secondary);
  margin-bottom: 40px;
}

.page-index-platform-advantages-features__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-platform-advantages-features__btn-primary,
.page-index-platform-advantages-features__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  display: inline-block;
}

.page-index-platform-advantages-features__btn-primary {
  background: var(--bty523-button-gradient);
  color: var(--bty523-text-main);
  border: 2px solid transparent;
}

.page-index-platform-advantages-features__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-index-platform-advantages-features__btn-secondary {
  background: transparent;
  color: var(--bty523-secondary);
  border: 2px solid var(--bty523-secondary);
}

.page-index-platform-advantages-features__btn-secondary:hover {
  background: var(--bty523-secondary);
  color: var(--bty523-text-main);
  transform: translateY(-2px);
}

.page-index-platform-advantages-features__btn-large {
  min-width: 250px;
  padding: 18px 35px;
  font-size: 1.1rem;
}

/* General Sections */
.page-index-platform-advantages-features__introduction-section,
.page-index-platform-advantages-features__advantages-section,
.page-index-platform-advantages-features__features-section,
.page-index-platform-advantages-features__register-cta-section,
.page-index-platform-advantages-features__faq-section,
.page-index-platform-advantages-features__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-index-platform-advantages-features__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--bty523-text-main);
  margin-bottom: 40px;
  font-weight: bold;
}

.page-index-platform-advantages-features__text-block {
  font-size: 1.1rem;
  color: var(--bty523-text-secondary);
  max-width: 900px;
  margin: 0 auto 20px auto;
}

/* Advantages Grid */
.page-index-platform-advantages-features__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-platform-advantages-features__advantage-card {
  background-color: var(--bty523-card-bg);
  border: 1px solid var(--bty523-border);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-platform-advantages-features__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index-platform-advantages-features__card-image {
  width: 100%;
  height: auto;
  max-height: 267px; /* For 400x267 aspect ratio */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-index-platform-advantages-features__card-title {
  font-size: 1.5rem;
  color: var(--bty523-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-platform-advantages-features__card-text {
  font-size: 1rem;
  color: var(--bty523-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-platform-advantages-features__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-index-platform-advantages-features__feature-list li {
  color: var(--bty523-text-secondary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.page-index-platform-advantages-features__feature-list li::before {
  content: '✓';
  color: var(--bty523-secondary);
  position: absolute;
  left: 0;
}

.page-index-platform-advantages-features__btn-text {
  color: var(--bty523-secondary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: auto; /* Pushes button to bottom */
}

.page-index-platform-advantages-features__btn-text:hover {
  color: var(--bty523-primary);
}

/* Features Section */
.page-index-platform-advantages-features__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-platform-advantages-features__feature-item {
  background-color: var(--bty523-card-bg);
  border: 1px solid var(--bty523-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-platform-advantages-features__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index-platform-advantages-features__feature-icon {
  width: 100px; /* Min 200x200px, scaled down to 100x100px for display */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-platform-advantages-features__feature-heading {
  font-size: 1.4rem;
  color: var(--bty523-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-platform-advantages-features__feature-text {
  font-size: 1rem;
  color: var(--bty523-text-secondary);
  margin-bottom: 20px;
}

/* FAQ Section */
.page-index-platform-advantages-features__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-index-platform-advantages-features__faq-item {
  background-color: var(--bty523-card-bg);
  border: 1px solid var(--bty523-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-platform-advantages-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--bty523-text-main);
  background-color: var(--bty523-deep-green);
  border-bottom: 1px solid var(--bty523-border);
  list-style: none; /* For details summary */
}

.page-index-platform-advantages-features__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-platform-advantages-features__faq-qtext {
  flex-grow: 1;
}

.page-index-platform-advantages-features__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--bty523-secondary);
  transition: transform 0.3s ease;
}

.page-index-platform-advantages-features__faq-item[open] .page-index-platform-advantages-features__faq-toggle {
  transform: rotate(45deg);
}

.page-index-platform-advantages-features__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--bty523-text-secondary);
  line-height: 1.8;
  background-color: var(--bty523-card-bg);
}

/* Media Queries */
@media (max-width: 992px) {
  .page-index-platform-advantages-features__hero-image {
    height: 500px;
  }
  .page-index-platform-advantages-features__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-index-platform-advantages-features__description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-index-platform-advantages-features__hero-image {
    height: 350px;
  }
  .page-index-platform-advantages-features__hero-content {
    margin-top: 20px;
  }
  .page-index-platform-advantages-features__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-index-platform-advantages-features__description {
    font-size: 1rem;
  }
  .page-index-platform-advantages-features__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-platform-advantages-features__btn-primary,
  .page-index-platform-advantages-features__btn-secondary,
  .page-index-platform-advantages-features a[class*="button"],
  .page-index-platform-advantages-features a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-platform-advantages-features__cta-buttons,
  .page-index-platform-advantages-features__button-group,
  .page-index-platform-advantages-features__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-index-platform-advantages-features__introduction-section,
  .page-index-platform-advantages-features__advantages-section,
  .page-index-platform-advantages-features__features-section,
  .page-index-platform-advantages-features__register-cta-section,
  .page-index-platform-advantages-features__faq-section,
  .page-index-platform-advantages-features__conclusion-section {
    padding: 40px 0;
  }
  .page-index-platform-advantages-features__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-index-platform-advantages-features__text-block {
    font-size: 0.95rem;
  }
  .page-index-platform-advantages-features__advantages-grid,
  .page-index-platform-advantages-features__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-platform-advantages-features__advantage-card,
  .page-index-platform-advantages-features__feature-item {
    padding: 20px;
  }
  .page-index-platform-advantages-features__card-title {
    font-size: 1.3rem;
  }
  .page-index-platform-advantages-features__feature-heading {
    font-size: 1.2rem;
  }
  .page-index-platform-advantages-features img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-platform-advantages-features__section,
  .page-index-platform-advantages-features__card,
  .page-index-platform-advantages-features__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-platform-advantages-features__hero-section {
    padding-top: 10px !important;
  }
}