body {
  background-color: #000000;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  margin: 0;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.text-warning {
  color: #ffc250;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000000;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-background-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background-decorations > div {
  position: absolute;
  height: 1300px;
  top: 2px;
  background: linear-gradient(
    180deg,
    #5840ba 34.42%,
    rgba(88, 64, 186, 0) 91.5%
  );
  transform: matrix(-1, 0, 0, 1, 0, 0);
}

.hero-background-decorations .rect-1 {
  width: 40.55px;
  left: 1939.45px;
}
.hero-background-decorations .rect-2 {
  width: 57.78px;
  left: 1871.52px;
}
.hero-background-decorations .rect-3 {
  width: 57.78px;
  left: 1803.61px;
}
.hero-background-decorations .rect-4 {
  width: 57.78px;
  left: 1735.68px;
}
.hero-background-decorations .rect-5 {
  width: 57.78px;
  left: 1667.76px;
}
.hero-background-decorations .rect-6 {
  width: 45.62px;
  left: 1599.84px;
}
.hero-background-decorations .rect-7 {
  width: 45.62px;
  left: 1518.74px;
}
.hero-background-decorations .rect-8 {
  width: 44.61px;
  left: 1438.65px;
}
.hero-background-decorations .rect-9 {
  width: 45.62px;
  left: 1357.55px;
}
.hero-background-decorations .rect-10 {
  width: 44.61px;
  left: 1277.46px;
}
.hero-background-decorations .rect-11 {
  width: 23.32px;
  left: 1196.36px;
  opacity: 0.88;
}
.hero-background-decorations .rect-12 {
  width: 22.3px;
  left: 1106.13px;
  opacity: 0.88;
}
.hero-background-decorations .rect-13 {
  width: 23.32px;
  left: 1014.89px;
  opacity: 0.63;
}
.hero-background-decorations .rect-14 {
  width: 7.1px;
  left: 929.74px;
  opacity: 0.67;
}
.hero-background-decorations .rect-15 {
  width: 8.11px;
  left: 828.36px;
  opacity: 0.62;
}
.hero-background-decorations .rect-16 {
  width: 7.1px;
  left: 728px;
  opacity: 0.54;
}

.hero-background-decorations .rect-17 {
  width: 8px;
  left: 628px;
  opacity: 0.5;
}
/* 
.hero-background-decorations .rect-18 {
  width: 7px;
  left: 528px;
  opacity: 0.48;
}

.hero-background-decorations .rect-19 {
  width: 8px;
  left: 428px;
  opacity: 0.46;
}

.hero-background-decorations .rect-20 {
  width: 7px;
  left: 328px;
  opacity: 0.44;
} */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

/* --- Language Selector --- */
.language-selector {
  position: relative;
  display: inline-block;
}

.language-current {
  background-color: transparent;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid white;
  border-radius: 20px;
  cursor: pointer;
}

.language-dropdown {
  display: none;
  position: absolute;
  background-color: #1a1a1a;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 10px;
  right: 0;
}

.language-dropdown a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.language-dropdown a:hover {
  background-color: #5840ba;
}

.language-selector .show {
  display: block;
}

.logo img {
  height: 64px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.hero-text {
  max-width: 820px;
}

.hero-text-content {
  position: relative;
}

.hero-text h1 {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 100px;
  line-height: 1.07;
  letter-spacing: -0.02em;
  margin: 0;
  position: relative; /* Changed from absolute for better flow */
  left: 0;
  top: 0;
}

.hero-text .underline {
  position: absolute;
  width: 375px;
  top: 90px;
  left: 0;
}

.early-access-info {
  display: flex;
  margin-top: 40px;
}

.early-access-info img {
  width: 32px;
  height: 32px;
}

.early-access-info p {
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.45;
  margin: 0;
}

.email-form {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 100px;
  width: 677px;
  height: 72px;
  padding: 6px;
  margin-top: 30px;
  box-sizing: border-box;
}

.email-form input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 0 24px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: #7c7c7c;
  outline: none;
}

