@font-face {
  font-family: "PPNikkei";
  src: url("assets/fonts/PPNikkeiJournal-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "NNPivot";
  src: url("assets/fonts/NNPivotGroteskTRIAL-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "PPNikkeiLight";
  src: url("assets/fonts/PPNikkeiJournal-Light.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  text-decoration: none;
  font-family: "DM Sans";
}

html {
  scroll-behavior: smooth;
}

html,
body,
main {
  margin: 0;
  padding: 0;
  height: 100%;
  line-height: 1;
}

body {
  font-size: 0;
}

main {
  font-size: 16px;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  color: white;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-wrapper {
  width: 100%;
  height: 100%;
  padding-left: 10%;
  padding-right: 10%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px;
  padding-left: 0px;
  padding-right: 0px;
  height: 8rem;
}

.header-container .logo {
  font-family: "NNPivot";
  font-weight: 500;
  font-size: 3em;
}

.header-container .logo:hover {
  cursor: pointer;
}

.header-container nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  backdrop-filter: blur(20px);
  background-color: #fff3;
  border: 1px solid #fff3;
  border-radius: 10rem;
  flex: 0 auto;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.floating-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  backdrop-filter: blur(20px);
  background-color: #fff3;
  border: 1px solid #fff3;
  border-radius: 10rem;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.floating-nav.visible {
  opacity: 1;
  visibility: visible;
}

.floating-nav a {
  letter-spacing: -0.01rem;
  text-transform: none;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  padding: 10px;
  font-size: 0.875rem;
  line-height: 1;
  color: #ffffffb3;
  transition: all 0.2s ease;
}

.floating-nav a:hover {
  color: white;
}

nav a {
  letter-spacing: -0.01rem;
  text-transform: none;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  padding: 10px;
  font-size: 0.875rem;
  line-height: 1;
  color: #ffffffb3;
  transition: all 0.2s ease;
}

nav a:hover {
  color: white;
}

.request-demo-button {
  display: flex;
  align-items: center;
  gap: 9px;
}

.request-demo-button:hover {
  cursor: pointer;
}

.request-demo-button a {
  color: white;
  height: 24px;
  margin-top: 7px;
  text-align: center;
}

.hero-content {
  height: 50%;
  display: flex;
  margin-top: 12.5%;
  align-items: left;
  flex-direction: column;
  gap: 4rem;
}

.hero-content h1 {
  width: 100%;
  font-size: 5.5vw;
  line-height: 1;
  font-family: "PPNikkei";
  font-weight: 200;
}

.hero-content a {
  background-color: #fff3;
  border: 1px solid #fff3;
  margin-top: 0.6rem;
  letter-spacing: -0.01rem;
  object-fit: fill;
  background-color: #fff3;
  border-radius: 4rem;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: white;
  width: fit-content;
  transition: background-color 0.4s ease;
}

.hero-content a:hover {
  background-color: white;
  color: black;
}

.about {
  width: 100%;
  height: 100vh;
  color: white;
  background-color: black;
}

.about-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100vh;
  color: white;
}

.about-text-container {
  width: 50%;
  height: 100%;
  background-color: black;
}

.about-image-container {
  width: 50%;
  height: 100%;
  position: relative;
  clip-path: inset(0 100% 0 0);
}

.about-image-container div {
  position: absolute;
  bottom: 80px;
  right: 80px;
  width: 255px;
  height: 255px;
  border-radius: 30px;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.about-image-container.visible {
  animation: curtain-reveal-right 1s ease 0s 1 normal forwards;
}

.about-image-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about-image-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  color: white;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 1;
  filter: none;
  isolation: isolate;
  contain: layout style paint;
  pointer-events: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.about-text-container {
  padding: 10%;
}

.about-text-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  opacity: 0;
  transform: translateY(150px);
  transition: all 0.8s ease;
}

.about-text-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-text-content h2,
.store-control-container h3,
.shopper-journey-container h3,
.cards h2 {
  font-family: "PPNikkeiLight";
  font-size: 3.75rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 10px;
  margin-top: 10px;
}

.default-text {
  font-family: "DM Sans";
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.3;
  max-width: 30rem;
  margin-bottom: 20px;
}

.store-control {
  min-height: 100vh;
  width: 100%;
  color: white;
  background-color: black;
}

.store-control-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row;
}

.store-control-images {
  width: 50%;
  height: 100%;
  background: linear-gradient(to bottom left, #140f44 0%, #3225aa 100%);
  position: relative;
  opacity: 0;
  transform: translateZ(0);
  will-change: transform;
}

.store-control-images.visible {
  opacity: 1;
  animation: curtain-reveal-left 1s ease 0s 1 normal forwards;
}

.nespresso-container {
  display: flex;
  justify-content: start;
  align-items: start;
  width: 100%;
  padding: 30px;
  padding-top: 40px;
  padding-left: 20px;
}

.nespresso-container img {
  width: 32%;
  height: 30%;
  object-fit: contain;
}

.nespresso-video-wrapper {
  display: flex;
  justify-content: center;
  aspect-ratio: 2 / 3;
  height: 72%;
  min-height: 10vh;
  margin-top: 30px;
  width: 100%;
}

.nespresso-video-wrapper video {
  object-fit: cover;
  border-radius: 25px;
  width: 450px;
  height: 650px;
  padding: 5px;
}

.store-control-container {
  width: 50%;
  height: 100%;
  background-color: black;
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 0.8s ease;
}

.store-control-container.visible {
  opacity: 1;
  animation: fade-in-text 0.8s ease forwards;
}

.store-control-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.store-control-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 61%;
  height: 100%;
  gap: 1.2rem;
  text-align: left;
}

.header-bold {
  color: #5f6fff;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
}

.header-bold p {
  font-family: "PPNikkei";
}

.default-text {
  font-family: "DM Sans";
  line-height: 1.3;
  font-weight: 300;
  font-size: 1.125rem;
  letter-spacing: -0.01rem;
  max-width: 30rem;
  margin-bottom: 20px;
}

.stats p {
  margin-bottom: 0px;
}

.shopper-journey {
  min-height: 100vh;
  width: 100%;
  color: white;
  background-color: black;
}

.shopper-journey-wrapper {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100vh;
  background-color: black;
}

.shopper-journey-container {
  width: 50%;
  height: 100%;
  background-color: black;
}

.shopper-journey-video {
  width: 50%;
  height: 100%;
  background-color: black;
  opacity: 0;
  transform: translateZ(0);
  will-change: transform;
}

.shopper-journey-video.visible {
  opacity: 1;
  animation: curtain-reveal-right 1s ease 0s 1 normal forwards;
}

.shopper-journey-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopper-journey-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: left;
  opacity: 0;
  transform: translateY(150px);
  transition: all 0.8s ease;
}

.shopper-text {
  gap: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 62%;
  height: 100%;
  text-align: left;
}

.shopper-journey-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.shopper-journey-subtitles .header-bold {
  margin-bottom: 20px;
}

.shopper-journey-subtitles .header {
  margin-bottom: 40px;
}

.header.bottom {
  margin-top: 40px;
}

.header.bottom .header-bold {
  margin-bottom: 15px;
}

.cards {
  min-height: 100%;
  width: 100%;
  color: white;
  background-color: black;
}

.cards-wrapper {
  padding-left: 10%;
  padding-right: 8%;
}

.cards h2 span {
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(#333dea, #333dea);
  -webkit-background-clip: text;
  background-clip: text;
}

.cards h2 {
  margin-bottom: 0;
  margin-top: 0;
  width: 100%;
  text-align: center;
  padding: 40px;
  padding-top: 130px;
  opacity: 0;
  transform: translateY(150px);
  transition: all 0.8s ease;
}

.cards h2.visible {
  opacity: 1;
  transform: translateY(0);
  animation: fade-in-text 0.8s ease forwards;
}

.cards-container {
  display: grid;
  grid-auto-columns: 1fr;
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 2rem;
}

.card {
  border: 1px solid #fff3;
  border-radius: 20px;
  position: relative;
  width: 100%;
  padding: 2.5rem;
  aspect-ratio: 1;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
}

.card.visible:hover {
  transform: translateY(-10px);
}

.card p {
  z-index: 1;
  width: 80%;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.1;
  position: relative;
  font-family: "Sora";
}

.card-image {
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
  vertical-align: middle;
}

.partner-cards-section {
  width: 100%;
  height: 100vh;
  background-color: black;
  padding-top: 8rem;
  padding-bottom: 8rem;
  z-index: 1000000;
}

.partner-cards-title {
  width: 100%;
  text-align: center;
  margin-bottom: 80px;
  margin-top: 50px;
  opacity: 0;
  transform: translateY(150px);
  transition: all 0.8s ease;
}

.partner-cards-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.partner-cards-title h3 {
  font-family: "PPNikkeiLight";
  font-size: 3.75rem;
  font-weight: 300;
  line-height: 1.1;
}

.partner-cards-container {
  width: calc(100% + 18%);
  margin-left: calc(-10%);
  overflow-x: scroll;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  overflow-y: hidden;
  padding: 25px;
  padding-left: 10%;
  padding-right: 8%;
  scrollbar-width: none;
  z-index: 1000000;
  scrollbar-color: #333dea transparent;
}

.partner-cards-container::-webkit-scrollbar {
  height: 8px;
}

.partner-cards-container::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}

.partner-cards-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #333dea 0%, #a576ff 100%);
  border-radius: 4px;
  border: none;
}

