/* =============================================
   GForce — Try for free Page
   Mobile-first approach
   ============================================= */

/* =============================================
   INTRO
   ============================================= */

.trial-intro {
  /* max-height removed — content (especially with notification banners) can
     be taller than 485px on mobile, causing image overlap with buttons */
  background-color: var(--color-black);
  display: flex;
  flex-direction: column;
}

.trial-intro__left {
  padding: 100px var(--gutter) 40px;
}

.trial-intro__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  color: var(--color-white);
}

.trial-intro__right {
  border-top: 1px solid var(--color-gray-700);
}

.trial-intro__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px var(--gutter) 30px;  /* mobile: 30px bottom — image flows directly below */
}

.trial-intro__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-gray-200);
}

.trial-intro__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trial-intro__btn-wrap {
  position: relative;
  display: inline-flex;
  width: 100%;
}

.trial-intro__size-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--color-red-100);
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  white-space: nowrap;
}

.trial-intro__btn-wrap:hover .trial-intro__size-badge {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.trial-intro__file-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  color: var(--color-gray-400);
  margin-top: 10px;
}

.trial-intro__file-info .file-size {
  display: block;
}

/* ── Download Buttons ── */

.btn--download {
  justify-content: space-between;
  padding: 6px 6px 6px 14px;
  height: auto;
  min-height: 41px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  border-radius: 100px;
  width: 100%;
}

.btn--download__icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn--download:hover {
  transform: translateY(-1px);
}

.btn--download__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.btn--download__icon--light {
  display: none;
}

.btn--download-solid {
  background: var(--color-red-100);
  color: var(--color-black);
  border: 0;
}

.btn--download-solid .btn--download__icon-wrap {
  background: var(--color-black);
}
.btn--download-solid .btn--download__icon {
  filter: brightness(0) invert(1);
}

.btn--download-outline {
  border: 1px solid var(--color-red-100);
  color: var(--color-red-100);
  background: transparent;
}

.btn--download-outline .btn--download__icon-wrap {
  background: var(--color-red-100);
}
.btn--download-outline:hover {
  background: var(--color-red-100);
  color: var(--color-black);
  opacity: 1 !important;
}

.btn--download-outline:hover .btn--download__icon-wrap {
  background: var(--color-black);
}

.btn--download-outline:hover .btn--download__icon--dark {
  display: none;
}

.btn--download-outline:hover .btn--download__icon--light {
  display: block;
}

/* =============================================
   PRODUCT IMAGE
   ============================================= */

.trial-image {
  padding: 0 var(--gutter);
  margin-top: -15px;
  position: relative;
}

/* Tablet: still no overlap — image stays in normal flow */
@media (max-width: 1024px) {
  .trial-image {
    margin-top: -15px;
    padding-top: 0;
  }
}

.trial-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   COPY BLOCK
   ============================================= */

.trial-copy__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 60px var(--gutter);
}

.trial-copy__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  color: var(--color-black);
}

.trial-copy__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-gray-700);
}

.trial-copy__text p {
  margin: 0;
}

/* =============================================
   FAQs
   ============================================= */

.faq-section {
  background-color: var(--color-gray-900);
  padding: 60px var(--gutter);
}

.faq-section__inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.faq-section__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 0;
  padding-right: 30px;
  padding-bottom: 60px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-white);
}

.faq-section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  color: var(--color-white);
  margin: 0;
}

.faq-section .faq-icon {
  position: relative;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: inherit;
}

.faq-section .faq-icon::before,
.faq-section .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 3px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-section .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-section .faq-section__toggle.active .faq-icon::after,
.faq-section .faq-item__toggle.active .faq-icon::after {
  opacity: 0;
}

.faq-accordion {
  border-top: none;
  padding-top: 60px;
}

.faq-accordion[hidden] {
  display: none !important;
}

.faq-item {
  border-top: 1px solid var(--color-gray-500);
}

.faq-item__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 26px 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-item__label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 24px;
  color: var(--color-white);
  text-align: left;
}

.faq-item__toggle .faq-icon {
  margin-top: 4px;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: white;
}

.faq-item__toggle .faq-icon::before,
.faq-item__toggle .faq-icon::after {
  width: 14px;
}

.faq-item__content {
  padding: 0 30px 20px;
}

.faq-item__content[hidden] {
  display: none !important;
}

.faq-item__content p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-gray-300);
  margin: 0 0 1em;
}

.faq-item__content p:last-child {
  margin-bottom: 0;
}

/* =============================================
   TABLET (768px+)
   ============================================= */

@media (min-width: 768px) {

  .trial-intro {
    flex-direction: row;
    align-items: center;
    padding-bottom: 80px;
  }

  .trial-intro__left {
    flex: 0 0 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .trial-intro__title {
    font-size: 72px;
  }

  .trial-intro__right {
    flex: 0 0 50%;
    border-top: none;
    border-left: 1px solid var(--color-gray-700);
    display: flex;
    align-items: center;
    min-height: 485px;
  }

  .trial-intro__content {
    width: 100%;
    padding: 100px 70px;
  }

  .trial-intro__desc {
    font-size: 18px;
    color: #cccccc;
    max-width: 383px;
    line-height: 1.3;
  }

  .trial-intro__buttons {
    flex-direction: row;
    gap: 8px;
  }

  .trial-intro__btn-wrap {
    max-width: 256px;
  }

  .trial-intro__file-info {
    flex-direction: row;
    gap: 20px;
    margin-top: 15px;
  }

  .btn--download {
    flex: 1;
    max-width: 256px;
    min-height: 48px;
    padding: 8px 8px 8px 24px;
    font-size: 21px;
  }

  .btn--download__icon-wrap {
    width: 32px;
    height: 32px;
  }

  .btn--download__icon {
    width: 18px;
    height: 18px;
  }

  /* ── Product Image ── */
  .trial-image {
    padding: 0 var(--gutter) 100px;
    margin-top: -80px;
  }

  /* ── Copy Block ── */
  .trial-copy__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 0 var(--gutter) 100px;
  }

  .trial-copy__heading {
    flex: 0 0 calc(50% - 5px);
    font-weight: 500;
    font-size: 38px;
    line-height: 1.1;
  }

  .trial-copy__text {
    flex: 0 0 calc(50% - 5px);
    font-size: 21px;
    line-height: 1.3;
  }

  /* ── FAQs ── */
  .faq-section {
    padding: 80px var(--gutter);
  }

  .faq-section__title {
    font-size: 46px;
  }

  .faq-item__toggle {
    padding: 20px 30px;
  }

  .faq-item__label {
    font-size: 24px;
  }

  .faq-item__toggle .faq-icon {
    flex-basis: 14px;
    width: 14px;
    height: 14px;
    margin-top: 0;
  }

  .faq-item__toggle .faq-icon::before,
  .faq-item__toggle .faq-icon::after {
    width: 14px;
  }

  .faq-item__content {
    padding: 0 30px 20px;
  }
}

@media (min-width: 1280px) {
  .faq-section {
    padding: 100px 40px;
  }

  .faq-section__toggle {
    padding-bottom: 10px;
  }

  .faq-item__toggle {
    padding: 26px 30px;
  }
}