.email-form button {
  background-color: #5840ba;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  width: 211px;
  height: 60px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.email-form button:hover {
  background-color: #4a35a0;
}

.hero-image img {
  width: 779px;
  height: auto;
}

/* --- Promotion Banner --- */
.promotion-banner {
  width: 100vw;
  margin: 100px 0;
  /* background-color: #000; */
  overflow: hidden;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  bottom: -464px;
  z-index: 3;
  /* background: linear-gradient(
    334deg,
    rgba(255, 255, 255, 0.4) 3.04%,
    rgba(255, 255, 255, 0) 96.05%
  ); */
}

.marquee {
  display: inline-block;
  animation: marquee 20s linear infinite;
  color: #e8e8e8;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 136px;
  line-height: 1.07;
  padding: 40px 0;
}

.marquee span {
  margin-right: 50px;
}

.marquee img {
  height: 59px;
  width: 59px;
  margin: 0 20px;
  vertical-align: middle;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --- Features Section --- */
/* Note: This section uses absolute positioning based on the Figma design.
   This is not ideal for responsiveness but is implemented as requested.
   Media queries are used to create a more manageable layout on smaller screens. */
.features-section {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 100px;
}

.features-title-content {
  width: 1000px;
  position: relative;
  padding-bottom: 60px;
}

.features-title-content h2 {
  font-family: "Sora", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 80px;
  line-height: 97px;
  text-align: center;
  letter-spacing: -0.04em;
  margin: 0 auto;
  text-align: center;
}

.features-background-ellipse {
  position: absolute;
  width: 1000px;
  height: 1000px;
  left: calc(50% - 500px);
  top: 476px; /* (1695 - 1219) from figma */
  background: #5c34d0;
  filter: blur(200px);
  z-index: -1;
}

.features-title {
  color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.features-title .underline {
  position: absolute;
  bottom: 38px;
  left: 344px;
  width: 418px;
}

.features-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.features-grid::-webkit-scrollbar {
  display: none;
}

.feature-card {
  flex: 0 0 552px;
  background: linear-gradient(
    105.87deg,
    rgba(255, 255, 255, 0.4) 3.04%,
    rgba(255, 255, 255, 0) 96.05%
  );
  backdrop-filter: blur(40px);
  border-radius: 40px;
  padding: 40px;
  box-sizing: border-box;
  text-align: left;
  flex-basis: 30%;
}

.feature-card img {
  width: 90px;
  height: 90px;
  margin-bottom: 120px;
}

.feature-card h3 {
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 1.33;
  margin-bottom: 20px;
}

.feature-card p {
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.36;
}

.about-content {
  /* display: flex; */
  align-items: center;
  justify-content: space-around;
  gap: 50px;
}

.about-text {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.about-text-content {
  max-width: 950px;
  position: relative;
}

.about-text-content h2 {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 80px;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.about-text-content .underline {
  position: absolute;
  bottom: 60px;
  right: 265px;
  width: 280px;
}

.about-detail {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-detail p {
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.5;
  color: #ededed;
  max-width: 800px;
  text-align: center;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  height: 707px; /* Height of the background Group 501 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 350px;
  margin-bottom: 450px;
}

.cta-images {
  position: absolute;
  width: 565px;
  height: 586px;
  top: -300px;
}

.cta-images img {
  position: absolute;
}

.cta-img-1 {
  width: 371px;
  z-index: 2;
  top: 0;
  left: 0;
}

.cta-img-2 {
  width: 327px;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
}

.cta-background-elements {
  position: absolute;
  width: 1457px;
  height: 707px;
  left: calc(50% - 728.5px);
  top: 0;
  z-index: 0;
}

.cta-bg-ellipse {
  position: absolute;
  width: 221px;
  height: 221px;
  left: 23px;
  top: 0;
  background: linear-gradient(129.47deg, #28246d 0%, #936efe 100%);
  border-radius: 50%;
}

.cta-bg-rectangle {
  position: absolute;
  width: 1457px;
  height: 578px;
  left: 0px;
  top: 129px;
  background: linear-gradient(
    105.87deg,
    rgba(255, 255, 255, 0.4) 3.04%,
    rgba(255, 255, 255, 0) 96.05%
  );
  border: 3.5px solid;
  border-image-source: radial-gradient(
      circle at 100% 100%,
      #655cfe,
      rgba(147, 110, 254, 0.2)
    ),
    radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.81),
      rgba(255, 255, 255, 0.19)
    ),
    radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  border-image-slice: 1;
  backdrop-filter: blur(80px);
  border-radius: 40px;
  z-index: 2;
}

.cta-bg-ellipse-2 {
  position: absolute;
  width: 556.71px;
  height: 556.71px;
  left: 787.5px; /* 1019px on page - 231.5px offset of parent */
  top: 506px; /* 3627px on page - 3121px top of parent */
  background: linear-gradient(346.21deg, #000000 16.68%, #936efe 82.72%);
  transform: rotate(7.34deg);
  border-radius: 50%;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 250px;
}

.cta-title-content {
  /* max-width: 1014px; */
  position: relative;
}

.cta-title-content h2 {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 80px;
  line-height: 1.825;
  letter-spacing: -0.04em;
  margin: 0;
}

.cta-title-content .underline {
  width: 359px;
  position: absolute;
  bottom: 7px;
  right: 240px;
}

.cta-content p {
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 40px;
}

.cta-content .email-form {
  margin: 0 auto;
}

/* --- Footer --- */
.site-footer {
  padding: 80px 0 40px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-container {
  justify-self: start;
}

.footer-copyright {
  justify-self: right;
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #ffffff;
}

.footer-links {
  justify-self: end;
}

.footer-links a {
  font-family: "Inter", sans-serif; /* Fallback for Satoshi */
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffc250;
}

.footer-policy {
  grid-column: 1 / -1;
  justify-self: end;
  font-family: "Inter", sans-serif; /* Fallback for Satoshi */
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  margin-top: 20px;
}

.footer-line {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 398px;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
  .hero-section {
    height: auto;
    padding-bottom: 50px;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    order: 2;
  }
  .hero-image {
    order: 1;
    margin-top: 40px;
  }
  .hero-text .underline {
    /* position: relative;
    display: block;
    top: auto;
    left: auto;
    width: 300px; */
    margin: -20px auto 0;
  }
  .email-form {
    width: calc(100% - 40px);
    max-width: 677px;
    margin: 30px auto;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    flex-direction: column;
  }
  .about-images {
    margin-top: 50px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo-container,
  .footer-copyright,
  .footer-links,
  .footer-policy {
    justify-self: center;
  }
  .footer-links {
    margin: 20px 0;
  }
  .footer-links a {
    margin: 0 10px;
  }
  .footer-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 50px;
    line-height: 1.2;
  }
  .hero-text .underline {
    width: 150px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 40%;
  }
  .hero-image img {
    width: 100%;
    max-width: 400px;
  }
  .hero-background-decorations {
    display: block;
  }

  .hero-background-decorations > div {
    height: 600px;
    left: auto;
  }

  .hero-background-decorations .rect-1 {
    width: 10%;
    right: 0;
  }
  .hero-background-decorations .rect-2 {
    width: 8%;
    right: 10%;
  }
  .hero-background-decorations .rect-3 {
    width: 8%;
    right: 18%;
  }
  .hero-background-decorations .rect-4 {
    width: 8%;
    right: 26%;
  }
  .hero-background-decorations .rect-5 {
    width: 8%;
    right: 34%;
  }
  .hero-background-decorations .rect-6 {
    width: 6%;
    right: 42%;
  }
  .hero-background-decorations .rect-7 {
    width: 6%;
    right: 48%;
  }
  .hero-background-decorations .rect-8 {
    width: 6%;
    right: 54%;
  }
  .hero-background-decorations .rect-9 {
    width: 6%;
    right: 60%;
  }
  .hero-background-decorations .rect-10 {
    width: 6%;
    right: 66%;
  }

  .hero-background-decorations .rect-11,
  .hero-background-decorations .rect-12,
  .hero-background-decorations .rect-13,
  .hero-background-decorations .rect-14,
  .hero-background-decorations .rect-15,
  .hero-background-decorations .rect-16,
  .hero-background-decorations .rect-17 {
    display: none;
  }

  .email-form {
    flex-direction: row; /* Ensure it's on one line */
    height: 52px;
    background: #ffffff; /* Restore background */
    padding: 4px;
  }
  .email-form input {
    /* Resetting styles from column layout */
    border-radius: 0;
    background: transparent;
    height: 44px;
    text-align: left;
    width: auto;
    font-size: 14px;
  }
  .email-form button {
    margin-top: 0;
    width: 150px;
    height: 44px;
    font-size: 12px;
    padding: 0 10px;
  }
  .promotion-banner {
    font-size: 40px;
    bottom: -100px;
  }

  .features-section {
    padding: 0;
    box-sizing: border-box;
    margin-top: 50px;
  }

  .features-title {
    padding: 0 20px;
    margin-bottom: 0;
  }

  .features-title-content {
    width: 100%;
    /* padding: 20px; */
  }

  .features-title-content h2 {
    font-size: 40px;
    line-height: 1.2;
  }

  .features-title .underline {
    width: 230px;
    bottom: 47%;
    left: 71%;
    transform: translateX(-50%);
  }

  .features-grid {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px;
    clip-path: inset(0 0 0 0);
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    scroll-snap-type: x mandatory;
  }

  .features-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    flex: 0 0 80%;
    width: 350px;
    padding: 30px;
    text-align: center;
    scroll-snap-align: start;
    margin: 0 auto;
    margin-top: 30px;
  }
  .feature-card img {
    margin-bottom: 20px;
  }
  .feature-card h3 {
    font-size: 36px;
  }
  .feature-card p {
    font-size: 18px;
  }

  .about-text h2 {
    font-size: 40px;
    line-height: 1.2;
  }
  .about-text-content .underline {
    /* width: 180px;
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%); */
    display: none;
  }

  .cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    margin-top: 200px;
    margin-bottom: 150px;
    padding: 0;
    overflow: visible;
  }

  .cta-images {
    position: absolute;
    width: 371px;
    height: 386px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
    z-index: 10;
  }

  .cta-images img {
    /* position: absolute;
    transform: none;
    left: 0;
    top: 0; */
  }

  .cta-bg-rectangle {
    border: none;
  }

  .cta-img-1 {
    width: 244px;
    z-index: 2;
    /* left: 0;
    transform: none; */
    left: 40%;
    top: 40%;
    transform: translate(-50%, -50%);
  }

  .cta-img-2 {
    width: 215px;
    z-index: 1;
    left: 66%;
    top: 40%;
    transform: translate(-50%, -50%);
  }
  .cta-content p {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .cta-background-elements {
    display: block;
    position: absolute;
    width: calc(100% - 10px);
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: 40px;
  }

  .cta-bg-rectangle {
    position: absolute;
    width: 100%;
    height: calc(100% - 85px);
    left: 0;
    top: 85px;
    border-radius: 40px;
  }

  .cta-bg-ellipse {
    position: absolute;
    width: 145px;
    height: 145px;
    left: 15px;
    top: 0;
    border-radius: 50%;
    display: none;
  }

  .cta-bg-ellipse-2 {
    display: block;
    position: absolute;
    width: 366px;
    height: 366px;
    left: 52%;
    top: 65%;
    transform: rotate(7.34deg);
    border-radius: 50%;
    z-index: 1;
  }

  .cta-content {
    padding-top: 230px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-title-content h2 {
    font-family: "Sora", sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
  }
  .cta-title-content .underline {
    width: 200px;
    position: relative;
    bottom: auto;
    right: auto;
    display: block;
    margin: 0 auto;
  }
  .cta-content p {
    font-size: 18px;
    padding: 0 20px;
  }
  .features-background-ellipse {
    width: 100%;
  }
  .marquee {
    font-size: 80px;
    padding: 32px 0;
  }
  .promotion-banner {
    font-size: 37px;
    bottom: -250px;
  }
}

@media (max-width: 1800px) {
  .features-section {
  }
  .feature-card {
    /* flex-basis: 30%; */
  }
}
