@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Inter:wght@400;500&family=Libre+Baskerville:wght@400;700&display=swap");

body {
  font-family: "Onest", sans-serif;
  background-color: #0d0d0d;
  overflow-x: hidden;
  background-color: var(--color-background);
  margin: 0;
  padding: 0;
  width: 100%;
  
}

html {
  overflow-x: hidden;
  width: 100%;
}
/* 
body {
  margin: 0;
  padding: 0;
  font-family: "Onest", sans-serif;
  font-weight: bold;
  background-color: #0d0d0d;
  margin: 10%;
}
 */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  height: 90vh;
  width: 100%;
  overflow-x: hidden;
  padding: 0 0px;
  box-sizing: border-box;
}

.container-spacer {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 35vh;
  width: 90%;
  overflow-x: hidden;
  padding: 0 0px;
  box-sizing: border-box;
}

.text {
  font-size: 10vw;
  letter-spacing: -0.01em;
  line-height: 100%;
  margin: 0;

  width: 100%;
  color: rgb(182, 182, 182, 0.2);
  background: linear-gradient(to right, #b6b6b6, #b6b6b6) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 0%;
  transition: background-size cubic-bezier(0.1, 0.5, 0.5, 1) 0.5s;

  /* border-bottom: 1px solid #2f2b28; */

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  position: relative;
}

span {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #f09937;
  color: #0d0d0d;

  clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
  transform-origin: center;
  transition: all cubic-bezier(0.1, 0.5, 0.5, 1) 0.4s;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.text:hover > span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

a {
  text-decoration: none;
  color: inherit;
}

/* circle-begin */
:root {
  /* Color Palette */
  --color-primary-dark: #5b5a36;
  --color-primary-light: #a4a073;
  --color-background: #000000;
  --color-text-primary: #18191a;
  --color-text-secondary: rgba(24, 25, 26, 0.75);
  --color-text-muted: rgba(24, 25, 26, 0.5);
  --speed: 0.24s;
  --easing: ease-in-out;
  --offset: 12;
}

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

/* First section - COLORS REVERSED */
.section-first {
  height: 30vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  color: var(--color-primary-light);
  background-color: var(--color-background);
  font-size: 2rem;
}

/* Circles section */
.section-circles {
  height: 80vh;
  position: relative;
}

/* Last section */
.section-last {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-background);
  background-color: #d4d4d4;
  font-size: 2rem;
}

/* Circles container */
.circles-container {
  width: 100%;
  height: 150vh;
  position: sticky;
  top: 0;
  background-color: var(--color-background);
  display: flex;

}

.layer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  clip-path: circle(0% at 50% 50%);
  color: var(--color-background);
  font-size: 2rem;
}

/* Circle colors based on the provided color palette */
/* .gradient-01 {
  background-color: var(--color-primary-light);
}

.gradient-02 {
  background-color: var(--color-text-secondary);
}

.gradient-03 {
  background-color: var(--color-text-primary);
}
 */
.gradient-04 {
  background-color: #d4d4d4;
}

/* Indicator styles with animation setup */
.section-indicators {
  position: fixed;
  left: 5%;
  top: 10%;
  transform: translateY(-50%);
  display: flex;
  z-index: 1;
  opacity: 0; /* Start hidden */
  pointer-events: none; /* Don't interfere with clicks */
}

.indicator-group {
  margin-right: 1px;
}

.indicator-title {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}

.indicator-items {
  display: flex;
  flex-direction: column;
}

.indicator-item {
  font-size: 1rem;
  color: white;
  opacity: 0.3;
  margin-bottom: 8px;
  height: 1.5em;
  line-height: 1.5em;
  transition: all 0.3s ease;
}

.indicator-item.active {
  opacity: 1;
}

/* Debug element for development */
.debug-info {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  font-size: 12px;
  z-index: 1000;
  display: block;
}

/* SVG Symbol Library - Hidden */
.symbol-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Navigation Container */
.nav-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  padding: 0 0px;
}

/* Individual Nav Items */
.nav-item {
  position: relative;
  z-index: 1;
  display: inline-block;
  text-decoration: none;
  color: #000000;
  font-size: 36px;
  font-weight: 600;
  padding: 5px 0;
  transition: color var(--speed) ease, transform var(--speed) var(--easing);
  font-family: "whirly birdie", PP Neue Montreal, Arial, sans-serif;
  font-variation-settings: "wght" 80, "wdth" 96;

}

.nav-item:hover {
  transform: scale(1.05);
  color: #e55050;
}

/* Underline SVG Container */
.underline-svg {
  --path-distance: var(--offset, 10);
  position: absolute;
  bottom: calc(var(--path-distance) * 1px); //-5px;
  left: 0;
  width: 100%;
  height: 21px;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
}

.underline-svg svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
}

.underline-svg path {
  stroke: currentColor;
  stroke-width: 10;
  stroke-linecap: round;
  fill: none;
  --path-length: 1000;
  stroke-dasharray: var(--path-length);
  stroke-dashoffset: var(--path-length);
  z-index: 0;
}

