@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins: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");
@font-face {
  font-family: 'Aeonik';
  src: url('https://cdn.jsdelivr.net/gh/MonumentType/Aeonik@main/fonts/Aeonik-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik';
  src: url('https://cdn.jsdelivr.net/gh/MonumentType/Aeonik@main/fonts/Aeonik-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik';
  src: url('https://cdn.jsdelivr.net/gh/MonumentType/Aeonik@main/fonts/Aeonik-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik';
  src: url('https://cdn.jsdelivr.net/gh/MonumentType/Aeonik@main/fonts/Aeonik-Bold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

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

body {
  font-family: 'Aeonik', 'Inter', sans-serif;
  background: #f5f5f5;
  overflow: hidden;
}

.gradient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 60px 60px 60px;
  position: relative;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0;
  margin-bottom: 40px;
  padding: 0 20px;
}

.logo {
  font-size: 32px;
  font-weight: 600;
  margin-left: -20px;
  color: #000;
  letter-spacing: 2px;
  font-family: "Aeonik";
}

.tagline {
  font-size: 38px;
  font-weight: 400;
  color: #000;
  line-height: 42px;
  width: 600px;
  align-items: center;
  justify-self: center;
  font-family: "Aeonik";
}

.nav-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  white-space: nowrap;
  justify-self: end;
}

.wave-toggle {
  cursor: pointer;
  padding: 8px;
  transition: transform 0.2s ease;
  color: #000;
}

.wave-toggle:hover {
  transform: scale(1.1);
}

.wave-toggle svg {
  transition: all 0.3s ease;
}

.wave-toggle.straight #wavePath {
  d: path("M2 8 L22 8");
}

@keyframes waveAnimation {
  0% {
    d: path("M2 8 Q6 2, 10 8 T18 8 T22 8");
  }
  50% {
    d: path("M2 8 Q6 14, 10 8 T18 8 T22 8");
  }
  100% {
    d: path("M2 8 Q6 2, 10 8 T18 8 T22 8");
  }
}

.wave-toggle:not(.straight) #wavePath {
  animation: waveAnimation 2s ease-in-out infinite;
}

.btn-talk {
  background: #000;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s;
  position: relative;
  font-family: "Aeonik-Bold";
}

.btn-talk {
  display: flex;
  align-items: center;
  font-family: inherit;
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
  padding: 0.8em 1.3em 0.8em 0.9em;
  color: white;
  background: #b4b4b4;
  background: linear-gradient(to right, #2b2b2b, #656566, #414141);
  border: none;
  letter-spacing: 0.05em;
  border-radius: 16px;
}

.btn-talk svg {
  margin-right: 3px;
  transform: rotate(30deg);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.btn-talk span {
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.btn-talk:hover svg {
  transform: translateX(5px) rotate(90deg);
}

.btn-talk:hover span {
  transform: translateX(7px);
}

.btn-menu {
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: #000;
  font-family: "Aeonik";
}

.btn-menu::after {
  content: "••";
  margin-left: 8px;
  font-size: 16px;
}



.scene-container {
  flex: 1;
  position: relative;
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
}

#scene {
  width: 100%;
  height: 100%;
  display: block;
}

.scroll-indicator {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 40px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  z-index: 1000;
  opacity: 1;
  background: rgba(245, 245, 245, 0.9);
  margin: -10px 0;
  padding: 10px 20px;
  border-radius: 25px;
}

.scroll-indicator span:first-child,
.scroll-indicator span:nth-child(2),
.scroll-indicator span:nth-child(4),
.scroll-indicator span:last-child {
  font-size: 20px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .container {
    padding: 20px;
    gap: 20px;
  }

  .nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px;
    text-align: left;
    margin-bottom: 20px;
    align-items: start;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .tagline {
    grid-column: 1;
    grid-row: 2;
  }

  .nav-buttons {
    grid-column: 2;
    grid-row: 1;
  }

  .logo {
    font-size: 24px;
    margin-left: -20px;
  }

  .tagline {
    font-size: 24px;
    margin-top: -20px;
    margin-left: -35px;
    width: 100%;
    font-weight: 300;
    line-height: 1.2;
  }

  .nav-buttons {
    justify-self: end;
    align-self: start;
  }

  .btn-talk,
  .btn-menu {
    display: none;
  }

  .wave-toggle::after {
    content: "••";
    font-size: 20px;
    margin-left: 8px;
  }

  .btn-talk {
    padding: 12px 24px;
    font-size: 12px;
  }

  .btn-menu {
    font-size: 14px;
  }

  .scene-container {
    border-radius: 15px;
    height: 250px;
  }

  /* #scene {
    height: 200px;
  } */

  .scroll-indicator {
    gap: 20px;
    font-size: 10px;
    padding: 8px 16px;
    bottom: 15px;
  }


  .scroll-indicator span:nth-child(2),
  .scroll-indicator span:nth-child(4){
    font-size: 16px;
  }
    .scroll-indicator span:first-child,
      .scroll-indicator span:last-child {
        display: none;
      }


}

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 30px 40px;
  }

  .nav {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }

  .logo {
    font-size: 28px;
  }

  .tagline {
    font-size: 36px;
    margin-left: 60px;
  }

  .nav-buttons {
    gap: 15px;
  }

  .btn-talk {
    padding: 14px 28px;
    font-size: 13px;
  }

  .scene-container {
    border-radius: 18px;
  }
}
