@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@700&display=swap');

/* outline + stroke rapi */
.outlined-text {
  fill: #fff;
  stroke: #ff0b86;
  stroke-width: 14px;
  paint-order: stroke fill;
  letter-spacing: 3px;
  stroke-linecap: round;
}

/* font classes */
.league-spartan {
  font-family: 'League Spartan', sans-serif;
}

.roxborough {
  font-family: 'Playfair Display', serif;
}

/* background gradient lembut */
body {
  background: radial-gradient(circle at center,
      #f9c7d6 0%,
      #fbd4e0 30%,
      #fde5ec 60%,
      #fff8fa 100%);
  font-family: 'League Spartan', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

svg {
  display: block;
  margin: 0 auto;
  overflow: visible;
}

/* ukuran teks melengkung responsif */
.svg-text {
  font-size: 80px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .svg-text {
    font-size: 110px;
  }
}

@media (min-width: 768px) {
  .svg-text {
    font-size: 140px;
  }

  .responsive-girl {
    width: 280px !important;
  }

   iframe {
      aspect-ratio: 9 / 16;
    }
}

@media (min-width: 1024px) {
  .svg-text {
    font-size: 160px;
  }
}

h1.roxborough {
  font-size: 28px;
}

@media (min-width: 640px) {
  h1.roxborough {
    font-size: 36px;
  }

  .league-spartan {
    font-family: 'League Spartan', sans-serif;
  }
}

@media (min-width: 768px) {
  h1.roxborough {
    font-size: 46px;
  }
}

@media (min-width: 1024px) {
  h1.roxborough {
    font-size: 80px;
  }

  .league-spartan {
    letter-spacing: 10px;
  }
}

/* HERO */
@keyframes softPulse {
  0% {
    filter: drop-shadow(0 0 10px rgba(255, 0, 122, 0.2)) drop-shadow(0 0 20px rgba(255, 192, 203, 0.1));
  }

  50% {
    filter: drop-shadow(0 0 18px rgba(255, 0, 122, 0.45)) drop-shadow(0 0 35px rgba(255, 192, 203, 0.3));
  }

  100% {
    filter: drop-shadow(0 0 10px rgba(255, 0, 122, 0.2)) drop-shadow(0 0 20px rgba(255, 192, 203, 0.1));
  }
}

.img-timbul {
  transition: all 0.5s ease;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.img-timbul:hover {
  transform: scale(1.06) translateY(-6px);
  animation: softPulse 2s infinite ease-in-out;
}

img[alt="Model Rambut"] {
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.25));
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@media (max-width: 640px) {

  /* gambar model lebih ke kiri */
  section.relative img[alt="Model Rambut"] {
    position: relative;
    left: -8%;
    width: 100%;
    height: auto;
    max-width: none;
  }

  /* badge tetap proporsional */
  section.relative img[alt="Terjual"] {
    width: 150px !important;
    top: 15%;
    left: 58%;
    transform: translateX(-50%);
  }

  header {
    padding-top: 10px;
  }

  .svg-text {
    font-size: 120px;
    /* sebelumnya 60px */
    letter-spacing: 3px;
  }

  h1.roxborough {
    font-size: 38px;
    /* sebelumnya 34px */
    margin-top: -50px;
  }

  p.league-spartan {
    font-size: 20px;
    /* sebelumnya 14px */
    letter-spacing: 1px;
  }

}

@keyframes ascendIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  60% {
    opacity: 1;
    transform: translateY(-4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ascendOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(40px);
  }
}

.animate-ascend {
  opacity: 0;
  transform: translateY(40px);
  animation: ascendIn 1.4s ease-out forwards;
}

.animate-ascend.reverse {
  animation: ascendIn 1.4s ease-out forwards,
    ascendOut 1.4s ease-in 4s forwards;
}

/* ✨ Delay biar kayak writing style word-by-word */
.animate-delay-1 {
  animation-delay: 0.3s;
}

.animate-delay-2 {
  animation-delay: 0.6s;
}

.animate-delay-3 {
  animation-delay: 0.9s;
}

/*hair roller section*/

.hairroller-bg {
  background: radial-gradient(circle at center top,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 192, 203, 0.4) 25%,
      rgba(255, 182, 193, 0.6) 50%,
      rgba(255, 192, 203, 0.8) 75%,
      #ffe6ef 100%);
  position: relative;
  overflow: hidden;
}

.hairroller-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 200%;
  height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 10%,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0) 25%),
    radial-gradient(circle at 40% 5%,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 60% 5%,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0) 30%);
  z-index: 0;
}

