/* ==========================================================================
   Aptofit Smart Watch — Landing Page
   Base font-size is 10px, so 1rem = 10px throughout.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset & base
   -------------------------------------------------------------------------- */

/* Themeable colours. The editor overrides these in a <style> block in the
   page head, so changing a colour there needs no change to this file. */
:root {
  --cta-bg: #00ad41;
  --cta-shadow: #028332;
  --link: #4089c3;
  --footer-bg: #cce0eb;
  --text: #212529;
}

html {
  font-size: 10px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Source Sans Pro", "Open Sans", Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   2. Top bar
   -------------------------------------------------------------------------- */

.topbar {
  border-bottom: 1px solid #e6e6e6;
  padding: 0.5rem 0;
}

.topbar .logo-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 100rem;
  margin: auto;
  margin-bottom: 1rem;
}

.topbar .logo-bar-image img {
  max-width: 20rem;
  margin: 0 1rem;
}

.topbar .logo-bar-appbar {
  display: inline-block;
}

.topbar .logo-bar-appbar h4 {
  font-size: 1.8rem;
  font-weight: normal;
  line-height: 1.8rem;
  color: #212529;
  text-align: right;
  margin-right: 1rem;
}

.topbar .logo-bar-appbar img {
  max-width: 3.2rem;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   3. Page shell — main column + sticky review sidebar
   -------------------------------------------------------------------------- */

.pilot-testibar {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-width: 100rem;
  margin: auto;
  margin-top: 2.5rem;
  position: relative;
  overflow: visible;
}

.pilot-testibar .main {
  flex: 72%;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   4. Headline block
   -------------------------------------------------------------------------- */

.headlines {
  margin-left: 1rem;
}

.headlines h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 5.4rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.headlines-subheadline {
  font-size: 2.1rem;
  font-weight: 700;
  font-style: italic;
  line-height: 3.7rem;
  margin-bottom: 2rem;
  margin-top: 0;
}

/* Byline row: stars, author, date */

.blog-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem 0;
  margin-left: 1rem;
}

.blog-info-stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #f9b732;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
}

.blog-info-author {
  font-size: 1.3rem;
  color: #919ba3;
  font-weight: bold;
  margin-left: 0.5rem;
}

.blog-info-date {
  font-size: 1.3rem;
  color: #919ba3;
  margin-left: 0.5rem;
}

.blog-info-date-styling {
  display: inline;
}

/* --------------------------------------------------------------------------
   5. Social share row
   -------------------------------------------------------------------------- */

.media {
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 97%;
  margin-left: 1rem;
}

.media-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 145.23px;
  height: 30px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  border: none;
  padding-left: 25px;
  padding-right: 25px;
  margin-right: 5px;
  transition: transform 250ms;
}

.media-buttons:last-child {
  margin-right: 0;
}

.media-buttons:hover {
  transform: translateY(-5px);
  text-decoration: none;
  color: #fff;
}

.media-svg-icons {
  fill: #fff;
  width: 20px;
  height: 20px;
}

.facebook-button {
  background-color: #4267b2;
}

.x-button {
  background-color: #000;
}

.messenger-button {
  background-color: #448aff;
}

.whatsapp-button {
  background-color: #25d366;
}

.pinterest-button {
  background-color: #cb2027;
}

/* --------------------------------------------------------------------------
   6. Content sections
   -------------------------------------------------------------------------- */

.section {
  width: 100%;
}

.section-repeater {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 2rem;
}

.section-repeater-row-title {
  width: 100%;
}

.section-repeater-row-title h2 {
  font-size: 3rem;
  line-height: 3.6rem;
  font-weight: 600;
  padding-top: 0.5rem;
  padding-bottom: 2rem;
  margin: 0;
}

.section-repeater-row-image {
  text-align: center;
}

.section-repeater-row-image img {
  max-width: 100%;
  padding-bottom: 2rem;
}

.section-repeater-row-article {
  width: 100%;
  font-size: 2.1rem;
  margin: 0;
  padding-bottom: 1rem;
  line-height: 3.78rem;
}

.section-repeater-row-article p {
  font-size: 2.1rem;
  margin: 0;
  padding-bottom: 2rem;
  line-height: 3.78rem;
}

.section-repeater-row-article ul,
.section-repeater-row-article ol {
  padding-left: 4rem;
  margin: 0 0 2rem;
}

.section-repeater-row-article li {
  padding-bottom: 1.5rem;
}

.section-title {
  margin-left: 1rem;
  font-size: 3rem;
  line-height: 3.6rem;
  font-weight: 600;
  padding-bottom: 2rem;
}

