/**======================
 * SYSTEMS HERO SECTION
 =======================*/
.systems-hero {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  background: var(--dark-bg);
  padding-top: clamp(4rem, 8vw, 6rem);
  min-height: clamp(80vh, 100vh, 100vh);
}

.systems-hero__container {
  width: 100%;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
}

.systems-hero__content {
  color: white;
  text-align: center;
  max-width: clamp(300px, 90vw, 800px);
}

.systems-hero__content h1 {
  color: white;
  font-weight: 700;
  line-height: 1.1;
  background-clip: text;
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.systems-hero__content p {
  color: #b0b0b0;
  font-weight: 400;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1rem, 2vw, 0);
  max-width: clamp(280px, 90vw, 600px);
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

/**=================
 * PRICING SECTION
 ==================*/
.pricing {
  position: relative;
  background: #fefefe;
  padding: clamp(6rem, 12vw, 8rem) 0;
}

.pricing__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(3rem, 6vw, 4rem);
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(280px, 40vw, 320px), 1fr)
  );
}

.pricing__card {
  position: relative;
  border: 1px solid #333;
  transition: all 0.3s ease;
  background: rgb(30, 30, 86);
  border-radius: clamp(0.5rem, 2vw, 1rem);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 3vw, 2rem);
}

.pricing__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing__card--featured {
  border: 2px solid #667eea;
  transform: scale(clamp(1, 1.02, 1.05));
  background: linear-gradient(135deg, var(--dark-bg) 0%, #381266 100%);
}

.pricing__card--featured:hover {
  transform: scale(clamp(1, 1.02, 1.05)) translateY(-10px);
}

.card__badge {
  left: 50%;
  top: -10px;
  color: #1a1a1a;
  font-weight: 600;
  position: absolute;
  background: #667eea;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateX(-50%);
  border-radius: clamp(25px, 5vw, 50px);
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.8rem, 2vw, 1rem);
}

.card__header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.card__icon {
  display: flex;
  margin: 0 auto;
  color: #667eea;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  width: clamp(50px, 8vw, 60px);
  height: clamp(50px, 8vw, 60px);
  background: rgba(102, 126, 234, 0.1);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.card__header h3 {
  color: white;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: clamp(0.4rem, 1vw, 0.5rem);
}

.card__description {
  color: #e0e0e0;
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1rem);
  margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
}

.card__details {
  color: #b0b0b0;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: clamp(90%, 95%, 95%);
  font-size: clamp(0.85rem, 1.8vw, 0.9rem);
}

.card__body {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.card__price {
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.card__cta {
  gap: 0.5rem;
  width: 100%;
  border: none;
  display: flex;
  color: white;
  cursor: pointer;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: clamp(0.95rem, 2vw, 1rem);
  border-radius: clamp(0.4rem, 1vw, 0.5rem);
  padding: clamp(0.9rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.card__cta--featured {
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.card__features {
  margin-top: clamp(1.25rem, 2.5vw, 1.5rem);
}

.feature__item {
  display: flex;
  color: #b0b0b0;
  align-items: flex-start;
  gap: clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(0.85rem, 1.8vw, 0.9rem);
  margin-bottom: clamp(0.6rem, 1.5vw, 0.75rem);
}

.feature__item i {
  flex-shrink: 0;
  color: #667eea;
  margin-top: 0.1rem;
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
}

/**==============
 * FAQ SECTION
 ===============*/
.faq {
  position: relative;
  background: var(--dark-bg);
  padding: clamp(6rem, 12vw, 8rem) 0;
}

.faq .section__title h2 {
  color: var(--gray-400);
}

.faq .section__title p {
  color: var(--gray-600);
}

.faq__content {
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(3rem, 6vw, 4rem);
  max-width: clamp(300px, 90vw, 800px);
}

.faq__item {
  border: 1px solid #333;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  border-radius: clamp(0.5rem, 2vw, 1rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.faq__item:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.faq__question {
  display: flex;
  color: white;
  cursor: pointer;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1rem);
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.faq__question h3 {
  flex: 1;
  font-weight: 600;
  line-height: 1.4;
  font-size: clamp(1.1rem, 2.2vw, 1.2rem);
}

.faq__toggle {
  display: flex;
  flex-shrink: 0;
  color: #667eea;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  width: clamp(35px, 6vw, 40px);
  height: clamp(35px, 6vw, 40px);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  background: rgba(102, 126, 234, 0.1);
}

.faq__item.active .faq__toggle {
  transform: rotate(45deg);
  background: rgba(102, 126, 234, 0.2);
}

.faq__answer {
  display: none;
  line-height: 1.6;
  color: #b0b0b0;
  font-size: clamp(0.95rem, 1.8vw, 1rem);
  padding: 0 clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
}

.faq__item.active .faq__answer {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq__answer p {
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

.faq__answer ul {
  margin: clamp(0.75rem, 2vw, 1rem) 0;
  padding-left: clamp(1.25rem, 2.5vw, 1.5rem);
}

.faq__answer li {
  list-style: "->";
  margin-bottom: clamp(0.4rem, 1vw, 0.5rem);
}

.faq__answer strong {
  color: white;
}

.faq__answer em {
  color: #667eea;
  font-style: italic;
}

/**===================
 * BREAKPOINT STYLES
 ===================*/
@media (max-width: 768px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .pricing__card--featured {
    transform: none;
  }

  .pricing__card--featured:hover {
    transform: translateY(-10px);
  }
}

/**===================
 * REDUCED MOTION
 ===================*/
@media (prefers-reduced-motion: reduce) {
  .pricing__card,
  .faq__item,
  .card__cta,
  .faq__toggle {
    transition: none;
  }

  .pricing__card:hover,
  .pricing__card--featured:hover {
    transform: none;
  }

  .faq__answer {
    animation: none;
  }
}
