/* General ----------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #0c0d0d;
  background-color: #fff;
  font-size: 1rem;
  line-height: 150%;
}

a {
  color: #0c0d0d;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0;
}

hr {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 4rem 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: normal;
}

h1 {
  line-height: 125%;
  font-size: 3.5rem;
}

h2 {
  line-height: 125%;
  font-size: 3rem;
}

h3 {
  line-height: 150%;
  font-size: 2.25rem;
}

h4 {
  line-height: 150%;
  font-size: 1.5rem;
}

#logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

#logo:hover {
  animation: hithere 1s ease-in-out;
}

#logo img {
  display: block;
}

.text-secondary {
  color: #595959;
  font-weight: 300;
}

.ctas {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.button {
  font-size: 1.2rem;
  display: inline-block;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 1rem;
  outline: 1px transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: box-shadow 0.3s ease-in-out;
  border: none;
}

.button:hover {
  text-decoration: none;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.button > * {
  vertical-align: middle;
}

.button-primary {
  color: #ffffff;
  background-color: #0c0d0d;
}

.button-secondary {
  background-color: #fff;
  outline: 1px solid rgba(149, 157, 165, 0.5);
}

.button-tertiary {
  background-color: #fff;
}

.button-small {
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.7rem;
}

.button img {
  vertical-align: middle;
  margin-right: 0.25rem;
}

dialog {
  width: 50%;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  border: none;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.wrap-fluid {
  width: 100%;
}

.wrap-wide {
  width: 80rem;
}

.wrap-narrow {
  width: 40rem;
}

.grid-2 {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.grid-center {
  align-items: center;
}

.center-content {
  display: flex;
  justify-content: center;
}

.image-container {
  display: flex;
  width: 100%;
  justify-content: center;
  border-radius: 1rem;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: auto;
}

.video-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  background-color: #f5f5f5;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  margin-bottom: -1px; /* Hide the bottom black line in videos */
  z-index: 1;
}

.video-container .video-label {
  display: none;
  max-width: 90%;
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  border-radius: 2rem;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.5rem 1.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  z-index: 2;
}

.video-container:hover .video-label {
  display: block;
}

.readable-text {
  font-size: 1.2rem;
  line-height: 150%;
}

#snackbar {
  min-width: 250px;
  margin-left: -125px;
  background-color: #b0f2ae;
  color: #0c0d0d;
  text-align: center;
  border-radius: 0.5rem;
  padding: 0.75rem;
  position: fixed;
  z-index: 9;
  left: 50%;
  top: 2rem;
  animation: bounceIn 0.5s;
}

.badge-number {
  background-color: #b0f2ae;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1rem;
  padding: 0.1rem 0.25rem;
}

.icon-play {
  font-family: sans-serif;
}

/* Header banner ----------------------------------------- */

#header-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  font-size: 1rem;
  background-color: #f5f5f5;
}

/* Header ----------------------------------------- */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

header nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

header nav .logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

header nav .logos a img {
  display: block;
}

/* Hero ----------------------------------------- */

#hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 2rem 4rem 2rem;
  align-items: center;
  text-align: center;
  position: relative;
}

#hero .plugin-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#hero .plugin-icon svg {
  width: 192px;
  height: 192px;
}

#hero .plugin-icon .plugin-title {
  opacity: 0;
  padding: 0.25rem 1rem;
  font-size: 1rem;
  border-radius: 2rem;
  background-color: #f5f5f5;
  animation-delay: 0.2s;
}

#hero .titles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

#hero .titles h1 {
  font-size: 4.3rem;
  line-height: 100%;
  font-weight: bold;
}

#hero .titles h4 {
  padding: 0 2rem;
}

/* Demo video ----------------------------------------- */

#demo-video {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

#demo-video .hero-video-container {
  border-radius: 1rem;
}

#demo-video .hero-video-container video {
  opacity: 0;
  animation-delay: 1s;
  margin: -2px;
}

/* Features ----------------------------------------- */