.title {
  font-size: 3rem;
  line-height: 3.6rem;
  font-weight: 600;
  padding-top: 4rem;
  padding-bottom: 2rem;
  padding-left: 1rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. Call-to-action buttons
   -------------------------------------------------------------------------- */

.section-button {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.section-button button {
  font-weight: 700;
  border-radius: 1rem;
  border: none;
  border-bottom: 5px var(--cta-shadow) solid;
  background-color: var(--cta-bg);
  cursor: pointer;
  width: 95%;
  font-size: 3rem;
  font-family: "Source Sans Pro", sans-serif;
  color: #fff;
  padding: 1rem;
  box-shadow: 0px 5px 8px #888888;
}

.section-button button:hover {
  background-color: #009c3a;
}

/* Boxed "Limited Availability" callout */

.section-boxed {
  border-radius: 3px;
  text-align: center;
  padding: 2rem;
  line-height: 3.78rem;
  margin: 1rem 1rem 2.5rem 1rem;
}

.section-boxed p {
  font-size: 2.1rem;
  margin: 0;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   8. Three-column "How to use" grid
   -------------------------------------------------------------------------- */

.section-image-text-column {
  display: grid;
  margin: 0 1rem;
  column-gap: 2rem;
  row-gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3.5rem;
}

.section-image-text-column-title {
  width: 100%;
  grid-column: 1 / -1;
}

.section-image-text-column-title h2 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 3.6rem;
  color: #333333;
  padding: 0.5rem 0 2rem;
  margin: 0;
}

.section-image-text-column-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-image-text-column-col-image {
  max-width: 100%;
  min-height: 20rem;
}

.section-image-text-column-col-image img {
  object-fit: cover;
  margin-bottom: 2rem;
  max-width: 100%;
}

.section-image-text-column-col-text p {
  font-size: 1.9rem;
  color: var(--text);
  margin-bottom: 2rem;
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   9. FAQ accordion
   -------------------------------------------------------------------------- */

.faqs {
  width: 95%;
  margin-left: 1rem;
  margin-bottom: 4rem;
}

.faqs h2 {
  font-size: 3rem;
  line-height: 3.6rem;
  font-weight: 600;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  margin: 0;
}

.faqs-row hr {
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid #ddd;
}

.faqs-row .question {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-size: 2.1rem;
}

.faqs-row .question p {
  text-decoration: underline;
  margin: 0;
  font-weight: 600;
}

.faqs-row .toggle-symbol {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><polygon points="0,0 100,0 50,50" style="fill:black;" /></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s;
  transform-origin: center;
  transform: rotate(-90deg);
  flex-shrink: 0;
}

.faqs-row .toggle-symbol.open {
  transform: rotate(0deg);
}

.faqs-row .answer {
  display: none;
  margin-bottom: 2rem;
  font-size: 2.1rem;
  border-top: none;
  line-height: 3.15rem;
}

.faqs-row .answer.open {
  display: block;
}

.faqs-row .answer p {
  padding: 0 1.5rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. Testimonial carousel
   -------------------------------------------------------------------------- */

.carousel-v2 {
  margin: 0 1rem 4rem;
}

.carousel-v2-title h2 {
  font-size: 3rem;
  line-height: 3.6rem;
  font-weight: 600;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin: 0;
}

.carousel-v2-container {
  position: relative;
}

.carousel-v2-container-carouselv2 {
  position: relative;
  overflow: hidden;
}

.carouselv2-inner {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-v2-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 2rem 4rem;
  position: relative;
  text-align: center;
  background: #e9e0cb;
}

.carousel-v2-slide-avatar {
  /* position: absolute; */
  top: 0;
  right: 4rem;
}

.carousel-v2-slide-avatar img {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: cover;
}

.carousel-v2-slide-quote {
  font-size: 2rem;
  font-style: italic;
  line-height: 3.2rem;
  color: var(--text);
  margin: 0 0 1.5rem;
  padding: 0 2rem;
}

.carousel-v2-slide-name {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.carousel-v2-container-carouselv2 .controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-v2-container-carouselv2 .controls button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease;
  pointer-events: auto;
}

.carousel-v2-container-carouselv2 .controls button:hover {
  color: #000;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  display: inline-block;
}

.dots span.active {
  background-color: #555;
}

/* --------------------------------------------------------------------------
   11. Sticky review sidebar
   -------------------------------------------------------------------------- */

.pilot-testibar .sidebar {
  flex: 28%;
  position: sticky;
  top: 5%;
  left: 0;
  margin-left: 2rem;
  margin-right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

.sidebar-title {
  color: #17191c;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
}

.sidebar-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #f3f3f3;
  box-shadow: 5px 8px 8px rgba(3, 3, 3, 0.35);
  border-radius: 0.8rem;
  font-size: 1.8rem;
  line-height: 1.6;
  padding: 1rem;
  width: 100%;
}

.sidebar-card-name {
  font-weight: 700;
  margin-top: 0.5rem;
}

/* "A User is leaving a new review" typing indicator */
.sidebar .loader {
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  font-weight: bold;
  font-size: 1.8rem;
  padding-bottom: 8px;
  background: linear-gradient(currentColor 0 0) 0 100% / 0% 3px no-repeat;
  animation: loading-bar 2s linear infinite;
}

.sidebar .loader::after {
  content: "...";
}

@keyframes loading-bar {
  to {
    background-size: 100% 3px;
  }
}

.sidebar-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.sidebar-button button {
  background-color: var(--cta-bg);
  border-bottom: 5px var(--cta-shadow) solid;
  color: #fff;
  width: 100%;
  max-width: 280px;
  margin: auto 0;
  margin-top: 5px;
  cursor: pointer;
  line-height: normal;
  height: fit-content;
  max-height: 80px;
  border-radius: 10px;
  padding: 15px;
  font-weight: bold;
  font-size: 24px;
  text-align: center;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: 0px 5px 8px #888888;
  font-family: "Source Sans Pro", sans-serif;
}

.sidebar-button button:hover {
  background-color: #009c3a;
}

/* --------------------------------------------------------------------------
   12. Exit-intent pop-up
   -------------------------------------------------------------------------- */

.pop_up {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.pop_up.open {
  display: flex;
}

.pop_up-container {
  background-color: #fff;
  border-radius: 1rem;
  max-width: 56rem;
  width: 100%;
  padding: 3rem;
  position: relative;
  text-align: center;
}

.pop_up-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.6rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  background: none;
  border: none;
}

.pop_up-container-wrapper-image img {
  max-width: 18rem;
  margin-bottom: 1rem;
}

.pop_up-container-wrapper-texts-headline {
  font-size: 3.2rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.pop_up-container-wrapper-texts-subheadline {
  font-size: 2rem;
  line-height: 3rem;
  margin: 0 0 1rem;
}

.pop_up-container-wrapper-texts-discount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cta-bg);
  margin: 0 0 1rem;
}

.pop_up-container-wrapper-texts-urgency {
  font-size: 1.6rem;
  color: #777;
  margin: 1.5rem 0 0;
}

.pop_up-container-wrapper-texts-button button {
  background-color: var(--cta-bg);
  border: none;
  border-bottom: 5px var(--cta-shadow) solid;
  border-radius: 1rem;
  color: #fff;
  cursor: pointer;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  padding: 1.4rem 2rem;
  width: 100%;
  box-shadow: 0px 5px 8px #888888;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

#pilot {
  font-family: "Source Sans Pro", sans-serif;
  background-color: var(--footer-bg);
  padding-top: 3rem;
  margin-top: 2rem;
}

#pilot .footer-container {
  max-width: 120rem;
  margin: auto;
  font-size: 1.4rem;
  line-height: 2.9rem;
  text-align: center;
  color: #777;
  padding: 2rem;
}

#pilot .footer-container a,
#pilot .footer-container a:visited {
  color: var(--link);
  text-decoration: none;
}

#pilot .footer-container-links {
  display: flex;
  flex-direction: row;
  column-gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

#pilot .footer-container-links a,
#pilot .footer-container-links a:visited {
  font-weight: bolder;
  color: var(--link);
  text-decoration: none;
}