.hairroller-bg>* {
  z-index: 1;
}


/*upgrade section*/
/* ✨ Upgrade Section */
.section.upgrade {
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
  text-align: center;
  color: #4d0033;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 210, 225, 0.7) 0%, rgba(255, 182, 193, 0.3) 40%, transparent 70%),
    radial-gradient(circle at 80% 70%, rgba(255, 192, 203, 0.35) 0%, rgba(255, 192, 203, 0) 55%),
    linear-gradient(180deg, #fff8fb 0%, #ffe8f0 45%, #ffd3de 100%);
  backdrop-filter: blur(6px);
}

/* efek cahaya lembut yang bergerak */
.section.upgrade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 60%);
  animation: lightMove 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes lightMove {
  0% {
    background-position: 30% 30%;
    opacity: 0.8;
  }

  100% {
    background-position: 70% 60%;
    opacity: 0.4;
  }
}

/*SECTION UPGRADE*/
.section.upgrade {
  font-family: 'Alike', serif;
  color: #000;
}

/* Supaya semua elemen teks di dalamnya ikut hitam */
.section.upgrade h1,
.section.upgrade h2,
.section.upgrade h3,
.section.upgrade p,
.section.upgrade a,
.section.upgrade span {
  color: #000 !important;
  font-family: 'Alike', serif !important;
}

.section.upgrade .content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

/* Judul besar dengan efek outline elegan */
.section.upgrade h2 {
  font-family: 'League Spartan', sans-serif;
  font-size: 50px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #ff0b86;
  text-shadow: 0 3px 8px rgba(255, 105, 180, 0.3);
  margin-bottom: 1rem;
  animation: ascendIn 1.2s ease-out forwards;
}

/* Deskripsi di bawah judul */
.section.upgrade p {
  font-size: 20px;
  font-weight: 500;
  color: #6a1a3b;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  animation: ascendIn 1.4s ease-out 0.3s forwards;
  opacity: 0;
}

/* Tombol gaya glassy */
.section.upgrade .btn-upgrade {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 40px;
  background: linear-gradient(90deg, #ff5ea9, #ff92c4);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
  transition: all 0.3s ease;
  animation: ascendIn 1.6s ease-out 0.6s forwards;
  opacity: 0;
}

.section.upgrade .btn-upgrade:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 105, 180, 0.5);
  background: linear-gradient(90deg, #ff73b2, #ffadd2);
}

/* Layout grid kanan-kiri */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  position: relative;
  z-index: 5;
  margin-top: 100px;
}

/* KIRI tanpa background */
.left-side {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 3rem 2rem;
  text-align: left;

}

.right-side {
  background-color: #fdaec7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: right;
}

.img-roll {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 200px;
  z-index: 5;
}

.img-hair {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  z-index: 10;
}

.img-girl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  z-index: 10;
  pointer-events: none;
}

.section.upgrade .bottom-12 {
  position: absolute;
  top: 80%;
  /* atur jaraknya biar sejajar pas */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 20;
}

.section.upgrade .bottom-12 h2,
.section.upgrade .bottom-12 p {
  color: #000;
  font-family: 'Alike', serif;
}

@keyframes floatRoll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-10px);
  }
}

@keyframes floatHair {
  from {
    transform: translate(-50%, -58%);
  }

  to {
    transform: translate(-50%, -62%);
  }
}

/* Responsif */
@media (max-width: 900px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .right-side {
    border-radius: 20px;
  }

  .img-roll {
    width: 80px;
    top: 20px;
    left: 20px;
  }

  .img-hair {
    width: 220px;
    top: 45%;
  }

  .content-left {
    text-align: center;
  }
}

.bg-color-air {
  background-image: url(../img/bg-1.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-testimonials {
  background-image: url(../img/bg-testimonials.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-bundling {
  background-image: url(../img/bg-bundling.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-3 {
  background-image: url(../img/bg-3.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-4 {
  background-image: url(../img/bg-4.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-upgrade {
  background-image: url(../img/bg-upgrade.svg);
  background-size: cover;
  background-repeat: no-repeat;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.how-animate-fade-up {
  animation: fadeUp 1s ease forwards;
}

.how-animation-delay-0 {
  animation-delay: 0s;
}

.how-animation-delay-100 {
  animation-delay: 0.2s;
}

.how-animation-delay-200 {
  animation-delay: 0.4s;
}

.how-animation-delay-300 {
  animation-delay: 0.6s;
}