#features {
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#features .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
}

#features .feature-grid .feature-card {
  display: flex;
  flex-direction: column;
  padding: 3rem;
  border-radius: 1.5rem;
  background-color: #f5f5f5;
  gap: 3rem;
}

#features .feature-grid .feature-card .item-title {
  line-height: 100%;
}

#features .feature-grid .feature-card .image-container {
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
}

/* Plans ----------------------------------------- */

#plans {
  width: 100%;
  padding: 2rem 2rem 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

#plans h2,
#plans .text-secondary {
  text-align: center;
}

.plans-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
}

.plans-container .plan {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1.8rem;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem;
  border-radius: 1.5rem;
  background-color: #f5f5f5;
}

.plans-container .plan .plan-header {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.plans-container .plan .plan-header h3 {
  font-weight: 500;
  line-height: 100%;
}

.plans-container .plan .plan-header .plan-details {
  padding: 0;
}

.plans-container .plan .plan-header .plan-details li {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  justify-content: flex-start;
  align-items: center;
}

.plans-container .plan .plan-header .plan-details li h4 {
  font-weight: 500;
  line-height: 100%;
}

.plans-container .plan-starter {
  background-color: #f8f8e9;
}

.plans-container .plan-starter:hover {
  outline: 1px solid #95ac0c;
}

.plans-container .plan-regular {
  background-color: #e9f8eb;
}

.plans-container .plan-regular:hover {
  outline: 1px solid #27936c;
}

.plans-container .plan-dynamic {
  background-color: #e9f8f7;
}

.plans-container .plan-dynamic:hover {
  outline: 1px solid #24699b;
}

.plans-container .plan:hover .plan-icon {
  animation: hithere 1s ease-in-out;
}

.platforms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platforms .logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.platforms .logos a {
  line-height: 100%;
}

.platforms .icon-arrow {
  font-size: 1.2rem;
}

.platforms .text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.bonus-platforms {
  position: relative;
  display: inline-flex;
  gap: 1rem;
  padding: 0.5rem;
  border: 1px dashed #e0e0e0;
  border-radius: 1rem;
}

.bonus-badge {
  position: absolute;
  top: -12px;
  right: -50px;
  background-color: #f5f5f5;
  color: #0c0d0d;
  font-size: 0.6rem;
  font-weight: 400;
  padding: 0.1rem 0.5rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  transform: rotate(-8deg);
  z-index: 2;
}

/* FAQ ----------------------------------------- */

#faq {
  width: 100%;
  padding: 2rem 2rem 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

#faq h2 {
  text-align: center;
}

.faq-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.5rem;
}

.faq-container .faq {
  width: 100%;
  padding: 1.5rem 3rem;
  border-radius: 1.5rem;
  background-color: #f5f5f5;
}

.faq-container .faq h4 {
  width: 100%;
  cursor: pointer;
}

.faq-container .faq p {
  width: 100%;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  text-wrap: pretty;
}

.faq-container .faq p.active {
  max-height: 20em;
  margin-top: 1rem;
  opacity: 1;
}

/* Testimonial ----------------------------------------- */

.testimonial-container {
  display: flex;
  flex-direction: column;
  padding: 4rem 2rem 6rem 2rem;
  align-items: center;
  text-align: center;
  position: relative;
}

.testimonial-container .testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-container .testimonial .avatar {
  display: inline-block;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  vertical-align: middle;
}

/* Bottom section ----------------------------------------- */

#bottom-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 2rem 0;
}

#bottom-actions > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

/* Page ----------------------------------------- */

#page {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  padding: 4rem 2rem;
}

/* Footer ----------------------------------------- */

footer {
  display: flex;
  justify-content: space-between;
  text-align: left;
  gap: 1.2rem;
  padding: 2rem;
  margin-top: 4rem;
  background-color: #f5f5f5;
}

footer nav {
  display: flex;
  gap: 1.2rem;
}

footer a {
  font-weight: 500;
}

.paddle-frame-overlay {
  position: fixed !important;
}

