/* ================= RESET ================= */

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

html,
body {
  width: 100%;
  height: 100%;
  /* Base font size scales slightly with width for general UI balance */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #EFEFEF;
  overflow-x: hidden;
  padding-top: 1%;
}

/* ================= TOP BAR ================= */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: 10%;
  /* Reference: 48px padding / 1920px screen = ~2.5vw */
  padding-left: 1%;
  padding-right: 1%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #EFEFEF;

  z-index: 1000;
  pointer-events: auto;
}

/* Logo */
.top-bar__logo {
  /* Logo height relative to bar height to ensure it fits */
  height: 100%;
  width: auto;
}

/* Download Button */
.top-bar__btn {
  /* Dynamic padding based on vw/vh */
  padding-left: 4%;
  padding-right: 4%;
  padding-top: 1.3%;
  padding-bottom: 1.3%;
  border-radius: 999px;

  background: transparent;
  border: 2px solid #8728E1;

  color: #8728E1;
  font-size: 100%;
  font-weight: bolder;
  letter-spacing: 0.5vh;
  white-space: nowrap;

  cursor: pointer;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

/* Hover Effect */
.top-bar__btn:hover {
  background: #8728E1;
  color: #ffffff;
}


/* ================= HERO ================= */

.hero-scene {
  position: relative;
  width: 100%;
  height: 100%;
  background: #EFEFEF;
  overflow: hidden;
}

.hero-title {
  padding-top: 7%;
  padding-left: 6%;
  position: absolute;
  font-size: clamp(60px, 6.7vw, 130px);
  font-weight: 700;
  letter-spacing: 2vh;
  color: #8728E1;
  line-height: 1;

  z-index: 3;
}

/* ===== SHARED CONTAINER LOGIC ===== */

.hero-container,
.customization-container {
  position: absolute;
  /* Use percentage margins to maintain the "gap" look */
  left: 1vw;
  right: 1vw;
  bottom: 2vh; /* Slight lift from bottom */

  /* Reference: 500px height / 866px = ~58vh */
  height: 50%;
  border-radius: 40px;

  background-color: #F0E5FB;
  background-image: url("assets/images/pattern/bg-pattern.png");
  background-repeat: repeat;
  /* Pattern size also scales */
  background-size: clamp(600px, 50vw, 1000px);

  box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;

  z-index: 1;
}

/* ===== HERO CONTENT ===== */

.hero-container__content {
  height: 100%;
  padding: clamp(24px, 3vw, 36px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  position: relative;
  z-index: 2;
}

.hero-description {
  max-width: 60%;
  font-size: 3vh;
  line-height: 1.65;
  color: #1c1c1c;
}

.hero-store {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: clamp(14px, 1vw, 18px);
  color: #1c1c1c;
}

.hero-store img {
  width: clamp(28px, 2vw, 34px);
  height: auto;
}

.hero-phone {
  position: absolute;
  /* Reference: 160px right / 1920px = ~8vw */
  padding-left: 55%;
  
  bottom: 0;


  /* Reference: 880px height / 866px = ~100vh (Allows slight overflow) */
  height: 90%;
  width: auto;
  z-index: 3;
}

/* ================= CUSTOMIZATION ================= */

.customization-section {
  position: relative;
  width: 100%;
  height: 100%;
  background: #EFEFEF;
  overflow: hidden;
}

.customization-title {
  padding-top: 7%;
  padding-left: 6%;
  position: absolute;
  font-size: clamp(50px, 6.7vw, 130px);
  font-weight: 700;
  letter-spacing: 2vh;
  color: #8728E1;
  line-height: 1;

  z-index: 2;
}


/* ===== CUSTOMIZATION CONTENT ===== */

.customization-container__content {
  height: 100%;
  padding: clamp(24px, 3vw, 36px);

  display: flex;
  align-items: flex-start;
  position: relative;
}

.customization-text {
  /* Constrain width so it doesn't hit the phone on smaller laptops */
  max-width: 40vw;
  z-index: 2;
  margin-top: 2vh;
}

.customization-description {
  max-width: 100%;
  font-size: 3vh;
  line-height: 1.65;
  color: #1c1c1c;
}

.customization-btn {
  padding: 2% 6%;
  border-radius: 999px;
  border: 1.5px solid #1c1c1c;
  background: transparent;
  font-size: 2vh;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 10%;
}

.customization-btn:hover {
  background: #1c1c1c;
  color: #ffffff;
}

/* ===== MOCKUP ===== */

.customization-mockup {
  position: absolute;
  padding-left: 55%;
  bottom: -1vh;
  z-index: 4;

  height: 90%;
}


.customization-mockup img {
  /* Reference: 760px height / 866px = ~87vh */
  height: clamp(500px, 87vh, 800px);
  object-fit: contain;
}

/* ================= STICKER SECTION ================= */

.sticker-section {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 700px;
  background: #EFEFEF;
  overflow: hidden;
}

.sticker-title {
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: 10%;

  font-size: clamp(50px, 6.7vw, 130px);
  font-weight: 700;
  color: #8728E1;

  white-space: nowrap;
  text-align: center;
  width: auto;

  z-index: 2;
}


/* ===== Wrapper ===== */

.sticker-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 7vw, 140px);
}

