/********* CSS variables *********/
:root {
  --background-primary: #030819;
  --border-grey: 1px solid rgba(66, 66, 66, 0.3);
  --primary-blue: #0b9dff;
  --light-black: #202127;
  --footer-black: #191c1f;
}

/********* CSS Reset *********/

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  background-color: var(--background-primary);
  font-family: "Averta Std", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  color: #ffffff;
  width: 100vw;
  height: fit-content;
}

a {
  text-decoration: none;
  color: #ffffff;
  display: inline-block;
}

button,
input {
  border: 0;
  outline: 0;
  font-family: "Averta Std";
  background: transparent;
}

button:focus {
  outline: 0;
  border: 0;
}

button {
  cursor: pointer;
}

img {
  height: 100%;
  width: 100%;
}

/********* Main CSS *********/

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
  box-sizing: border-box;
}

.logo {
  width: 145px;
}

.main {
  position: relative;
  text-align: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

#poster {
  position: absolute;
  height: 100vh;
  width: 100%;
  inset: 0;
  top: -68px;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  top: -68px;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  cursor: pointer;
}

.mainHeading {
  font-weight: 700;
  font-size: 42px;
  line-height: 110%;
}

.secondaryHeading {
  font-weight: 400;
  font-size: 18px;
  opacity: 0.8;
  padding: 0 20px;
}

.mainHeading span {
  color: var(--primary-blue);
}

.paragraph {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  opacity: 0.8;
  padding: 0 20px;
}