/* Social proof widget ----------------------------------------- */

.social-proof {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: #f5f5f5;
  padding: 1rem 1.5rem;
  border-radius: 3rem;
}

.social-proof .avatars {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  margin-left: 0.6rem;
}

.social-proof .logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.social-proof .logos img {
  display: block;
  width: 2rem;
  height: 2rem;
}

.social-proof .avatars span {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e9e9e9;
  border: 2px solid white;
  color: #fff;
  margin-left: -0.6rem;
}

.social-proof .avatars span.number {
  color: #0c0d0d;
  background-color: #e9e9e9;
  border: 1px solid #f5f5f5;
}

.social-proof .avatars span img {
  width: 100%;
  object-fit: cover;
}

.social-proof .details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.social-proof .details .stars {
  color: #ffa500;
  font-size: 1.2rem;
}

.social-proof .details .text {
  font-size: 0.9rem;
}

/* Blog article ----------------------------------------- */

.blog-article {
  font-size: 1.2rem;
  line-height: 150%;
}

.blog-article a {
  text-decoration: underline;
}

.blog-article a.button {
  text-decoration: none;
}

.blog-article h1,
.blog-article h2,
.blog-article h3,
.blog-article h4 {
  font-weight: 500;
}

.blog-article h2 {
  margin: 1.5rem 0;
}

.blog-article h3 {
  margin: 1.5rem 0;
}

.blog-article h4 {
  margin: 2rem 0 0.5rem 0;
}

.blog-article p {
  margin-bottom: 1rem;
}

.blog-article ul,
.blog-article ol {
  margin: 1rem 0 2.5rem 0;
}

.blog-article ul li {
  margin-bottom: 0.5rem;
}

.articles-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.articles-list ul li a {
  width: 100%;
}

.article-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
}

.article-icon {
  display: inline-block;
  border-radius: 1.5rem;
  background-color: #b0f2ae;
  color: #0c0d0d;
  padding: 1.5rem;
  line-height: 100%;
}

.article-icon svg {
  width: auto;
  height: 3.5rem;
  stroke-width: 1.5;
}

.article-title {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-title .article-data,
.article-title .article-data a {
  color: #595959;
}

/* Feedback Form Styles */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 40rem;
}

.feedback-form label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.feedback-form input[type="email"],
.feedback-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease-in-out;
}

.feedback-form input[type="email"]:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #0c0d0d;
}

.feedback-form textarea {
  min-height: 150px;
  resize: vertical;
}

.success-message {
  background-color: #b0f2ae;
  color: #0c0d0d;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  margin: 2rem 0;
}

.error-message {
  background-color: #ffdddd;
  color: #d8000c;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  margin: 2rem 0;
}

.tooltip-text {
  border-bottom: 1px dashed #595959;
  cursor: help;
}

/* Animations ----------------------------------------- */

.animation-pulse {
  animation: pulse 1s infinite ease-in-out alternate;
}

@keyframes pulse {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1.2);
  }
}

.animation-bounceIn {
  animation: bounceIn 0.5s ease-in-out;
}