.partner-cards-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #5f6fff 0%, #b68aff 100%);
}

.partner-card {
  background: #140f44;
  background: linear-gradient(
    132deg,
    rgba(20, 15, 68, 1) 0%,
    rgba(51, 61, 234, 1) 52%,
    rgba(51, 61, 234, 1) 57%
  );
  border-radius: 20px;
  flex-direction: column;
  min-width: 25rem;
  padding: 3.125rem;
  display: flex;
  font-family: "Sora";
}

.partner-card-text {
  margin-bottom: 0;
  padding-top: 2.5rem;
  font-family: Sora Variablefont Wght, sans-serif;
  font-size: 1.3rem;
  letter-spacing: -0.01rem;
  line-height: 1.3;
  font-weight: 300;
}

.partner-card-img img {
  max-width: 130px;
}

.partner-card-img.ampm img {
  max-width: 80px;
}

.purple-highlight {
  background-image: linear-gradient(#a576ff, #a576ff);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blue-highlight {
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(#333dea, #333dea);
  -webkit-background-clip: text;
  background-clip: text;
}

.demo {
  width: 100%;
  background-image: linear-gradient(148deg, #140f44, #333dea 59%);
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: white;
  overflow-x: hidden;
}

.demo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 10%;
}

.demo-content {
  width: 50%;
  opacity: 0;
  transform: translateY(150px);
  transition: all 0.8s ease;
}

.demo-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-img {
  width: 60%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s ease;
}

.demo-img.visible {
  opacity: 1;
  transform: translateX(0);
}

.demo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-content {
  display: flex;
  flex-direction: column;
  flex: content;
  gap: 40px;
  margin-bottom: 100px;
}

.demo-content button {
  width: fit-content;
  padding: 1.25rem 2rem;
  border: 1px solid #fff;
  border-radius: 100rem;
  background-color: transparent;
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: all 0.4s;
}

.demo-content button:hover {
  backdrop-filter: blur(20px);
  background-color: #ffffff1a;
  border: 1px solid #fff3;
}

.demo-content h3 {
  letter-spacing: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: "PPNikkeiLight";
  font-size: 3.75rem;
  font-weight: 300;
  line-height: 1.1;
}

@keyframes fade-in-text {
  0% {
    opacity: 0;
    transform: translateY(150px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes curtain-reveal-right {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0% 0 0);
  }
}

@keyframes curtain-reveal-left {
  0% {
    clip-path: inset(0 0 0 100%);
  }
  100% {
    clip-path: inset(0 0 0 0%);
  }
}

footer {
  position: relative;
  background-color: black;
  color: white;
  padding: 80px 10% 40px 10%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-family: "NNPivot";
  font-size: 2.5rem;
  font-weight: 500;
  color: white;
}

.footer-tagline {
  font-family: "DM Sans";
  font-size: 1rem;
  font-weight: 300;
  color: #ffffffb3;
  line-height: 1.3;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-title {
  font-family: "DM Sans";
  font-size: 1.6rem;
  font-weight: 400;
  color: #fffc;
  margin-bottom: 8px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  font-family: "DM Sans";
  font-size: 1em;
  font-weight: 300;
  color: #ffffffb3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item:hover {
  color: white;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid #fff1;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: opacity 0.2s ease;
}

.footer-social-icon:hover {
  opacity: 0.7;
  cursor: pointer;
}

.footer-social-icon svg {
  width: 24px;
  height: 24px;
}

.footer-copyright {
  font-family: "DM Sans";
  font-size: 1.1rem;
  font-weight: 300;
  color: #ffffffb3;
}

.mobile-menu-icon {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.mobile-menu-icon svg {
  width: 100%;
  height: 100%;
  fill: white;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-overlay.active {
  transform: translateY(0);
}

.mobile-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.mobile-overlay-logo {
  font-family: "NNPivot";
  font-weight: 500;
  font-size: 3rem;
  color: white;
}

.mobile-close-icon {
  cursor: pointer;
  width: 36px;
  height: 36px;
}

.mobile-close-icon svg {
  width: 100%;
  height: 100%;
  fill: white;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-links a {
  font-family: "DM Sans";
  font-size: 1.5rem;
  font-weight: 300;
  color: #ffffffb3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover {
  color: white;
}

.mobile-floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: black;
  z-index: 1500;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-floating-nav.visible {
  opacity: 1;
  visibility: visible;
}

.mobile-floating-logo {
  font-family: "NNPivot";
  font-weight: 500;
  font-size: 2.5rem;
  color: white;
}

@media (max-width: 1000px) and (min-width: 768px) {
  .header-container nav,
  .request-demo-button,
  .floating-nav {
    display: none !important;
  }

  .hero-content h1 {
    font-size: 10vw;
  }

  .hero-content a {
    margin-top: 2.5rem;
  }

  .about-image-container div {
    position: absolute;
    bottom: 40px;
    right: 40px;
    border-radius: 30px;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
  }

  .about-image-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    color: white;
    will-change: transform;
    transform: translateZ(0);
  }

  .mobile-menu-icon,
  .mobile-floating-nav {
    display: flex;
  }

  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  .hero-wrapper {
    padding-left: 5%;
    padding-right: 5%;
  }

  .header-container {
    padding: 20px 0;
    padding-left: 5px;
    padding-top: 38px;
    height: auto;
  }

  .hero-content {
    margin-top: 22%;
    gap: 1.9em;
    padding-left: 5px;
  }

  .about {
    height: auto;
    min-height: 145vh;
  }

  .about-container {
    flex-direction: column;
    height: 145vh;
    min-height: 145vh;
  }

  .about-image-container {
    width: 100%;
    height: 75vh;
    min-height: 75vh;
  }

  .about-text-container {
    height: 75vh;
    width: 100%;
    min-height: 75vh;
  }

  .about-image-container {
    order: -1;
  }

  .about-text-container {
    min-height: 60vh;
  }

  .store-control-wrapper {
    flex-direction: column;
    height: 140vh;
    min-height: 145vh;
  }

  .store-control-images {
    width: 100%;
    height: 70vh;
    order: -1;
  }

  .store-control-container {
    width: 100%;
    height: auto;
    min-height: 75vh;
  }

  .store-control-content {
    margin-left: 0;
    width: 100%;
    padding: 8%;
    padding-right: 6%;
    justify-content: flex-start;
    padding-top: 9rem;
    padding-bottom: 9rem;
    gap: 1.4rem;
  }

  .store-control-text {
    width: 90%;
  }

  .store-control-text .default-text {
    max-width: none;
  }

  .nespresso-video-wrapper {
    height: 65%;
    margin-top: 0px;
  }

  .nespresso-video-wrapper video {
    width: 280px;
    height: 420px;
  }

  .shopper-journey-wrapper {
    flex-direction: column;
    height: 145vh;
    min-height: 145vh;
  }

  .shopper-journey-container,
  .shopper-journey-video {
    width: 100%;
    height: 75vh;
  }

  .shopper-text {
    width: 90%;
    padding-top: 10rem;
    padding-bottom: 6rem;
  }

  .shopper-journey-video {
    order: -1;
  }

  .shopper-journey-content {
    margin-left: 0;
    width: 100%;
    padding: 8%;
    padding-right: 6%;
    justify-content: flex-start;
    padding-top: 9rem;
    padding-bottom: 9rem;
    gap: 1.4rem;
    align-items: flex-start;
  }

  .shopper-journey-container {
    height: auto;
    min-height: 55vh;
  }

  .cards-wrapper {
    padding-left: 21%;
    padding-right: 21%;
  }

  .cards-container {
    grid-template-columns: 1fr;
    grid-row-gap: 2.1rem;
    margin-top: 1rem;
  }

  .partner-cards-section {
    height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .partner-cards-container {
    width: 100vw;
    margin-left: -30%;
  }

  .partner-card {
    min-width: 20rem;
    padding: 2rem;
  }

  .partner-card-text {
    padding-top: 1.5rem;
  }

  .demo-container {
    flex-direction: column-reverse;
    padding-left: 0;
    gap: 30px;
    text-align: center;
  }

  .demo-content,
  .demo-img {
    width: 100%;
  }

  .demo-img {
    order: -1;
    margin-bottom: 2rem;
  }

  .demo-content {
    justify-content: center;
    gap: 0;
    padding-left: 7%;
    padding-right: 7%;
    margin-bottom: 0;
    padding-top: 4rem;
  }

  .demo-content button {
    font-size: 1.25rem;
    width: 100%;
  }

  footer {
    padding: 40px 5% 20px 5%;
  }

  .footer-container {
    flex-direction: column;

    gap: 2rem;
    margin-bottom: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .about-text-container {
    min-height: 400px;
    padding-left: 7%;
    padding-right: 7%;
    display: flex;
    justify-content: center;
  }

  .about-text-content h2,
  .store-control-container h3,
  .shopper-journey-container h3,
  .cards h2 {
    font-size: 52px;
  }
}

@media (max-width: 768px) {
  .header-container nav,
  .request-demo-button,
  .floating-nav {
    display: none !important;
  }

  .partner-cards-container {
    width: 100vw;
    margin-left: calc(-8% - 25px);
    padding-left: 8%;
    padding-right: 6rem;
  }

  .about-image-container div {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 160px;
    height: 160px;
    border-radius: 30px;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
  }

  #card-section-title {
    padding-top: 50px;
  }

  .about-image-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    color: white;
    will-change: transform;
    transform: translateZ(0);
  }

  .mobile-menu-icon,
  .mobile-floating-nav {
    display: flex;
  }

  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  .hero-wrapper {
    padding-left: 5%;
    padding-right: 5%;
  }

  .header-container {
    padding: 20px 0;
    padding-left: 5px;
    padding-top: 38px;
    height: auto;
  }

  .header-container .logo {
    font-size: 11vw;
  }

  .hero-content {
    margin-top: 14%;
    gap: 1.9em;
    padding-left: 5px;
  }

  .hero-content a {
    background-color: #ffffff1a;
    margin-top: 3rem;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 1.2rem 2.5rem;
  }

  .about {
    height: auto;
    min-height: 120vh;
  }

  .about-container {
    flex-direction: column;
    height: 120vh;
    min-height: 120vh;
  }

  .shopper-text {
    width: 90%;
    padding-top: 0rem;
    padding-bottom: 0rem;
  }

  .about-image-container {
    width: 100%;
    height: 60vh;
    min-height: 60vh;
  }

  .about-text-container {
    height: 60vh;
    width: 100%;
    min-height: 60vh;
  }

  .about-image-container {
    order: -1;
    clip-path: inset(100% 0 0 0);
  }

  .about-image-container.visible {
    animation: curtain-reveal-right 1s ease 0s 1 normal forwards;
  }

  .about-text-container {
    min-height: 60vh;
  }

  .about-text-content h2,
  .store-control-container h3,
  .shopper-journey-container h3,
  .cards h2 {
    font-size: 36px;
  }

  .store-control-wrapper {
    flex-direction: column;
    height: auto;
  }

  .store-control-images {
    width: 100%;
    height: 65vh;
    order: -1;
    clip-path: inset(100% 0 0 0);
  }

  .store-control-container {
    width: 100%;
    height: auto;
    min-height: 50vh;
  }

  .store-control-images.visible {
    animation: curtain-reveal-left 1s ease 0s 1 normal forwards;
  }

  .store-control-content {
    margin-left: 0;
    width: 100%;
    padding: 8%;
    padding-right: 6%;
    justify-content: flex-start;
    padding-top: 5rem;
    padding-bottom: 5rem;
    gap: 1.4rem;
  }

  .nespresso-video-wrapper {
    height: 65%;
    margin-top: 0px;
  }

  .nespresso-video-wrapper video {
    width: 200px;
    height: 320px;
  }

  .nespresso-container img {
    width: 45%;
  }

  .shopper-journey-wrapper {
    flex-direction: column;
    height: auto;
  }

  .shopper-journey-content {
    align-items: flex-start;
  }

  .shopper-journey-container,
  .shopper-journey-video {
    width: 100%;
    height: 65vh;
  }

  .shopper-journey-video {
    order: -1;
    clip-path: inset(100% 0 0 0);
  }

  .shopper-journey-video.visible {
    animation: curtain-reveal-right 1s ease 0s 1 normal forwards;
  }

  .shopper-journey-content {
    margin-left: 0;
    width: 100%;
    padding: 8%;
    padding-right: 6%;
    justify-content: flex-start;
    padding-top: 5rem;
    padding-bottom: 5rem;
    gap: 1.4rem;
  }

  .shopper-journey-container {
    height: auto;
    min-height: 55vh;
  }

  .cards-wrapper {
    padding-left: 8%;
    padding-right: 8%;
  }

  .card-title-container {
    padding-top: 20px;
    font-size: 40px;
    padding-left: 25px;
    padding-right: 25px;
  }

  .cards-container {
    grid-template-columns: 1fr;
    grid-row-gap: 2.1rem;
    margin-top: 1rem;
  }

  .card {
    padding: 2rem;
    aspect-ratio: 1.2;
  }

  .card p {
    font-size: 1.5rem;
    width: 90%;
  }

  .partner-cards-section {
    height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .partner-cards-title h3 {
    font-size: 2.5rem;
  }

  .partner-card {
    min-width: 20rem;
    padding: 2rem;
  }

  .partner-card-text {
    font-size: 1.1rem;
    padding-top: 1.5rem;
  }

  .demo-container {
    flex-direction: column-reverse;
    padding-left: 0;
    gap: 30px;
    text-align: center;
  }

  .demo-content,
  .demo-img {
    width: 100%;
  }

  .demo-img {
    order: -1;
    margin-bottom: 2rem;
  }

  .demo-content h3 {
    font-size: 2.5rem;
  }

  .demo-content {
    justify-content: center;
    gap: 20px;
    padding-left: 7%;
    padding-right: 7%;
    margin-bottom: 50px;
    padding-top: 4rem;
  }

  .demo-content button {
    font-size: 1.25rem;
    width: 100%;
  }

  footer {
    padding: 40px 5% 20px 5%;
  }

  .footer-container {
    flex-direction: column;

    gap: 2rem;
    margin-bottom: 30px;
  }

  .footer-logo {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .store-control-text {
    width: 100%;
  }
}

@keyframes curtain-reveal-top {
  0% {
    clip-path: inset(100% 0 0 0);
  }
  100% {
    clip-path: inset(0% 0 0 0);
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 14vw;
  }

  .about-text-container {
    min-height: 400px;
    padding-left: 7%;
    padding-right: 7%;
    display: flex;
  }

  .default-text {
    color: #ffffffb3;
    font-size: 18px;
  }

  .header-bold {
    font-size: 22px;
    font-family: "PPNikkei";
  }

  .about-text-content h2,
  .store-control-container h3,
  .shopper-journey-container h3,
  .cards h2,
  .demo-content h3 {
    font-size: 36px;
  }

  .partner-cards-title h3 {
    font-size: 2rem;
  }

  .card p {
    font-size: 1.3rem;
  }
}
