/* Reset dan dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overscroll-behavior: none;
}

html,
body {
    width: 100%;
    height: 100%;
    background: black;
    color: #fff;
    font-family: "Inter", sans-serif;
    scroll-behavior: smooth;
}










/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    text-align: center;
}

.content {
    padding: 20px;
}

/* Headline dan subheadline */
.headline {
    margin-top: 80px;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(90deg, #d4b9ff, #7521b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: font-size 0.5s ease;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.subheadline {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin: 1rem 0 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    transition: font-size 0.5s ease;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #741fcf;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(128, 0, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(128, 0, 255, 0.7);
}

.images {
    margin-top: 20px;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.purple {
    z-index: 0;
}

.black-top {
    z-index: 1;
    object-position: top;
    transform: rotate(180deg);
}

.phone-image {
    position: relative;
    z-index: 2;
    width: clamp(200px, 80vw, 400px);
    height: auto;
    margin: 0 auto;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.black-bottom {
    z-index: 3;
    object-position: bottom;
}

/* Animasi */
@keyframes fadein {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 0.7;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsif halus */
@media (max-width: 768px) {
    .headline {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }

    .subheadline {
        font-size: clamp(0.9rem, 3vw, 1.3rem);
    }
}

/* Hero section End */










/* Reason Section */
.reasons {
    padding: 4rem 2rem;
    background: black;
}

/* Title styling */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: white;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    text-align: left;
    line-height: 1.3;
    transition: all 0.4s ease;
    font-weight: 100;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Cards container */
.reason-cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Individual card */
.reason-card {
    position: relative;
    overflow: hidden;
    flex: 1 1 250px;
    max-width: 300px;
    border-radius: 20px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.main-card {
    flex: 1 1 300px;
    max-width: 350px;
}

/* Gambar di dalam card */
.reason-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

/* Teks overlay */
.reason-text {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: #D4B9FF;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    transition: all 0.5s ease;
}

/* Hover efek */
.reason-card:hover img {
    transform: scale(1.05);
}

.reason-card:hover {
    box-shadow: 0 0 40px rgba(128, 0, 255, 0.5);
}

/* Responsif - tablet ke bawah */
@media (max-width: 768px) {
    .reason-cards {
        flex-direction: column;
        align-items: center;
    }

    .reason-card,
    .main-card {
        max-width: 90%;
    }

    .section-title {
        margin-bottom: 2rem;
        text-align: center;
    }

    .reason-card img {
        transform: translateY(-20%);
    }

    .reason-card:hover img {
        transform: translateY(-20%) scale(1.05);
    }
}

/* Responsif - layar sangat kecil (mobile) */
@media (max-width: 480px) {

    .reason-card,
    .main-card {
        max-width: 100%;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .reason-card img {
        aspect-ratio: 1 / 1;
        transform: translateY(-5%);
    }

    .reason-card:hover img {
        transform: translateY(-5%) scale(1.05);
    }
}
/* Reason Section End */










/* Motive Section */
.motive-section {
  position: relative;
  background: black;
  padding: 6rem 2rem 4rem 2rem;
  text-align: center;
  overflow: hidden;
}

/* Wrapper: agar teks dan gambar bergerak bersama */
.motive-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 4rem auto;
}

/* Gambar latar dalam wrapper */
.motive-image-container {
  position: absolute;
  top: -200px; /* geser naik sesuai keinginan */
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.motive-image-container .lamp-image {
  max-width: 80%;
}

/* Teks tetap di atas gambar */
.motive-text {
  position: relative;
  z-index: 1;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.motive-text h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.headline-secondary {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

.motive-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 700px;
  margin: 0 auto;
  color: #dcdcdc;
}

/* Feature cards */
.feature-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(142, 0, 255, 0.3), rgba(40, 10, 63, 0.3));
  color: white;
  flex: 1 1 250px;
  max-width: 350px;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(142, 0, 255, 0.5);
}

.icon-container {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 0.5rem;
}

.card-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.4;
  color: #f0f0f0;
}

/* Responsif */
@media (max-width: 768px) {
  .feature-cards {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    max-width: 90%;
  }

  .motive-image-container {
    top: -140px;
  }

  .motive-image-container .lamp-image {
    max-width: 90vw;
    top: -60px;
  }
}

@media (max-width: 480px) {
  .motive-text h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .motive-subtitle {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }

  .feature-card {
    max-width: 100%;
  }

  .motive-image-container {
    top: -100px;
  }

  .motive-image-container .lamp-image {
    max-width: 100vw;
    top: -40px;
  }
}
/* Motive Section End */










/* Project Section */
.project-section {
  position: relative;
  background: black;
  padding: 6rem 2rem 4rem 2rem;
  text-align: center;
  overflow: hidden;
}

/* Headline gradient text */
.project-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  background: linear-gradient(90deg, #d4b9ff, #7521b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Subheadline */
.project-subheadline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: white;
  max-width: 500px;
  margin: 0 auto 4rem auto;
}

/* Cards container */
.project-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Individual card */
.project-card {
  background: linear-gradient(to right, rgba(142, 0, 255, 0.5), rgba(40, 10, 63, 0.5)); /* Transparansi 50% hanya di card */
  border-radius: 20px;
  flex: 1 1 300px;
  max-width: 400px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding: 15px;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(142, 0, 255, 0.5);
}

/* Gambar di card */
.project-image {
  width: 100%;
  display: block;
}

/* Teks judul di card */
.project-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: #D4B9FF;
  margin: 10px 0px 0px 0px;
}

/* Responsif */
@media (max-width: 768px) {
  .project-cards {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .project-headline {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .project-subheadline {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }

  .project-card {
    max-width: 100%;
  }
}
/* Project Section End*/










/* Offer Section */
.offer-section {
  position: relative;
  background: black;
  padding: 15rem 2rem 4rem 2rem;
  text-align: center;
  overflow: hidden;
  min-height: 100vh;
}

/* Wrapper: supaya teks & gambar saling mengikuti */
.offer-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Gambar overlay di belakang teks */
.offer-image-container {
  position: absolute;
  top: -250px; /* geser lebih ke atas di desktop */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.offer-image {
  max-width: 80%;
  opacity: 0.8;
  object-fit: contain;
}

/* Teks di atas gambar */
.offer-text {
  position: relative;
  z-index: 1;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.offer-text h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.headline-secondary {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

/* Subtitle */
.offer-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  color: #dcdcdc;
}

/* Button */
.offer-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #8E00FF, #280A3F);
  color: white;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.offer-button:hover {
  background: linear-gradient(90deg, #a83eff, #3f1a62);
  transform: scale(1.05);
}

/* Responsif */
@media (max-width: 768px) {
  .offer-image-container {
    top: -140px; /* atur posisi gambar lebih rendah di mobile */
  }

  .offer-image {
    max-width: 90vw;
  }

  .offer-text h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .offer-subtitle {
    font-size: clamp(0.9rem, 4vw, 1rem);
  }
}

@media (max-width: 480px) {
  .offer-image-container {
    top: -100px; /* posisi gambar pas di mobile kecil */
  }

  .offer-image {
    max-width: 100vw;
  }

  .offer-text h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
}
/* Offer Section End*/







/* — Animasi dasar — */
.hidden {
  opacity: 0;
  transform: translateY(20px) scale(1);
  transition:
    opacity 0.6s ease-out var(--delay, 0s),
    transform 0.6s ease-out var(--delay, 0s);
}

/* Fade */
.hidden[data-anim="fade"] {
  transform: none;
}
.hidden.in-view[data-anim="fade"] {
  opacity: 1;
}

/* Slide Up */
.hidden[data-anim="slide-up"] {
  transform: translateY(20px);
}
.hidden.in-view[data-anim="slide-up"] {
  opacity: 1;
  transform: translateY(0);
}

/* Zoom */
.hidden[data-anim="zoom"] {
  transform: scale(0.8);
}
.hidden.in-view[data-anim="zoom"] {
  opacity: 1;
  transform: scale(1);
}