@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #F2F0EB;
  color:#020016;
  font-family: "Barlow", sans-serif;
}

:root {
  --hero-content-width: 1200px;
}

nav {
  background-color: #080602;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0;
  align-items: center;
  color: rgb(255, 255, 255);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
}

header {
  margin-bottom: 5%;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  padding: clamp(64px, 8vw, 160px) 0;
  gap: 60px;
}
h1 {
  font-size: 4rem;
  line-height: 1.2;
  font-weight: 900;
}
p {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
}
html,
body {
  height: 100%;
  scroll-snap-type: y mandatory;
}

.intro.sections {
  min-height: 100vh;
  scroll-snap-align: start;
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 64px);
  padding-inline: max(24px, calc((100vw - var(--hero-content-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro.sections > #riveCanvas,
.intro.sections > #riveCanvas2,
.intro.sections > #riveCanvas3,
.intro.sections > .section-text {
  flex: 0 0 auto;
}



#riveCanvas,
#riveCanvas2,
#riveCanvas3 {
  width: 400px;
  height: 400px;
  margin-right: 0px;
  transform: none;
  display: block;
}

#riveCanvas {
  transform: translateX(-10px);
}

.cta.sections {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  display: grid;
  place-content: center;
  text-align: center;
  gap: clamp(110px, 4vw, 90px);
  background: #FFB806;
  padding: clamp(48px, 6vw, 96px);
}

.cta.sections::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #FFB806;
  z-index: -1;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.cta h1 {
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 900;
}

.cta p {
  font-size: clamp(2rem, 3vw, 3rem);
}

.cta-actions {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  justify-content: center;
}

.cta-btn {
  background: #0b0a16;
  color: #fff;
  border: 0;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 900;
  font-size: clamp(1rem, 2.4vw, 1rem);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  min-width: 0;
  width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-btn:hover {
  transform: translateY(-2px);
  background-color: #151327;
}

.intro.sections:nth-of-type(2) {
  background: transparent;
  position: relative;
  padding: clamp(24px, 4vw, 64px);
  
}

.intro.sections:nth-of-type(2)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #FFB806;
  z-index: -1;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

/* Remove the two per-section rules below and replace with this unified rule */
.intro.sections .section-text {
  margin-left: 0;
  text-align: left;
  max-width: 620px;
}

.section-text {
  text-align: left;
}

@media (max-width: 468px) {
  html,
  body {
    scroll-snap-type: y mandatory;
  }

  .intro.sections,
  .cta.sections {
    min-height: 100vh;
    width: 100%;
  }

  .intro {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 24px;
  }

  .intro .section-text {
    text-align: center;
    margin-left: 0;
    transform: translateY(-50px);
  }

  .intro h1,
  .intro p {
    text-align: center;
  }

  #riveCanvas,
  #riveCanvas2,
  #riveCanvas3 {
    display: block;
    margin: 0 auto 16px auto;
    width: min(70vw, 220px);
    height: min(70vw, 220px);
    transform: translateY(-50px);
  }

  h1 {
    font-size: clamp(3rem, 10.5vw, 4.2rem);
  }

  p {
    font-size: clamp(1.5rem, 5.8vw, 2.2rem);
  }

  nav {
    display: none;
  }

  .hamburger {
    display: block !important;
  }

  .cta.sections {
    padding: 64px 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .cta-btn {
    width: min(80vw, 280px);
  }
}

@media (min-width: 769px) {
  .cta.sections {
    padding-left: calc(clamp(48px, 6vw, 96px) + 55px);
  }
}

@media (min-width: 2000px) {
  .intro.sections {
    width: min(100%, 2000px);
    gap: clamp(40px, 6vw, 96px);
  }

  
  #riveCanvas,
  #riveCanvas2,
  #riveCanvas3 {
    width: 400px;
    height: 400px;
    transform: none !important;
  }

  .intro h1 {
    font-size: clamp(3rem, 3.4vw, 4.5rem);
  }

  .intro p {
    font-size: clamp(1.4rem, 2.1vw, 2.2rem);
  }

}
.hamburger {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1002;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #cfcfcf;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #9d9d9d;
  color: #111;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.mobile-menu-links a {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: #020016;
  text-decoration: none;
}




.cta-arrow {
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cta-arrow:hover {
  transform: translateY(-4px);
}