@keyframes bounceIn {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.animation-gelatine {
  animation: gelatine 0.5s infinite;
}
@keyframes gelatine {
  from,
  to {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(0.9, 1.1);
  }
  50% {
    transform: scale(1.1, 0.9);
  }
  75% {
    transform: scale(0.95, 1.05);
  }
}

.animation-hithere {
  animation: hithere 1s ease infinite;
}
@keyframes hithere {
  30% {
    transform: scale(1.2);
  }
  40%,
  60% {
    transform: rotate(-20deg) scale(1.2);
  }
  50% {
    transform: rotate(20deg) scale(1.2);
  }
  70% {
    transform: rotate(0deg) scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.animation-fadeIn {
  animation: fadeIn 1s ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animation-slideIn {
  animation: slideIn 1s ease-in-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet break-point ----------------------------------------- */

@media only screen and (max-width: 80rem) and (min-width: 48rem) {
  html {
    font-size: 15px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1.5rem;
  }

  .wrap-wide,
  .wrap-narrow {
    width: 90%;
  }

  .button {
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
  }

  .readable-text {
    font-size: 1.1rem;
  }

  header {
    padding: 1.5rem;
  }

  #hero {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  #hero .titles h4 br {
    display: none;
  }

  header nav .logos {
    display: none;
  }

  #features {
    padding: 1.5rem;
    gap: 3rem;
  }

  #demo-video {
    padding: 1.5rem;
    gap: 1.2rem;
  }

  #plans {
    padding: 1.5rem;
    gap: 3rem;
  }

  #faq {
    padding: 1.5rem;
    gap: 3rem;
  }

  .plans-container {
    gap: 1rem;
  }

  .plans-container .plan {
    width: 100%;
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .social-proof {
    flex-direction: row;
    gap: 1rem;
  }

  .social-proof .details {
    align-items: flex-start;
  }

  .faq-container {
    gap: 1rem;
  }

  .faq-container .faq {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  #page {
    padding: 3rem;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  #bottom-actions > div {
    flex-direction: row;
  }

  footer {
    flex-direction: row;
  }
}

/* Mobile break-point ----------------------------------------- */

@media only screen and (max-width: 48rem) {
  html {
    font-size: 14px;
  }

  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  h4 {
    font-size: 1.2rem;
  }

  hr {
    margin: 1.5rem 0;
  }

  dialog {
    width: 90%;
  }

  .wrap-wide,
  .wrap-narrow {
    width: 100%;
  }

  .button {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }

  .readable-text {
    font-size: 1rem;
  }

  header nav *:first-child {
    display: none;
  }

  header nav .logos {
    display: none;
  }

  #hero {
    padding: 2rem;
    gap: 1.5rem;
  }

  #hero .titles {
    gap: 1rem;
  }

  #hero .titles h1 {
    font-size: 2.5rem;
  }

  #hero .titles h4 {
    padding: 0;
  }

  #hero .titles h4 br {
    display: none;
  }

  #features {
    padding: 2rem;
    gap: 2rem;
  }

  #features .features-container {
    gap: 0.5rem;
  }

  #features .panel {
    padding: 1rem 1rem 0 1rem;
    gap: 1rem;
    border-radius: 0.5rem;
  }

  #features .panel .plugin {
    top: 2rem;
    right: 1rem;
  }

  #features .panel:hover .plugin {
    top: 1.5rem;
  }

  #features .panel .buddy {
    bottom: 1rem;
    right: 1rem;
  }

  #features .panel .score img {
    width: 8%;
  }

  #demo-video {
    position: relative;
  }

  #features .feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }

  #features .feature-grid .feature-card {
    padding: 1rem;
    gap: 2rem;
  }

  #features .feature-grid .feature-card .item-title {
    font-weight: bold;
  }

  .video-container .video-label {
    left: 0.5rem;
    top: 0.5rem;
    padding: 0.25rem 1rem;
  }

  .testimonial-container {
    padding: 2rem 2rem 4rem 2rem;
  }

  #plans {
    padding: 2rem;
    gap: 2rem;
  }

  .plans-container {
    flex-direction: column;
  }

  .plans-container .plan {
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
  }

  #faq {
    padding: 2rem;
    gap: 2rem;
  }

  .social-proof {
    flex-direction: column;
    width: 100%;
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .social-proof .details {
    align-items: center;
    text-align: center;
  }

  .faq-container {
    gap: 0.5rem;
  }

  .faq-container .faq {
    padding: 1rem;
    border-radius: 1rem;
  }

  #page {
    padding: 2rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #page .grid-2 {
    gap: 1rem;
  }

  #bottom-actions > div {
    flex-direction: column;
  }

  footer {
    flex-direction: column;
  }

  .feedback-form {
    margin: 1.5rem auto;
  }

  .feedback-form button[type="submit"] {
    width: 100%;
    align-self: stretch;
  }
}