/* ===== Phone ===== */

.sticker-phone {
  position: relative;
  height: 90%;
  width: auto;
  margin-top: 50vh; 
  z-index: 3;
}


.sticker-phone img:first-child {
  height: 100%;
  display: block;
}

/* Sticker inside phone */
.sticker-inside {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55%;
  transform: translate(-50%, -50%);
}

/* ===== Side Stickers ===== */

.sticker.side {
  /* Scale width relative to viewport */
  width: clamp(100px, 9vw, 170px);
  opacity: 0.9;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.sticker.side.left {
  transform: translateX(-20px) scale(0.9);
}

.sticker.side.right {
  transform: translateX(20px) scale(0.9);
}

/* ===== Arrows ===== */

.sticker-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: none;
  border: none;
  font-size: clamp(32px, 3vw, 48px);
  cursor: pointer;
  color: #333;
  z-index: 4;
}

.sticker-nav.left {
  left: 4vw;
}

.sticker-nav.right {
  right: 4vw;
}

/* ===== STICKER ANIMATION ===== */

.sticker-inside,
.sticker.side {
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s ease;
}

.sticker-inside.animating {
  transform: translate(-50%, -50%) scale(0.92);
}

.sticker.side.animating {
  transform: scale(0.8);
  opacity: 0.6;
}

/* ================= HOW IT WORKS ================= */

.howitworks-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: #EFEFEF;
  overflow: hidden;
}

/* Title behind phones */
.howitworks-title {

  padding-top: 8%;
  padding-left: 80%;
  transform: translateX(-50%);

  font-size: clamp(50px, 6.7vw, 130px);
  font-weight: 700;
  color: #8728E1;
  white-space: nowrap;

  z-index: 1;
}

/* Phones row */
.howitworks-wrapper {
  position: absolute;
  inset: 0;
  /* Pushes phones down so top matches mockup */
  bottom: -25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Reference: 48px gap / 1920px = ~2.5vw */
  gap: clamp(20px, 2.5vw, 50px);

  z-index: 2;
}

/* Phones */
.howitworks-phone {
  display: block;
  object-fit: contain;
}

/* Side phones */
.howitworks-phone.side {
  /* Reference: 640px / 866px = ~74vh */
  height: clamp(350px, 74vh, 660px);
  opacity: 1;
}

/* Center phone (main focus) */
.howitworks-phone.center {
  height: clamp(350px, 74vh, 660px);
  z-index: 3;
}



/* Arrows */
.howitworks-arrow {
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 600;
  color: #000;
  opacity: 0.7;
}

/* ===== HOW IT WORKS – STEP WRAPPER ===== */

.howitworks-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== GLASS LABEL ===== */

.howitworks-glass {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);

  padding: clamp(8px, 1vh, 12px) clamp(16px, 1.2vw, 22px);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.35);

  font-size: clamp(12px, 0.9vw, 16px);
  font-weight: 600;
  color: #8728E1;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

  white-space: nowrap;
  z-index: 4;
}