.emailContainer {
  display: block;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.emailInput {
  width: 334px;
  height: 75px;
  padding: 20px 16px 20px 50px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: var(--light-black);
  background: #ffffff;
  font-family: inherit;
  background-image: url("../../images/newpage/emailIcon.svg");
  background-position-x: 20px;
  background-position-y: 54%;
  background-repeat: no-repeat;
}

.emailInput::placeholder {
  color: var(--light-black);
}

.signup-btn {
  width: 334px;
  height: 75px;
  padding: 20px 60px;
  background: linear-gradient(121.99deg, #00d3ff -26.48%, #1a49ff 64.48%);
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signup-btn:disabled {
  cursor: not-allowed;
}

.featuresContainer {
  position: relative;
  overflow-x: hidden;
  height: fit-content;
}

.featureListWrapper {
  text-align: center;
  padding: 20px 0px 20px;
  width: 100%;
  background: #000;
  box-shadow: inset 0px -1px 0px rgb(142 142 142 / 30%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  overflow: hidden;
}

.featureListHeading {
  padding: 0 16px;
}

.featureListHeading h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 125%;
}

.featureListHeading h2 {
  font-weight: 700;
  font-size: 28px;
  line-height: 115%;
  margin-top: 10px;
  padding-bottom: 40px;
}

.feature {
  padding: 30px 0;
  border-top: var(--border-grey);
}

.iconContainer {
  height: 100px;
  width: 100px;
  margin: auto;
}

.featureHeading {
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
}

.featureParagraph {
  width: 314px;
  margin: auto;
  margin-top: 12px;
  font-size: 16px;
  line-height: 142%;
}

.privacyContainerWrapper {
  padding: 60px 20px;
  border-top: var(--border-grey);
  background: #000;
}

.imgContainer {
  width: 100%;
  margin: auto;
}

.imgContainer img {
  width: 100%;
  height: 100%;
}

.privacyTextContent {
  text-align: center;
}

.privacyTextContent h4 {
  margin-top: 40px;
  /* background: linear-gradient(135deg, #d0d6fb 0%, #7e8acb 91.98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
  /* background-clip: text; */
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
}

.privacyTextContent h2 {
  font-weight: 700;
  font-size: 18px;
  line-height: 115%;
  margin-top: 24px;
}

.privacyTextContent p {
  font-size: 14px;
  line-height: 160%;
  margin-top: 20px;
  padding: 0;
}

.privacyBtn {
  padding: 16px 32px;
  /* width: 169px; */
  height: 56px;
  border-radius: 4px;
  background: #0d3ae6;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  margin-top: 20px;
}

.footer {
  background-color: var(--footer-black);
  padding: 60px 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #cfd2dc;
  opacity: 0.64;
}

.footer span {
  display: inline-block;
}

.footer span:nth-child(2) {
  margin-top: 12px;
}

.rootContainer {
  position: relative;
}

.ellipseContainer {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.ellipseLeft {
  position: absolute;
  width: 558.94px;
  height: 558.94px;
  left: -260px;
  top: -130px;

  background: radial-gradient(
    50% 50% at 50% 50%,
    #4ba7b4 0%,
    rgba(5, 11, 25, 0) 100%
  );

  opacity: 0.3;
  z-index: 1;
}

.ellipseRight {
  position: absolute;
  width: 700px;
  height: 700px;
  left: 150px;
  top: 400px;

  background: radial-gradient(
    50% 50% at 50% 50%,
    #4ba7b4 0%,
    rgba(5, 11, 25, 0) 100%
  );
  opacity: 0.3;
  z-index: 1;
}

.showcaseArt {
  position: relative;
  width: 334.44px;
  height: 246px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin-top: 2rem;
  overflow: hidden;
}

#poster2 {
  height: 92%;
  width: 92.5%;
  position: absolute;
  top: 9px;
  left: 13.5px;
  object-fit: cover;
  z-index: -1;
  rotate: -0.5deg;
  border-top-right-radius: 25px;
}

.showcase-text {
  font-size: 24px;
  padding: 20px 20px 40px;
  z-index: 2;
}

.bottom-text {
  position: absolute;
  /* right: 40px; */
  left: 50%;
  transform: translateX(-50%);
  width: 374px;
  bottom: 20px;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
}

.bottom-text span {
  display: block;
}

.bottom-text span a {
  text-decoration: underline;
}

/********* Media queries  *********/

@media screen and (min-width: 750px) {
  .header {
    height: 92px;
  }

  .main {
    gap: 40px;
  }

  #poster {
    top: -92px;
    height: calc(100% + 92px);
  }

  .bottom-text {
    transform: none;
    left: unset;
    right: 40px;
    bottom: 40px;
  }

  .overlay {
    top: -92px;
    height: calc(100% + 92px);
  }

  .mainHeading {
    font-size: 68px;
    line-height: 100%;
  }

  .secondaryHeading {
    font-size: 24px;
  }

  .main p {
    font-size: 22px;
    width: 720px;
  }

  .emailContainer {
    flex-direction: row;
    gap: 1.2rem;
  }

  .emailInput {
    width: 467px;
    padding: 25px 16px 25px 50px;
  }

  .emailInput::placeholder {
    color: var(--light-black);
  }

  .signup-btn {
    width: fit-content;
    height: 75px;
  }

  .featureListWrapper {
    padding-top: 40px;
    padding-bottom: 0;
  }

  .featureListHeading h3 {
    font-size: 24px;
  }

  .featureListHeading h2 {
    font-size: 42px;
    line-height: 110%;
    padding-bottom: 60px;
    margin: 16px auto 0;
  }

  .featureList {
    display: flex;
    justify-content: center;
    align-items: stretch;
    border: var(--border-grey);
    border-bottom: none;
    height: auto;
  }

  .feature {
    border-left: var(--border-grey);
    border-top: none;
    padding: 40px 20px 40px;
  }

  .featureList div:last-child {
    border-right: var(--border-grey);
  }

  .iconContainer {
    height: 100px;
    width: 100px;
    margin: auto;
  }

  .featureParagraph {
    width: 250px;
  }

  .feature a {
    display: none;
  }

  .footer span {
    display: inline;
  }

  .rootContainer {
    padding: 15rem 0 6rem;
  }

  .performance-section {
    position: relative;
    max-width: 900px;
    height: 500px;
    width: 85%;
    margin: auto;
    border-radius: 40px;
    background: #030819;
  }

  .ellipseLeft {
    width: 1694px;
    height: 1694px;
    left: -920px;
    top: -930.5px;
    opacity: 0.5;
  }

  .ellipseRight {
    width: 1694px;
    height: 1694px;
    left: 228px;
    top: -196.5px;
    opacity: 0.5;
  }

  .showcaseArt {
    width: 537px;
    height: 395px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: -100px;
    z-index: 2;
    overflow: hidden;
  }

  #poster2 {
    height: 92%;
    width: 93%;
    position: absolute;
    top: 14px;
    left: 21.5px;
  }

  .showcase-text {
    font-size: 36px;
    width: 70%;
    margin: auto;
    padding: 0;
    margin-top: -4rem;
  }

  .bottom-text {
    /* transform: translateX(-50%);
      left: 50%;
      border: 1px solid red; */
  }
}

@media screen and (min-width: 1050px) {
  .privacyContainerWrapper {
    padding: 90px auto;
    overflow: hidden;
  }

  .privacyContainer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    height: 533px;
    width: 1000px;
    margin: auto;
  }

  .privacyTextContent {
    max-width: 380px;
    margin: auto;
    text-align: left;
  }

  .privacyTextContent h4 {
    margin-top: 0;
  }

  .privacyTextContent h2 {
    font-size: 24px;
    line-height: 104%;
  }

  .privacyTextContent p {
    font-size: 18px;
  }

  .privacyTextContent p span {
    display: inline-block;
    margin-top: 10px;
  }

  .imgContainer {
    order: 2;
    position: relative;
    height: 520px;
    margin: 0;
  }

  .imgContainer img {
    position: absolute;
    inset: 0;
    height: 100%;
    max-width: 800px;
    width: auto;
  }
}

.rootContainer {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  overflow: hidden;
  background: #000;
}

.error {
  font-family: inherit;
  font-weight: 500;
  font-size: 20px;
  color: rgb(228, 64, 64);
}