#pilot .footer-container-text {
  font-size: 1.1rem;
  line-height: 1.9rem;
}

#pilot .footer-container-text-footer1 {
  font-weight: 700;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   14. Simple content pages (about / contact / legal)
   -------------------------------------------------------------------------- */

.page-content {
  max-width: 100rem;
  margin: 3rem auto;
  padding: 0 2rem;
  font-size: 1.8rem;
  line-height: 3rem;
}

.page-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 4.4rem;
}

.page-content h2 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-top: 3rem;
}

/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
  .pilot-testibar .sidebar {
    display: none;
  }

  .pilot-testibar .main {
    flex: 100%;
  }

  .topbar .logo-bar {
    justify-content: center;
  }

  .topbar .logo-bar-appbar {
    display: none;
  }

  .headlines h1 {
    font-size: 3.2rem;
    line-height: 3.7rem;
  }
}

@media (max-width: 767px) {
  .headlines h1 {
    font-size: 2.6rem;
    line-height: 3.6rem;
  }

  .section-image-text-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pinterest-button {
    display: none;
  }

  .media-buttons {
    padding-left: 10px;
    padding-right: 10px;
  }

  .section-button button {
    font-size: 2.4rem;
  }

  .carousel-v2-slide {
    padding: 2rem 3rem;
  }

  .carousel-v2-slide-avatar {
    position: static;
    margin-bottom: 1rem;
  }
}