/* ================= EXACT MOBILE UI ================= */

@media (max-width: 1080px) {
  /* ================= RESET ================= */

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

html,
body {
  width: 100%;
  height: 100%;
  /* Base font size scales slightly with width for general UI balance */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #EFEFEF;
  overflow-x: hidden;
  padding-top: 1%;
}

/* ================= TOP BAR ================= */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: 10%;
  /* Reference: 48px padding / 1920px screen = ~2.5vw */
  padding-left: 1%;
  padding-right: 1%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #EFEFEF;

  z-index: 1000;
  pointer-events: auto;
}

/* Logo */
.top-bar__logo {
  /* Logo height relative to bar height to ensure it fits */
  height: 100%;
  width: auto;
}

/* Download Button */
.top-bar__btn {
  padding-left: 4%;
  padding-right: 4%;
  padding-top: 1.3%;
  padding-bottom: 1.3%;
  border-radius: 999px;

  background: transparent;
  border: 2px solid #8728E1;

  color: #8728E1;
  font-size: 100%;
  font-weight: bolder;
  letter-spacing: 0.5vh;
  white-space: nowrap;

  cursor: pointer;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

/* Hover Effect */
.top-bar__btn:hover {
  background: #8728E1;
  color: #ffffff;
}


/* ================= HERO ================= */

.hero-scene {
  position: relative;
  width: 100%;
  height: 100%;
  background: #EFEFEF;
  overflow: hidden;
}

.hero-title {
  padding-top: 7%;
  padding-left: 6%;
  position: absolute;
  font-size: clamp(60px, 6.7vw, 130px);
  font-weight: 700;
  letter-spacing: 2vh;
  color: #8728E1;
  line-height: 1;

  z-index: 3;
}

/* ===== SHARED CONTAINER LOGIC ===== */

.hero-container,
.customization-container {
  position: absolute;
  /* Use percentage margins to maintain the "gap" look */
  left: 1vw;
  right: 1vw;
  bottom: 2vh; /* Slight lift from bottom */

  /* Reference: 500px height / 866px = ~58vh */
  height: 50%;
  border-radius: 40px;

  background-color: #F0E5FB;
  background-image: url("assets/images/pattern/bg-pattern.png");
  background-repeat: repeat;
  /* Pattern size also scales */
  background-size: clamp(600px, 50vw, 1000px);

  box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;

  z-index: 1;
}

/* ===== HERO CONTENT ===== */

.hero-container__content {
  height: 100%;
  padding: clamp(24px, 3vw, 36px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  position: relative;
  z-index: 2;
}

.hero-description {
  max-width: 60%;
  font-size: 3vh;
  line-height: 1.65;
  color: #1c1c1c;
}

.hero-store {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: clamp(14px, 1vw, 18px);
  color: #1c1c1c;
}

.hero-store img {
  width: clamp(28px, 2vw, 34px);
  height: auto;
}

.hero-phone {
  position: absolute;
  /* Reference: 160px right / 1920px = ~8vw */
  padding-left: 55%;
  
  bottom: 0;


  /* Reference: 880px height / 866px = ~100vh (Allows slight overflow) */
  height: 90%;
  width: auto;
  z-index: 3;
}

/* ================= CUSTOMIZATION ================= */

.customization-section {
  position: relative;
  width: 100%;
  height: 100%;
  background: #EFEFEF;
  overflow: hidden;
}

.customization-title {
  padding-top: 7%;
  padding-left: 6%;
  position: absolute;
  font-size: clamp(50px, 6.7vw, 130px);
  font-weight: 700;
  letter-spacing: 2vh;
  color: #8728E1;
  line-height: 1;

  z-index: 2;
}


/* ===== CUSTOMIZATION CONTENT ===== */

.customization-container__content {
  height: 100%;
  padding: clamp(24px, 3vw, 36px);

  display: flex;
  align-items: flex-start;
  position: relative;
}

.customization-text {
  /* Constrain width so it doesn't hit the phone on smaller laptops */
  max-width: 40vw;
  z-index: 2;
  margin-top: 2vh;
}

.customization-description {
  max-width: 100%;
  font-size: 3vh;
  line-height: 1.65;
  color: #1c1c1c;
}

.customization-btn {
  padding: 2% 6%;
  border-radius: 999px;
  border: 1.5px solid #1c1c1c;
  background: transparent;
  font-size: 2vh;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 10%;
}

.customization-btn:hover {
  background: #1c1c1c;
  color: #ffffff;
}

/* ===== MOCKUP ===== */

.customization-mockup {
  position: absolute;
  padding-left: 55%;
  bottom: -1vh;
  z-index: 4;

  height: 90%;
}


.customization-mockup img {
  /* Reference: 760px height / 866px = ~87vh */
  height: clamp(500px, 87vh, 800px);
  object-fit: contain;
}

/* ================= STICKER SECTION ================= */

.sticker-section {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 700px;
  background: #EFEFEF;
  overflow: hidden;
}

.sticker-title {
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: 10%;

  font-size: clamp(50px, 6.7vw, 130px);
  font-weight: 700;
  color: #8728E1;

  white-space: nowrap;
  text-align: center;
  width: auto;

  z-index: 2;
}


/* ===== Wrapper ===== */

.sticker-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 7vw, 140px);
}

