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

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f1f3f5;
    --border-light: #e0e0e0;
}

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

.page-index-platform-advantages .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-index-platform-advantages__hero-content-section {
    background: linear-gradient(135deg, var(--primary-color), #1A3B7A);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 120px; /* Adjust for fixed header */
}

.page-index-platform-advantages__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-index-platform-advantages__main-title {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-light);
}

.page-index-platform-advantages__main-title .highlight {
    color: var(--secondary-color);
}

.page-index-platform-advantages__intro-text {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-index-platform-advantages__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-platform-advantages__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-platform-advantages__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-index-platform-advantages__btn-primary:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-platform-advantages__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-index-platform-advantages__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-platform-advantages__advantages-section,
.page-index-platform-advantages__features-section,
.page-index-platform-advantages__why-choose-section,
.page-index-platform-advantages__faq-section {
    padding: 60px 20px;
}

.page-index-platform-advantages__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-index-platform-advantages__dark-bg .page-index-platform-advantages__section-title,
.page-index-platform-advantages__dark-bg .page-index-platform-advantages__section-description,
.page-index-platform-advantages__dark-bg .page-index-platform-advantages__feature-title {
    color: var(--text-light);
}

.page-index-platform-advantages__dark-bg .highlight {
    color: var(--secondary-color);
}

.page-index-platform-advantages__light-bg {
    background-color: #ffffff;
    color: var(--text-dark);
}

.page-index-platform-advantages__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-index-platform-advantages__section-description {
    font-size: 17px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555;
}

.page-index-platform-advantages__dark-bg .page-index-platform-advantages__section-description {
    color: #e0e0e0;
}

.page-index-platform-advantages__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-platform-advantages__advantage-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-index-platform-advantages__advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-platform-advantages__advantage-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index-platform-advantages__advantage-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-index-platform-advantages__advantage-text {
    font-size: 16px;
    line-height: 1.7;
}

.page-index-platform-advantages__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-platform-advantages__feature-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--text-light);
}

.page-index-platform-advantages__feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-index-platform-advantages__feature-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index-platform-advantages__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-index-platform-advantages__feature-text {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
}

.page-index-platform-advantages__why-choose-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 50px auto;
    max-width: 800px;
    font-size: 17px;
    line-height: 1.8;
}

.page-index-platform-advantages__why-choose-list li {
    background: #f9f9f9;
    border-left: 5px solid var(--secondary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.page-index-platform-advantages__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-platform-advantages__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-platform-advantages__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-index-platform-advantages__faq-item.active .page-index-platform-advantages__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-index-platform-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-platform-advantages__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-platform-advantages__faq-question:active {
  background: #eeeeee;
}

.page-index-platform-advantages__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-index-platform-advantages__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index-platform-advantages__faq-item.active .page-index-platform-advantages__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-platform-advantages__main-title {
        font-size: 36px;
    }
    .page-index-platform-advantages__section-title {
        font-size: 30px;
    }
    .page-index-platform-advantages__advantage-title,
    .page-index-platform-advantages__feature-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-index-platform-advantages__hero-content-section {
        padding-top: 100px !important; /* Adjust for mobile fixed header */
        padding: 60px 15px;
    }
    .page-index-platform-advantages__main-title {
        font-size: 28px;
    }
    .page-index-platform-advantages__intro-text {
        font-size: 16px;
    }
    .page-index-platform-advantages__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-index-platform-advantages__advantages-section,
    .page-index-platform-advantages__features-section,
    .page-index-platform-advantages__why-choose-section,
    .page-index-platform-advantages__faq-section {
        padding: 40px 15px;
    }
    .page-index-platform-advantages__section-title {
        font-size: 24px;
    }
    .page-index-platform-advantages__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-index-platform-advantages__advantage-card,
    .page-index-platform-advantages__feature-item {
        padding: 25px;
    }
    .page-index-platform-advantages__advantage-icon,
    .page-index-platform-advantages__feature-icon {
        width: 80px;
    }
    .page-index-platform-advantages__advantage-title,
    .page-index-platform-advantages__feature-title {
        font-size: 18px;
    }
    .page-index-platform-advantages__advantage-text,
    .page-index-platform-advantages__feature-text {
        font-size: 15px;
    }
    .page-index-platform-advantages__why-choose-list {
        font-size: 15px;
        margin: 30px auto 40px auto;
    }
    .page-index-platform-advantages__faq-question {
      padding: 15px;
      flex-wrap: wrap;
    }
    
    .page-index-platform-advantages__faq-question h3 {
      font-size: 15px;
      margin-bottom: 0;
      width: calc(100% - 40px);
    }
    
    .page-index-platform-advantages__faq-toggle {
      margin-left: 10px;
      width: 24px;
      height: 24px;
      font-size: 20px;
    }
    
    .page-index-platform-advantages__faq-answer {
      padding: 0 15px;
    }
    
    .page-index-platform-advantages__faq-item.active .page-index-platform-advantages__faq-answer {
      padding: 15px !important;
    }
    /* Ensure all images are responsive */
    .page-index-platform-advantages img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-platform-advantages__section,
    .page-index-platform-advantages__card,
    .page-index-platform-advantages__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}