@import url("./style.css");

.hero-content h1 {
  content-visibility: auto;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 16px 0 24px;
}
.trust-row article {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(8px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.trust-row article:hover {
  transform: translateY(-5px);
  border-color: rgba(44, 181, 165, 0.45);
  box-shadow: 0 18px 30px rgba(2, 8, 23, 0.14);
}
.trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  flex: 0 0 30px;
}

.flow-steps {
  grid-template-columns: repeat(4, 1fr);
}
.flow-steps .step-card {
  position: relative;
}
.flow-steps .step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 38px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(44, 181, 165, 0));
}

.video-card {
  position: relative;
}
.play-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.gallery-trigger {
  cursor: zoom-in;
}
.gallery-trigger img {
  transition: transform 0.35s ease;
}
.gallery-trigger:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  display: none;
  z-index: 90;
  padding: 24px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  width: min(980px, 92vw);
  max-height: 76vh;
  object-fit: contain;
  border-radius: 14px;
}
.lightbox p {
  margin: 0;
  color: #e2e8f0;
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 32px;
  line-height: 1;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.pricing.is-popular {
  border-color: rgba(44, 181, 165, 0.5);
  box-shadow: 0 20px 42px rgba(44, 181, 165, 0.22);
  transform: translateY(-6px);
}
.popular-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  background: rgba(15, 118, 110, 0.15);
  color: var(--primary);
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 16px 18px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  cursor: pointer;
}
.faq-question span {
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-question span {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
}
.faq-item.is-open .faq-answer {
  padding: 0 18px 16px;
  max-height: 280px;
}
.faq-answer p {
  margin: 0;
  color: var(--text-soft);
}

@media (max-width: 1024px) {
  .trust-row {
    grid-template-columns: 1fr;
  }
  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-steps .step-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .flow-steps {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