/* ===== Phone ===== */

.sticker-phone {
  position: relative;
  height: 90%;
  width: auto;
  margin-top: 50vh; 
  z-index: 3;
}


.sticker-phone img:first-child {
  height: 100%;
  display: block;
}

/* Sticker inside phone */
.sticker-inside {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55%;
  transform: translate(-50%, -50%);
}

/* ===== Side Stickers ===== */

.sticker.side {
  /* Scale width relative to viewport */
  width: clamp(100px, 9vw, 170px);
  opacity: 0.9;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.sticker.side.left {
  transform: translateX(-20px) scale(0.9);
}

.sticker.side.right {
  transform: translateX(20px) scale(0.9);
}

/* ===== Arrows ===== */

.sticker-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  background: none;
  border: none;
  font-size: clamp(32px, 3vw, 48px);
  cursor: pointer;
  color: #333;
  z-index: 4;
}

.sticker-nav.left {
  left: 4vw;
}

.sticker-nav.right {
  right: 4vw;
}

/* ===== STICKER ANIMATION ===== */

.sticker-inside,
.sticker.side {
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s ease;
}

.sticker-inside.animating {
  transform: translate(-50%, -50%) scale(0.92);
}

.sticker.side.animating {
  transform: scale(0.8);
  opacity: 0.6;
}

/* ================= HOW IT WORKS ================= */

.howitworks-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: #EFEFEF;
  overflow: hidden;
}

/* Title behind phones */
.howitworks-title {

  padding-top: 8%;
  padding-left: 80%;
  transform: translateX(-50%);

  font-size: clamp(50px, 6.7vw, 130px);
  font-weight: 700;
  color: #8728E1;
  white-space: nowrap;

  z-index: 1;
}

/* Phones row */
.howitworks-wrapper {
  position: absolute;
  inset: 0;
  /* Pushes phones down so top matches mockup */
  bottom: -25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Reference: 48px gap / 1920px = ~2.5vw */
  gap: clamp(20px, 2.5vw, 50px);

  z-index: 2;
}

/* Phones */
.howitworks-phone {
  display: block;
  object-fit: contain;
}

/* Side phones */
.howitworks-phone.side {
  /* Reference: 640px / 866px = ~74vh */
  height: clamp(350px, 74vh, 660px);
  opacity: 1;
}

/* Center phone (main focus) */
.howitworks-phone.center {
  height: clamp(350px, 74vh, 660px);
  z-index: 3;
}



/* Arrows */
.howitworks-arrow {
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 600;
  color: #000;
  opacity: 0.7;
}

/* ===== HOW IT WORKS – STEP WRAPPER ===== */

.howitworks-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== GLASS LABEL ===== */

.howitworks-glass {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);

  padding: clamp(8px, 1vh, 12px) clamp(16px, 1.2vw, 22px);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.35);

  font-size: clamp(12px, 0.9vw, 16px);
  font-weight: 600;
  color: #8728E1;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

  white-space: nowrap;
  z-index: 4;
}
}