/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* 
BG COlOR: #161c60
MAIN COLOR: #4C1D95
GREY COLOR: #343a40
ACCENT COLOR: #25bdd6
Font earlier: Inter
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ------------------------ */
/* GENERAL STYLES */
/* ------------------------ */
html {
  /* font-size: 10px; */

  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  overflow-x: hidden;

  /* Does NOT work on Safari */
  /* scroll-behavior: smooth; */
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #ffffff;
  background-color: #161c60;
  line-height: 1;
  /* Only works if there is nothing absolutely positioned in relation to body */
  overflow-x: hidden;
}

a:link,
a:visited {
  color: #ffffff;
}

a:hover,
a:active {
  color: #25bdd6;
}

.container {
  max-width: 96rem;
  padding: 0 2.4rem;
  margin: 0 auto;
}
.grid {
  display: grid;
  column-gap: 5.4rem;
  row-gap: 8.6rem;

  /* margin-bottom: 9.6rem; */
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

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

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

header {
  margin-bottom: 9.6rem;
  margin-top: 9.6rem;
}

section {
  margin-bottom: 9.6rem;
}

h2 {
  margin-bottom: 4.8rem;
  font-size: 3.6rem;
  letter-spacing: -0.5px;
  text-align: center;
  /* 24 / 30 / 36 */
}

h3 {
  margin-top: 3.2rem;
  margin-bottom: 1.6rem;
  font-size: 2.4rem;
  font-weight: 200;
  letter-spacing: -0.5px;
  /* 24 / 30 / 36 */
  text-align: center;
  color: #d8d5d5;
}

.logo {
  font-family: 'Source Serif Pro', serif;
  font-weight: 400;
  font-size: 8.6rem;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1;
  text-align: center;
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: #25bdd6;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
  text-align: center;
}

.imprint {
  margin-bottom: 1.6rem;
  font-size: 1.8rem;
  font-weight: 200;
  letter-spacing: -0.5px;
  /* 24 / 30 / 36 */
  text-align: center;
  color: #ffffff;
}

.btn,
.btn:link,
.btn:visited {
  background-color: #4c1d95;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;

  display: inline-block;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
}

.btn:hover,
.btn:active {
  background-color: #eccc68;
}

.btn--big {
  font-size: 1.8rem;
  padding: 16px 32px;
}

.btn--small {
  font-size: 14px;
  padding: 8px 12px;
}

img {
  border-radius: 12px;
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.list-item {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  line-height: 1.2;
}

.list-icon {
  width: 3rem;
  height: 3rem;
  color: #e67e22;
}

/* ------------------------ */
/* COMPONENT STYLES */
/* ------------------------ */

/* HEADER */
.herosection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 8rem;
  margin-top: 6.4rem;
}

.header-text-box {
  align-self: center;
}

h1 {
  margin-bottom: 3.2rem;
  font-size: 4.4rem;
  line-height: 1.1;
  letter-spacing: -1px;
  /* 44 / 52 / 62 */

  /* text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); */
}

.header-text {
  margin-bottom: 2.4rem;
  font-size: 1.8rem;
  line-height: 1.7;
}

img {
  width: 100%;
}

/* FEATURES */
.features-icon {
  stroke: #4c1d95;
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
}

.features-title {
  margin-bottom: 16px;
  font-size: 20px;
}

.features-text {
  font-size: 18px;
  line-height: 1.7;
}

/* TESTIMONIAL */
.testimonial-section {
  background-color: #4c1d95;
  color: #ede9fe;
  padding: 24px;
  border-radius: 12px;
}

.testimonial-box {
  grid-column: 2 / -1;
  align-self: center;
}

.testimonial-box h2 {
  margin-bottom: 24px;
  /* 20 / 24 / 30 */
  font-size: 24px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.7;
  color: #e6fcf5;
}

.testimonial-author {
  color: #c3fae8;
}

footer {
  margin-bottom: 4.8rem;
  font-size: 1.4rem;
  color: #495057;
}

/* ------------------------ */
/* SIGN-UP */
/* ------------------------ */
.accordion {
  width: 70rem;
  margin: 10rem auto;
  display: grid;
  flex-direction: column;
  gap: 2.4rem;
}
.item {
  padding: 2.4rem;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.3);
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 2.4rem;
  row-gap: 2.4rem;
  align-items: center;
  background-color: #322a4b;
  border-radius: 12px;
}

.signup-text {
  color: #a78bfa;
  font-size: 1.6rem;
}

.signup-header {
  font-size: 2.4rem;
  font-weight: 500;
  grid-column: 2;
  color: #fff;
}

.hidden-box {
  grid-column: 2;
  font-size: 1.6rem;
}

.hidden-box p {
  line-height: 1.6;
  margin-bottom: 2.4rem;
}

.icon {
  width: 3rem;
  height: 3rem;
  stroke: #a78bfa;
  grid-column: 2;
}

.text {
  font-size: 2.4rem;
  font-weight: 500;
  grid-column: 2;
}

.number {
  font-size: 2.4rem;
  font-weight: 500;
  color: #a78bfa;
}

.hidden-box form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: #ddd6fe;
  margin-bottom: 2.4rem;
  width: 90%;
}

input[type='text'] {
  background-color: #ede8fe;
  color: #322a4b;
  height: 3.6rem;
  font-size: 1.6rem;
  padding-left: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border: none;
}
.signupbtn {
  background-color: #a78bfa;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.8rem;
  padding: 1.6rem 3.2rem;
  display: inline-block;
  border-radius: 100px;
  text-align: right;
  grid-column: 2;
  justify-self: end;
  margin-bottom: 1.5rem;
}

.signupbtn:hover,
.signupbtn:active {
  background-color: #eccc68;
}

/**************************/
/* PRICING SECTION */
/**************************/
.section-pricing {
  padding: 9.6rem 0;
}

.pricing-plan {
  border-radius: 11px;

  width: 75%;
}

.pricing-plan--starter {
  justify-self: end;
  border: 2px solid #fdf2e9;
  padding: 4.6rem;
}

.pricing-plan--complete {
  background-color: #ede9fe;
  padding: 4.8rem;
  position: relative;
  overflow: hidden;
}

.pricing-plan--complete::after {
  content: 'Best value';
  position: absolute;
  top: 6%;
  right: -18%;

  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  background-color: #ffd43b;
  padding: 0.8rem 8rem;
  transform: rotate(45deg);
}

.plan-header {
  text-align: center;
  margin-bottom: 4.8rem;
}

.plan-name {
  color: #4c1d95;
  font-weight: 600;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.75;
  margin-bottom: 3.2rem;
}

.plan-price {
  font-size: 6.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.6rem;
}

.plan-price span {
  font-size: 3rem;
  font-weight: 500;
  margin-right: 0.8rem;
}

.plan-text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #6f6f6f;
}

.plan-sign-up {
  text-align: center;
  margin-top: 4.8rem;
}

.plan-details {
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
}

.feature-icon {
  color: #e67e22;
  height: 3.2rem;
  width: 3.2rem;
  background-color: #fdf2e9;
  margin-bottom: 3.2rem;
  padding: 1.6rem;
  border-radius: 50%;
}

.feature-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.feature-text {
  font-size: 1.8rem;
  line-height: 1.8;
}

/**************************/
/* BELOW 544px (Phones) */
/**************************/

@media (max-width: 34em) {
  .logo {
    font-size: 7.4rem;
  }

  .container {
    padding: 0 1.8rem;
  }
}