/* Draw-in animation */
@keyframes drawIn {
  0% {
    stroke-dashoffset: var(--path-length);
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Draw-out animation */
@keyframes drawOut {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: calc(var(--path-length) * -1);
  }
}

/* Hover Animation States */
.nav-item:hover .underline-svg {
  opacity: 1;
}

.nav-item:hover .underline-svg path {
  animation: drawIn calc(var(--speed) * 2) cubic-bezier(0.25, 0.46, 0.45, 0.94)
    forwards;
}

.nav-item:not(:hover) .underline-svg path {
  animation: drawOut 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.1s;
}

/* Demo Styling */
.demo-section {
  margin-bottom: 0px;
  max-width: min(60vw, 100%);
  margin-inline: auto;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.demo-title {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}


/* Logo */
.g0v-link {
  width: 20vw;
  padding: 8px;
  align-items:center;
}

@media screen and (max-width: 1024px) {
  .g0v-link {
    width: 45vw;
  }
  .section-first {
  height: 30vh;
}
  .container-spacer {
    height: 10vh;
  }
  .container {
    height: 50vh;
  }
  .section-circles {
  height: 80vh;
  }
  .section-last {
  height: 60vh;
  }
  .circles-container {
  height: 120vh;
  }
  .reveal {
    height: 30vh;
    margin-top: 80%;
  }
  .reveal-cta {
    height: 1vh;
    margin-top: %;
  }
  .nav-item {
    font-size: 24px;
  }


}

.g0v-link svg {
  width: 100%;
}


.reveal {
    height: 100vh;
    color: #FFFFFF;
    margin-top: 20%;
    padding: 0 clamp(4rem, 12vw, 20rem);
    display: grid;
    align-items: flex-start;
    justify-content: center;


    p {
        font-size: clamp(2rem, 5vw, 8rem);
    }

    &:nth-of-type(1) {
        border-bottom: 1px solid black;
    }

    &:nth-of-type(3) {
        background: #ffff00;
    }

    &:nth-of-type(4) {
        background: rgb(29, 29, 29);
        color: white;
    }
}

.reveal-cta {
    height: 100vh;
    color: #FFFFFF;
    margin-top: 20%;
    padding: 0 clamp(4rem, 12vw, 20rem);
    display: grid;
    align-items: center;
    justify-content: center;


    p {
        font-size: clamp(2rem, 5vw, 8rem);
    }

    &:nth-of-type(1) {
        /* border-bottom: 1px solid black; */
    }

    &:nth-of-type(3) {
        background: #ffff00;
    }

    &:nth-of-type(4) {
        background: rgb(29, 29, 29);
        color: white;
    }
}

/* scroll down indicator */

.arrow-container {
  width: 25px;
  margin-right: 5%;
  animation: bounce 1600ms infinite cubic-bezier(0.445, 0.05, 0.55, 0.95);
  cursor: pointer;
  height: 20px;
}

.arrow-down {
  height: 6px;
  background: #FFFFFF;
  transform: rotate(45deg);
  transform-origin: 0% 0%;
  border-radius: 5px;
}
.arrow-down:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 100%;
  border-radius: 5px;
  background: #FFFFFF;
  transform: rotate(-90deg);
  transform-origin: 0% 100%;
}

@keyframes bounce {
50% {
    transform: translateY(-15px);
  }
}

/* footer */

@import url("https://fonts.googleapis.com/css?family=IBM%20Plex%20Sans:500|IBM%20Plex%20Sans:300");

:root {
  --m: 4rem;
}


h3 {
  font-weight: 500;
  color:#000000;
  font-size: calc(0.6 * var(--m));
  margin: 0;
}

.card {
  height: calc(8 * var(--m));
  width: calc(12 * var(--m));
  background: linear-gradient(120deg, #ff8064, #725bdc);
  color: black;
  border-radius: calc(0.5 * var(--m));

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--m);

  position: fixed;
  margin: calc(2 * var(--m)) calc(5 * var(--m)) calc(5 * var(--m))
    calc(5 * var(--m));
}


footer {
  /* margin-top: 80vh; */
  z-index: 500;
  width: 100%;
  height: 10vh;

  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-end;
  padding: 5rem 2vw;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgb(255, 255, 255) 5%,
    rgb(255, 255, 255) 20%,
    rgba(255, 255, 255) ) 30%,
    rgba(255, 255, 255)  40%,
    rgb(255, 255, 255)  50%,
    rgb(255, 255, 255) 
  );
  z-index: -7;
}

.backdrop {
  z-index: -5;
  position: absolute;
  inset: 0;

  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);

  mask-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5) 10%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 1) 30%,
    rgb(0, 0, 0)
  );

  -webkit-mask-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5) 10%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 1) 30%,
    rgb(0, 0, 0)
  );
}

.col {
  /* flex-direction: row; */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: calc(0.3 * var(--m)) calc(0.8 * var(--m));
  width: 28%;
}

.col2,
.col3 {
  background-color: #FFFFFF;
  border-radius: calc(0.5 * var(--m));
}

img {
  height: calc(0.3 * var(--m));
  object-fit: cover;
}

.social {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.link {
  width: calc(0.8 * var(--m));
  height: calc(0.8 * var(--m));
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: calc(0.1 * var(--m));

  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1000px) {
  :root {
    --m: 3rem;
  }
}

@media screen and (max-width: 700px) {
  footer {
    flex-direction: column;
    padding: 5rem 20vw;
  }
  .col {
    width: 100%;
  }
}
