* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: white;
}

:root {
  --success-color: #2ecc71;
  --success-bg: rgba(46, 204, 113, 0.2);
  --error-color: #e74c3c;
  --error-bg: rgba(231, 76, 60, 0.2);
  --hover-color: #906bff;
}

p {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 200;
  color: #cdc4d3;
}

a {
  text-decoration: none;
}

h2,
h3 {
  line-height: 1.4;
}

h2 {
  font-size: 45px;
  font-weight: 100;
  margin-bottom: 0px;
}

h3 {
  font-size: 30px;
  font-weight: 100;
}

button,
a.header-button {
  padding: 15px 30px;
  background: black;
  border: 1px solid white;
  border-radius: 2px;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

button a {
  text-decoration: none;
}

button:hover,
a.header-button:hover {
  background: rgba(255, 255, 255, 0.8);
  color: black;
  cursor: pointer;
}

a.header-button {
  cursor: pointer;
  font-size: 14px;
  padding: 10px 20px;
}

.logo-8vc {
  padding-left: 50px;
}
.logo-slow {
  max-width: 120px;
}
.main {
  width: 100vw;
  display: flex;
  flex-direction: column;
  height: auto;
  background: black;
}

.section {
  width: 100%;
  padding: 120px 60px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
}

.header-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 60px 0px;
}

.header-actions {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  z-index: 50;
  bottom: 550px;
  left: 60px;
}

.meritocracy-container {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: flex-start;
  justify-self: flex-start;
  width: 60vw;
  min-height: 150px;
  left: 0 !important;
  margin-left: -40px;
}

#meritocracy {
  max-width: 60vw;
  max-height: 150px;
  position: absolute;
  left: 40px;
  bottom: 0;
}

#hephaestus {
  width: 40%;
  height: 70vh;
  position: absolute;
  right: 20px;
  top: 20px;
  transform: translate(-10%);
}

/* nav________________________ */
.nav {
  width: 100vw;
  height: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px 60px;
}

.logo {
  height: 40px;
}

.nav-items a {
  padding-right: 30px;
  text-decoration: none;
  color: white;
  transition: color 0.2s ease;
}

.nav-items a:hover {
  color: #906bff !important;
}

.nav-items a:visited {
  color: white;
}

/* letter________________________ */

.letter {
  align-items: center;
}
.letter-content {
  width: 60%;
  max-width: 650px;
}

.letter-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.letter button {
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  background: #19161b;
  border: 1px solid #907bff;
  margin-top: 45px;
}

.letter button:hover {
  background: #7000ff;
  color: white;
}

/* backed-by________________________ */
.backed-by {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.backed-by p {
  margin-bottom: 30px;
  text-align: center;
  color: #6a656e;
}

.backed-by .logos {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

/* marquee________________________ */
.marquee {
  overflow: hidden;
  position: sticky;
  bottom: 0;
  left: 0;
  padding: 40px 0;
  background: black;
  min-height: 200px;
  display: flex;
  justify-content: center;
}

.marquee p {
  margin-bottom: 30px;
  text-align: center;
  color: #6a656e;
}

.marquee-content {
  position: relative;
  z-index: 0;
  display: flex;

  width: fit-content;
}

.marquee-items {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0 20px;
}

.marquee-logo {
  height: 30px;
  width: 160px;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
}

.gradient-overlays {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#gradientLeft {
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  height: 100%;
  background: linear-gradient(to right, black, transparent);
}

#gradientRight {
  position: absolute;
  right: 0;
  top: 0;
  width: 250px;
  height: 100%;
  background: linear-gradient(to left, black, transparent);
}

/* CTA section________________________ */
.cta-section {
  flex-direction: row;
  justify-content: space-between;
}

.cta-block {
  background: #19161b;
  width: 45%;
  padding: 30px;
  margin: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid black;
  transition: transform 0.2s ease;
  border-radius: 6px;
}

.cta-block:hover {
  border: 1px solid #907bff;
  transform: scale(1.02);
}

.cta-block:hover .circle-container {
  background-color: #907bff;
}

.cta-block p,
h2 {
  margin-bottom: 30px;
}

.cta-content-top {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.circle-container {
  width: 80px; /* Adjust size */
  height: 80px;
  background-color: #222; /* Dark background */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  margin-bottom: 45px;
}

/* largetext________________________ */
.largetext {
  padding: 240px 60px;
  min-height: 200px;
}

.largetext img {
  width: 75%;
}

/* stopwatch________________________ */

.stopwatch h2 {
  width: 60%;
  margin-bottom: 45px;
  max-width: 600px;
}

.buttons {
  display: flex;
  flex-direction: row;
  gap: 20px; /* Space between buttons */
}

button {
  padding: 15px 30px;
  background: black;
  border: 1px solid white;
  border-radius: 2px;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px; /* Space between icon and text */
}

button:hover {
  background: rgba(255, 255, 255, 0.8);
  color: black;
  cursor: pointer;
}

/* interest________________________ */
.interest {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 250px 60px;
  min-height: 70vh;
}

spline-viewer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.interest-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  max-width: 600px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.interest-content h3 {
  margin-bottom: 45px;
  text-align: center;
}

/* footer________________________ */

.footer {
  /* background: #19161b; */
  padding: 60px;
  min-height: 20vh;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  min-width: 300px;
}

.footer-content a {
  text-decoration: none;
  color: white;
  transition: color 0.2s ease;
}

.footer-content a:hover {
  color: #907bff;
}

.x-logo {
  width: 16px;
  transition: all 0.2s ease-in-out;
  fill: #fff;
}

.x-logo:hover {
  cursor: pointer;
  scale: 1.5;
  fill: #907bff;
}

/* Add at the top of styles.css after the global styles */
@media screen and (max-width: 768px) {
  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  .section {
    padding: 60px 20px;
  }

  .nav {
    padding: 0 20px;
    height: auto;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .nav-items {
    display: none; /* Hide nav items on mobile */
  }

  .logo {
    margin: 0 auto; /* Center the logo when nav items are hidden */
  }

  .header-actions {
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    width: 90%;
    top: 100px;
    flex-direction: column;
    gap: 15px;
  }

  .header-actions a {
    font-size: 12px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 20px;
    line-height: 1.4;
  }

  #hephaestus {
    width: 90%;
    right: 5%;
    transform: none;
  }

  .stopwatch h2 {
    width: 100%;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
  }

  button {
    width: 100%;
    justify-content: center;
  }

  .interest-content {
    width: 90%;
    padding: 0 20px;
  }

  .scroll-container {
    grid-template-columns: 1fr;
  }

  .scroll-visual {
    position: relative;
    top: 0;
  }

  .largetext img {
    width: 100%;
  }
}
